Public Member Functions | Private Attributes | List of all members
InPort::OnReadConvertMock< DataType > Struct Template Reference
Inheritance diagram for InPort::OnReadConvertMock< DataType >:
Inheritance graph

Public Member Functions

 OnReadConvertMock (void)
virtual DataType operator() (const DataType &value)
 Callback method. More...
void setLogger (Logger *logger)
- Public Member Functions inherited from RTC::OnReadConvert< DataType >
virtual ~OnReadConvert (void)
 Destructor. More...

Private Attributes


Detailed Description

template<class DataType>
struct InPort::OnReadConvertMock< DataType >

Definition at line 1058 of file InPortTests.cpp.

Constructor & Destructor Documentation

template<class DataType>
InPort::OnReadConvertMock< DataType >::OnReadConvertMock ( void  )

Definition at line 1065 of file InPortTests.cpp.

Member Function Documentation

template<class DataType>
virtual DataType InPort::OnReadConvertMock< DataType >::operator() ( const DataType &  value)

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.

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

Implements RTC::OnReadConvert< DataType >.

Definition at line 1073 of file InPortTests.cpp.

template<class DataType>
void InPort::OnReadConvertMock< DataType >::setLogger ( Logger logger)

Definition at line 1085 of file InPortTests.cpp.

Member Data Documentation

template<class DataType>
Logger* InPort::OnReadConvertMock< DataType >::m_logger

Definition at line 1090 of file InPortTests.cpp.

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

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