Public Member Functions | Private Types | Private Attributes
RTC::ConfigurationParamListenerHolder Class Reference

ConfigurationParamListener holder class. More...

#include <ConfigurationListener.h>

List of all members.

Public Member Functions

void addListener (ConfigurationParamListener *listener, bool autoclean)
 Add the listener.
 ConfigurationParamListenerHolder ()
void notify (const char *config_set_name, const char *config_param_name)
 Notify listeners.
void removeListener (ConfigurationParamListener *listener)
 Remove the listener.
virtual ~ConfigurationParamListenerHolder ()

Private Types

typedef std::pair
< ConfigurationParamListener
*, bool > 
typedef coil::Guard< coil::MutexGuard

Private Attributes

std::vector< Entrym_listeners
coil::Mutex m_mutex

Detailed Description

ConfigurationParamListener holder class.

This class manages one ore more instances of ConfigurationParamListener class.

Definition at line 382 of file ConfigurationListener.h.

Member Typedef Documentation

Definition at line 384 of file ConfigurationListener.h.

Definition at line 385 of file ConfigurationListener.h.

Constructor & Destructor Documentation


Definition at line 61 of file ConfigurationListener.cpp.


Definition at line 66 of file ConfigurationListener.cpp.

Member Function Documentation

Add the listener.

This method adds the listener.

listenerAdded listener
autocleantrue:The listener is deleted at the destructor., false:The listener is not deleted at the destructor.

Definition at line 80 of file ConfigurationListener.cpp.

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.


Definition at line 110 of file ConfigurationListener.cpp.

Remove the listener.

This method removes the listener.

listenerRemoved listener

Definition at line 89 of file ConfigurationListener.cpp.

Member Data Documentation

Definition at line 468 of file ConfigurationListener.h.

Definition at line 469 of file ConfigurationListener.h.

The documentation for this class was generated from the following files:

Author(s): Noriaki Ando
autogenerated on Sat Jun 8 2019 18:49:13