|
OpenRTM-aist 2.0.2
|
ExecutionContextActionListener holder class. More...
#include <ComponentActionListener.h>
Public Member Functions | |
| ExecutionContextActionListenerHolder () | |
| Constructor . | |
| virtual | ~ExecutionContextActionListenerHolder () |
| Destructor . | |
| void | addListener (ExecutionContextActionListener *listener, bool autoclean) |
| Add the listener. | |
| void | removeListener (ExecutionContextActionListener *listener) |
| Remove the listener. | |
| void | notify (UniqueId ec_id) |
| Notify listeners. | |
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.
| ec_id |
| void RTC::ExecutionContextActionListenerHolder::removeListener | ( | ExecutionContextActionListener * | listener | ) |
Remove the listener.
This method removes the listener.
| listener | Removed listener |