OpenRTM-aist
1.2.1
|
Data convert callback abstract class on read() More...
#include <PortCallback.h>
Public Member Functions | |
virtual | ~OnReadConvert (void) |
Destructor. More... | |
virtual DataType & | operator() (DataType &value)=0 |
Callback method. More... | |
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().
|
inlinevirtual |
|
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 |