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

ComponentActionListeners class. More...

#include <ComponentActionListener.h>

Public Member Functions

 ComponentActionListeners ()
 Constructor .
 
 ~ComponentActionListeners ()
 Destructor .
 
bool addListener (PreComponentActionListenerType type, PreComponentActionListener *listener, bool autoclean)
 Add the listener.
 
bool addListener (PostComponentActionListenerType type, PostComponentActionListener *listener, bool autoclean)
 Add the listener.
 
bool addListener (PortActionListenerType type, PortActionListener *listener, bool autoclean)
 Add the listener.
 
bool addListener (ExecutionContextActionListenerType type, ExecutionContextActionListener *listener, bool autoclean)
 Add the listener.
 
bool removeListener (PreComponentActionListenerType type, PreComponentActionListener *listener)
 Remove the listener.
 
bool removeListener (PostComponentActionListenerType type, PostComponentActionListener *listener)
 Remove the listener.
 
bool removeListener (PortActionListenerType type, PortActionListener *listener)
 Remove the listener.
 
bool removeListener (ExecutionContextActionListenerType type, ExecutionContextActionListener *listener)
 Remove the listener.
 
bool notify (PreComponentActionListenerType type, UniqueId ec_id)
 
bool notify (PostComponentActionListenerType type, UniqueId ec_id, ReturnCode_t ret)
 
bool notify (PortActionListenerType type, const RTC::PortProfile &pprofile)
 
bool notify (ExecutionContextActionListenerType type, UniqueId ec_id)
 

Detailed Description

Constructor & Destructor Documentation

◆ ComponentActionListeners()

RTC::ComponentActionListeners::ComponentActionListeners ( )

Constructor .

◆ ~ComponentActionListeners()

RTC::ComponentActionListeners::~ComponentActionListeners ( )

Destructor .

Member Function Documentation

◆ addListener() [1/4]

bool RTC::ComponentActionListeners::addListener ( ExecutionContextActionListenerType type,
ExecutionContextActionListener * listener,
bool autoclean )

Add the listener.

Parameters
type
listenerAdded listener
autocleantrue:The listener is deleted at the destructor., false:The listener is not deleted at the destructor.
Returns

◆ addListener() [2/4]

bool RTC::ComponentActionListeners::addListener ( PortActionListenerType type,
PortActionListener * listener,
bool autoclean )

Add the listener.

Parameters
type
listenerAdded listener
autocleantrue:The listener is deleted at the destructor., false:The listener is not deleted at the destructor.
Returns

◆ addListener() [3/4]

bool RTC::ComponentActionListeners::addListener ( PostComponentActionListenerType type,
PostComponentActionListener * listener,
bool autoclean )

Add the listener.

Parameters
type
listenerAdded listener
autocleantrue:The listener is deleted at the destructor., false:The listener is not deleted at the destructor.
Returns

◆ addListener() [4/4]

bool RTC::ComponentActionListeners::addListener ( PreComponentActionListenerType type,
PreComponentActionListener * listener,
bool autoclean )

Add the listener.

Parameters
type
listenerAdded listener
autocleantrue:The listener is deleted at the destructor., false:The listener is not deleted at the destructor.
Returns

◆ notify() [1/4]

bool RTC::ComponentActionListeners::notify ( ExecutionContextActionListenerType type,
UniqueId ec_id )
inline
Parameters
type
pprofile
Returns

References notify().

◆ notify() [2/4]

bool RTC::ComponentActionListeners::notify ( PortActionListenerType type,
const RTC::PortProfile & pprofile )
inline
Parameters
type
pprofile
Returns

References notify().

◆ notify() [3/4]

bool RTC::ComponentActionListeners::notify ( PostComponentActionListenerType type,
UniqueId ec_id,
ReturnCode_t ret )
inline
Parameters
type
ec_id
ret
Returns

References notify().

◆ notify() [4/4]

◆ removeListener() [1/4]

bool RTC::ComponentActionListeners::removeListener ( ExecutionContextActionListenerType type,
ExecutionContextActionListener * listener )

Remove the listener.

Parameters
type
listener
Returns

◆ removeListener() [2/4]

bool RTC::ComponentActionListeners::removeListener ( PortActionListenerType type,
PortActionListener * listener )

Remove the listener.

Parameters
type
listener
Returns

◆ removeListener() [3/4]

bool RTC::ComponentActionListeners::removeListener ( PostComponentActionListenerType type,
PostComponentActionListener * listener )

Remove the listener.

Parameters
type
listener
Returns

◆ removeListener() [4/4]

bool RTC::ComponentActionListeners::removeListener ( PreComponentActionListenerType type,
PreComponentActionListener * listener )

Remove the listener.

Parameters
type
listener
Returns

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