19 #ifndef RTC_PORTCONNECTLISTENER_H 20 #define RTC_PORTCONNECTLISTENER_H 24 #include <rtm/idl/RTCSkel.h> 135 virtual void operator()(
const char* portname,
136 RTC::ConnectorProfile& profile) = 0;
255 virtual void operator()(
const char* portname,
256 RTC::ConnectorProfile& profile,
257 ReturnCode_t ret) = 0;
279 using Entry = std::pair<PortConnectListener*, bool>;
358 void notify(
const char* portname, RTC::ConnectorProfile& profile);
361 std::vector<Entry> m_listeners;
384 using Entry = std::pair<PortConnectRetListener*, bool>;
465 void notify(
const char* portname, RTC::ConnectorProfile& profile,
469 std::vector<Entry> m_listeners;
627 if (static_cast<uint8_t>(type) < portconnect_.size())
629 portconnect_[
static_cast<uint8_t
>(type)].notify(portname, profile);
661 if (static_cast<uint8_t>(type) < portconnret_.size())
663 portconnret_[
static_cast<uint8_t
>(type)].notify(portname, profile, ret);
701 #endif // RTC_PORTCONNECTLISTENER_H PortConnectRetListener クラス
Definition: PortConnectListener.h:203
PortConnectRetListenerType
PortConnectRetListenerType のタイプ
Definition: PortConnectListener.h:162
PortConnectListenerType
PortConnectListener のタイプ
Definition: PortConnectListener.h:50
char const * toString(BufferStatus status)
BufferStatus リターンコードを文字列に変換
Definition: BufferStatus.h:90
PortConnectListener クラス
Definition: PortConnectListener.h:83
PortConnectListener ホルダクラス
Definition: PortConnectListener.h:277
PortConnectListeners クラス
Definition: PortConnectListener.h:486
PortConnectRetListener ホルダクラス
Definition: PortConnectListener.h:382
bool notify(PortConnectRetListenerType type, const char *portname, RTC::ConnectorProfile &profile, ReturnCode_t ret)
リスナーへ通知する
Definition: PortConnectListener.h:658
bool notify(PortConnectListenerType type, const char *portname, RTC::ConnectorProfile &profile)
リスナーへ通知する
Definition: PortConnectListener.h:625