OpenRTM-aist 2.0.2
読み取り中…
検索中…
一致する文字列を見つけられません
RTC::ComponentActionListeners クラス

ComponentActionListeners クラス [詳解]

#include <ComponentActionListener.h>

公開メンバ関数

 ComponentActionListeners ()
 コンストラクタ
 
 ~ComponentActionListeners ()
 デストラクタ
 
bool addListener (PreComponentActionListenerType type, PreComponentActionListener *listener, bool autoclean)
 リスナーの追加
 
bool addListener (PostComponentActionListenerType type, PostComponentActionListener *listener, bool autoclean)
 リスナーの追加
 
bool addListener (PortActionListenerType type, PortActionListener *listener, bool autoclean)
 リスナーの追加
 
bool addListener (ExecutionContextActionListenerType type, ExecutionContextActionListener *listener, bool autoclean)
 リスナーの追加
 
bool removeListener (PreComponentActionListenerType type, PreComponentActionListener *listener)
 リスナーの削除
 
bool removeListener (PostComponentActionListenerType type, PostComponentActionListener *listener)
 リスナーの削除
 
bool removeListener (PortActionListenerType type, PortActionListener *listener)
 リスナーの削除
 
bool removeListener (ExecutionContextActionListenerType type, ExecutionContextActionListener *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)
 リスナーへ通知する
 

詳解

構築子と解体子

◆ ComponentActionListeners()

RTC::ComponentActionListeners::ComponentActionListeners ( )

コンストラクタ

◆ ~ComponentActionListeners()

RTC::ComponentActionListeners::~ComponentActionListeners ( )

デストラクタ

関数詳解

◆ addListener() [1/4]

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

リスナーの追加

指定の種類のExecutionContextActionListenerを追加する。

引数
typeリスナの種類
listener追加するリスナ
autocleantrue:デストラクタで削除する, false:デストラクタで削除しない
戻り値
false:指定の種類のリスナが存在しない

◆ addListener() [2/4]

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

リスナーの追加

指定の種類のPortActionListenerを追加する。

引数
typeリスナの種類
listener追加するリスナ
autocleantrue:デストラクタで削除する, false:デストラクタで削除しない
戻り値
false:指定の種類のリスナが存在しない

◆ addListener() [3/4]

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

リスナーの追加

指定の種類のPostComponentActionListenerを追加する。

引数
typeリスナの種類
listener追加するリスナ
autocleantrue:デストラクタで削除する, false:デストラクタで削除しない
戻り値
false:指定の種類のリスナが存在しない

◆ addListener() [4/4]

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

リスナーの追加

指定の種類のPreComponentActionListenerを追加する。

引数
typeリスナの種類
listener追加するリスナ
autocleantrue:デストラクタで削除する, false:デストラクタで削除しない
戻り値
false:指定の種類のリスナが存在しない

◆ notify() [1/4]

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

リスナーへ通知する

指定の種類のExecutionContextActionListenerのコールバック関数を呼び出す。

引数
typeリスナの種類
ec_id実行コンテキストのID
戻り値
false:指定の種類のリスナが存在しない

参照先 notify().

◆ notify() [2/4]

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

リスナーへ通知する

指定の種類のPortActionListenerのコールバック関数を呼び出す。

引数
typeリスナの種類
pprofileポートプロファイル
戻り値
false:指定の種類のリスナが存在しない

参照先 notify().

◆ notify() [3/4]

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

リスナーへ通知する

指定の種類のPostComponentActionListenerのコールバック関数を呼び出す。

引数
typeリスナの種類
ec_id実行コンテキストのID
retリターンコード
戻り値
false:指定の種類のリスナが存在しない

参照先 notify().

◆ notify() [4/4]

◆ removeListener() [1/4]

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

リスナーの削除

指定の種類のExecutionContextActionListenerを削除する。

引数
typeリスナの種類
listener削除するリスナ
戻り値
false:指定の種類のリスナが存在しない

◆ removeListener() [2/4]

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

リスナーの削除

指定の種類のPortActionListenerを削除する。

引数
typeリスナの種類
listener削除するリスナ
戻り値
false:指定の種類のリスナが存在しない

◆ removeListener() [3/4]

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

リスナーの削除

指定の種類のPreComponentActionListenerを削除する。

引数
typeリスナの種類
listener削除するリスナ
戻り値
false:指定の種類のリスナが存在しない

◆ removeListener() [4/4]

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

リスナーの削除

指定の種類のPreComponentActionListenerを削除する。

引数
typeリスナの種類
listener削除するリスナ
戻り値
false:指定の種類のリスナが存在しない

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