Data convert callback abstract class on read() More...
#include <PortCallback.h>
Public Member Functions | |
virtual DataType | operator() (const DataType &value)=0 |
Callback method. | |
virtual | ~OnReadConvert (void) |
Destructor. |
Data convert callback abstract class on read()
This is the interface for callback invoked when data is done read() from the InPort/OutPort's buffer. The return value of this callback will be the return value of read().
Definition at line 385 of file PortCallback.h.
virtual RTC::OnReadConvert< DataType >::~OnReadConvert | ( | void | ) | [inline, virtual] |
virtual DataType RTC::OnReadConvert< DataType >::operator() | ( | const DataType & | value | ) | [pure virtual] |
Callback method.
This function is the callback function invoked when data is readout from the buffer, and the return value of operator()() is used as return value of InPort's read() or it is stored in the InPort data variable.
value | Data that is readout from buffer |
Implemented in InPort::OnReadConvertMock< DataType >, DataInOutPort::HogeCovnert< DataType >, and DataInOutPort::HogeCovnert< RTC::TimedFloat >.