Class: Roby::DRoby::V5::Queries::OrMatcherDumper::DRoby

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

Overview

An intermediate representation of OrMatcher 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.



832
833
834
# File 'lib/roby/droby/v5/droby_dump.rb', line 832

def initialize(ops)
    @ops = ops
end

Instance Attribute Details

#opsObject (readonly)

Returns the value of attribute ops.



830
831
832
# File 'lib/roby/droby/v5/droby_dump.rb', line 830

def ops
  @ops
end

Instance Method Details

#proxy(peer) ⇒ Object



836
837
838
# File 'lib/roby/droby/v5/droby_dump.rb', line 836

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