OpenRTM  1.0.0
Public メソッド | すべてのメンバ一覧
クラス RTC::PostComponentActionListenerHolder

PostComponentActionListener ホルダクラス [詳細]

#include <ComponentActionListener.h>

Public メソッド

 PostComponentActionListenerHolder ()
 コンストラクタ
virtual ~PostComponentActionListenerHolder ()
 デストラクタ
void addListener (PostComponentActionListener *listener, bool autoclean)
 リスナーの追加
void removeListener (PostComponentActionListener *listener)
 リスナーの削除
void notify (UniqueId ec_id, ReturnCode_t ret)
 リスナーへ通知する

説明

PostComponentActionListener ホルダクラス

複数の PostComponentActionListener を保持し管理するクラス。

コンストラクタとデストラクタ

RTC::PostComponentActionListenerHolder::PostComponentActionListenerHolder ( )

コンストラクタ

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

デストラクタ

関数

void RTC::PostComponentActionListenerHolder::addListener ( PostComponentActionListener listener,
bool  autoclean 
)

リスナーの追加

リスナーを追加する。

引数
listener追加するリスナ
autocleantrue:デストラクタで削除する, false:デストラクタで削除しない
void RTC::PostComponentActionListenerHolder::notify ( UniqueId  ec_id,
ReturnCode_t  ret 
)
void RTC::PostComponentActionListenerHolder::removeListener ( PostComponentActionListener listener)

リスナーの削除

リスナを削除する。

引数
listener削除するリスナ