Public Member Functions | |
virtual RTC::UniqueId | attach_context (RTC::ExecutionContext_ptr exec_context) |
int | countLog (std::string line) |
virtual RTC::ReturnCode_t | detach_context (RTC::UniqueId ec_id) |
virtual RTC::ReturnCode_t | exit () |
virtual RTC::ReturnCode_t | finalize () |
virtual RTC::_objref_ExecutionContext * | get_context (RTC::ExecutionContextHandle_t) |
virtual RTC::ExecutionContextHandle_t | get_context_handle (RTC::_objref_ExecutionContext *) |
virtual RTC::ExecutionContextList * | get_owned_contexts () |
virtual RTC::ExecutionContextList * | get_participating_contexts () |
virtual RTC::ReturnCode_t | initialize () |
virtual CORBA::Boolean | is_alive (RTC::_objref_ExecutionContext *exec_context) |
LightweightRTObjectMock () | |
virtual RTC::ReturnCode_t | on_aborting (RTC::UniqueId ec_id) |
virtual RTC::ReturnCode_t | on_activated (RTC::UniqueId ec_id) |
virtual RTC::ReturnCode_t | on_deactivated (RTC::UniqueId ec_id) |
virtual RTC::ReturnCode_t | on_error (RTC::UniqueId ec_id) |
virtual RTC::ReturnCode_t | on_finalize () |
virtual RTC::ReturnCode_t | on_initialize () |
virtual RTC::ReturnCode_t | on_reset (RTC::UniqueId ec_id) |
virtual RTC::ReturnCode_t | on_shutdown (RTC::UniqueId ec_id) |
virtual RTC::ReturnCode_t | on_startup (RTC::UniqueId ec_id) |
void | setAlive (bool alive) |
void | setError (bool error) |
Protected Types | |
typedef std::map < RTC::UniqueId, RTC::ExecutionContext_ptr > | ExecContexts |
Protected Attributes | |
bool | m_alive |
bool | m_error |
ExecContexts | m_execContexts |
std::vector< std::string > | m_log |
CORBA::Long | m_nextUniqueId |
Private Member Functions | |
RTC::ReturnCode_t | returnCode (RTC::ReturnCode_t rc) |
Definition at line 52 of file PeriodicExecutionContextTests.cpp.
typedef std::map<RTC::UniqueId, RTC::ExecutionContext_ptr> PeriodicExecutionContext::LightweightRTObjectMock::ExecContexts [protected] |
Definition at line 57 of file PeriodicExecutionContextTests.cpp.
Definition at line 65 of file PeriodicExecutionContextTests.cpp.
virtual RTC::UniqueId PeriodicExecutionContext::LightweightRTObjectMock::attach_context | ( | RTC::ExecutionContext_ptr | exec_context | ) | [inline, virtual] |
Definition at line 71 of file PeriodicExecutionContextTests.cpp.
int PeriodicExecutionContext::LightweightRTObjectMock::countLog | ( | std::string | line | ) | [inline] |
Definition at line 172 of file PeriodicExecutionContextTests.cpp.
virtual RTC::ReturnCode_t PeriodicExecutionContext::LightweightRTObjectMock::detach_context | ( | RTC::UniqueId | ec_id | ) | [inline, virtual] |
Definition at line 78 of file PeriodicExecutionContextTests.cpp.
virtual RTC::ReturnCode_t PeriodicExecutionContext::LightweightRTObjectMock::exit | ( | ) | [inline, virtual] |
Definition at line 141 of file PeriodicExecutionContextTests.cpp.
virtual RTC::ReturnCode_t PeriodicExecutionContext::LightweightRTObjectMock::finalize | ( | ) | [inline, virtual] |
Definition at line 136 of file PeriodicExecutionContextTests.cpp.
virtual RTC::_objref_ExecutionContext* PeriodicExecutionContext::LightweightRTObjectMock::get_context | ( | RTC::ExecutionContextHandle_t | ) | [inline, virtual] |
Definition at line 163 of file PeriodicExecutionContextTests.cpp.
virtual RTC::ExecutionContextHandle_t PeriodicExecutionContext::LightweightRTObjectMock::get_context_handle | ( | RTC::_objref_ExecutionContext * | ) | [inline, virtual] |
Definition at line 167 of file PeriodicExecutionContextTests.cpp.
virtual RTC::ExecutionContextList* PeriodicExecutionContext::LightweightRTObjectMock::get_owned_contexts | ( | ) | [inline, virtual] |
Definition at line 151 of file PeriodicExecutionContextTests.cpp.
virtual RTC::ExecutionContextList* PeriodicExecutionContext::LightweightRTObjectMock::get_participating_contexts | ( | ) | [inline, virtual] |
Definition at line 156 of file PeriodicExecutionContextTests.cpp.
virtual RTC::ReturnCode_t PeriodicExecutionContext::LightweightRTObjectMock::initialize | ( | ) | [inline, virtual] |
Definition at line 131 of file PeriodicExecutionContextTests.cpp.
virtual CORBA::Boolean PeriodicExecutionContext::LightweightRTObjectMock::is_alive | ( | RTC::_objref_ExecutionContext * | exec_context | ) | [inline, virtual] |
Definition at line 146 of file PeriodicExecutionContextTests.cpp.
virtual RTC::ReturnCode_t PeriodicExecutionContext::LightweightRTObjectMock::on_aborting | ( | RTC::UniqueId | ec_id | ) | [inline, virtual] |
Definition at line 114 of file PeriodicExecutionContextTests.cpp.
virtual RTC::ReturnCode_t PeriodicExecutionContext::LightweightRTObjectMock::on_activated | ( | RTC::UniqueId | ec_id | ) | [inline, virtual] |
Definition at line 104 of file PeriodicExecutionContextTests.cpp.
virtual RTC::ReturnCode_t PeriodicExecutionContext::LightweightRTObjectMock::on_deactivated | ( | RTC::UniqueId | ec_id | ) | [inline, virtual] |
Definition at line 109 of file PeriodicExecutionContextTests.cpp.
virtual RTC::ReturnCode_t PeriodicExecutionContext::LightweightRTObjectMock::on_error | ( | RTC::UniqueId | ec_id | ) | [inline, virtual] |
Definition at line 119 of file PeriodicExecutionContextTests.cpp.
virtual RTC::ReturnCode_t PeriodicExecutionContext::LightweightRTObjectMock::on_finalize | ( | ) | [inline, virtual] |
Definition at line 89 of file PeriodicExecutionContextTests.cpp.
virtual RTC::ReturnCode_t PeriodicExecutionContext::LightweightRTObjectMock::on_initialize | ( | ) | [inline, virtual] |
Definition at line 84 of file PeriodicExecutionContextTests.cpp.
virtual RTC::ReturnCode_t PeriodicExecutionContext::LightweightRTObjectMock::on_reset | ( | RTC::UniqueId | ec_id | ) | [inline, virtual] |
Definition at line 124 of file PeriodicExecutionContextTests.cpp.
virtual RTC::ReturnCode_t PeriodicExecutionContext::LightweightRTObjectMock::on_shutdown | ( | RTC::UniqueId | ec_id | ) | [inline, virtual] |
Definition at line 99 of file PeriodicExecutionContextTests.cpp.
virtual RTC::ReturnCode_t PeriodicExecutionContext::LightweightRTObjectMock::on_startup | ( | RTC::UniqueId | ec_id | ) | [inline, virtual] |
Definition at line 94 of file PeriodicExecutionContextTests.cpp.
RTC::ReturnCode_t PeriodicExecutionContext::LightweightRTObjectMock::returnCode | ( | RTC::ReturnCode_t | rc | ) | [inline, private] |
Definition at line 193 of file PeriodicExecutionContextTests.cpp.
void PeriodicExecutionContext::LightweightRTObjectMock::setAlive | ( | bool | alive | ) | [inline] |
Definition at line 182 of file PeriodicExecutionContextTests.cpp.
void PeriodicExecutionContext::LightweightRTObjectMock::setError | ( | bool | error | ) | [inline] |
Definition at line 187 of file PeriodicExecutionContextTests.cpp.
bool PeriodicExecutionContext::LightweightRTObjectMock::m_alive [protected] |
Definition at line 61 of file PeriodicExecutionContextTests.cpp.
bool PeriodicExecutionContext::LightweightRTObjectMock::m_error [protected] |
Definition at line 62 of file PeriodicExecutionContextTests.cpp.
Definition at line 59 of file PeriodicExecutionContextTests.cpp.
std::vector<std::string> PeriodicExecutionContext::LightweightRTObjectMock::m_log [protected] |
Definition at line 60 of file PeriodicExecutionContextTests.cpp.
CORBA::Long PeriodicExecutionContext::LightweightRTObjectMock::m_nextUniqueId [protected] |
Definition at line 58 of file PeriodicExecutionContextTests.cpp.