OpenRTM-aist-Python 2.0.2
OpenRTM_aist.PortProfileHelper.PortProfileHelper Class Reference

More...

Classes

class  conn_id
 
class  conn_name
 
class  if_name
 

Public Member Functions

 setPortProfile (self, profile)
 
 getPortProfile (self)
 
 setName (self, name)
 
 getName (self)
 
 appendPortInterfaceProfile (self, if_prof)
 
 getPortInterfaceProfiles (self)
 
 getPortInterfaceProfile (self, instance_name)
 
 erasePortInterfaceProfile (self, instance_name)
 
 setPortRef (self, port)
 
 getPortRef (self)
 
 appendConnectorProfile (self, conn_profile)
 
 getConnectorProfiles (self)
 
 getConnectorProfile (self, name)
 
 getConnectorProfileById (self, id)
 
 eraseConnectorProfile (self, name)
 
 eraseConnectorProfileById (self, id)
 
 setOwner (self, owner)
 
 getOwner (self)
 
 setProperties (self, prop)
 
 getProperties (self)
 

Detailed Description

PortProfile helper class

This class manages the PortProfile that is profiles of the RTC:Port. This is mainly used in PortBase class.

Member Function Documentation

◆ appendConnectorProfile()

OpenRTM_aist.PortProfileHelper.PortProfileHelper.appendConnectorProfile ( self,
conn_profile )

Append ConnectorProfile

This operation appends the ConnectorProfile to the PortProfile.

Parameters
conn_profileConnectorProfile to be added.

void appendConnectorProfile(ConnectorProfile conn_profile);

◆ appendPortInterfaceProfile()

OpenRTM_aist.PortProfileHelper.PortProfileHelper.appendPortInterfaceProfile ( self,
if_prof )

Append PortInterfaceProfile to the PortProfile

This operation appends the PortInterfaceProfile to the PortProfile

Parameters
if_profilePortInterfaceProfile to be appended the PortProfile

void appendPortInterfaceProfile(PortInterfaceProfile if_prof);

◆ eraseConnectorProfile()

OpenRTM_aist.PortProfileHelper.PortProfileHelper.eraseConnectorProfile ( self,
name )

Erase ConnectorProfile

This operation erases the ConnectorProfile from the PortProfile.

Parameters
nameThe name of the ConnectorProfile to be erased.

void eraseConnectorProfile(const char* name);

◆ eraseConnectorProfileById()

OpenRTM_aist.PortProfileHelper.PortProfileHelper.eraseConnectorProfileById ( self,
id )

Erase ConnectorProfile

This operation erases the ConnectorProfile from the PortProfile.

Parameters
idThe ID of the ConnectorProfile to be erased.

void eraseConnectorProfileById(const char* id);

◆ erasePortInterfaceProfile()

OpenRTM_aist.PortProfileHelper.PortProfileHelper.erasePortInterfaceProfile ( self,
instance_name )

Erase PortInterfaceProfile from the PortProfile

This operation erases the PortInterfaceProfile from the PortProfile

Parameters
instance_namePortInterfaceProfile to be erased from the PortProfile

void erasePortInterfaceProfile(const char* instance_name);

◆ getConnectorProfile()

OpenRTM_aist.PortProfileHelper.PortProfileHelper.getConnectorProfile ( self,
name )

Get ConnectorProfile

This operation returns the ConnectorProfile specified by name.

Parameters
nameThe name of ConnectorProfile
Returns
ConnectorProfile.

const ConnectorProfile getConnectorProfile(const char* name) const;

◆ getConnectorProfileById()

OpenRTM_aist.PortProfileHelper.PortProfileHelper.getConnectorProfileById ( self,
id )

Get ConnectorProfile

This operation returns the ConnectorProfile specified by ID.

Parameters
idThe ID of ConnectorProfile
Returns
ConnectorProfile.

const ConnectorProfile getConnectorProfileById(const char* id) const;

◆ getConnectorProfiles()

OpenRTM_aist.PortProfileHelper.PortProfileHelper.getConnectorProfiles ( self)

Get ConnectorProfileList

This operation returns the list of ConnectorProfile of the PortProfile.

Returns
Port's ConnectorProfileList.

const ConnectorProfileList getConnectorProfiles() const;

◆ getName()

OpenRTM_aist.PortProfileHelper.PortProfileHelper.getName ( self)

Get PortProfile.name

This operation returns a pointer to the PortProfile.name.

Returns
The pointer to PortProfile.name.

const char* getName() const;

◆ getOwner()

OpenRTM_aist.PortProfileHelper.PortProfileHelper.getOwner ( self)

Get owner's object reference from the PortProfile

This operation returns the owner's object reference of the PortProfile.

Returns
The owner's object reference of PortProfile.

RTObject_ptr getOwner() const;

◆ getPortInterfaceProfile()

OpenRTM_aist.PortProfileHelper.PortProfileHelper.getPortInterfaceProfile ( self,
instance_name )

Get PortInterfaceProfile

This operation returns the PortInterfaceProfile specified by instance_name.

Parameters
instance_nameinstance_name of the PortInterfaceProfile
Returns
PortInterfaceProfile

const PortInterfaceProfile getPortInterfaceProfile(const char* instance_name) const;

◆ getPortInterfaceProfiles()

OpenRTM_aist.PortProfileHelper.PortProfileHelper.getPortInterfaceProfiles ( self)

Get PortInterfaceProfileList

This operation returns the PortInterfaceProfileList.

Returns
PortInterfaceProfileList

const PortInterfaceProfileList& getPortInterfaceProfiles() const;

◆ getPortProfile()

OpenRTM_aist.PortProfileHelper.PortProfileHelper.getPortProfile ( self)

Get PortProfile

This operation returns the PortProfile.

Returns
The PortProfile stored by the object.

PortProfile* getPortProfile();

◆ getPortRef()

OpenRTM_aist.PortProfileHelper.PortProfileHelper.getPortRef ( self)

Get Port's object reference

This operation returns the object reference of the PortProfile.

Returns
Port's object reference associated with the PortProfile.

PortService_ptr getPortRef() const;

◆ getProperties()

OpenRTM_aist.PortProfileHelper.PortProfileHelper.getProperties ( self)

Get properties of the PortProfile

This operation returns the properties of the PortProfile.

Returns
The NVList of PortProfile's properties.

const NVList& getProperties() const;

◆ setName()

OpenRTM_aist.PortProfileHelper.PortProfileHelper.setName ( self,
name )

Set PortProfile.name

This operation stores a copy of given name to the PortProfile.name.

Parameters
nameThe name of Port to be stored to the PortProfile.name.

void setName(const char* name);

◆ setOwner()

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.

Parameters
ownerThe owner's object reference of PortProfile.

void setOwner(RTObject_ptr owner);

◆ setPortProfile()

OpenRTM_aist.PortProfileHelper.PortProfileHelper.setPortProfile ( self,
profile )

Set PortProfile

This operation copies the given PortProfile and overwrites the existent PortProfile by the given ProtProfile.

Parameters
PortProfileThe PortProfile to be stored.

void setPortProfile(const PortProfile& profile);

◆ setPortRef()

OpenRTM_aist.PortProfileHelper.PortProfileHelper.setPortRef ( self,
port )

Set Port's object reference

This operation set the object reference of the Port.

Parameters
portPort's object reference to be set.

void setPortRef(PortService_ptr port);

◆ setProperties()

OpenRTM_aist.PortProfileHelper.PortProfileHelper.setProperties ( self,
prop )

Set properties to the PortProfile

This operation set the properties to the PortProfile.

Parameters
propThe NVList of PortProfile's properties.

void setProperties(NVList& prop);


The documentation for this class was generated from the following file: