Public Member Functions | |
int | get_counter () |
OutPortMock (const char *name, const char *data_type) | |
void | set_return (bool ret) |
bool | write () |
Write data. | |
Private Attributes | |
int | m_cnt |
bool | m_return |
Definition at line 200 of file RTObjectTests.cpp.
RTObject::OutPortMock::OutPortMock | ( | const char * | name, |
const char * | data_type | ||
) | [inline] |
Definition at line 204 of file RTObjectTests.cpp.
int RTObject::OutPortMock::get_counter | ( | ) | [inline] |
Definition at line 221 of file RTObjectTests.cpp.
void RTObject::OutPortMock::set_return | ( | bool | ret | ) | [inline] |
Definition at line 216 of file RTObjectTests.cpp.
bool RTObject::OutPortMock::write | ( | ) | [inline, virtual] |
Write data.
Write data to the port. Write the value, which was set to the bound variable, to the port.
Implements RTC::OutPortBase.
Definition at line 212 of file RTObjectTests.cpp.
int RTObject::OutPortMock::m_cnt [private] |
Definition at line 227 of file RTObjectTests.cpp.
bool RTObject::OutPortMock::m_return [private] |
Definition at line 226 of file RTObjectTests.cpp.