module Roby::DRoby::V5::Queries::PlanObjectMatcherDumper

Public Instance Methods

droby_dump(peer, droby: DRoby) click to toggle source

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.

# File lib/roby/droby/v5/droby_dump.rb, line 950
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