OpenRTM-aist 2.0.2
Loading...
Searching...
No Matches
RTC::PreComponentActionListenerHolder Class Reference

PreComponentActionListener holder class. More...

#include <ComponentActionListener.h>

Public Member Functions

 PreComponentActionListenerHolder ()
 Constructor .
 
virtual ~PreComponentActionListenerHolder ()
 Destructor .
 
void addListener (PreComponentActionListener *listener, bool autoclean)
 Add the listener.
 
void removeListener (PreComponentActionListener *listener)
 Remove the listener.
 
void notify (UniqueId ec_id)
 Notify listeners.
 

Detailed Description

PreComponentActionListener holder class.

This class manages one ore more instances of PreComponentActionListener class.

Constructor & Destructor Documentation

◆ PreComponentActionListenerHolder()

RTC::PreComponentActionListenerHolder::PreComponentActionListenerHolder ( )

Constructor .

◆ ~PreComponentActionListenerHolder()

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

Destructor .

Member Function Documentation

◆ addListener()

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.

◆ notify()

void RTC::PreComponentActionListenerHolder::notify ( UniqueId ec_id)

Notify listeners.

This calls the Callback method of the registered listener.

Parameters
ec_id

◆ removeListener()

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: