19 #ifndef RTC_PORTPROFILEHELPER_H
20 #define RTC_PORTPROFILEHELPER_H
31 #include <rtm/idl/RTCSkel.h>
160 void setName(
const char* name);
252 const PortInterfaceProfile
563 typedef SequenceEx<PortInterfaceProfileList,
564 PortInterfaceProfile,
566 IfProfiles m_ifProfiles;
569 PortService_var m_portRef;
572 typedef SequenceEx<ConnectorProfileList,
575 ConnProfiles m_connProfiles ;
578 RTObject_var m_owner;
584 mutable Mutex m_mutex;
590 if_name(
const char* name) : m_name(name) {};
591 bool operator()(
const PortInterfaceProfile& p)
593 std::string name(p.instance_name);
594 return m_name == name;
596 const std::string m_name;
602 conn_name(
const char* name) : m_name(name) {};
603 bool operator()(
const ConnectorProfile& c)
605 std::string name(c.name);
606 return m_name == name;
608 const std::string m_name;
614 conn_id(
const char*
id) : m_id(
id) {};
615 bool operator()(
const ConnectorProfile& c)
617 std::string id(c.connector_id);
620 const std::string m_id;
625 #endif // RTC_PORTPROFILEHELPER_H
const char * getName() const
PortProfile.name を取得する
void setProperties(NVList &prop)
PortProfile の properties を設定する
RTObject_ptr getOwner() const
PortProfile の owner を取得する
PortProfileHelper()
コンストラクタ
const PortInterfaceProfile getPortInterfaceProfile(const char *instance_name) const
PortInterfaceProfile を取得する
Mutex クラス
Definition: Mutex.h:40
void appendPortInterfaceProfile(PortInterfaceProfile if_prof)
PortInterfaceProfile を追加する
virtual ~PortProfileHelper(void)
デストラクタ
void appendConnectorProfile(ConnectorProfile conn_profile)
ConnectorProfile を追加する
const ConnectorProfileList getConnectorProfiles() const
ConnectorProfileList を取得する
void setPortRef(PortService_ptr port)
Port のオブジェクト参照をセットする
void setName(const char *name)
PortProfile.name を設定する
void erasePortInterfaceProfile(const char *instance_name)
PortInterfaceProfile を削除する
const NVList & getProperties() const
PortProfile の properties を取得する
void setPortProfile(const PortProfile &profile)
PortProfile を設定する
PortProfile ヘルパークラス
Definition: PortProfileHelper.h:57
void eraseConnectorProfileById(const char *id)
ConnectorProfile を削除する
const ConnectorProfile getConnectorProfileById(const char *id) const
ConnectorProfile を取得する
void setOwner(RTObject_ptr owner)
PortProfile の owner を設定する
PortService_ptr getPortRef() const
Port のオブジェクト参照を取得する
PortProfile * getPortProfile()
PortProfile を取得する
void eraseConnectorProfile(const char *name)
ConnectorProfile を削除する
const ConnectorProfile getConnectorProfile(const char *name) const
ConnectorProfile を取得する
const PortInterfaceProfileList & getPortInterfaceProfiles() const
PortInterfaceProfileList を取得する