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

Callback abstract class on write() More...

#include <PortCallback.h>

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

Public Member Functions

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

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

Definition at line 192 of file PortCallback.h.

Constructor & Destructor Documentation

◆ ~OnWrite()

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

Destructor.

Destructor

Definition at line 208 of file PortCallback.h.

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

Implemented in OutPort::OnWriteMock< DataType >, and InPort::OnWriteMock< 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