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 | 追加するリスナ | |
| autoclean | true:デストラクタで削除する, false:デストラクタで削除しない |
| void RTC::PostComponentActionListenerHolder::notify | ( | UniqueId | ec_id, | |
| ReturnCode_t | ret | |||
| ) |
リスナーへ通知する
登録されているリスナのコールバックメソッドを呼び出す。
| info | ConnectorInfo | |
| cdrdata | データ |
参照元 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().
| void RTC::PostComponentActionListenerHolder::removeListener | ( | PostComponentActionListener * | listener | ) |
リスナーの削除
リスナを削除する。
| listener | 削除するリスナ |
1.6.3