19 #ifndef RTC_PORTPROFILEHELPER_H 20 #define RTC_PORTPROFILEHELPER_H 28 #include <coil/Mutex.h> 31 #include <rtm/idl/RTCSkel.h> 160 void setName(
const char* name);
252 const PortInterfaceProfile
564 PortInterfaceProfile,
593 std::string name(p.instance_name);
594 return m_name == name;
605 std::string name(c.name);
606 return m_name == name;
617 std::string
id(c.connector_id);
625 #endif // RTC_PORTPROFILEHELPER_H const NVList & getProperties() const
Get properties of the PortProfile.
void setProperties(NVList &prop)
Set properties to the PortProfile.
PortProfile * getPortProfile()
Get PortProfile.
PortProfileHelper()
Constructor.
std::vector< std::pair< std::string, std::string > > NVList
void appendPortInterfaceProfile(PortInterfaceProfile if_prof)
Append PortInterfaceProfile to the PortProfile.
void appendConnectorProfile(ConnectorProfile conn_profile)
Append ConnectorProfile.
const ConnectorProfile getConnectorProfile(const char *name) const
Get ConnectorProfile.
void setPortRef(PortService_ptr port)
Set Port's object reference.
virtual ~PortProfileHelper(void)
Destructor.
void setName(const char *name)
Set PortProfile.name.
PortService_var m_portRef
bool operator()(const ConnectorProfile &c)
std::vector< PortInterfaceProfile * > PortInterfaceProfileList
const PortInterfaceProfile getPortInterfaceProfile(const char *instance_name) const
Get PortInterfaceProfile.
std::vector< ConnectorProfile * > ConnectorProfileList
const ConnectorProfile getConnectorProfileById(const char *id) const
Get ConnectorProfile.
void erasePortInterfaceProfile(const char *instance_name)
Erase PortInterfaceProfile from the PortProfile.
conn_name(const char *name)
PortService_ptr getPortRef() const
Get Port's object reference.
const PortInterfaceProfileList & getPortInterfaceProfiles() const
Get PortInterfaceProfileList.
const ConnectorProfileList getConnectorProfiles() const
Get ConnectorProfileList.
SequenceEx< ConnectorProfileList, ConnectorProfile, Mutex > ConnProfiles
void setPortProfile(const PortProfile &profile)
Set PortProfile.
prop
Organization::get_organization_property ();.
bool operator()(const PortInterfaceProfile &p)
PortProfile helper class.
void eraseConnectorProfileById(const char *id)
Erase ConnectorProfile.
const char * getName() const
Get PortProfile.name.
void setOwner(RTObject_ptr owner)
Set owner's object reference to the PortProfile.
SequenceEx< PortInterfaceProfileList, PortInterfaceProfile, Mutex > IfProfiles
void eraseConnectorProfile(const char *name)
Erase ConnectorProfile.
ConnProfiles m_connProfiles
if_name(const char *name)
RTObject_ptr getOwner() const
Get owner's object reference from the PortProfile.
bool operator()(const ConnectorProfile &c)