PortProfile helper class. More...
Classes | |
class | conn_id |
class | conn_name |
class | if_name |
A functor to find a PortInterfaceProfile named instance_name. More... | |
Public Member Functions | |
def | __init__ |
def | appendConnectorProfile |
Append ConnectorProfile. | |
def | appendPortInterfaceProfile |
Append PortInterfaceProfile to the PortProfile. | |
def | eraseConnectorProfile |
Erase ConnectorProfile. | |
def | eraseConnectorProfileById |
Erase ConnectorProfile. | |
def | erasePortInterfaceProfile |
Erase PortInterfaceProfile from the PortProfile. | |
def | getConnectorProfile |
Get ConnectorProfile. | |
def | getConnectorProfileById |
Get ConnectorProfile. | |
def | getConnectorProfiles |
Get ConnectorProfileList. | |
def | getName |
Get PortProfile.name. | |
def | getOwner |
Get owner's object reference from the PortProfile. | |
def | getPortInterfaceProfile |
Get PortInterfaceProfile. | |
def | getPortInterfaceProfiles |
Get PortInterfaceProfileList. | |
def | getPortProfile |
Get PortProfile. | |
def | getPortRef |
Get Port's object reference. | |
def | getProperties |
Get properties of the PortProfile. | |
def | setName |
Set PortProfile.name. | |
def | setOwner |
Set owner's object reference to the PortProfile. | |
def | setPortProfile |
Set PortProfile. | |
def | setPortRef |
Set Port's object reference. | |
def | setProperties |
Set properties to the PortProfile. | |
Private Attributes | |
_connProfiles | |
_ifProfiles | |
_mutex | |
_name | |
_owner | |
_portRef | |
_properties |
PortProfile helper class.
This class manages the PortProfile that is profiles of the RTC:Port. This is mainly used in PortBase class.
Definition at line 45 of file PortProfileHelper.py.
Definition at line 49 of file PortProfileHelper.py.
def OpenRTM_aist.PortProfileHelper.PortProfileHelper.appendConnectorProfile | ( | self, | |
conn_profile | |||
) |
Append ConnectorProfile.
This operation appends the ConnectorProfile to the PortProfile.
conn_profile | ConnectorProfile to be added. |
void appendConnectorProfile(ConnectorProfile conn_profile);
Definition at line 363 of file PortProfileHelper.py.
def OpenRTM_aist.PortProfileHelper.PortProfileHelper.appendPortInterfaceProfile | ( | self, | |
if_prof | |||
) |
Append PortInterfaceProfile to the PortProfile.
This operation appends the PortInterfaceProfile to the PortProfile
if_profile | PortInterfaceProfile to be appended the PortProfile |
void appendPortInterfaceProfile(PortInterfaceProfile if_prof);
Definition at line 193 of file PortProfileHelper.py.
def OpenRTM_aist.PortProfileHelper.PortProfileHelper.eraseConnectorProfile | ( | self, | |
name | |||
) |
Erase ConnectorProfile.
This operation erases the ConnectorProfile from the PortProfile.
name | The name of the ConnectorProfile to be erased. |
void eraseConnectorProfile(const char* name);
Definition at line 482 of file PortProfileHelper.py.
Erase ConnectorProfile.
This operation erases the ConnectorProfile from the PortProfile.
id | The ID of the ConnectorProfile to be erased. |
void eraseConnectorProfileById(const char* id);
Definition at line 515 of file PortProfileHelper.py.
def OpenRTM_aist.PortProfileHelper.PortProfileHelper.erasePortInterfaceProfile | ( | self, | |
instance_name | |||
) |
Erase PortInterfaceProfile from the PortProfile.
This operation erases the PortInterfaceProfile from the PortProfile
instance_name | PortInterfaceProfile to be erased from the PortProfile |
void erasePortInterfaceProfile(const char* instance_name);
Definition at line 280 of file PortProfileHelper.py.
def OpenRTM_aist.PortProfileHelper.PortProfileHelper.getConnectorProfile | ( | self, | |
name | |||
) |
Get ConnectorProfile.
This operation returns the ConnectorProfile specified by name.
name | The name of ConnectorProfile |
const ConnectorProfile getConnectorProfile(const char* name) const;
Definition at line 416 of file PortProfileHelper.py.
Get ConnectorProfile.
This operation returns the ConnectorProfile specified by ID.
id | The ID of ConnectorProfile |
const ConnectorProfile getConnectorProfileById(const char* id) const;
Definition at line 450 of file PortProfileHelper.py.
Get ConnectorProfileList.
This operation returns the list of ConnectorProfile of the PortProfile.
const ConnectorProfileList getConnectorProfiles() const;
Definition at line 389 of file PortProfileHelper.py.
Get PortProfile.name.
This operation returns a pointer to the PortProfile.name.
const char* getName() const;
Definition at line 168 of file PortProfileHelper.py.
Get owner's object reference from the PortProfile.
This operation returns the owner's object reference of the PortProfile.
RTObject_ptr getOwner() const;
Definition at line 571 of file PortProfileHelper.py.
def OpenRTM_aist.PortProfileHelper.PortProfileHelper.getPortInterfaceProfile | ( | self, | |
instance_name | |||
) |
Get PortInterfaceProfile.
This operation returns the PortInterfaceProfile specified by instance_name.
instance_name | instance_name of the PortInterfaceProfile |
const PortInterfaceProfile getPortInterfaceProfile(const char* instance_name) const;
Definition at line 247 of file PortProfileHelper.py.
Get PortInterfaceProfileList.
This operation returns the PortInterfaceProfileList.
const PortInterfaceProfileList& getPortInterfaceProfiles() const;
Definition at line 218 of file PortProfileHelper.py.
Get PortProfile.
This operation returns the PortProfile.
PortProfile* getPortProfile();
Definition at line 111 of file PortProfileHelper.py.
Get Port's object reference.
This operation returns the object reference of the PortProfile.
PortService_ptr getPortRef() const;
Definition at line 338 of file PortProfileHelper.py.
Get properties of the PortProfile.
This operation returns the properties of the PortProfile.
const NVList& getProperties() const;
Definition at line 621 of file PortProfileHelper.py.
def OpenRTM_aist.PortProfileHelper.PortProfileHelper.setName | ( | self, | |
name | |||
) |
Set PortProfile.name.
This operation stores a copy of given name to the PortProfile.name.
name | The name of Port to be stored to the PortProfile.name. |
void setName(const char* name);
Definition at line 143 of file PortProfileHelper.py.
def OpenRTM_aist.PortProfileHelper.PortProfileHelper.setOwner | ( | self, | |
owner | |||
) |
Set owner's object reference to the PortProfile.
This operation sets the owner's object reference to the PortProfile.
owner | The owner's object reference of PortProfile. |
void setOwner(RTObject_ptr owner);
Definition at line 546 of file PortProfileHelper.py.
def OpenRTM_aist.PortProfileHelper.PortProfileHelper.setPortProfile | ( | self, | |
profile | |||
) |
Set PortProfile.
This operation copies the given PortProfile and overwrites the existent PortProfile by the given ProtProfile.
PortProfile | The PortProfile to be stored. |
void setPortProfile(const PortProfile& profile);
Definition at line 81 of file PortProfileHelper.py.
def OpenRTM_aist.PortProfileHelper.PortProfileHelper.setPortRef | ( | self, | |
port | |||
) |
Set Port's object reference.
This operation set the object reference of the Port.
port | Port's object reference to be set. |
void setPortRef(PortService_ptr port);
Definition at line 311 of file PortProfileHelper.py.
def OpenRTM_aist.PortProfileHelper.PortProfileHelper.setProperties | ( | self, | |
prop | |||
) |
Set properties to the PortProfile.
This operation set the properties to the PortProfile.
prop | The NVList of PortProfile's properties. |
void setProperties(NVList& prop);
Definition at line 596 of file PortProfileHelper.py.
Definition at line 49 of file PortProfileHelper.py.
Definition at line 49 of file PortProfileHelper.py.
Definition at line 49 of file PortProfileHelper.py.
Definition at line 49 of file PortProfileHelper.py.
Definition at line 49 of file PortProfileHelper.py.
Definition at line 49 of file PortProfileHelper.py.
Definition at line 49 of file PortProfileHelper.py.