Class: ROS::Master::ServiceServer
- Inherits:
-
Object
- Object
- ROS::Master::ServiceServer
- Defined in:
- lib/ros/master.rb
Overview
service server
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.
-
#service_api ⇒ Object
Returns the value of attribute service_api.
Instance Method Summary collapse
-
#initialize(caller_id, service_name, api, service_api) ⇒ ServiceServer
constructor
A new instance of ServiceServer.
Constructor Details
#initialize(caller_id, service_name, api, service_api) ⇒ ServiceServer
Returns a new instance of ServiceServer.
63 64 65 66 67 68 |
# File 'lib/ros/master.rb', line 63 def initialize(caller_id, service_name, api, service_api) @caller_id = caller_id @name = service_name @api = api @service_api = service_api end |
Instance Attribute Details
#api ⇒ Object
Returns the value of attribute api.
73 74 75 |
# File 'lib/ros/master.rb', line 73 def api @api end |
#caller_id ⇒ Object
Returns the value of attribute caller_id.
70 71 72 |
# File 'lib/ros/master.rb', line 70 def caller_id @caller_id end |
#name ⇒ Object
Returns the value of attribute name.
71 72 73 |
# File 'lib/ros/master.rb', line 71 def name @name end |
#service_api ⇒ Object
Returns the value of attribute service_api.
72 73 74 |
# File 'lib/ros/master.rb', line 72 def service_api @service_api end |