OpenRTM-aist
1.2.1
|
PreComponentActionListener holder class. More...
#include <ComponentActionListener.h>
Public Member Functions | |
PreComponentActionListenerHolder () | |
Constructor. More... | |
virtual | ~PreComponentActionListenerHolder () |
Destructor. More... | |
void | addListener (PreComponentActionListener *listener, bool autoclean) |
Add the listener. More... | |
void | removeListener (PreComponentActionListener *listener) |
Remove the listener. More... | |
void | notify (UniqueId ec_id) |
Notify listeners. More... | |
PreComponentActionListener holder class.
This class manages one ore more instances of PreComponentActionListener class.
RTC::PreComponentActionListenerHolder::PreComponentActionListenerHolder | ( | ) |
Constructor.
|
virtual |
Destructor.
void RTC::PreComponentActionListenerHolder::addListener | ( | PreComponentActionListener * | 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::PreComponentActionListenerHolder::notify | ( | UniqueId | ec_id | ) |
Notify listeners.
This calls the Callback method of the registered listener.
info | ConnectorInfo |
void RTC::PreComponentActionListenerHolder::removeListener | ( | PreComponentActionListener * | listener | ) |
Remove the listener.
This method removes the listener.
listener | Removed listener |