OpenRTM  1.0.0
Public Member Functions
RTC::PostComponentActionListenerHolder Class Reference

PostComponentActionListener holder class. More...

#include <ComponentActionListener.h>

List of all members.

Public Member Functions

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

Detailed Description

PostComponentActionListener holder class.

This class manages one ore more instances of PostComponentActionListener class.


Constructor & Destructor Documentation

Constructor.

Destructor.


Member Function Documentation

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 
)

Remove the listener.

This method removes the listener.

Parameters:
listenerRemoved listener