RTC::OutPortProvider Class Reference

OutPortProvider. More...

#include <OutPortProvider.h>

Inheritance diagram for RTC::OutPortProvider:

RTC::OutPortCorbaProvider< DataType > RTC::OutPortTcpSockProvider< DataType >

List of all members.

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.


Detailed Description

OutPortProvider.

(Example) When OutPort is provided:

OutPortCorbaProvider declares the following:

OutPortRawTCPProvider declares the following:

Finally, PortProfile::properties declares the following:

Since:
0.4.0

Constructor & Destructor Documentation

virtual RTC::OutPortProvider::~OutPortProvider (  )  [inline, virtual]

Destructor.


Member Function Documentation

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.

Parameters:
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.

Parameters:
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.

Parameters:
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.

Parameters:
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.

Parameters:
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.

Parameters:
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.

Parameters:
subs_type The target subscription type to set


Member Data Documentation

SDOPackage::NVList RTC::OutPortProvider::m_properties [protected]

Properties to hold the port profiles.


Generated on Wed May 21 05:17:34 2008 for OpenRTM by  doxygen 1.5.3