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

PostComponentActionListener holder class. More...

#include <ComponentActionListener.h>

Public Member Functions

 PostComponentActionListenerHolder ()
 Constructor. More...
 
virtual ~PostComponentActionListenerHolder ()
 Destructor. More...
 
void addListener (PostComponentActionListener *listener, bool autoclean)
 Add the listener. More...
 
void removeListener (PostComponentActionListener *listener)
 Remove the listener. More...
 
void notify (UniqueId ec_id, ReturnCode_t ret)
 Notify listeners. More...
 

Detailed Description

PostComponentActionListener holder class.

This class manages one ore more instances of PostComponentActionListener class.

Constructor & Destructor Documentation

RTC::PostComponentActionListenerHolder::PostComponentActionListenerHolder ( )

Constructor.

virtual RTC::PostComponentActionListenerHolder::~PostComponentActionListenerHolder ( )
virtual

Destructor.

Member Function Documentation

void RTC::PostComponentActionListenerHolder::addListener ( PostComponentActionListener 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::PostComponentActionListenerHolder::notify ( UniqueId  ec_id,
ReturnCode_t  ret 
)

Notify listeners.

This calls the Callback method of the registered listener.

Parameters
infoConnectorInfo
cdrdataData
void RTC::PostComponentActionListenerHolder::removeListener ( PostComponentActionListener listener)

Remove the listener.

This method removes the listener.

Parameters
listenerRemoved listener

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