Public Member Functions | List of all members
RTC::OnWriteConvert< DataType > Class Template Referenceabstract

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

#include <PortCallback.h>

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

Public Member Functions

virtual DataType operator() (const DataType &value)=0
 Callback function. More...
 
virtual ~OnWriteConvert (void)
 Destructor. More...
 

Detailed Description

template<class DataType>
class RTC::OnWriteConvert< DataType >

Data convert callback abstract class on write()

This is the interface for callback invoked when data is done write() into the OutPort's buffer. The return value of this callback will be stored in the buffer.

Since
0.4.0

Definition at line 258 of file PortCallback.h.

Constructor & Destructor Documentation

◆ ~OnWriteConvert()

template<class DataType>
virtual RTC::OnWriteConvert< DataType >::~OnWriteConvert ( void  )
inlinevirtual

Destructor.

Destructor

Definition at line 273 of file PortCallback.h.

Member Function Documentation

◆ operator()()

template<class DataType>
virtual DataType RTC::OnWriteConvert< DataType >::operator() ( const DataType &  value)
pure virtual

Callback function.

This is the callback function invoked when data is written into the buffer.

Parameters
valueData to be converted
Returns
Converted data

Implemented in OutPort::OnWriteConvertMock< DataType >.


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


openrtm_aist
Author(s): Noriaki Ando
autogenerated on Mon Feb 28 2022 23:00:47