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

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

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)
inlinevirtual

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 Mon Jun 10 2019 14:08:00