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

List of all members.

Public Member Functions

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

Private Attributes

Loggerm_logger

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.

Parameters:
valueData that is readout from buffer
Returns:
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:


openrtm_aist
Author(s): Noriaki Ando
autogenerated on Sun Mar 26 2017 03:37:19