#include <OutPortCorbaConsumer.h>
Public Member Functions | |
OutPortCorbaConsumer (BufferBase< DataType > &buffer) | |
Constructor. | |
virtual | ~OutPortCorbaConsumer () |
Destructor. | |
bool | get (DataType &data) |
Read data. | |
virtual void | pull () |
Receive data from the port. | |
virtual bool | subscribeInterface (const SDOPackage::NVList &properties) |
Subscribe the data receive notification. | |
virtual void | unsubscribeInterface (const SDOPackage::NVList &properties) |
Unsubscribe the data receive notification. |
This is an implementation class of the output Consumer that uses CORBA for means of communication.
DataType | Data type for this port |
RTC::OutPortCorbaConsumer< DataType >::OutPortCorbaConsumer | ( | BufferBase< DataType > & | buffer | ) | [inline] |
Constructor.
Constructor
buffer | Buffer that is attached to this port |
virtual RTC::OutPortCorbaConsumer< DataType >::~OutPortCorbaConsumer | ( | ) | [inline, virtual] |
Destructor.
Destructor
bool RTC::OutPortCorbaConsumer< DataType >::get | ( | DataType & | data | ) | [inline] |
Read data.
Read set data
data | Object to receive the read data |
virtual void RTC::OutPortCorbaConsumer< DataType >::pull | ( | ) | [inline, virtual] |
Receive data from the port.
Receive data from the destination port. Write the received data into the set internal buffer.
Implements RTC::OutPortConsumer.
virtual bool RTC::OutPortCorbaConsumer< DataType >::subscribeInterface | ( | const SDOPackage::NVList & | properties | ) | [inline, virtual] |
Subscribe the data receive notification.
Subscribe the data receive notification based on specified property information
properties | Subscription information |
Implements RTC::OutPortConsumer.
virtual void RTC::OutPortCorbaConsumer< DataType >::unsubscribeInterface | ( | const SDOPackage::NVList & | properties | ) | [inline, virtual] |
Unsubscribe the data receive notification.
Unsubscribe the data receive notification.
properties | Unsubscription information |
Implements RTC::OutPortConsumer.