Class: Syskit::BoundDataService::DRoby

Inherits:
Struct
  • Object
show all
Defined in:
lib/syskit/bound_data_service.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#componentObject

Returns the value of attribute component

Returns:

  • (Object)

    the current value of component



162
163
164
# File 'lib/syskit/bound_data_service.rb', line 162

def component
  @component
end

#modelObject

Returns the value of attribute model

Returns:

  • (Object)

    the current value of model



162
163
164
# File 'lib/syskit/bound_data_service.rb', line 162

def model
  @model
end

Instance Method Details

#proxy(peer) ⇒ Object



163
164
165
# File 'lib/syskit/bound_data_service.rb', line 163

def proxy(peer)
    BoundDataService.new(peer.local_object(component), peer.local_object(model))
end