OpenRTM-aist 2.1.0
|
ComponentActionListeners クラス [詳解]
#include <ComponentActionListener.h>
RTC::ComponentActionListeners::ComponentActionListeners | ( | ) |
コンストラクタ
RTC::ComponentActionListeners::~ComponentActionListeners | ( | ) |
デストラクタ
bool RTC::ComponentActionListeners::addListener | ( | ExecutionContextActionListenerType | type, |
ExecutionContextActionListener * | listener, | ||
bool | autoclean | ||
) |
リスナーの追加
指定の種類のExecutionContextActionListenerを追加する。
type | リスナの種類 |
listener | 追加するリスナ |
autoclean | true:デストラクタで削除する, false:デストラクタで削除しない |
bool RTC::ComponentActionListeners::addListener | ( | PortActionListenerType | type, |
PortActionListener * | listener, | ||
bool | autoclean | ||
) |
リスナーの追加
指定の種類のPortActionListenerを追加する。
type | リスナの種類 |
listener | 追加するリスナ |
autoclean | true:デストラクタで削除する, false:デストラクタで削除しない |
bool RTC::ComponentActionListeners::addListener | ( | PostComponentActionListenerType | type, |
PostComponentActionListener * | listener, | ||
bool | autoclean | ||
) |
リスナーの追加
指定の種類のPostComponentActionListenerを追加する。
type | リスナの種類 |
listener | 追加するリスナ |
autoclean | true:デストラクタで削除する, false:デストラクタで削除しない |
bool RTC::ComponentActionListeners::addListener | ( | PreComponentActionListenerType | type, |
PreComponentActionListener * | listener, | ||
bool | autoclean | ||
) |
リスナーの追加
指定の種類のPreComponentActionListenerを追加する。
type | リスナの種類 |
listener | 追加するリスナ |
autoclean | true:デストラクタで削除する, false:デストラクタで削除しない |
|
inline |
リスナーへ通知する
指定の種類のExecutionContextActionListenerのコールバック関数を呼び出す。
type | リスナの種類 |
ec_id | 実行コンテキストのID |
参照先 notify().
|
inline |
リスナーへ通知する
指定の種類のPortActionListenerのコールバック関数を呼び出す。
type | リスナの種類 |
pprofile | ポートプロファイル |
参照先 notify().
|
inline |
リスナーへ通知する
指定の種類のPostComponentActionListenerのコールバック関数を呼び出す。
type | リスナの種類 |
ec_id | 実行コンテキストのID |
ret | リターンコード |
参照先 notify().
|
inline |
リスナーへ通知する
指定の種類のPreComponentActionListenerのコールバック関数を呼び出す。
type | リスナの種類 |
ec_id | 実行コンテキストのID |
参照先 notify().
参照元 notify(), notify(), notify(), notify(), RTC::RTObject_impl::onAddPort(), RTC::RTObject_impl::onRemovePort(), RTC::RTObject_impl::postOnAborting(), RTC::RTObject_impl::postOnActivated(), RTC::RTObject_impl::postOnDeactivated(), RTC::RTObject_impl::postOnError(), RTC::RTObject_impl::postOnExecute(), RTC::RTObject_impl::postOnFinalize(), RTC::RTObject_impl::postOnInitialize(), RTC::RTObject_impl::postOnRateChanged(), RTC::RTObject_impl::postOnReset(), RTC::RTObject_impl::postOnShutdown(), RTC::RTObject_impl::postOnStartup(), RTC::RTObject_impl::postOnStateUpdate(), RTC::RTObject_impl::preOnAborting(), RTC::RTObject_impl::preOnActivated(), RTC::RTObject_impl::preOnDeactivated(), RTC::RTObject_impl::preOnError(), RTC::RTObject_impl::preOnExecute(), RTC::RTObject_impl::preOnFinalize(), RTC::RTObject_impl::preOnInitialize(), RTC::RTObject_impl::preOnRateChanged(), RTC::RTObject_impl::preOnReset(), RTC::RTObject_impl::preOnShutdown(), RTC::RTObject_impl::preOnStartup(), RTC::RTObject_impl::preOnStateUpdate() (計30項目).
bool RTC::ComponentActionListeners::removeListener | ( | ExecutionContextActionListenerType | type, |
ExecutionContextActionListener * | listener | ||
) |
リスナーの削除
指定の種類のExecutionContextActionListenerを削除する。
type | リスナの種類 |
listener | 削除するリスナ |
bool RTC::ComponentActionListeners::removeListener | ( | PortActionListenerType | type, |
PortActionListener * | listener | ||
) |
リスナーの削除
指定の種類のPortActionListenerを削除する。
type | リスナの種類 |
listener | 削除するリスナ |
bool RTC::ComponentActionListeners::removeListener | ( | PostComponentActionListenerType | type, |
PostComponentActionListener * | listener | ||
) |
リスナーの削除
指定の種類のPreComponentActionListenerを削除する。
type | リスナの種類 |
listener | 削除するリスナ |
bool RTC::ComponentActionListeners::removeListener | ( | PreComponentActionListenerType | type, |
PreComponentActionListener * | listener | ||
) |
リスナーの削除
指定の種類のPreComponentActionListenerを削除する。
type | リスナの種類 |
listener | 削除するリスナ |