Class: Roby::DRoby::V5::Queries::AndMatcherDumper::DRoby

Inherits:
Object
  • Object
show all
Defined in:
lib/roby/droby/v5/droby_dump.rb

Overview

An intermediate representation of AndMatcher objects suitable to be sent to our peers.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(ops) ⇒ DRoby

Returns a new instance of DRoby.



790
791
792
# File 'lib/roby/droby/v5/droby_dump.rb', line 790

def initialize(ops)
    @ops = ops
end

Instance Attribute Details

#opsObject (readonly)

Returns the value of attribute ops.



788
789
790
# File 'lib/roby/droby/v5/droby_dump.rb', line 788

def ops
  @ops
end

Instance Method Details

#proxy(peer) ⇒ Object



794
795
796
# File 'lib/roby/droby/v5/droby_dump.rb', line 794

def proxy(peer)
    Roby::Queries::AndMatcher.new(*peer.local_object(ops))
end