Class: Roby::SolverUpdateRelations
- Defined in:
- lib/roby/transactions/updates.rb
Class Method Summary collapse
- .adding_plan_relation(trsc, parent, child, relations, info) ⇒ Object
- .finalized_plan_event(trsc, task) ⇒ Object
- .finalized_plan_task(trsc, task) ⇒ Object
- .removing_plan_relation(trsc, parent, child, relations) ⇒ Object
Class Method Details
.adding_plan_relation(trsc, parent, child, relations, info) ⇒ Object
18 19 20 21 22 23 24 25 |
# File 'lib/roby/transactions/updates.rb', line 18 def self.adding_plan_relation(trsc, parent, child, relations, info) parent_proxy = trsc.wrap(parent) child_proxy = trsc.wrap(child) for rel in relations rel.link(parent_proxy, child_proxy, info) end trsc.invalid = false end |
.finalized_plan_event(trsc, task) ⇒ Object
15 16 |
# File 'lib/roby/transactions/updates.rb', line 15 def self.finalized_plan_event(trsc, task) end |
.finalized_plan_task(trsc, task) ⇒ Object
13 14 |
# File 'lib/roby/transactions/updates.rb', line 13 def self.finalized_plan_task(trsc, task) end |
.removing_plan_relation(trsc, parent, child, relations) ⇒ Object
26 27 28 29 30 31 32 33 |
# File 'lib/roby/transactions/updates.rb', line 26 def self.removing_plan_relation(trsc, parent, child, relations) parent_proxy = trsc.wrap(parent) child_proxy = trsc.wrap(child) for rel in relations rel.unlink(parent_proxy, child_proxy) end trsc.invalid = false end |