|
OpenRTM-aist
1.1.2
|
ExecutionContextActionListener holder class. More...
#include <ComponentActionListener.h>
Public Member Functions | |
| ExecutionContextActionListenerHolder () | |
| Constructor. More... | |
| virtual | ~ExecutionContextActionListenerHolder () |
| Destructor. More... | |
| void | addListener (ExecutionContextActionListener *listener, bool autoclean) |
| Add the listener. More... | |
| void | removeListener (ExecutionContextActionListener *listener) |
| Remove the listener. More... | |
| void | notify (UniqueId ec_id) |
| Notify listeners. More... | |
ExecutionContextActionListener holder class.
This class manages one ore more instances of ExecutionContextActionListener class.
| RTC::ExecutionContextActionListenerHolder::ExecutionContextActionListenerHolder | ( | ) |
Constructor.
|
virtual |
Destructor.
| void RTC::ExecutionContextActionListenerHolder::addListener | ( | ExecutionContextActionListener * | listener, |
| bool | autoclean | ||
| ) |
Add the listener.
This method adds the listener.
| listener | Added listener |
| autoclean | true:The listener is deleted at the destructor., false:The listener is not deleted at the destructor. |
| void RTC::ExecutionContextActionListenerHolder::notify | ( | UniqueId | ec_id | ) |
Notify listeners.
This calls the Callback method of the registered listener.
| info | ConnectorInfo |
| cdrdata | Data |
| void RTC::ExecutionContextActionListenerHolder::removeListener | ( | ExecutionContextActionListener * | listener | ) |
Remove the listener.
This method removes the listener.
| listener | Removed listener |
1.8.11