19 #ifndef RTC_PORTPROFILEHELPER_H
20 #define RTC_PORTPROFILEHELPER_H
30 #include <rtm/idl/RTCSkel.h>
251 const PortInterfaceProfile
562 using IfProfiles = SequenceEx<PortInterfaceProfileList,
563 PortInterfaceProfile,
565 IfProfiles m_ifProfiles;
568 PortService_var m_portRef;
571 using ConnProfiles = SequenceEx<ConnectorProfileList,
574 ConnProfiles m_connProfiles;
577 RTObject_var m_owner;
582 mutable std::mutex m_mutex;
588 explicit if_name(
const char* name) : m_name(name) {}
589 bool operator()(
const PortInterfaceProfile& p)
591 std::string name(p.instance_name);
592 return m_name == name;
594 const std::string m_name;
600 explicit conn_name(
const char* name) : m_name(name) {}
601 bool operator()(
const ConnectorProfile& c)
603 std::string name(c.name);
604 return m_name == name;
606 const std::string m_name;
612 explicit conn_id(
const char*
id) : m_id(id) {}
613 bool operator()(
const ConnectorProfile& c)
615 std::string id(c.connector_id);
618 const std::string m_id;
PortProfile ヘルパークラス
Definition: PortProfileHelper.h:58
void eraseConnectorProfile(const char *name)
ConnectorProfile を削除する
const ConnectorProfileList getConnectorProfiles() const
ConnectorProfileList を取得する
void erasePortInterfaceProfile(const char *instance_name)
PortInterfaceProfile を削除する
void appendPortInterfaceProfile(PortInterfaceProfile if_prof)
PortInterfaceProfile を追加する
const PortInterfaceProfileList & getPortInterfaceProfiles() const
PortInterfaceProfileList を取得する
RTObject_ptr getOwner() const
PortProfile の owner を取得する
const char * getName() const
PortProfile.name を取得する
void eraseConnectorProfileById(const char *id)
ConnectorProfile を削除する
const NVList & getProperties() const
PortProfile の properties を取得する
void setPortRef(PortService_ptr port)
Port のオブジェクト参照をセットする
const ConnectorProfile getConnectorProfileById(const char *id) const
ConnectorProfile を取得する
PortProfileHelper()
コンストラクタ
PortProfile * getPortProfile()
PortProfile を取得する
virtual ~PortProfileHelper(void)
デストラクタ
const ConnectorProfile getConnectorProfile(const char *name) const
ConnectorProfile を取得する
void setOwner(RTObject_ptr owner)
PortProfile の owner を設定する
void setName(const char *name)
PortProfile.name を設定する
void setPortProfile(const PortProfile &profile)
PortProfile を設定する
void setProperties(NVList &prop)
PortProfile の properties を設定する
const PortInterfaceProfile getPortInterfaceProfile(const char *instance_name) const
PortInterfaceProfile を取得する
PortService_ptr getPortRef() const
Port のオブジェクト参照を取得する
void appendConnectorProfile(ConnectorProfile conn_profile)
ConnectorProfile を追加する