[詳解]
19 #ifndef RTC_PORTCONNECTLISTENER_H
20 #define RTC_PORTCONNECTLISTENER_H
27 #include <rtm/idl/RTCSkel.h>
135 RTC::ConnectorProfile& profile) = 0;
255 RTC::ConnectorProfile& profile,
256 ReturnCode_t ret) = 0;
278 typedef std::pair<PortConnectListener*, bool> Entry;
358 void notify(
const char* portname, RTC::ConnectorProfile& profile);
361 std::vector<Entry> m_listeners;
384 typedef std::pair<PortConnectRetListener*, bool> Entry;
466 void notify(
const char* portname, RTC::ConnectorProfile& profile,
470 std::vector<Entry> m_listeners;
517 #endif // RTC_PORTCONNECTLISTENER_H
@ ON_CONNECT_NEXTPORT
Definition: PortConnectListener.h:164
virtual ~PortConnectRetListenerHolder()
デストラクタ
void removeListener(PortConnectRetListener *listener)
リスナーの削除
@ ON_NOTIFY_CONNECT
Definition: PortConnectListener.h:51
@ ON_DISCONNECT_NEXT
Definition: PortConnectListener.h:167
void removeListener(PortConnectListener *listener)
リスナーの削除
static const char * toString(PortConnectRetListenerType type)
PortConnectRetListenerType を文字列に変換
@ ON_PUBLISH_INTERFACES
Definition: PortConnectListener.h:163
Mutex クラス
Definition: Mutex.h:40
PortConnectListener ホルダクラス
Definition: PortConnectListener.h:276
PortConnectRetListenerHolder portconnret_[PORT_CONNECT_RET_LISTENER_NUM]
PortConnectRetTypeリスナ配列 PortConnectRetTypeリスナを格納
Definition: PortConnectListener.h:511
void notify(const char *portname, RTC::ConnectorProfile &profile)
リスナーへ通知する
virtual ~PortConnectListener()
デストラクタ
static const char * toString(PortConnectListenerType type)
PortConnectListenerType を文字列に変換
PortConnectListenerHolder portconnect_[PORT_CONNECT_LISTENER_NUM]
PortConnectListenerType リスナ配列 PortConnectListenerType リスナを格納
Definition: PortConnectListener.h:500
PortConnectListenerType
PortConnectListener のタイプ
Definition: PortConnectListener.h:49
@ ON_NOTIFY_DISCONNECT
Definition: PortConnectListener.h:52
@ PORT_CONNECT_RET_LISTENER_NUM
Definition: PortConnectListener.h:169
@ ON_CONNECTED
Definition: PortConnectListener.h:166
PortConnectListeners クラス
Definition: PortConnectListener.h:487
virtual ~PortConnectRetListener()
デストラクタ
void addListener(PortConnectListener *listener, bool autoclean)
リスナーの追加
@ ON_SUBSCRIBE_INTERFACES
Definition: PortConnectListener.h:165
PortConnectListenerHolder()
コンストラクタ
virtual ~PortConnectListenerHolder()
デストラクタ
virtual void operator()(const char *portname, RTC::ConnectorProfile &profile, ReturnCode_t ret)=0
仮想コールバック関数
PortConnectRetListener ホルダクラス
Definition: PortConnectListener.h:382
PortConnectRetListenerType
PortConnectRetListenerType のタイプ
Definition: PortConnectListener.h:161
virtual void operator()(const char *portname, RTC::ConnectorProfile &profile)=0
仮想コールバック関数
PortConnectRetListenerHolder()
コンストラクタ
PortConnectListener クラス
Definition: PortConnectListener.h:82
@ ON_DISCONNECTED
Definition: PortConnectListener.h:168
void addListener(PortConnectRetListener *listener, bool autoclean)
リスナーの追加
@ ON_UNSUBSCRIBE_INTERFACES
Definition: PortConnectListener.h:53
PortConnectRetListener クラス
Definition: PortConnectListener.h:202
@ PORT_CONNECT_LISTENER_NUM
Definition: PortConnectListener.h:54
void notify(const char *portname, RTC::ConnectorProfile &profile, ReturnCode_t ret)
リスナーへ通知する