RTC::InPortProvider Class Reference

InPortProvider class. More...

#include <InPortProvider.h>

Inheritance diagram for RTC::InPortProvider:

RTC::DataPortStatus RTC::InPortCorbaCdrProvider RTC::InPortCorbaProvider< DataType > RTC::InPortTcpSockProvider< DataType >

List of all members.

Public Member Functions

DATAPORTSTATUS_ENUM InPortProvider ()
 Constructor.
virtual ~InPortProvider (void)
 Destructor.
virtual void init (coil::Properties &prop)=0
 Initializing configuration.
virtual void setBuffer (BufferBase< cdrMemoryStream > *buffer)=0
 Initializing configuration.
virtual void publishInterfaceProfile (SDOPackage::NVList &properties)
 Publish InterfaceProfile information.
virtual bool publishInterface (SDOPackage::NVList &properties)
 Publish interface information.

Protected Member Functions

void setInterfaceType (const char *interface_type)
 Set the interface type.
void setDataFlowType (const char *dataflow_type)
 Set the dataflow type.
void setSubscriptionType (const char *subs_type)
 Set the subscription type.

Protected Attributes

SDOPackage::NVList m_properties
 Properties to hold port profile.
Logger rtclog

Classes

struct  publishInterfaceFunc
 Functor to publish interface profile. More...
struct  publishInterfaceProfileFunc
 Functor to publish interface profile. More...


Detailed Description

InPortProvider class.

Class to hold InPort information.

Since:
0.4.0

Constructor & Destructor Documentation

DATAPORTSTATUS_ENUM RTC::InPortProvider::InPortProvider (  ) 

Constructor.

Constructor

virtual RTC::InPortProvider::~InPortProvider ( void   )  [virtual]

Destructor.

Destructor


Member Function Documentation

virtual void RTC::InPortProvider::init ( coil::Properties &  prop  )  [pure virtual]

Initializing configuration.

This operation would be called to configure this consumer in initialization.

Implemented in RTC::InPortCorbaCdrProvider.

virtual void RTC::InPortProvider::setBuffer ( BufferBase< cdrMemoryStream > *  buffer  )  [pure virtual]

Initializing configuration.

This operation would be called to configure this consumer in initialization.

Implemented in RTC::InPortCorbaCdrProvider.

virtual void RTC::InPortProvider::publishInterfaceProfile ( SDOPackage::NVList &  properties  )  [virtual]

Publish InterfaceProfile information.

Publish InterfaceProfile information.

Parameters:
properties Properties to receive InterfaceProfile information

virtual bool RTC::InPortProvider::publishInterface ( SDOPackage::NVList &  properties  )  [virtual]

Publish interface information.

Publish interface information.

Parameters:
properties Properties to receive interface information

Reimplemented in RTC::InPortTcpSockProvider< DataType >.

void RTC::InPortProvider::setInterfaceType ( const char *  interface_type  )  [protected]

Set the interface type.

Set the interface type.

Parameters:
interface_type The target interface type for set

void RTC::InPortProvider::setDataFlowType ( const char *  dataflow_type  )  [protected]

Set the dataflow type.

Set the dataflow type.

Parameters:
dataflow_type The target data flow type for set

void RTC::InPortProvider::setSubscriptionType ( const char *  subs_type  )  [protected]

Set the subscription type.

Set the subscription type.

Parameters:
subs_type The target subscription type for set


Member Data Documentation

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

Properties to hold port profile.

Logger RTC::InPortProvider::rtclog [mutable, protected]


Generated on Sun May 24 14:08:45 2009 for OpenRTM by  doxygen 1.5.3