Class: Syskit::Models::BoundDataService::DRoby
- Defined in:
- lib/syskit/models/bound_data_service.rb
Instance Attribute Summary collapse
-
#component_model ⇒ Object
Returns the value of attribute component_model.
-
#master ⇒ Object
Returns the value of attribute master.
-
#model ⇒ Object
Returns the value of attribute model.
-
#name ⇒ Object
Returns the value of attribute name.
Instance Method Summary collapse
Instance Attribute Details
#component_model ⇒ Object
Returns the value of attribute component_model
407 408 409 |
# File 'lib/syskit/models/bound_data_service.rb', line 407 def component_model @component_model end |
#master ⇒ Object
Returns the value of attribute master
407 408 409 |
# File 'lib/syskit/models/bound_data_service.rb', line 407 def master @master end |
#model ⇒ Object
Returns the value of attribute model
407 408 409 |
# File 'lib/syskit/models/bound_data_service.rb', line 407 def model @model end |
#name ⇒ Object
Returns the value of attribute name
407 408 409 |
# File 'lib/syskit/models/bound_data_service.rb', line 407 def name @name end |
Instance Method Details
#proxy(peer) ⇒ Object
408 409 410 411 412 413 414 415 |
# File 'lib/syskit/models/bound_data_service.rb', line 408 def proxy(peer) component_model = peer.local_object(self.component_model) if srv = component_model.find_data_service(name) return srv else BoundDataService.new(name, component_model, peer.local_object(master), peer.local_object(model), Hash.new) end end |