Class: Rclrb::CallbackGroupBase
- Inherits:
-
Object
- Object
- Rclrb::CallbackGroupBase
- Defined in:
- lib/rclrb/callback_group.rb
Overview
Base class for callback groups
Direct Known Subclasses
Instance Method Summary collapse
- #add(member) ⇒ Object
-
#initialize ⇒ CallbackGroupBase
constructor
A new instance of CallbackGroupBase.
Constructor Details
#initialize ⇒ CallbackGroupBase
Returns a new instance of CallbackGroupBase.
5 6 7 |
# File 'lib/rclrb/callback_group.rb', line 5 def initialize @members = [] end |
Instance Method Details
#add(member) ⇒ Object
8 9 10 |
# File 'lib/rclrb/callback_group.rb', line 8 def add member @members.append member end |