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

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.

DataTypeData type to write into the buffer

Definition at line 192 of file PortCallback.h.

Constructor & Destructor Documentation

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



Definition at line 208 of file PortCallback.h.

Member Function Documentation

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.

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:

Author(s): Noriaki Ando
autogenerated on Mon Jun 10 2019 14:08:03