Class: ROS::Master::ParameterSubscriber
- Inherits:
-
Object
- Object
- ROS::Master::ParameterSubscriber
- Defined in:
- lib/ros/master.rb
Overview
parameter subscriber
Instance Attribute Summary collapse
-
#api ⇒ Object
Returns the value of attribute api.
-
#caller_id ⇒ Object
Returns the value of attribute caller_id.
-
#key ⇒ Object
Returns the value of attribute key.
Instance Method Summary collapse
-
#initialize(caller_id, api, key) ⇒ ParameterSubscriber
constructor
A new instance of ParameterSubscriber.
Constructor Details
#initialize(caller_id, api, key) ⇒ ParameterSubscriber
Returns a new instance of ParameterSubscriber.
45 46 47 48 49 |
# File 'lib/ros/master.rb', line 45 def initialize(caller_id, api, key) @caller_id = caller_id @api = api @key = key end |
Instance Attribute Details
#api ⇒ Object
Returns the value of attribute api.
53 54 55 |
# File 'lib/ros/master.rb', line 53 def api @api end |
#caller_id ⇒ Object
Returns the value of attribute caller_id.
51 52 53 |
# File 'lib/ros/master.rb', line 51 def caller_id @caller_id end |
#key ⇒ Object
Returns the value of attribute key.
52 53 54 |
# File 'lib/ros/master.rb', line 52 def key @key end |