Public Member Functions | |
int | get_counter () |
InPortMock (const char *name, const char *data_type) | |
bool | read () |
It is a virtual method that is called from RTObject_impl::readAll(). This method reads out data from DataPort. | |
void | set_return (bool ret) |
Private Attributes | |
int | m_cnt |
bool | m_return |
Definition at line 168 of file RTObjectTests.cpp.
RTObject::InPortMock::InPortMock | ( | const char * | name, |
const char * | data_type | ||
) | [inline] |
Definition at line 172 of file RTObjectTests.cpp.
int RTObject::InPortMock::get_counter | ( | ) | [inline] |
Definition at line 190 of file RTObjectTests.cpp.
bool RTObject::InPortMock::read | ( | ) | [inline, virtual] |
It is a virtual method that is called from RTObject_impl::readAll(). This method reads out data from DataPort.
Implements RTC::InPortBase.
Definition at line 180 of file RTObjectTests.cpp.
void RTObject::InPortMock::set_return | ( | bool | ret | ) | [inline] |
Definition at line 185 of file RTObjectTests.cpp.
int RTObject::InPortMock::m_cnt [private] |
Definition at line 197 of file RTObjectTests.cpp.
bool RTObject::InPortMock::m_return [private] |
Definition at line 196 of file RTObjectTests.cpp.