Class: ROS::Master::Publisher
- Inherits:
-
Object
- Object
- ROS::Master::Publisher
- Defined in:
- lib/ros/master.rb
Instance Attribute Summary collapse
-
#api ⇒ Object
Returns the value of attribute api.
-
#caller_id ⇒ Object
Returns the value of attribute caller_id.
-
#name ⇒ Object
Returns the value of attribute name.
-
#type ⇒ Object
Returns the value of attribute type.
Instance Method Summary collapse
-
#initialize(caller_id, topic_name, topic_type, api) ⇒ Publisher
constructor
A new instance of Publisher.
Constructor Details
#initialize(caller_id, topic_name, topic_type, api) ⇒ Publisher
Returns a new instance of Publisher.
99 100 101 102 103 104 |
# File 'lib/ros/master.rb', line 99 def initialize(caller_id, topic_name, topic_type, api) @caller_id = caller_id @name = topic_name @type = topic_type @api = api end |
Instance Attribute Details
#api ⇒ Object
Returns the value of attribute api.
109 110 111 |
# File 'lib/ros/master.rb', line 109 def api @api end |
#caller_id ⇒ Object
Returns the value of attribute caller_id.
106 107 108 |
# File 'lib/ros/master.rb', line 106 def caller_id @caller_id end |
#name ⇒ Object
Returns the value of attribute name.
107 108 109 |
# File 'lib/ros/master.rb', line 107 def name @name end |
#type ⇒ Object
Returns the value of attribute type.
108 109 110 |
# File 'lib/ros/master.rb', line 108 def type @type end |