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

Public Member Functions

 OnWriteConvertMock (RTC::TimedDouble amplitude)
 
virtual DataType operator() (const DataType &value)
 Callback function. More...
 
void setLogger (Logger *logger)
 
- Public Member Functions inherited from RTC::OnWriteConvert< DataType >
virtual ~OnWriteConvert (void)
 Destructor. More...
 

Public Attributes

RTC::TimedDouble m_amplitude
 

Private Attributes

Loggerm_logger
 

Detailed Description

template<class DataType>
struct OutPort::OnWriteConvertMock< DataType >

Definition at line 1192 of file OutPortTests.cpp.

Constructor & Destructor Documentation

template<class DataType>
OutPort::OnWriteConvertMock< DataType >::OnWriteConvertMock ( RTC::TimedDouble  amplitude)
inline

Definition at line 1200 of file OutPortTests.cpp.

Member Function Documentation

template<class DataType>
virtual DataType OutPort::OnWriteConvertMock< DataType >::operator() ( const DataType &  value)
inlinevirtual

Callback function.

This is the callback function invoked when data is written into the buffer.

Parameters
valueData to be converted
Returns
Converted data

Implements RTC::OnWriteConvert< DataType >.

Definition at line 1209 of file OutPortTests.cpp.

template<class DataType>
void OutPort::OnWriteConvertMock< DataType >::setLogger ( Logger logger)
inline

Definition at line 1224 of file OutPortTests.cpp.

Member Data Documentation

template<class DataType>
RTC::TimedDouble OutPort::OnWriteConvertMock< DataType >::m_amplitude

Definition at line 1219 of file OutPortTests.cpp.

template<class DataType>
Logger* OutPort::OnWriteConvertMock< DataType >::m_logger
private

Definition at line 1229 of file OutPortTests.cpp.


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


openrtm_aist
Author(s): Noriaki Ando
autogenerated on Thu Jun 6 2019 19:26:03