OpenRTM-aist 2.0.2
Loading...
Searching...
No Matches
RTC::OnWrite< DataType > Class Template Referenceabstract

Callback abstract class on write() More...

#include <PortCallback.h>

Public Member Functions

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

Detailed Description

template<class DataType>
class RTC::OnWrite< DataType >

Callback abstract class on write()

This is the interface for callback invoked immediately before data is done write() into the DataPort's buffer.

Parameters
DataTypeData type to write into the buffer
Since
0.4.0

Constructor & Destructor Documentation

◆ ~OnWrite()

template<class DataType >
virtual RTC::OnWrite< DataType >::~OnWrite ( )
virtualdefault

Destructor.

Destructor

Member Function Documentation

◆ operator()()

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

Callback function.

This is the callback method invoked immediately before data is written into the buffer.

Parameters
valueData that is written into the buffer

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