Public Member Functions
RTC::OnReadConvert< DataType > Class Template Reference

Data convert callback abstract class on read() More...

#include <PortCallback.h>

Inheritance diagram for RTC::OnReadConvert< DataType >:
Inheritance graph
[legend]

List of all members.

Public Member Functions

virtual DataType operator() (const DataType &value)=0
 Callback method.
virtual ~OnReadConvert (void)
 Destructor.

Detailed Description

template<class DataType>
class RTC::OnReadConvert< DataType >

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().

Since:
0.4.0

Definition at line 385 of file PortCallback.h.


Constructor & Destructor Documentation

template<class DataType>
virtual RTC::OnReadConvert< DataType >::~OnReadConvert ( void  ) [inline, virtual]

Destructor.

Destructor

Definition at line 402 of file PortCallback.h.


Member Function Documentation

template<class DataType>
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.

Parameters:
valueData that is readout from buffer
Returns:
Converted data. These data are stored in the port's variable.

Implemented in InPort::OnReadConvertMock< DataType >, DataInOutPort::HogeCovnert< DataType >, and DataInOutPort::HogeCovnert< RTC::TimedFloat >.


The documentation for this class was generated from the following file:


openrtm_aist
Author(s): Noriaki Ando
autogenerated on Thu Aug 27 2015 14:16:41