Public Member Functions | Protected Types | Protected Attributes | Private Member Functions | List of all members
ExtTrigExecutionContext::LightweightRTObjectMock Class Reference
Inheritance diagram for ExtTrigExecutionContext::LightweightRTObjectMock:
Inheritance graph
[legend]

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::ExecutionContext_ptr 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)
 

Detailed Description

Definition at line 39 of file ExtTrigExecutionContextTests.cpp.

Member Typedef Documentation

typedef std::map<RTC::UniqueId, RTC::ExecutionContext_ptr> ExtTrigExecutionContext::LightweightRTObjectMock::ExecContexts
protected

Definition at line 44 of file ExtTrigExecutionContextTests.cpp.

Constructor & Destructor Documentation

ExtTrigExecutionContext::LightweightRTObjectMock::LightweightRTObjectMock ( )
inline

Definition at line 52 of file ExtTrigExecutionContextTests.cpp.

Member Function Documentation

virtual RTC::UniqueId ExtTrigExecutionContext::LightweightRTObjectMock::attach_context ( RTC::ExecutionContext_ptr  exec_context)
inlinevirtual

Definition at line 58 of file ExtTrigExecutionContextTests.cpp.

int ExtTrigExecutionContext::LightweightRTObjectMock::countLog ( std::string  line)
inline

Definition at line 158 of file ExtTrigExecutionContextTests.cpp.

virtual RTC::ReturnCode_t ExtTrigExecutionContext::LightweightRTObjectMock::detach_context ( RTC::UniqueId  ec_id)
inlinevirtual

Definition at line 65 of file ExtTrigExecutionContextTests.cpp.

virtual RTC::ReturnCode_t ExtTrigExecutionContext::LightweightRTObjectMock::exit ( )
inlinevirtual

Definition at line 128 of file ExtTrigExecutionContextTests.cpp.

virtual RTC::ReturnCode_t ExtTrigExecutionContext::LightweightRTObjectMock::finalize ( )
inlinevirtual

Definition at line 123 of file ExtTrigExecutionContextTests.cpp.

virtual RTC::_objref_ExecutionContext* ExtTrigExecutionContext::LightweightRTObjectMock::get_context ( RTC::ExecutionContextHandle_t  )
inlinevirtual

Definition at line 148 of file ExtTrigExecutionContextTests.cpp.

virtual RTC::ExecutionContextHandle_t ExtTrigExecutionContext::LightweightRTObjectMock::get_context_handle ( RTC::_objref_ExecutionContext *  )
inlinevirtual

Definition at line 152 of file ExtTrigExecutionContextTests.cpp.

virtual RTC::ExecutionContextList* ExtTrigExecutionContext::LightweightRTObjectMock::get_owned_contexts ( )
inlinevirtual

Definition at line 138 of file ExtTrigExecutionContextTests.cpp.

virtual RTC::ExecutionContextList* ExtTrigExecutionContext::LightweightRTObjectMock::get_participating_contexts ( )
inlinevirtual

Definition at line 143 of file ExtTrigExecutionContextTests.cpp.

virtual RTC::ReturnCode_t ExtTrigExecutionContext::LightweightRTObjectMock::initialize ( )
inlinevirtual

Definition at line 118 of file ExtTrigExecutionContextTests.cpp.

virtual CORBA::Boolean ExtTrigExecutionContext::LightweightRTObjectMock::is_alive ( RTC::ExecutionContext_ptr  exec_context)
inlinevirtual

Definition at line 133 of file ExtTrigExecutionContextTests.cpp.

virtual RTC::ReturnCode_t ExtTrigExecutionContext::LightweightRTObjectMock::on_aborting ( RTC::UniqueId  ec_id)
inlinevirtual

Definition at line 101 of file ExtTrigExecutionContextTests.cpp.

virtual RTC::ReturnCode_t ExtTrigExecutionContext::LightweightRTObjectMock::on_activated ( RTC::UniqueId  ec_id)
inlinevirtual

Definition at line 91 of file ExtTrigExecutionContextTests.cpp.

virtual RTC::ReturnCode_t ExtTrigExecutionContext::LightweightRTObjectMock::on_deactivated ( RTC::UniqueId  ec_id)
inlinevirtual

Definition at line 96 of file ExtTrigExecutionContextTests.cpp.

virtual RTC::ReturnCode_t ExtTrigExecutionContext::LightweightRTObjectMock::on_error ( RTC::UniqueId  ec_id)
inlinevirtual

Definition at line 106 of file ExtTrigExecutionContextTests.cpp.

virtual RTC::ReturnCode_t ExtTrigExecutionContext::LightweightRTObjectMock::on_finalize ( )
inlinevirtual

Definition at line 76 of file ExtTrigExecutionContextTests.cpp.

virtual RTC::ReturnCode_t ExtTrigExecutionContext::LightweightRTObjectMock::on_initialize ( )
inlinevirtual

Definition at line 71 of file ExtTrigExecutionContextTests.cpp.

virtual RTC::ReturnCode_t ExtTrigExecutionContext::LightweightRTObjectMock::on_reset ( RTC::UniqueId  ec_id)
inlinevirtual

Definition at line 111 of file ExtTrigExecutionContextTests.cpp.

virtual RTC::ReturnCode_t ExtTrigExecutionContext::LightweightRTObjectMock::on_shutdown ( RTC::UniqueId  ec_id)
inlinevirtual

Definition at line 86 of file ExtTrigExecutionContextTests.cpp.

virtual RTC::ReturnCode_t ExtTrigExecutionContext::LightweightRTObjectMock::on_startup ( RTC::UniqueId  ec_id)
inlinevirtual

Definition at line 81 of file ExtTrigExecutionContextTests.cpp.

RTC::ReturnCode_t ExtTrigExecutionContext::LightweightRTObjectMock::returnCode ( RTC::ReturnCode_t  rc)
inlineprivate

Definition at line 179 of file ExtTrigExecutionContextTests.cpp.

void ExtTrigExecutionContext::LightweightRTObjectMock::setAlive ( bool  alive)
inline

Definition at line 168 of file ExtTrigExecutionContextTests.cpp.

void ExtTrigExecutionContext::LightweightRTObjectMock::setError ( bool  error)
inline

Definition at line 173 of file ExtTrigExecutionContextTests.cpp.

Member Data Documentation

bool ExtTrigExecutionContext::LightweightRTObjectMock::m_alive
protected

Definition at line 48 of file ExtTrigExecutionContextTests.cpp.

bool ExtTrigExecutionContext::LightweightRTObjectMock::m_error
protected

Definition at line 49 of file ExtTrigExecutionContextTests.cpp.

ExecContexts ExtTrigExecutionContext::LightweightRTObjectMock::m_execContexts
protected

Definition at line 46 of file ExtTrigExecutionContextTests.cpp.

std::vector<std::string> ExtTrigExecutionContext::LightweightRTObjectMock::m_log
protected

Definition at line 47 of file ExtTrigExecutionContextTests.cpp.

CORBA::Long ExtTrigExecutionContext::LightweightRTObjectMock::m_nextUniqueId
protected

Definition at line 45 of file ExtTrigExecutionContextTests.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:00