OpenRTM-aist 2.1.0
読み取り中…
検索中…
一致する文字列を見つけられません
公開メンバ関数 | 全メンバ一覧
RTC::FsmActionListeners クラス

FsmActionListeners クラス [詳解]

#include <FsmActionListener.h>

公開メンバ関数

 FsmActionListeners ()
 コンストラクタ
 
 ~FsmActionListeners ()
 デストラクタ
 
bool addListener (PreFsmActionListenerType type, PreFsmActionListener *listener, bool autoclean=true)
 リスナーの追加
 
bool removeListener (PreFsmActionListenerType type, PreFsmActionListener *listener)
 リスナーの削除
 
bool addListener (PostFsmActionListenerType type, PostFsmActionListener *listener, bool autoclean=true)
 リスナーの追加
 
bool removeListener (PostFsmActionListenerType type, PostFsmActionListener *listener)
 リスナーの削除
 
bool addListener (FsmProfileListenerType type, FsmProfileListener *listener, bool autoclean=true)
 リスナーの追加
 
bool removeListener (FsmProfileListenerType type, FsmProfileListener *listener)
 リスナーの削除
 
bool addListener (FsmStructureListenerType type, FsmStructureListener *listener, bool autoclean=true)
 リスナーの追加
 
bool removeListener (FsmStructureListenerType type, FsmStructureListener *listener)
 リスナーの削除
 
bool notify (PreFsmActionListenerType type, const char *state)
 リスナーへ通知する
 
bool notify (PostFsmActionListenerType type, const char *state, ReturnCode_t ret)
 リスナーへ通知する
 
bool notify (FsmProfileListenerType type, RTC::FsmProfile &profile)
 リスナーへ通知する
 
bool notify (FsmStructureListenerType type, RTC::FsmStructure &structure)
 リスナーへ通知する
 

詳解

FsmActionListeners クラス

構築子と解体子

◆ FsmActionListeners()

RTC::FsmActionListeners::FsmActionListeners ( )

コンストラクタ

◆ ~FsmActionListeners()

RTC::FsmActionListeners::~FsmActionListeners ( )

デストラクタ

関数詳解

◆ addListener() [1/4]

bool RTC::FsmActionListeners::addListener ( FsmProfileListenerType  type,
FsmProfileListener listener,
bool  autoclean = true 
)

リスナーの追加

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

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

◆ addListener() [2/4]

bool RTC::FsmActionListeners::addListener ( FsmStructureListenerType  type,
FsmStructureListener listener,
bool  autoclean = true 
)

リスナーの追加

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

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

◆ addListener() [3/4]

bool RTC::FsmActionListeners::addListener ( PostFsmActionListenerType  type,
PostFsmActionListener listener,
bool  autoclean = true 
)

リスナーの追加

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

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

◆ addListener() [4/4]

bool RTC::FsmActionListeners::addListener ( PreFsmActionListenerType  type,
PreFsmActionListener listener,
bool  autoclean = true 
)

リスナーの追加

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

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

◆ notify() [1/4]

bool RTC::FsmActionListeners::notify ( FsmProfileListenerType  type,
RTC::FsmProfile &  profile 
)
inline

リスナーへ通知する

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

引数
typeリスナの種類
profileFsmProfile
戻り値
false:指定の種類のリスナが存在しない

参照先 notify().

◆ notify() [2/4]

bool RTC::FsmActionListeners::notify ( FsmStructureListenerType  type,
RTC::FsmStructure &  structure 
)
inline

リスナーへ通知する

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

引数
typeリスナの種類
structureFsmStructure
戻り値
false:指定の種類のリスナが存在しない

参照先 notify().

◆ notify() [3/4]

bool RTC::FsmActionListeners::notify ( PostFsmActionListenerType  type,
const char *  state,
ReturnCode_t  ret 
)
inline

リスナーへ通知する

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

引数
typeリスナの種類
state
ret
戻り値
false:指定の種類のリスナが存在しない

参照先 notify().

◆ notify() [4/4]

bool RTC::FsmActionListeners::notify ( PreFsmActionListenerType  type,
const char *  state 
)
inline

リスナーへ通知する

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

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

参照先 notify().

参照元 notify(), notify(), notify(), notify(), RTC::RTObject_impl::postOnFsmDo(), RTC::RTObject_impl::postOnFsmEntry(), RTC::RTObject_impl::postOnFsmExit(), RTC::RTObject_impl::postOnFsmInit(), RTC::RTObject_impl::postOnFsmStateChange(), RTC::RTObject_impl::preOnFsmDo(), RTC::RTObject_impl::preOnFsmEntry(), RTC::RTObject_impl::preOnFsmExit(), RTC::RTObject_impl::preOnFsmInit(), RTC::RTObject_impl::preOnFsmStateChange().

◆ removeListener() [1/4]

bool RTC::FsmActionListeners::removeListener ( FsmProfileListenerType  type,
FsmProfileListener listener 
)

リスナーの削除

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

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

◆ removeListener() [2/4]

bool RTC::FsmActionListeners::removeListener ( FsmStructureListenerType  type,
FsmStructureListener listener 
)

リスナーの削除

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

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

◆ removeListener() [3/4]

bool RTC::FsmActionListeners::removeListener ( PostFsmActionListenerType  type,
PostFsmActionListener listener 
)

リスナーの削除

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

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

◆ removeListener() [4/4]

bool RTC::FsmActionListeners::removeListener ( PreFsmActionListenerType  type,
PreFsmActionListener listener 
)

リスナーの削除

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

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

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