48 m_portRef = RTC::PortService::_duplicate(profile.port_ref);
50 m_owner = RTC::RTObject::_duplicate(profile.owner);
68 PortProfile_var profile(
new PortProfile());
69 profile->name = CORBA::string_dup(
m_name.c_str());
76 return profile._retn();
150 const PortInterfaceProfile
186 m_portRef = RTC::PortService::_duplicate(port);
243 const ConnectorProfile
259 const ConnectorProfile
312 m_owner = RTC::RTObject::_duplicate(owner);
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
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.
RTC's PortProfile helper class.
const PortInterfaceProfileList & getPortInterfaceProfiles() const
Get PortInterfaceProfileList.
void setPortProfile(const PortProfile &profile)
Set PortProfile.
prop
Organization::get_organization_property ();.
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.
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.