Module: Roby::DRoby::V5::Queries::PlanObjectMatcherDumper
- Included in:
- Queries::PlanObjectMatcher
- Defined in:
- lib/roby/droby/v5/droby_dump.rb
Defined Under Namespace
Classes: DRoby
Instance Method Summary collapse
-
#droby_dump(peer, droby: DRoby) ⇒ Object
Returns an intermediate representation of
selfsuitable to be sent to thedestpeer.
Instance Method Details
#droby_dump(peer, droby: DRoby) ⇒ Object
Returns an intermediate representation of self suitable to be sent to the dest peer. klass is the actual class of the intermediate representation. It is used for code reuse by subclasses of TaskMatcher.
946 947 948 949 950 951 |
# File 'lib/roby/droby/v5/droby_dump.rb', line 946 def droby_dump(peer, droby: DRoby) droby.new(model.map { |m| peer.dump_model(m) }, predicates, neg_predicates, indexed_predicates, indexed_neg_predicates, peer.dump(owners), peer.dump(parents), peer.dump(children)) end |