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