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
PortConnectListenerType
PortConnectListener のタイプ
Definition: PortConnectListener.h:49
Definition: PortConnectListener.h:163
PortConnectRetListener クラス
Definition: PortConnectListener.h:202
Definition: PortConnectListener.h:51
virtual ~PortConnectRetListenerHolder()
デストラクタ
Mutex クラス
Definition: Mutex.h:40
Definition: PortConnectListener.h:168
static const char * toString(PortConnectRetListenerType type)
PortConnectRetListenerType を文字列に変換
void notify(const char *portname, RTC::ConnectorProfile &profile)
リスナーへ通知する
void removeListener(PortConnectRetListener *listener)
リスナーの削除
Definition: PortConnectListener.h:52
Definition: PortConnectListener.h:54
virtual ~PortConnectListener()
デストラクタ
PortConnectRetListenerHolder portconnret_[PORT_CONNECT_RET_LISTENER_NUM]
PortConnectRetTypeリスナ配列 PortConnectRetTypeリスナを格納
Definition: PortConnectListener.h:511
void removeListener(PortConnectListener *listener)
リスナーの削除
virtual ~PortConnectListenerHolder()
デストラクタ
virtual ~PortConnectRetListener()
デストラクタ
PortConnectListener クラス
Definition: PortConnectListener.h:82
PortConnectListener ホルダクラス
Definition: PortConnectListener.h:276
PortConnectListeners クラス
Definition: PortConnectListener.h:487
PortConnectRetListener ホルダクラス
Definition: PortConnectListener.h:382
Definition: PortConnectListener.h:166
static const char * toString(PortConnectListenerType type)
PortConnectListenerType を文字列に変換
virtual void operator()(const char *portname, RTC::ConnectorProfile &profile, ReturnCode_t ret)=0
仮想コールバック関数
PortConnectListenerHolder()
コンストラクタ
Definition: PortConnectListener.h:169
virtual void operator()(const char *portname, RTC::ConnectorProfile &profile)=0
仮想コールバック関数
Definition: PortConnectListener.h:165
PortConnectRetListenerType
PortConnectRetListenerType のタイプ
Definition: PortConnectListener.h:161
PortConnectRetListenerHolder()
コンストラクタ
Definition: PortConnectListener.h:167
void addListener(PortConnectListener *listener, bool autoclean)
リスナーの追加
Definition: PortConnectListener.h:53
PortConnectListenerHolder portconnect_[PORT_CONNECT_LISTENER_NUM]
PortConnectListenerType リスナ配列 PortConnectListenerType リスナを格納 ...
Definition: PortConnectListener.h:500
void notify(const char *portname, RTC::ConnectorProfile &profile, ReturnCode_t ret)
リスナーへ通知する
Definition: PortConnectListener.h:164
void addListener(PortConnectRetListener *listener, bool autoclean)
リスナーの追加