Class: ROS::Master::ParameterSubscriber
- Inherits:
-
Object
- Object
- ROS::Master::ParameterSubscriber
- Defined in:
- lib/ros/master.rb
Overview
parameter subscriber
Instance Attribute Summary (collapse)
-
- (String) api
Get api URI of this subscriber.
-
- (String) caller_id
Get caller_id.
-
- (String) key
Get key of parameter.
Instance Method Summary (collapse)
-
- (ParameterSubscriber) initialize(caller_id, api, key)
constructor
A new instance of ParameterSubscriber.
Constructor Details
- (ParameterSubscriber) initialize(caller_id, api, key)
Returns a new instance of ParameterSubscriber
46 47 48 49 50 |
# File 'lib/ros/master.rb', line 46 def initialize(caller_id, api, key) @caller_id = caller_id @api = api @key = key end |
Instance Attribute Details
- (String) api
Get api URI of this subscriber.
62 63 64 |
# File 'lib/ros/master.rb', line 62 def api @api end |
- (String) caller_id
Get caller_id.
54 55 56 |
# File 'lib/ros/master.rb', line 54 def caller_id @caller_id end |
- (String) key
Get key of parameter.
58 59 60 |
# File 'lib/ros/master.rb', line 58 def key @key end |