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 void setProperties(NVList &prop)
Set properties to the PortProfile.
const NVList & getProperties() const
Get properties of the PortProfile.
RTObject_ptr getOwner() const
Get owner's object reference from the PortProfile.
PortProfile * getPortProfile()
Get PortProfile.
PortProfileHelper()
Constructor.
const PortInterfaceProfile getPortInterfaceProfile(const char *instance_name) const
Get PortInterfaceProfile.
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 ConnectorProfileList getConnectorProfiles() const
Get ConnectorProfileList.
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
std::vector< ConnectorProfile * > ConnectorProfileList
void erasePortInterfaceProfile(const char *instance_name)
Erase PortInterfaceProfile from the PortProfile.
const char * getName() const
Get PortProfile.name.
conn_name(const char *name)
const PortInterfaceProfileList & getPortInterfaceProfiles() const
Get PortInterfaceProfileList.
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 ConnectorProfile getConnectorProfileById(const char *id) const
Get ConnectorProfile.
void setOwner(RTObject_ptr owner)
Set owner's object reference to the PortProfile.
SequenceEx< PortInterfaceProfileList, PortInterfaceProfile, Mutex > IfProfiles
PortService_ptr getPortRef() const
Get Port's object reference.
void eraseConnectorProfile(const char *name)
Erase ConnectorProfile.
ConnProfiles m_connProfiles
const ConnectorProfile getConnectorProfile(const char *name) const
Get ConnectorProfile.
if_name(const char *name)
bool operator()(const ConnectorProfile &c)