#include <OutPortProvider.h>
Public Member Functions | |
virtual | ~OutPortProvider () |
Destructor. | |
virtual void | publishInterfaceProfile (SDOPackage::NVList &properties) |
Publish InterfaceProfile information. | |
virtual void | publishInterface (SDOPackage::NVList &properties) |
Publish interface information. | |
Protected Member Functions | |
void | setPortType (const char *port_type) |
Set the port type. | |
void | setDataType (const char *data_type) |
Set the data type. | |
void | setInterfaceType (const char *interface_type) |
Set the interface type. | |
void | setDataFlowType (const char *dataflow_type) |
Set the data flow type. | |
void | setSubscriptionType (const char *subs_type) |
Set the subscription type. | |
Protected Attributes | |
SDOPackage::NVList | m_properties |
Properties to hold the port profiles. |
(Example) When OutPort is provided:
OutPortCorbaProvider declares the following:
OutPortRawTCPProvider declares the following:
Finally, PortProfile::properties declares the following:
virtual RTC::OutPortProvider::~OutPortProvider | ( | ) | [inline, virtual] |
Destructor.
virtual void RTC::OutPortProvider::publishInterfaceProfile | ( | SDOPackage::NVList & | properties | ) | [virtual] |
Publish InterfaceProfile information.
Publish interfaceProfile information. Check the dataport.interface_type value of the NameValue object specified by an argument in property information and get information only when the interface type of the specified port is matched.
properties | Properties to get InterfaceProfile information |
virtual void RTC::OutPortProvider::publishInterface | ( | SDOPackage::NVList & | properties | ) | [virtual] |
Publish interface information.
Publish interface information. Check the dataport.interface_type value of the NameValue object specified by an argument in the property information, and add the information to the NameValue if this port is not specified. This does not do anything if the same interface is already subscribed.
properties | Properties to receive interface information |
void RTC::OutPortProvider::setPortType | ( | const char * | port_type | ) | [protected] |
Set the port type.
Set the port type specified by the argument.
port_type | The target port type to set |
void RTC::OutPortProvider::setDataType | ( | const char * | data_type | ) | [protected] |
Set the data type.
Set the data type specified by the argument.
data_type | The target data type to set |
void RTC::OutPortProvider::setInterfaceType | ( | const char * | interface_type | ) | [protected] |
Set the interface type.
Set theinterface type specified by the argument.
interface_type | The target interface type to set |
void RTC::OutPortProvider::setDataFlowType | ( | const char * | dataflow_type | ) | [protected] |
Set the data flow type.
Set the data flow type specified by the argument.
dataflow_type | The target data flow type to set |
void RTC::OutPortProvider::setSubscriptionType | ( | const char * | subs_type | ) | [protected] |
Set the subscription type.
Set the subscription type specified by the argument.
subs_type | The target subscription type to set |
SDOPackage::NVList RTC::OutPortProvider::m_properties [protected] |
Properties to hold the port profiles.