Data convert callback abstract class on read(). More...
#include <PortCallback.h>
Public Member Functions | |
virtual | ~OnReadConvert (void) |
Destructor. | |
virtual DataType | operator() (const DataType &value)=0 |
Callback method. |
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().
virtual RTC::OnReadConvert< DataType >::~OnReadConvert | ( | void | ) | [inline, virtual] |
Destructor.
Destructor
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 |