|
OpenRTM-aist 2.1.0
|
#include <PortConnectListener.h>
公開メンバ関数 | |
| PortConnectListeners () | |
| コンストラクタ | |
| ~PortConnectListeners () | |
| デストラクタ | |
| bool | addListener (PortConnectListenerType type, PortConnectListener *listener, bool autoclean=true) |
| リスナーの追加 | |
| bool | removeListener (PortConnectListenerType type, PortConnectListener *listener) |
| リスナーの削除 | |
| bool | addListener (PortConnectRetListenerType type, PortConnectRetListener *listener, bool autoclean=true) |
| リスナーの追加 | |
| bool | removeListener (PortConnectRetListenerType type, PortConnectRetListener *listener) |
| リスナーの削除 | |
| bool | notify (PortConnectListenerType type, const char *portname, RTC::ConnectorProfile &profile) |
| リスナーへ通知する | |
| bool | notify (PortConnectRetListenerType type, const char *portname, RTC::ConnectorProfile &profile, ReturnCode_t ret) |
| リスナーへ通知する | |
| RTC::PortConnectListeners::PortConnectListeners | ( | ) |
コンストラクタ
| RTC::PortConnectListeners::~PortConnectListeners | ( | ) |
デストラクタ
| bool RTC::PortConnectListeners::addListener | ( | PortConnectListenerType | type, |
| PortConnectListener * | listener, | ||
| bool | autoclean = true |
||
| ) |
リスナーの追加
指定の種類のPortConnectListenerを追加する。
| type | リスナの種類 |
| listener | 追加するリスナ |
| autoclean | true:デストラクタで削除する, false:デストラクタで削除しない |
| bool RTC::PortConnectListeners::addListener | ( | PortConnectRetListenerType | type, |
| PortConnectRetListener * | listener, | ||
| bool | autoclean = true |
||
| ) |
リスナーの追加
指定の種類のPortConnectRetListenerを追加する。
| type | リスナの種類 |
| listener | 追加するリスナ |
| autoclean | true:デストラクタで削除する, false:デストラクタで削除しない |
|
inline |
リスナーへ通知する
指定の種類のPortConnectListenerのコールバック関数を呼び出す。
| type | リスナの種類 |
| portname | ポート名 |
| profile | コネクタプロファイル |
参照先 notify().
参照元 notify(), notify(), RTC::PortBase::onConnected(), RTC::PortBase::onConnectNextport(), RTC::PortBase::onDisconnected(), RTC::PortBase::onDisconnectNextport(), RTC::PortBase::onNotifyConnect(), RTC::PortBase::onNotifyDisconnect(), RTC::PortBase::onPublishInterfaces(), RTC::PortBase::onSubscribeInterfaces(), RTC::PortBase::onUnsubscribeInterfaces().
|
inline |
リスナーへ通知する
指定の種類のPortConnectRetListenerのコールバック関数を呼び出す。
| type | リスナの種類 |
| portname | ポート名 |
| profile | コネクタプロファイル |
| ret | リターンコード |
参照先 notify().
| bool RTC::PortConnectListeners::removeListener | ( | PortConnectListenerType | type, |
| PortConnectListener * | listener | ||
| ) |
リスナーの削除
指定の種類のPortConnectListenerを削除する。
| type | リスナの種類 |
| listener | 削除するリスナ |
| bool RTC::PortConnectListeners::removeListener | ( | PortConnectRetListenerType | type, |
| PortConnectRetListener * | listener | ||
| ) |
リスナーの削除
指定の種類のPortConnectRetListenerを削除する。
| type | リスナの種類 |
| listener | 削除するリスナ |