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

ConfigurationSetNameListener holder class. More...

#include <ConfigurationListener.h>

List of all members.

Public Member Functions

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

Private Types

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

Private Attributes

std::vector< Entrym_listeners
coil::Mutex m_mutex

Detailed Description

ConfigurationSetNameListener holder class.

This class manages one ore more instances of ConfigurationSetNameListener class.

Definition at line 598 of file ConfigurationListener.h.

Member Typedef Documentation

Definition at line 600 of file ConfigurationListener.h.

Definition at line 601 of file ConfigurationListener.h.

Constructor & Destructor Documentation


Definition at line 196 of file ConfigurationListener.cpp.


Definition at line 201 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 215 of file ConfigurationListener.cpp.

void RTC::ConfigurationSetNameListenerHolder::notify ( const char *  config_set_name)

Notify listeners.

This calls the Callback method of the registered listener.


Definition at line 243 of file ConfigurationListener.cpp.

Remove the listener.

This method removes the listener.

listenerRemoved listener

Definition at line 223 of file ConfigurationListener.cpp.

Member Data Documentation

Definition at line 683 of file ConfigurationListener.h.

Definition at line 684 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