Public Member Functions | Public Attributes | Private Member Functions | Private Attributes
RTObject::RTObjectMock Class Reference
Inheritance diagram for RTObject::RTObjectMock:
Inheritance graph
[legend]

List of all members.

Public Member Functions

virtual RTC::UniqueId bindContext (RTC::ExecutionContext_ptr exec_context)
bool chk_ecMine (int id, RTC::ExecutionContext_ptr exec_context)
int countLog (std::string line)
int get_eclist ()
virtual RTC::ReturnCode_t on_finalize () throw (CORBA::SystemException)
 [ComponentAction CORBA interface] Finalize RTC
virtual RTC::ReturnCode_t on_initialize () throw (CORBA::SystemException)
 [RTObject CORBA interface] Get ExecutionContextAdmin
 RTObjectMock (CORBA::ORB_ptr orb, PortableServer::POA_ptr poa)
void set_ecMine ()
void set_status (const char *name, const CORBA::Any &value)
void shutdown ()
 Shutdown RTC.
virtual ~RTObjectMock ()

Public Attributes

std::vector
< RTC::ExecutionContextBase * > 
eclist
RTC::ExecutionContextServiceList ecMine

Private Member Functions

void log (const std::string &msg)

Private Attributes

std::vector< std::string > m_log

Detailed Description

Definition at line 37 of file RTObjectTests.cpp.


Constructor & Destructor Documentation

RTObject::RTObjectMock::RTObjectMock ( CORBA::ORB_ptr  orb,
PortableServer::POA_ptr  poa 
) [inline]

Definition at line 41 of file RTObjectTests.cpp.

virtual RTObject::RTObjectMock::~RTObjectMock ( void  ) [inline, virtual]

Definition at line 46 of file RTObjectTests.cpp.


Member Function Documentation

virtual RTC::UniqueId RTObject::RTObjectMock::bindContext ( RTC::ExecutionContext_ptr  exec_context) [inline, virtual]

Definition at line 64 of file RTObjectTests.cpp.

bool RTObject::RTObjectMock::chk_ecMine ( int  id,
RTC::ExecutionContext_ptr  exec_context 
) [inline]

Definition at line 80 of file RTObjectTests.cpp.

int RTObject::RTObjectMock::countLog ( std::string  line) [inline]

Definition at line 105 of file RTObjectTests.cpp.

Definition at line 96 of file RTObjectTests.cpp.

void RTObject::RTObjectMock::log ( const std::string &  msg) [inline, private]

Definition at line 136 of file RTObjectTests.cpp.

virtual RTC::ReturnCode_t RTObject::RTObjectMock::on_finalize ( ) throw (CORBA::SystemException) [inline, virtual]

[ComponentAction CORBA interface] Finalize RTC

The RTC is being destroyed. Any final RTC-specific tear-down logic should be performed here. As a result of this operation, onFinalize() callback function is called.

Returns:
The return code of ReturnCode_t type

Reimplemented from RTC::RTObject_impl.

Definition at line 57 of file RTObjectTests.cpp.

virtual RTC::ReturnCode_t RTObject::RTObjectMock::on_initialize ( ) throw (CORBA::SystemException) [inline, virtual]

[RTObject CORBA interface] Get ExecutionContextAdmin

[ComponentAction CORBA interface] Initialize RTC

This operation returns a list containing an ExecutionContextAdmin for every ExecutionContext owned by the RTC.

Returns:
ExecutionContextService List

[ComponentAction CORBA interface] Initialize RTC

The RTC has been initialized and entered the Alive state. Any RTC-specific initialization logic should be performed here. As a result of this operation, onInitialize() callback function is called.

Returns:
The return code of ReturnCode_t type

Reimplemented from RTC::RTObject_impl.

Definition at line 50 of file RTObjectTests.cpp.

Definition at line 74 of file RTObjectTests.cpp.

void RTObject::RTObjectMock::set_status ( const char *  name,
const CORBA::Any &  value 
) [inline]

Definition at line 115 of file RTObjectTests.cpp.

Shutdown RTC.

This operation ececutes RTC's termination. This unregisters all Ports, deactivates corresponding CORBA objects and shuts down RTC.

Reimplemented from RTC::RTObject_impl.

Definition at line 129 of file RTObjectTests.cpp.


Member Data Documentation

Definition at line 94 of file RTObjectTests.cpp.

RTC::ExecutionContextServiceList RTObject::RTObjectMock::ecMine

Definition at line 71 of file RTObjectTests.cpp.

std::vector<std::string> RTObject::RTObjectMock::m_log [private]

Definition at line 142 of file RTObjectTests.cpp.


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


openrtm_aist
Author(s): Noriaki Ando
autogenerated on Sun Mar 26 2017 03:37:21