RTC::InPortProvider Class Reference

InPortProvider class. More...

#include <InPortProvider.h>

Inheritance diagram for RTC::InPortProvider:

RTC::DataPortStatus RTC::InPortCorbaCdrProvider

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 setListener (ConnectorInfo &info, ConnectorListeners *listeners)=0
 Set the listener.
virtual void setConnector (InPortConnector *connector)=0
 set Connector
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
 Logger stream.

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::setListener ( ConnectorInfo info,
ConnectorListeners listeners 
) [pure virtual]

Set the listener.

Implemented in RTC::InPortCorbaCdrProvider.

virtual void RTC::InPortProvider::setConnector ( InPortConnector connector  )  [pure virtual]

set Connector

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

Referenced by RTC::InPortProvider::publishInterfaceProfileFunc::operator()().

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

Publish interface information.

Publish interface information.

Parameters:
properties Properties to receive interface information

Referenced by RTC::InPortProvider::publishInterfaceFunc::operator()().

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]

Logger stream.


Generated on Thu Jan 28 13:25:36 2010 for OpenRTM by  doxygen 1.5.5