Public Member Functions | List of all members
Tests::DataFlowComponentMock Class Reference
Inheritance diagram for Tests::DataFlowComponentMock:
Inheritance graph
[legend]

Public Member Functions

virtual RTC::ExecutionContextHandle_t attach_context (RTC::_objref_ExecutionContext *)
 
RTC::UniqueId attach_context (RTC::ExecutionContext_ptr exec_context) throw (CORBA::SystemException)
 
 DataFlowComponentMock ()
 
 DataFlowComponentMock (CORBA::ORB_ptr orb, PortableServer::POA_ptr poa)
 
virtual RTC::ReturnCode_t detach_context (RTC::ExecutionContextHandle_t)
 
virtual RTC::ReturnCode_t exit ()
 [CORBA interface]top the RTC's execution context(s) and finalize it along with its contents. More...
 
virtual RTC::ReturnCode_t finalize ()
 [CORBA interface] Finalize the RTC for destruction More...
 
virtual RTC::ComponentProfile * get_component_profile ()
 [RTObject CORBA interface] Get RTC's profile More...
 
virtual SDOPackage::_objref_Configuration * get_configuration ()
 [SDO interface] Get Configuration object More...
 
virtual RTC::_objref_ExecutionContext * get_context (RTC::ExecutionContextHandle_t)
 
virtual RTC::ExecutionContextHandle_t get_context_handle (RTC::_objref_ExecutionContext *)
 
virtual SDOPackage::DeviceProfile * get_device_profile ()
 [SDO interface] Get SDO DeviceProfile list More...
 
virtual SDOPackage::_objref_Monitoring * get_monitoring ()
 [SDO interface] Get Monitoring object More...
 
virtual SDOPackage::OrganizationList * get_organizations ()
 [SDO interface] Get Organization list More...
 
virtual RTC::ExecutionContextList * get_owned_contexts ()
 [CORBA interface] Get ExecutionContextList. More...
 
virtual SDOPackage::OrganizationList * get_owned_organizations ()
 [SDO interface] Get Organization list More...
 
virtual RTC::ExecutionContextList * get_participating_contexts ()
 [CORBA interface] Get participating ExecutionContextList. More...
 
virtual RTC::PortServiceList * get_ports ()
 [RTObject CORBA interface] Get Ports More...
 
virtual char * get_sdo_id ()
 [SDO interface] Get the SDO ID More...
 
virtual SDOPackage::_objref_SDOService * get_sdo_service (const char *)
 [SDO interface] Get specified SDO Service's reference More...
 
virtual char * get_sdo_type ()
 [SDO interface] Get SDO type More...
 
virtual SDOPackage::ServiceProfile * get_service_profile (const char *)
 [SDO interface] Get specified ServiceProfile More...
 
virtual SDOPackage::ServiceProfileList * get_service_profiles ()
 [SDO interface] Get SDO ServiceProfile More...
 
virtual CORBA::Any * get_status (const char *)
 [SDO interface] Get SDO Status More...
 
virtual SDOPackage::NVList * get_status_list ()
 [SDO interface] Get SDO Status list More...
 
virtual RTC::ReturnCode_t initialize ()
 [CORBA interface] Initialize the RTC that realizes this interface. More...
 
virtual CORBA::Boolean is_alive (RTC::_objref_ExecutionContext *)
 
virtual RTC::ReturnCode_t on_aborting (RTC::ExecutionContextHandle_t)
 
virtual RTC::ReturnCode_t on_activated (RTC::ExecutionContextHandle_t)
 
virtual RTC::ReturnCode_t on_deactivated (RTC::ExecutionContextHandle_t)
 
virtual RTC::ReturnCode_t on_error (RTC::ExecutionContextHandle_t)
 
virtual RTC::ReturnCode_t on_execute (RTC::ExecutionContextHandle_t)
 
virtual RTC::ReturnCode_t on_finalize ()
 [ComponentAction CORBA interface] Finalize RTC More...
 
virtual RTC::ReturnCode_t on_initialize ()
 [RTObject CORBA interface] Get ExecutionContextAdmin More...
 
virtual RTC::ReturnCode_t on_rate_changed (RTC::ExecutionContextHandle_t)
 
virtual RTC::ReturnCode_t on_reset (RTC::ExecutionContextHandle_t)
 
virtual RTC::ReturnCode_t on_shutdown (RTC::ExecutionContextHandle_t)
 
virtual RTC::ReturnCode_t on_startup (RTC::ExecutionContextHandle_t)
 
virtual RTC::ReturnCode_t on_state_update (RTC::ExecutionContextHandle_t)
 
virtual RTC::ReturnCode_t send_stimulus (const char *, RTC::ExecutionContextHandle_t)
 
virtual ~DataFlowComponentMock ()
 
- Public Member Functions inherited from RTC::RTObject_impl
ReturnCode_t activate (RTC::UniqueId ec_id)
 [local interface] Make transition to Active state More...
 
void addConfigurationParamListener (ConfigurationParamListenerType type, ConfigurationParamListener *listener, bool autoclean=true)
 Adding ConfigurationParamListener. More...
 
template<class Listener >
ConfigurationParamListeneraddConfigurationParamListener (ConfigurationParamListenerType listener_type, Listener &obj, void(Listener::*memfunc)(const char *, const char *))
 
void addConfigurationSetListener (ConfigurationSetListenerType type, ConfigurationSetListener *listener, bool autoclean=true)
 Adding ConfigurationSetListener. More...
 
template<class Listener >
ConfigurationSetListeneraddConfigurationSetListener (ConfigurationSetListenerType listener_type, Listener &obj, void(Listener::*memfunc)(const coil::Properties &config_set))
 
void addConfigurationSetNameListener (ConfigurationSetNameListenerType type, ConfigurationSetNameListener *listener, bool autoclean=true)
 Adding ConfigurationSetNameListener. More...
 
template<class Listener >
ConfigurationSetNameListeneraddConfigurationSetNameListener (ConfigurationSetNameListenerType type, Listener &obj, void(Listener::*memfunc)(const char *))
 
void addExecutionContextActionListener (ECActionListenerType listener_type, ECActionListener *listener, bool autoclean=true)
 Adding ExecutionContextAction type listener. More...
 
template<class Listener >
ECActionListeneraddExecutionContextActionListener (ECActionListenerType listener_type, Listener &obj, void(Listener::*memfunc)(UniqueId))
 
bool addInPort (const char *name, InPortBase &inport)
 [local interface] Register DataInPort More...
 
bool addOutPort (const char *name, OutPortBase &outport)
 [local interface] Register DataOutPort More...
 
bool addPort (PortBase &port)
 [local interface] Register Port More...
 
bool addPort (PortService_ptr port)
 [local interface] Register Port More...
 
bool addPort (CorbaPort &port)
 [local interface] Register Port More...
 
void addPortActionListener (PortActionListenerType listener_type, PortActionListener *listener, bool autoclean=true)
 Adding PortAction type listener. More...
 
template<class Listener >
PortActionListeneraddPortActionListener (PortActionListenerType listener_type, Listener &obj, void(Listener::*memfunc)(const RTC::PortProfile &))
 
void addPortConnectListener (PortConnectListenerType listener_type, PortConnectListener *listener, bool autoclean=true)
 Adding PortConnect type listener. More...
 
template<class Listener >
PortConnectListeneraddPortConnectListener (PortConnectListenerType listener_type, Listener &obj, void(Listener::*memfunc)(const char *, ConnectorProfile &))
 
void addPortConnectRetListener (PortConnectRetListenerType listener_type, PortConnectRetListener *listener, bool autoclean=true)
 Adding PortConnectRet type listener. More...
 
template<class Listener >
PortConnectRetListeneraddPortConnectRetListener (PortConnectRetListenerType listener_type, Listener &obj, void(Listener::*memfunc)(const char *, ConnectorProfile &, ReturnCode_t))
 
void addPostComponentActionListener (PostComponentActionListenerType listener_type, PostComponentActionListener *listener, bool autoclean=true)
 Adding PostComponentAction type listener. More...
 
template<class Listener >
PostComponentActionListeneraddPostComponentActionListener (PostCompActionListenerType listener_type, Listener &obj, void(Listener::*memfunc)(UniqueId ec_id, ReturnCode_t ret))
 
void addPreComponentActionListener (PreComponentActionListenerType listener_type, PreComponentActionListener *listener, bool autoclean=true)
 Adding PreComponentAction type listener. More...
 
template<class Listener >
PreComponentActionListeneraddPreComponentActionListener (PreCompActionListenerType listener_type, Listener &obj, void(Listener::*memfunc)(UniqueId ec_id))
 
bool addSdoServiceConsumer (const SDOPackage::ServiceProfile &prof)
 [local interface] Set a SDO service provider More...
 
bool addSdoServiceProvider (const SDOPackage::ServiceProfile &prof, SdoServiceProviderBase *provider)
 [local interface] Set a SDO service provider More...
 
UniqueId attach_context (ExecutionContext_ptr exec_context) throw (CORBA::SystemException)
 [CORBA interface] Attach ExecutionContext More...
 
UniqueId bindContext (ExecutionContext_ptr exec_context)
 
template<typename VarType >
bool bindParameter (const char *param_name, VarType &var, const char *def_val, bool(*trans)(VarType &, const char *)=coil::stringTo)
 Setup for configuration parameters. More...
 
ReturnCode_t deactivate (RTC::UniqueId ec_id)
 [local interface] Make transition to Inactive state More...
 
void deletePort (PortBase &port)
 [local interface] Unregister Port More...
 
void deletePort (PortService_ptr port)
 [local interface] Unregister Port More...
 
void deletePort (CorbaPort &port)
 [local interface] Unregister Port More...
 
void deletePortByName (const char *port_name)
 [local interface] Delete Port by specifying its name More...
 
ReturnCode_t detach_context (UniqueId exec_handle) throw (CORBA::SystemException)
 [CORBA interface] Detach ExecutionContext. More...
 
void finalizeContexts ()
 The ExecutionContextBase list is deleted. More...
 
void finalizePorts ()
 Unregister All Ports. More...
 
virtual ExecutionContext_ptr get_context (UniqueId exec_handle) throw (CORBA::SystemException)
 [CORBA interface] Get ExecutionContext. More...
 
virtual ExecutionContextHandle_t get_context_handle (ExecutionContext_ptr cxt) throw (CORBA::SystemException)
 [CORBA interface] Return a handle of a ExecutionContext More...
 
const char * getCategory ()
 [local interface] Get category information More...
 
const char * getDescription ()
 [local interface] GetDescription More...
 
ExecutionContext_ptr getExecutionContext (RTC::UniqueId ec_id)
 [local interface] Getting current execution context More...
 
double getExecutionRate (RTC::UniqueId ec_id)
 [local interface] Getting current context' execution rate More...
 
const char * getInstanceName ()
 [local interface] Get instance name More...
 
std::vector< std::string > getNamingNames ()
 [local interface] Get Naming Server information More...
 
RTObject_ptr getObjRef () const
 [local interface] Get the object reference More...
 
coil::PropertiesgetProperties ()
 [local interface] Get RTC property More...
 
const char * getTypeName ()
 [local interface] Get type name More...
 
const char * getVendor ()
 [local interface] Get vendor More...
 
const char * getVersion ()
 [local interface] Get version information More...
 
virtual CORBA::Boolean is_alive (ExecutionContext_ptr exec_context) throw (CORBA::SystemException)
 [CORBA interface] Confirm whether RTC is the alive state More...
 
bool isOwnExecutionContext (RTC::UniqueId ec_id)
 [local interface] Checking if the current context is own context More...
 
virtual ReturnCode_t on_aborting (UniqueId exec_handle) throw (CORBA::SystemException)
 [ComponentAction CORBA interface] Transition to Error State More...
 
virtual ReturnCode_t on_activated (UniqueId exec_handle) throw (CORBA::SystemException)
 [ComponentAction CORBA interface] Activate RTC More...
 
virtual ReturnCode_t on_deactivated (UniqueId exec_handle) throw (CORBA::SystemException)
 [ComponentAction CORBA interface] Deactivate RTC More...
 
virtual ReturnCode_t on_error (UniqueId exec_handle) throw (CORBA::SystemException)
 [ComponentAction CORBA interface] Error Processing of RTC More...
 
virtual ReturnCode_t on_execute (UniqueId exec_handle) throw (CORBA::SystemException)
 [DataFlowComponentAction CORBA interface] Primary Periodic Operation of RTC More...
 
virtual ReturnCode_t on_rate_changed (UniqueId exec_handle) throw (CORBA::SystemException)
 [DataFlowComponentAction CORBA interface] Notify rate changed More...
 
virtual ReturnCode_t on_reset (UniqueId exec_handle) throw (CORBA::SystemException)
 [ComponentAction CORBA interface] Resetting RTC More...
 
virtual ReturnCode_t on_shutdown (UniqueId exec_handle) throw (CORBA::SystemException)
 [ComponentAction CORBA interface] Shutdown RTC More...
 
virtual ReturnCode_t on_startup (UniqueId exec_handle) throw (CORBA::SystemException)
 [ComponentAction CORBA interface] Startup RTC More...
 
virtual ReturnCode_t on_state_update (UniqueId exec_handle) throw (CORBA::SystemException)
 [DataFlowComponentAction CORBA interface] Secondary Periodic Operation of RTC More...
 
bool readAll ()
 Readout the value from All InPorts. More...
 
void registerInPort (const char *name, InPortBase &inport)
 [local interface] Register DataInPort More...
 
void registerOutPort (const char *name, OutPortBase &outport)
 [local interface] Register DataOutPort More...
 
void registerPort (PortBase &port)
 [local interface] Register Port More...
 
void registerPort (PortService_ptr port)
 [local interface] Register Port More...
 
void registerPort (CorbaPort &port)
 [local interface] Register Port More...
 
void removeConfigurationParamListener (ConfigurationParamListenerType type, ConfigurationParamListener *listener)
 Removing ConfigurationParamListener. More...
 
void removeConfigurationSetListener (ConfigurationSetListenerType type, ConfigurationSetListener *listener)
 Removing ConfigurationSetListener. More...
 
void removeConfigurationSetNameListener (ConfigurationSetNameListenerType type, ConfigurationSetNameListener *listener)
 Removing ConfigurationSetNameListener. More...
 
void removeExecutionContextActionListener (ECActionListenerType listener_type, ECActionListener *listener)
 Removing ExecutionContextAction type listener. More...
 
bool removeInPort (InPortBase &port)
 [local interface] Unregister InPort More...
 
bool removeOutPort (OutPortBase &port)
 [local interface] Unregister OutPort More...
 
bool removePort (PortBase &port)
 [local interface] Unregister Port More...
 
bool removePort (PortService_ptr port)
 [local interface] Unregister Port More...
 
bool removePort (CorbaPort &port)
 [local interface] Unregister Port More...
 
void removePortActionListener (PortActionListenerType listener_type, PortActionListener *listener)
 Removing PortAction type listener. More...
 
void removePortConnectListener (PortConnectListenerType listener_type, PortConnectListener *listener)
 Removing PortConnect type listener. More...
 
void removePortConnectRetListener (PortConnectRetListenerType listener_type, PortConnectRetListener *listener)
 Removing PortConnectRet type listener. More...
 
void removePostComponentActionListener (PostComponentActionListenerType listener_type, PostComponentActionListener *listener)
 Removing PostComponentAction type listener. More...
 
void removePreComponentActionListener (PreComponentActionListenerType listener_type, PreComponentActionListener *listener)
 Removing PreComponentAction type listener. More...
 
bool removeSdoServiceConsumer (const char *id)
 [local interface] Remove a SDO service provider More...
 
bool removeSdoServiceProvider (const char *id)
 [local interface] Remove a SDO service provider More...
 
ReturnCode_t reset (RTC::UniqueId ec_id)
 [local interface] Resetting and go to Inactive state More...
 
 RTObject_impl (Manager *manager)
 Constructor. More...
 
 RTObject_impl (CORBA::ORB_ptr orb, PortableServer::POA_ptr poa)
 Constructor. More...
 
ReturnCode_t setExecutionRate (RTC::UniqueId ec_id, double rate)
 [local interface] Setting current context' execution rate More...
 
void setInstanceName (const char *instance_name)
 [local interface] Set instance name More...
 
void setObjRef (const RTObject_ptr rtobj)
 [local interface] Set the object reference More...
 
void setProperties (const coil::Properties &prop)
 [local interface] Set RTC property More...
 
void setReadAll (bool read=true, bool completion=false)
 Set whether to execute the readAll() method. More...
 
void setWriteAll (bool write=true, bool completion=false)
 Set whether to execute the writeAll() method. More...
 
void updateParameters (const char *config_set)
 Update configuration parameters (by ID) More...
 
bool writeAll ()
 The write() method of all OutPort is called. More...
 
virtual ~RTObject_impl (void)
 Virtual destructor. More...
 

Additional Inherited Members

- Public Types inherited from RTC::RTObject_impl
typedef ExecutionContextActionListener ECActionListener
 
typedef ExecutionContextActionListenerType ECActionListenerType
 Adding ExecutionContextAction type listener. More...
 
typedef PostComponentActionListener PostCompActionListener
 Adding PostComponentAction type listener. More...
 
typedef PostComponentActionListenerType PostCompActionListenerType
 
typedef PreComponentActionListener PreCompActionListener
 Adding PreComponentAction type listener. More...
 
typedef PreComponentActionListenerType PreCompActionListenerType
 
- Protected Member Functions inherited from RTC::RTObject_impl
virtual ReturnCode_t onAborting (RTC::UniqueId exec_handle)
 Callback function to abort. More...
 
virtual ReturnCode_t onActivated (RTC::UniqueId exec_handle)
 Callback function to activate. More...
 
void onAddPort (const PortProfile &pprof)
 
void onAttachExecutionContext (UniqueId ec_id)
 
virtual ReturnCode_t onDeactivated (RTC::UniqueId exec_handle)
 Callback function to deactivate. More...
 
void onDetachExecutionContext (UniqueId ec_id)
 
virtual ReturnCode_t onError (RTC::UniqueId exec_handle)
 Callback function for error handling. More...
 
virtual ReturnCode_t onExecute (RTC::UniqueId exec_handle)
 Callback function to execute periodically. More...
 
virtual ReturnCode_t onFinalize ()
 Callback function to finalize. More...
 
virtual ReturnCode_t onInitialize ()
 Callback function to initialize. More...
 
virtual ReturnCode_t onRateChanged (RTC::UniqueId exec_handle)
 Callback function to change execution cycle. More...
 
void onRemovePort (const PortProfile &pprof)
 
virtual ReturnCode_t onReset (RTC::UniqueId exec_handle)
 Callback function to reset. More...
 
virtual ReturnCode_t onShutdown (RTC::UniqueId exec_handle)
 Callback function for shutdown action. More...
 
virtual ReturnCode_t onStartup (RTC::UniqueId exec_handle)
 Callback function for startup action. More...
 
virtual ReturnCode_t onStateUpdate (RTC::UniqueId exec_handle)
 Callback function to update the state. More...
 
void postOnAborting (UniqueId ec_id, ReturnCode_t ret)
 
void postOnActivated (UniqueId ec_id, ReturnCode_t ret)
 
void postOnDeactivated (UniqueId ec_id, ReturnCode_t ret)
 
void postOnError (UniqueId ec_id, ReturnCode_t ret)
 
void postOnExecute (UniqueId ec_id, ReturnCode_t ret)
 
void postOnFinalize (UniqueId ec_id, ReturnCode_t ret)
 
void postOnInitialize (UniqueId ec_id, ReturnCode_t ret)
 
void postOnRateChanged (UniqueId ec_id, ReturnCode_t ret)
 
void postOnReset (UniqueId ec_id, ReturnCode_t ret)
 
void postOnShutdown (UniqueId ec_id, ReturnCode_t ret)
 
void postOnStartup (UniqueId ec_id, ReturnCode_t ret)
 
void postOnStateUpdate (UniqueId ec_id, ReturnCode_t ret)
 
void preOnAborting (UniqueId ec_id)
 
void preOnActivated (UniqueId ec_id)
 
void preOnDeactivated (UniqueId ec_id)
 
void preOnError (UniqueId ec_id)
 
void preOnExecute (UniqueId ec_id)
 
void preOnFinalize (UniqueId ec_id)
 
void preOnInitialize (UniqueId ec_id)
 
void preOnRateChanged (UniqueId ec_id)
 
void preOnReset (UniqueId ec_id)
 
void preOnShutdown (UniqueId ec_id)
 
void preOnStartup (UniqueId ec_id)
 
void preOnStateUpdate (UniqueId ec_id)
 
void shutdown ()
 Shutdown RTC. More...
 
- Protected Attributes inherited from RTC::RTObject_impl
ComponentActionListeners m_actionListeners
 ComponentActionListener holder. More...
 
ConfigAdmin m_configsets
 Configuration Administrator Object. More...
 
bool m_created
 Created Status Flag. More...
 
std::vector< ExecutionContextBase * > m_eclist
 List of ExecutionContextBase. More...
 
ExecutionContextServiceList m_ecMine
 List of owned ExecutionContextService. More...
 
ExecutionContextServiceList m_ecOther
 List of participating ExecutionContextService. More...
 
bool m_exiting
 RTC Finalize Status Flag. More...
 
std::vector< InPortBase * > m_inports
 List of InPortBase*. More...
 
RTObject_var m_objref
 Object reference. More...
 
std::vector< OutPortBase * > m_outports
 List of OutPortBase*. More...
 
Managerm_pManager
 Manager object. More...
 
CORBA::ORB_var m_pORB
 The pointer to the ORB. More...
 
PortAdmin m_portAdmin
 List of Port Object reference. More...
 
PortConnectListeners m_portconnListeners
 PortConnectListener holder. More...
 
PortableServer::POA_var m_pPOA
 The pointer to the POA. More...
 
ComponentProfile m_profile
 ComponentProfile. More...
 
coil::Properties m_properties
 Alive Status Flag. More...
 
SDOPackage::Configuration_var m_pSdoConfig
 The pointer to the SDO Configuration Interface. More...
 
SDOPackage::Configuration_implm_pSdoConfigImpl
 The pointer to the SDO Configuration Object. More...
 
bool m_readAll
 flag for readAll() More...
 
bool m_readAllCompletion
 flag for readAll() More...
 
SDOPackage::OrganizationList m_sdoOrganizations
 SDO organization. More...
 
SDOPackage::OrganizationList m_sdoOwnedOrganizations
 SDO owned organization list. More...
 
SdoServiceAdmin m_sdoservice
 SDO Service Administrator Object. More...
 
SDOPackage::NVList m_sdoStatus
 SDO Status. More...
 
bool m_writeAll
 flag for writeAll() More...
 
bool m_writeAllCompletion
 flag for writeAll() More...
 
Logger rtclog
 Logger stream. More...
 

Detailed Description

Definition at line 224 of file ManagerTests.cpp.

Constructor & Destructor Documentation

Tests::DataFlowComponentMock::DataFlowComponentMock ( CORBA::ORB_ptr  orb,
PortableServer::POA_ptr  poa 
)
inline

Definition at line 228 of file ManagerTests.cpp.

Tests::DataFlowComponentMock::DataFlowComponentMock ( )
inline

Definition at line 44 of file RTCUtilTests.cpp.

virtual Tests::DataFlowComponentMock::~DataFlowComponentMock ( )
inlinevirtual

Definition at line 45 of file RTCUtilTests.cpp.

Member Function Documentation

virtual RTC::ExecutionContextHandle_t Tests::DataFlowComponentMock::attach_context ( RTC::_objref_ExecutionContext *  )
inlinevirtual

Definition at line 66 of file RTCUtilTests.cpp.

RTC::UniqueId Tests::DataFlowComponentMock::attach_context ( RTC::ExecutionContext_ptr  exec_context)
throw (CORBA::SystemException
)
inline

Definition at line 233 of file ManagerTests.cpp.

virtual RTC::ReturnCode_t Tests::DataFlowComponentMock::detach_context ( RTC::ExecutionContextHandle_t  )
inlinevirtual

Definition at line 67 of file RTCUtilTests.cpp.

virtual RTC::ReturnCode_t Tests::DataFlowComponentMock::exit ( )
inlinevirtual

[CORBA interface]top the RTC's execution context(s) and finalize it along with its contents.

[CORBA interface] RTC stops ExecutionContext of RTC's owner and finalize it with its contents

Any execution contexts for which the RTC is the owner shall be stopped. If the RTC participates in any execution contexts belonging to another RTC that contains it, directly or indirectly (i.e. the containing RTC is the owner of the ExecutionContext), it shall be deactivated in those contexts. After the RTC is no longer Active in any Running execution context, it and any RTCs contained transitively within it shall be finalized.

Constraints

  • An RTC cannot be exited if it has not yet been initialized. Any attempt to exit an RTC that is in the Created state shall fail with ReturnCode_t::PRECONDITION_NOT_MET.
Returns
The return code of ReturnCode_t type

Reimplemented from RTC::RTObject_impl.

Definition at line 96 of file RTCUtilTests.cpp.

virtual RTC::ReturnCode_t Tests::DataFlowComponentMock::finalize ( )
inlinevirtual

[CORBA interface] Finalize the RTC for destruction

[CORBA interface] Finalize the RTC for preparing it for destruction

This invocation of this operation shall result in the invocation of the callback ComponentAction::on_finalize.

Constraints

  • An RTC may not be finalized while it is participating in any execution context. It must first be removed with ExecutionContextOperations::remove. Otherwise, this operation shall fail with ReturnCode_t::PRECONDITION_NOT_MET.
  • An RTC may not be finalized while it is in the Created state. Any attempt to invoke this operation while in that state shall fail with ReturnCode_t::PRECONDITION_NOT_MET.
  • Application developers are not expected to call this operation directly; it exists for use by the RTC infrastructure.
Returns
The return code of ReturnCode_t type

Reimplemented from RTC::RTObject_impl.

Definition at line 95 of file RTCUtilTests.cpp.

virtual RTC::ComponentProfile* Tests::DataFlowComponentMock::get_component_profile ( )
inlinevirtual

[RTObject CORBA interface] Get RTC's profile

[RTCObject CORBA interface] Get RTC's profile

This operation returns the ComponentProfile of the RTC.

Returns
ComponentProfile

Reimplemented from RTC::RTObject_impl.

Definition at line 101 of file RTCUtilTests.cpp.

virtual SDOPackage::_objref_Configuration* Tests::DataFlowComponentMock::get_configuration ( )
inlinevirtual

[SDO interface] Get Configuration object

This operation returns an object implementing the Configuration interface. The Configuration interface is one of the interfaces that each SDO maintains. The interface is used to configure the attributes defined in DeviceProfile, ServiceProfile, and Organization. See OMG SDO specification Section 2.3.5, "Configuration Interface," on page 2-24 for more details about the Configuration interface.

Returns
The Configuration interface of an SDO.
Exceptions
InterfaceNotImplementedThe target SDO has no Configuration interface.
SDONotExistsThe target SDO does not exist.(This exception is mapped to CORBA standard system exception OBJECT_NOT_EXIST.)
NotAvailableThe target SDO is reachable but cannot respond.
InternalErrorThe target SDO cannot execute the operation completely due to some internal error.

Reimplemented from RTC::RTObject_impl.

Definition at line 56 of file RTCUtilTests.cpp.

virtual RTC::_objref_ExecutionContext* Tests::DataFlowComponentMock::get_context ( RTC::ExecutionContextHandle_t  )
inlinevirtual

Definition at line 98 of file RTCUtilTests.cpp.

virtual RTC::ExecutionContextHandle_t Tests::DataFlowComponentMock::get_context_handle ( RTC::_objref_ExecutionContext *  )
inlinevirtual

Definition at line 85 of file RTCUtilTests.cpp.

virtual SDOPackage::DeviceProfile* Tests::DataFlowComponentMock::get_device_profile ( )
inlinevirtual

[SDO interface] Get SDO DeviceProfile list

This operation returns the DeviceProfile of the SDO. If the SDO does not represent any hardware device, then a DeviceProfile with empty values are returned. This operation throws SDOException with one of the following types.

Returns
The DeviceProfile of the SDO.
Exceptions
SDONotExistsThe target SDO does not exist.(This exception is mapped to CORBA standard system exception OBJECT_NOT_EXIST.)
NotAvailableThe target SDO is reachable but cannot respond.
InternalErrorThe target SDO cannot execute the operation completely due to some internal error.

Reimplemented from RTC::RTObject_impl.

Definition at line 52 of file RTCUtilTests.cpp.

virtual SDOPackage::_objref_Monitoring* Tests::DataFlowComponentMock::get_monitoring ( )
inlinevirtual

[SDO interface] Get Monitoring object

This operation returns an object implementing the Monitoring interface. The Monitoring interface is one of the interfaces that each SDO maintains. The interface is used to monitor the properties of an SDO. See OMG SDO specification Section 2.3.7, "Monitoring Interface," on page 2-35 for more details about the Monitoring interface.

Returns
The Monitoring interface of an SDO.
Exceptions
InterfaceNotImplementedThe target SDO has no Configuration interface.
SDONotExistsThe target SDO does not exist.(This exception is mapped to CORBA standard system exception OBJECT_NOT_EXIST.)
NotAvailableThe target SDO is reachable but cannot respond.
InternalErrorThe target SDO cannot execute the operation completely due to some internal error.

Reimplemented from RTC::RTObject_impl.

Definition at line 57 of file RTCUtilTests.cpp.

virtual SDOPackage::OrganizationList* Tests::DataFlowComponentMock::get_organizations ( )
inlinevirtual

[SDO interface] Get Organization list

An SDO belongs to zero or more organizations. If the SDO belongs to one or more organizations, this operation returns the list of organizations that the SDO belongs to. An empty list is returned if the SDO does not belong to any Organizations.

Returns
The list of Organizations that the SDO belong to.
Exceptions
SDONotExistsThe target SDO does not exist.(This exception is mapped to CORBA standard system exception OBJECT_NOT_EXIST.)
NotAvailableThe target SDO is reachable but cannot respond.
InternalErrorThe target SDO cannot execute the operation completely due to some internal error.

Reimplemented from RTC::RTObject_impl.

Definition at line 58 of file RTCUtilTests.cpp.

virtual RTC::ExecutionContextList* Tests::DataFlowComponentMock::get_owned_contexts ( )
inlinevirtual

[CORBA interface] Get ExecutionContextList.

[CORBA interface] Get ExecutionContextList

This operation returns a list of all execution contexts owned by this RTC.

Returns
ExecutionContext List

Reimplemented from RTC::RTObject_impl.

Definition at line 77 of file RTCUtilTests.cpp.

virtual SDOPackage::OrganizationList* Tests::DataFlowComponentMock::get_owned_organizations ( )
inlinevirtual

[SDO interface] Get Organization list

SDOSystemElement can be the owner of zero or more organizations. If the SDOSystemElement owns one or more Organizations, this operation returns the list of Organizations that the SDOSystemElement owns. If it does not own any Organization, it returns empty list.

Returns
Owned Organization List
Exceptions
SDONotExistsThe target SDO does not exist.(This exception is mapped to CORBA standard system exception OBJECT_NOT_EXIST.)
NotAvailableThe target SDO is reachable but cannot respond.
InternalErrorThe target SDO cannot execute the operation completely due to some internal error.

Reimplemented from RTC::RTObject_impl.

Definition at line 47 of file RTCUtilTests.cpp.

virtual RTC::ExecutionContextList* Tests::DataFlowComponentMock::get_participating_contexts ( )
inlinevirtual

[CORBA interface] Get participating ExecutionContextList.

This operation returns a list of all execution contexts in which this RTC participates.

Returns
ExecutionContext List

Reimplemented from RTC::RTObject_impl.

Definition at line 81 of file RTCUtilTests.cpp.

virtual RTC::PortServiceList* Tests::DataFlowComponentMock::get_ports ( )
inlinevirtual

[RTObject CORBA interface] Get Ports

[RTCObject CORBA interface] Get Ports

This operation returns the reference of ports held by RTC.

Returns
PortServiceList

Reimplemented from RTC::RTObject_impl.

Definition at line 102 of file RTCUtilTests.cpp.

virtual char* Tests::DataFlowComponentMock::get_sdo_id ( )
inlinevirtual

[SDO interface] Get the SDO ID

This operation returns id of the SDO. This operation throws SDOException with one of the following types.

Returns
id of the SDO defined in the resource data model.
Exceptions
SDONotExistsThe target SDO does not exist.(This exception is mapped to CORBA standard system exception OBJECT_NOT_EXIST.)
NotAvailableThe target SDO is reachable but cannot respond.
InternalErrorThe target SDO cannot execute the operation completely due to some internal error.

Reimplemented from RTC::RTObject_impl.

Definition at line 50 of file RTCUtilTests.cpp.

virtual SDOPackage::_objref_SDOService* Tests::DataFlowComponentMock::get_sdo_service ( const char *  id)
inlinevirtual

[SDO interface] Get specified SDO Service's reference

This operation returns an object implementing an SDO's service that is identified by the identifier specified as an argument. Different services provided by an SDO are distinguished with different identifiers. See OMG SDO specification Section 2.2.8, "ServiceProfile," on page 2-12 for more details.

Parameters
idThe identifier referring to one of the SDO Service
Returns
The reference requested to SDO Service.
Exceptions
InvalidParameterArgument ˇČidˇÉ is null, or if the ServiceProfile that is specified by argument ˇČidˇÉ does not exist.
SDONotExistsThe target SDO does not exist.(This exception is mapped to CORBA standard system exception OBJECT_NOT_EXIST.)
NotAvailableThe target SDO is reachable but cannot respond.
InternalErrorThe target SDO cannot execute the operation completely due to some internal error.

Reimplemented from RTC::RTObject_impl.

Definition at line 55 of file RTCUtilTests.cpp.

virtual char* Tests::DataFlowComponentMock::get_sdo_type ( )
inlinevirtual

[SDO interface] Get SDO type

This operation returns sdoType of the SDO. This operation throws SDOException with one of the following types.

Returns
Type of the SDO defined in the resource data model.
Exceptions
SDONotExistsThe target SDO does not exist.(This exception is mapped to CORBA standard system exception OBJECT_NOT_EXIST.)
NotAvailableThe target SDO is reachable but cannot respond.
InternalErrorThe target SDO cannot execute the operation completely due to some internal error.

Reimplemented from RTC::RTObject_impl.

Definition at line 51 of file RTCUtilTests.cpp.

virtual SDOPackage::ServiceProfile* Tests::DataFlowComponentMock::get_service_profile ( const char *  id)
inlinevirtual

[SDO interface] Get specified ServiceProfile

This operation returns the ServiceProfile that is specified by the argument "id."

Parameters
idThe identifier referring to one of the ServiceProfiles.
Returns
The profile of the specified service.
Exceptions
InvalidParameterThe ServiceProfile that is specified by the argument 'id' does not exist or if 'id' is 'null.'
SDONotExistsThe target SDO does not exist.(This exception is mapped to CORBA standard system exception OBJECT_NOT_EXIST.)
NotAvailableThe target SDO is reachable but cannot respond.
InternalErrorThe target SDO cannot execute the operation completely due to some internal error.

Reimplemented from RTC::RTObject_impl.

Definition at line 54 of file RTCUtilTests.cpp.

virtual SDOPackage::ServiceProfileList* Tests::DataFlowComponentMock::get_service_profiles ( )
inlinevirtual

[SDO interface] Get SDO ServiceProfile

This operation returns a list of ServiceProfiles that the SDO has. If the SDO does not provide any service, then an empty list is returned. This operation throws SDOException with one of the following types.

Returns
List of ServiceProfiles of all the services the SDO is providing.
Exceptions
SDONotExistsThe target SDO does not exist.(This exception is mapped to CORBA standard system exception OBJECT_NOT_EXIST.)
NotAvailableThe target SDO is reachable but cannot respond.
InternalErrorThe target SDO cannot execute the operation completely due to some internal error.

Reimplemented from RTC::RTObject_impl.

Definition at line 53 of file RTCUtilTests.cpp.

virtual CORBA::Any* Tests::DataFlowComponentMock::get_status ( const char *  name)
inlinevirtual

[SDO interface] Get SDO Status

Parameters
nameOne of the parameters defining the "status" of an SDO.
Returns
The value of the specified status parameter.
Exceptions
SDONotExistsThe target SDO does not exist.(This exception is mapped to CORBA standard system exception OBJECT_NOT_EXIST.)
NotAvailableThe target SDO is reachable but cannot respond.
InvalidParameterThe parameter defined by "name" is null or does not exist.
InternalErrorThe target SDO cannot execute the operation completely due to some internal error.

Reimplemented from RTC::RTObject_impl.

Definition at line 60 of file RTCUtilTests.cpp.

virtual SDOPackage::NVList* Tests::DataFlowComponentMock::get_status_list ( )
inlinevirtual

[SDO interface] Get SDO Status list

This operation returns an NVlist describing the status of an SDO.

Returns
The actual status of an SDO.
Exceptions
SDONotExistsThe target SDO does not exist.(This exception is mapped to CORBA standard system exception OBJECT_NOT_EXIST.)
NotAvailableThe target SDO is reachable but cannot respond.
InternalErrorThe target SDO cannot execute the operation completely due to some internal error.

Reimplemented from RTC::RTObject_impl.

Definition at line 59 of file RTCUtilTests.cpp.

virtual RTC::ReturnCode_t Tests::DataFlowComponentMock::initialize ( )
inlinevirtual

[CORBA interface] Initialize the RTC that realizes this interface.

[CORBA interface] IInitialize the RTC that realizes this interface.

The invocation of this operation shall result in the invocation of the callback ComponentAction::on_initialize.

Constraints

  • An RTC may be initialized only while it is in the Created state. Any attempt to invoke this operation while in another state shall fail with ReturnCode_t::PRECONDITION_NOT_MET.
  • Application developers are not expected to call this operation directly; it exists for use by the RTC infrastructure.
Returns
The return code of ReturnCode_t type

Reimplemented from RTC::RTObject_impl.

Definition at line 94 of file RTCUtilTests.cpp.

virtual CORBA::Boolean Tests::DataFlowComponentMock::is_alive ( RTC::_objref_ExecutionContext *  )
inlinevirtual

Definition at line 97 of file RTCUtilTests.cpp.

virtual RTC::ReturnCode_t Tests::DataFlowComponentMock::on_aborting ( RTC::ExecutionContextHandle_t  )
inlinevirtual

Definition at line 74 of file RTCUtilTests.cpp.

virtual RTC::ReturnCode_t Tests::DataFlowComponentMock::on_activated ( RTC::ExecutionContextHandle_t  )
inlinevirtual

Definition at line 72 of file RTCUtilTests.cpp.

virtual RTC::ReturnCode_t Tests::DataFlowComponentMock::on_deactivated ( RTC::ExecutionContextHandle_t  )
inlinevirtual

Definition at line 73 of file RTCUtilTests.cpp.

virtual RTC::ReturnCode_t Tests::DataFlowComponentMock::on_error ( RTC::ExecutionContextHandle_t  )
inlinevirtual

Definition at line 75 of file RTCUtilTests.cpp.

virtual RTC::ReturnCode_t Tests::DataFlowComponentMock::on_execute ( RTC::ExecutionContextHandle_t  )
inlinevirtual

Definition at line 63 of file RTCUtilTests.cpp.

virtual RTC::ReturnCode_t Tests::DataFlowComponentMock::on_finalize ( )
inlinevirtual

[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 69 of file RTCUtilTests.cpp.

virtual RTC::ReturnCode_t Tests::DataFlowComponentMock::on_initialize ( )
inlinevirtual

[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 68 of file RTCUtilTests.cpp.

virtual RTC::ReturnCode_t Tests::DataFlowComponentMock::on_rate_changed ( RTC::ExecutionContextHandle_t  )
inlinevirtual

Definition at line 65 of file RTCUtilTests.cpp.

virtual RTC::ReturnCode_t Tests::DataFlowComponentMock::on_reset ( RTC::ExecutionContextHandle_t  )
inlinevirtual

Definition at line 76 of file RTCUtilTests.cpp.

virtual RTC::ReturnCode_t Tests::DataFlowComponentMock::on_shutdown ( RTC::ExecutionContextHandle_t  )
inlinevirtual

Definition at line 71 of file RTCUtilTests.cpp.

virtual RTC::ReturnCode_t Tests::DataFlowComponentMock::on_startup ( RTC::ExecutionContextHandle_t  )
inlinevirtual

Definition at line 70 of file RTCUtilTests.cpp.

virtual RTC::ReturnCode_t Tests::DataFlowComponentMock::on_state_update ( RTC::ExecutionContextHandle_t  )
inlinevirtual

Definition at line 64 of file RTCUtilTests.cpp.

virtual RTC::ReturnCode_t Tests::DataFlowComponentMock::send_stimulus ( const char *  ,
RTC::ExecutionContextHandle_t   
)
inlinevirtual

Definition at line 89 of file RTCUtilTests.cpp.


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


openrtm_aist
Author(s): Noriaki Ando
autogenerated on Mon Jun 10 2019 14:08:05