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

Public Member Functions

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

Public Attributes

DataType m_value
 

Private Attributes

Loggerm_logger
 

Detailed Description

template<class DataType>
class OutPort::OnWriteMock< DataType >

Definition at line 1151 of file OutPortTests.cpp.

Constructor & Destructor Documentation

template<class DataType>
OutPort::OnWriteMock< DataType >::OnWriteMock ( void  )
inline

Definition at line 1159 of file OutPortTests.cpp.

Member Function Documentation

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

Callback function.

This is the callback method invoked immediately before data is written into the buffer.

Parameters
valueData that is written into the buffer

Implements RTC::OnWrite< DataType >.

Definition at line 1167 of file OutPortTests.cpp.

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

Definition at line 1180 of file OutPortTests.cpp.

Member Data Documentation

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

Definition at line 1185 of file OutPortTests.cpp.

template<class DataType>
DataType OutPort::OnWriteMock< DataType >::m_value

Definition at line 1175 of file OutPortTests.cpp.


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


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