OpenRTM-aist  1.2.1
公開メンバ関数 | 全メンバ一覧
RTC::PostComponentActionListenerHolder クラス

PostComponentActionListener ホルダクラス [詳解]

#include <ComponentActionListener.h>

公開メンバ関数

 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 
)

リスナーへ通知する

登録されているリスナのコールバックメソッドを呼び出す。

引数
infoConnectorInfo
cdrdataデータ
void RTC::PostComponentActionListenerHolder::removeListener ( PostComponentActionListener listener)

リスナーの削除

リスナを削除する。

引数
listener削除するリスナ

このクラス詳解は次のファイルから抽出されました: