OpenRTM-aist  1.2.1
Public Member Functions | List of all members
RTC::PreComponentActionListenerHolder Class Reference

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...
 

Detailed Description

PreComponentActionListener holder class.

This class manages one ore more instances of PreComponentActionListener class.

Constructor & Destructor Documentation

RTC::PreComponentActionListenerHolder::PreComponentActionListenerHolder ( )

Constructor.

virtual RTC::PreComponentActionListenerHolder::~PreComponentActionListenerHolder ( )
virtual

Destructor.

Member Function Documentation

void RTC::PreComponentActionListenerHolder::addListener ( PreComponentActionListener listener,
bool  autoclean 
)

Add the listener.

This method adds the listener.

Parameters
listenerAdded listener
autocleantrue: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.

Parameters
infoConnectorInfo
void RTC::PreComponentActionListenerHolder::removeListener ( PreComponentActionListener listener)

Remove the listener.

This method removes the listener.

Parameters
listenerRemoved listener

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