Public Member Functions | Protected Types | Protected Attributes | Private Member Functions | List of all members
PeriodicExecutionContext::LightweightRTObjectMock Class Reference
Inheritance diagram for PeriodicExecutionContext::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::_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)
 

Detailed Description

Definition at line 52 of file PeriodicExecutionContextTests.cpp.

Member Typedef Documentation

◆ ExecContexts

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

Definition at line 57 of file PeriodicExecutionContextTests.cpp.

Constructor & Destructor Documentation

◆ LightweightRTObjectMock()

PeriodicExecutionContext::LightweightRTObjectMock::LightweightRTObjectMock ( )
inline

Definition at line 65 of file PeriodicExecutionContextTests.cpp.

Member Function Documentation

◆ attach_context()

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

Definition at line 71 of file PeriodicExecutionContextTests.cpp.

◆ countLog()

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

Definition at line 172 of file PeriodicExecutionContextTests.cpp.

◆ detach_context()

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

Definition at line 78 of file PeriodicExecutionContextTests.cpp.

◆ exit()

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

Definition at line 141 of file PeriodicExecutionContextTests.cpp.

◆ finalize()

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

Definition at line 136 of file PeriodicExecutionContextTests.cpp.

◆ get_context()

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

Definition at line 163 of file PeriodicExecutionContextTests.cpp.

◆ get_context_handle()

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

Definition at line 167 of file PeriodicExecutionContextTests.cpp.

◆ get_owned_contexts()

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

Definition at line 151 of file PeriodicExecutionContextTests.cpp.

◆ get_participating_contexts()

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

Definition at line 156 of file PeriodicExecutionContextTests.cpp.

◆ initialize()

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

Definition at line 131 of file PeriodicExecutionContextTests.cpp.

◆ is_alive()

virtual CORBA::Boolean PeriodicExecutionContext::LightweightRTObjectMock::is_alive ( RTC::_objref_ExecutionContext *  exec_context)
inlinevirtual

Definition at line 146 of file PeriodicExecutionContextTests.cpp.

◆ on_aborting()

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

Definition at line 114 of file PeriodicExecutionContextTests.cpp.

◆ on_activated()

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

Definition at line 104 of file PeriodicExecutionContextTests.cpp.

◆ on_deactivated()

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

Definition at line 109 of file PeriodicExecutionContextTests.cpp.

◆ on_error()

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

Definition at line 119 of file PeriodicExecutionContextTests.cpp.

◆ on_finalize()

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

Definition at line 89 of file PeriodicExecutionContextTests.cpp.

◆ on_initialize()

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

Definition at line 84 of file PeriodicExecutionContextTests.cpp.

◆ on_reset()

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

Definition at line 124 of file PeriodicExecutionContextTests.cpp.

◆ on_shutdown()

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

Definition at line 99 of file PeriodicExecutionContextTests.cpp.

◆ on_startup()

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

Definition at line 94 of file PeriodicExecutionContextTests.cpp.

◆ returnCode()

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

Definition at line 193 of file PeriodicExecutionContextTests.cpp.

◆ setAlive()

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

Definition at line 182 of file PeriodicExecutionContextTests.cpp.

◆ setError()

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

Definition at line 187 of file PeriodicExecutionContextTests.cpp.

Member Data Documentation

◆ m_alive

bool PeriodicExecutionContext::LightweightRTObjectMock::m_alive
protected

Definition at line 61 of file PeriodicExecutionContextTests.cpp.

◆ m_error

bool PeriodicExecutionContext::LightweightRTObjectMock::m_error
protected

Definition at line 62 of file PeriodicExecutionContextTests.cpp.

◆ m_execContexts

ExecContexts PeriodicExecutionContext::LightweightRTObjectMock::m_execContexts
protected

Definition at line 59 of file PeriodicExecutionContextTests.cpp.

◆ m_log

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

Definition at line 60 of file PeriodicExecutionContextTests.cpp.

◆ m_nextUniqueId

CORBA::Long PeriodicExecutionContext::LightweightRTObjectMock::m_nextUniqueId
protected

Definition at line 58 of file PeriodicExecutionContextTests.cpp.


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


openrtm_aist
Author(s): Noriaki Ando
autogenerated on Mon Feb 28 2022 23:00:47