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

List of all members.

Public Member Functions

 OnReadConvertMock (void)
virtual DataType operator() (const DataType &value)
 Callback method.
void setLogger (Logger *logger)

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  ) [inline]

Definition at line 1065 of file InPortTests.cpp.

Member Function Documentation

template<class DataType>
virtual DataType InPort::OnReadConvertMock< DataType >::operator() ( const DataType &  value) [inline, virtual]

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) [inline]

Definition at line 1085 of file InPortTests.cpp.

Member Data Documentation

template<class DataType>
Logger* InPort::OnReadConvertMock< DataType >::m_logger [private]

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 Sat Jun 8 2019 18:49:12