RTC::InPortCorbaCdrConsumer Class Reference

InPortCorbaCdrConsumer class. More...

#include <InPortCorbaCdrConsumer.h>

Inheritance diagram for RTC::InPortCorbaCdrConsumer:

RTC::InPortConsumer RTC::CorbaConsumer< ::OpenRTM::InPortCdr > RTC::DataPortStatus RTC::CorbaConsumerBase

List of all members.

Public Member Functions

DATAPORTSTATUS_ENUM InPortCorbaCdrConsumer (void)
 Constructor.
virtual ~InPortCorbaCdrConsumer (void)
 Destructor.
virtual void init (coil::Properties &prop)
 Initializing configuration.
virtual ReturnCode put (const cdrMemoryStream &data)
 Send data to the destination port.
virtual void publishInterfaceProfile (SDOPackage::NVList &properties)
 Publish InterfaceProfile information.
virtual bool subscribeInterface (const SDOPackage::NVList &properties)
 Subscribe to the data sending notification.
virtual void unsubscribeInterface (const SDOPackage::NVList &properties)
 Unsubscribe the data send notification.


Detailed Description

InPortCorbaCdrConsumer class.

This is an implementation class of the input port Consumer that uses CORBA for means of communication.

Parameters:
DataType Data type for this port
Since:
0.4.0

Constructor & Destructor Documentation

DATAPORTSTATUS_ENUM RTC::InPortCorbaCdrConsumer::InPortCorbaCdrConsumer ( void   ) 

Constructor.

Constructor

Parameters:
buffer The buffer object that is attached to this Consumer

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

Destructor.

Destructor


Member Function Documentation

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

Initializing configuration.

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

Implements RTC::InPortConsumer.

virtual ReturnCode RTC::InPortCorbaCdrConsumer::put ( const cdrMemoryStream &  data  )  [virtual]

Send data to the destination port.

Pure virtual function to send data to the destination port.

Implements RTC::InPortConsumer.

virtual void RTC::InPortCorbaCdrConsumer::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

Implements RTC::InPortConsumer.

virtual bool RTC::InPortCorbaCdrConsumer::subscribeInterface ( const SDOPackage::NVList &  properties  )  [virtual]

Subscribe to the data sending notification.

Subscribe to the data sending notification based on specified property information.

Parameters:
properties Information for subscription
Returns:
Subscription result (Successful:true, Failed:false)

Implements RTC::InPortConsumer.

virtual void RTC::InPortCorbaCdrConsumer::unsubscribeInterface ( const SDOPackage::NVList &  properties  )  [virtual]

Unsubscribe the data send notification.

Unsubscribe the data send notification.

Parameters:
properties Information for unsubscription

Implements RTC::InPortConsumer.


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