Class: Syskit::Robot::MasterDeviceInstance::DRoby

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#device_modelObject

Returns the value of attribute device_model

Returns:

  • (Object)

    the current value of device_model



378
379
380
# File 'lib/syskit/robot/master_device_instance.rb', line 378

def device_model
  @device_model
end

#driver_modelObject

Returns the value of attribute driver_model

Returns:

  • (Object)

    the current value of driver_model



378
379
380
# File 'lib/syskit/robot/master_device_instance.rb', line 378

def driver_model
  @driver_model
end

#nameObject

Returns the value of attribute name

Returns:

  • (Object)

    the current value of name



378
379
380
# File 'lib/syskit/robot/master_device_instance.rb', line 378

def name
  @name
end

Instance Method Details

#proxy(peer) ⇒ Object



379
380
381
# File 'lib/syskit/robot/master_device_instance.rb', line 379

def proxy(peer)
    MasterDeviceInstance.new(nil, name, peer.local_object(device_model), Hash.new, peer.local_object(driver_model), Hash.new)
end