Classes | |
class | deactivate_comps |
class | ec_copy |
class | ec_find |
class | nv_name |
class | svc_name |
Public Member Functions | |
def | __del__ |
destructor | |
def | __init__ |
Consructor. | |
def | activate |
[local interface] Make transition to Active state | |
def | addConfigurationParamListener |
Adding ConfigurationParamListener. | |
def | addConfigurationSetListener |
Adding ConfigurationSetListener. | |
def | addConfigurationSetNameListener |
Adding ConfigurationSetNameListener. | |
def | addExecutionContextActionListener |
Adding ExecutionContextAction type listener. | |
def | addInPort |
def | addOutPort |
def | addPort |
def | addPortActionListener |
Adding PortAction type listener. | |
def | addPortConnectListener |
Adding PortConnect type listener. | |
def | addPortConnectRetListener |
Adding PortConnectRet type listener. | |
def | addPostComponentActionListener |
Adding PostComponentAction type listener. | |
def | addPreComponentActionListener |
Adding PreComponentAction type listener. | |
def | addSdoServiceConsumer |
[local interface] Set a SDO service consumerbool addSdoServiceConsumer(const SDOPackage::ServiceProfile& prof); | |
def | addSdoServiceProvider |
[local interface] Set a SDO service providerbool addSdoServiceProvider(const SDOPackage::ServiceProfile& prof, SdoServiceProviderBase* provider); | |
def | attach_context |
[CORBA interface] Attach ExecutionContext. | |
def | bindContext |
def | bindParameter |
template <typename vartype>=""> bool bindParameter(const char* param_name, VarType& var, const char* def_val, bool (*trans)(VarType&, const char*) = coil::stringTo) | |
def | deactivate |
[local interface] Make transition to Inactive state | |
def | deletePort |
[local interface] Unregister Port | |
def | deletePortByName |
def | detach_context |
[CORBA interface] Attach ExecutionContext. | |
def | exit |
Stop the RTC's execution context(s) and finalize it along with its contents. | |
def | finalize |
Finalize the RTC for preparing it for destruction. | |
def | finalizeContexts |
def | finalizePorts |
Unregister the All Portse. | |
def | get_component_profile |
[RTObject CORBA interface] Get RTC's profile | |
def | get_configuration |
[SDO interface] Getting Configuration object | |
def | get_context |
[CORBA interface] Get ExecutionContextList. | |
def | get_context_handle |
def | get_device_profile |
[SDO interface] Getting SDO DeviceProfile | |
def | get_monitoring |
[SDO interface] Get Monitoring object | |
def | get_organizations |
[SDO interface] Getting Organizations | |
def | get_owned_contexts |
[CORBA interface] Get ExecutionContextList. | |
def | get_owned_organizations |
[SDO interface] Getting Organizations | |
def | get_participating_contexts |
[CORBA interface] Get participating ExecutionContextList. | |
def | get_ports |
[RTObject CORBA interface] Get Ports | |
def | get_sdo_id |
[SDO interface] Getting SDO ID | |
def | get_sdo_service |
[SDO interface] Getting specified SDO Service's reference | |
def | get_sdo_type |
[SDO interface] Getting SDO type | |
def | get_service_profile |
[SDO interface] Getting Organizations | |
def | get_service_profiles |
[SDO interface] Getting SDO ServiceProfile | |
def | get_status |
[SDO interface] Get SDO Status | |
def | get_status_list |
[SDO interface] Get SDO Status | |
def | getCategory |
const char* getCategory() | |
def | getDescription |
const char* getDescription() | |
def | getExecutionContext |
[local interface] Getting current execution context | |
def | getExecutionRate |
[local interface] Getting current context' execution rate | |
def | getInstanceName |
const char* getInstanceName() | |
def | getNamingNames |
std::vector<std::string> getNamingNames(); | |
def | getObjRef |
RTObject_ptr getObjRef() const;. | |
def | getProperties |
[local interface] Get RTC property | |
def | getTypeName |
const char* getTypeName() | |
def | getVendor |
const char* getVendor() | |
def | getVersion |
const char* getVersion() | |
def | initialize |
Initialize the RTC that realizes this interface. | |
def | is_alive |
Confirm whether RTC is an Alive state or NOT. | |
def | isOwnExecutionContext |
[local interface] Checking if the current context is own context | |
def | on_aborting |
[ComponentAction CORBA interface] Transition Error State | |
def | on_activated |
[ComponentAction CORBA interface] Activate RTC | |
def | on_deactivated |
[ComponentAction CORBA interface] Deactivate RTC | |
def | on_error |
[ComponentAction CORBA interface] Error Processing of RTC | |
def | on_execute |
[DataFlowComponentAction CORBA interface] Primary Periodic Operation of RTC | |
def | on_finalize |
[ComponentAction CORBA interface] Finalize RTC | |
def | on_initialize |
[ComponentAction CORBA interface] Initialize RTC | |
def | on_rate_changed |
[DataFlowComponentAction CORBA interface] Notify rate chenged | |
def | on_reset |
[ComponentAction CORBA interface] Resetting RTC | |
def | on_shutdown |
[ComponentAction CORBA interface] ShutDown RTC | |
def | on_startup |
[ComponentAction CORBA interface] StartUp RTC | |
def | on_state_update |
[DataFlowComponentAction CORBA interface] Secondary Periodic Operation of RTC | |
def | onAborting |
def | onActivated |
def | onAddPort |
def | onAttachExecutionContext |
def | onDeactivated |
def | onDetachExecutionContext |
def | onError |
def | onExecute |
def | onFinalize |
def | onInitialize |
def | onRateChanged |
def | onRemovePort |
def | onReset |
def | onShutdown |
def | onStartup |
def | onStateUpdate |
def | postOnAborting |
def | postOnActivated |
def | postOnDeactivated |
def | postOnError |
def | postOnExecute |
def | postOnFinalize |
def | postOnInitialize |
def | postOnRateChanged |
def | postOnReset |
def | postOnShutdown |
def | postOnStartup |
def | postOnStateUpdate |
def | preOnAborting |
def | preOnActivated |
def | preOnDeactivated |
def | preOnError |
def | preOnExecute |
def | preOnFinalize |
def | preOnInitialize |
def | preOnRateChanged |
def | preOnReset |
def | preOnShutdown |
def | preOnStartup |
def | preOnStateUpdate |
def | readAll |
Readout the value from All InPorts. | |
def | registerInPort |
def | registerOutPort |
void registerOutPort(const char* name, OutPortBase& outport); | |
def | registerPort |
[local interface] Register Port | |
def | removeConfigurationParamListener |
Removing ConfigurationParamListener. | |
def | removeConfigurationSetListener |
Removing ConfigurationSetListener. | |
def | removeConfigurationSetNameListener |
Removing ConfigurationSetNameListener. | |
def | removeExecutionContextActionListener |
Removing ExecutionContextAction type listener. | |
def | removeInPort |
[local interface] Unregister InPort | |
def | removeOutPort |
[local interface] Unregister OutPort | |
def | removePort |
def | removePortActionListener |
Removing PortAction type listener. | |
def | removePortConnectListener |
Removing PortConnect type listener. | |
def | removePortConnectRetListener |
Removing PortConnectRet type listener. | |
def | removePostComponentActionListener |
Removing PostComponentAction type listener. | |
def | removePreComponentActionListener |
Removing PreComponentAction type listener. | |
def | removeSdoServiceConsumer |
[local interface] Remove a SDO service consumerbool removeSdoServiceConsumer(const char* id); | |
def | removeSdoServiceProvider |
[local interface] Remove a SDO service providerbool removeSdoServiceProvider(const char* id); | |
def | reset |
[local interface] Resetting and go to Inactive state | |
def | setExecutionRate |
[local interface] Setting current context' execution rate | |
def | setInstanceName |
void setInstanceName(const char* instance_name); | |
def | setObjRef |
void setObjRef(const RTObject_ptr rtobj); | |
def | setProperties |
[local interface] Set RTC property | |
def | setReadAll |
Set whether to execute the readAll() method. | |
def | setWriteAll |
Set whether to execute the writeAll() method. | |
def | shutdown |
def | updateParameters |
void updateParameters(const char* config_set); | |
def | writeAll |
The write() method of all OutPort is called. | |
Private Attributes | |
_actionListeners | |
_configsets | |
_created | |
_eclist | |
_ecMine | |
_ecOther | |
_execContexts | |
_exiting | |
_inports | |
_manager | |
_memfunc | |
_objref | |
_orb | |
_outports | |
_poa | |
_portAdmin | |
_portconnListeners | |
_profile | |
_properties | |
_readAll | |
_readAllCompletion | |
_rtcout | |
_SdoConfig | |
_SdoConfigImpl | |
_sdoOrganizations | |
_sdoOwnedOrganizations | |
_sdoservice | |
_sdoStatus | |
_sdoSvcProfiles | |
_writeAll | |
_writeAllCompletion |
Definition at line 68 of file RTObject.py.
def OpenRTM_aist.RTObject.RTObject_impl.__init__ | ( | self, | |
manager = None , |
|||
orb = None , |
|||
poa = None |
|||
) |
def OpenRTM_aist.RTObject.RTObject_impl.__del__ | ( | self | ) |
destructor
Reimplemented in OpenRTM_aist.PeriodicECSharedComposite.PeriodicECSharedComposite.
Definition at line 149 of file RTObject.py.
def OpenRTM_aist.RTObject.RTObject_impl.activate | ( | self, | |
ec_id | |||
) |
[local interface] Make transition to Active state
This function makes transition from Inactive to Active state. This function is assumed to be called from the following functions.
The argument of this function should be the first argument (UniqueId ec_id) of the above function.
ec_id | The above functions' first argument "exec_handle." |
ReturnCode_t activate(RTC::UniqueId ec_id);
Definition at line 3234 of file RTObject.py.
def OpenRTM_aist.RTObject.RTObject_impl.addConfigurationParamListener | ( | self, | |
type, | |||
memfunc, | |||
autoclean = True |
|||
) |
Adding ConfigurationParamListener.
This function adds a listener object which is called when update(const char* config_set, const char* config_param) is called. In the type argument, currently only ON_UPDATE_CONFIG_PARAM is allowed.
type | ConfigurationParamListenerType value ON_UPDATE_CONFIG_PARAM is only allowed. |
memfunc | member function object |
autoclean | a flag whether if the listener object autocleaned. |
template <class listener>=""> ConfigurationParamListener* addConfigurationParamListener(ConfigurationParamListenerType listener_type, void (Listener::*memfunc)(const char*, const char*), bool autoclean = true)
Definition at line 4206 of file RTObject.py.
def OpenRTM_aist.RTObject.RTObject_impl.addConfigurationSetListener | ( | self, | |
listener_type, | |||
memfunc, | |||
autoclean = True |
|||
) |
Adding ConfigurationSetListener.
This function add a listener object which is called when ConfigurationSet is updated. Available events are the followings.
type | ConfigurationSetListenerType value |
memfunc | member function object |
autoclean | a flag whether if the listener object autocleaned. |
template <class listener>=""> ConfigurationSetListener* addConfigurationSetListener(ConfigurationSetListenerType listener_type, void (Listener::*memfunc) (const coil::Properties& config_set))
Definition at line 4289 of file RTObject.py.
def OpenRTM_aist.RTObject.RTObject_impl.addConfigurationSetNameListener | ( | self, | |
type, | |||
memfunc, | |||
autoclean = True |
|||
) |
Adding ConfigurationSetNameListener.
This function add a listener object which is called when ConfigurationSetName is updated. Available events are the followings.
type | ConfigurationSetNameListenerType value |
memfunc | member function object |
autoclean | a flag whether if the listener object autocleaned. |
template <class listener>=""> ConfigurationSetNameListener* addConfigurationSetNameListener(ConfigurationSetNameListenerType type, void (Listener::*memfunc)(const char*))
Definition at line 4372 of file RTObject.py.
def OpenRTM_aist.RTObject.RTObject_impl.addExecutionContextActionListener | ( | self, | |
listener_type, | |||
memfunc, | |||
autoclean = True |
|||
) |
Adding ExecutionContextAction type listener.
This operation adds certain listeners related to ComponentActions post events. The following listener types are available.
Listeners should have the following function operator().
ExecutionContextActionListener::operator()(UniqueId ec_id)
The ownership of the given listener object is transferred to this RTObject object in default. The given listener object will be destroied automatically in the RTObject's dtor or if the listener is deleted by removeExecutionContextActionListener() function. If you want to keep ownership of the listener object, give "false" value to 3rd argument to inhibit automatic destruction.
listener_type | A listener type |
memfunc | member function object |
autoclean | A flag for automatic listener destruction |
template <class listener>=""> ECActionListener* addExecutionContextActionListener(ECActionListenerType listener_type, void (Listener::*memfunc)(UniqueId), bool autoclean = true);
Definition at line 3915 of file RTObject.py.
def OpenRTM_aist.RTObject.RTObject_impl.addInPort | ( | self, | |
name, | |||
inport | |||
) |
Definition at line 2721 of file RTObject.py.
def OpenRTM_aist.RTObject.RTObject_impl.addOutPort | ( | self, | |
name, | |||
outport | |||
) |
Definition at line 2765 of file RTObject.py.
def OpenRTM_aist.RTObject.RTObject_impl.addPort | ( | self, | |
port | |||
) |
Definition at line 2667 of file RTObject.py.
def OpenRTM_aist.RTObject.RTObject_impl.addPortActionListener | ( | self, | |
listener_type, | |||
memfunc, | |||
autoclean = True |
|||
) |
Adding PortAction type listener.
This operation adds certain listeners related to ComponentActions post events. The following listener types are available.
Listeners should have the following function operator().
PortActionListener::operator()(RTC::PortProfile pprof)
The ownership of the given listener object is transferred to this RTObject object in default. The given listener object will be destroied automatically in the RTObject's dtor or if the listener is deleted by removePortActionListener() function. If you want to keep ownership of the listener object, give "false" value to 3rd argument to inhibit automatic destruction.
listener_type | A listener type |
memfunc | member function object |
autoclean | A flag for automatic listener destruction |
template <class listener>=""> PortActionListener* addPortActionListener(PortActionListenerType listener_type, void (Listener::*memfunc)(const RTC::PortProfile&), bool autoclean=true)
Definition at line 3815 of file RTObject.py.
def OpenRTM_aist.RTObject.RTObject_impl.addPortConnectListener | ( | self, | |
listener_type, | |||
memfunc, | |||
autoclean = True |
|||
) |
Adding PortConnect type listener.
This operation adds certain listeners related to Port's connect actions. The following listener types are available.
Listeners should have the following function operator().
PortConnectListener::operator()(const char*, ConnectorProfile)
The ownership of the given listener object is transferred to this RTObject object in default. The given listener object will be destroied automatically in the RTObject's dtor or if the listener is deleted by removePortConnectListener() function. If you want to keep ownership of the listener object, give "false" value to 3rd argument to inhibit automatic destruction.
listener_type | A listener type |
memfunc | member function object |
autoclean | A flag for automatic listener destruction |
template <class listener>=""> PortConnectListener* addPortConnectListener(PortConnectListenerType listener_type, void (Listener::*memfunc)(const char*, ConnectorProfile&), bool autoclean = true)
Definition at line 4018 of file RTObject.py.
def OpenRTM_aist.RTObject.RTObject_impl.addPortConnectRetListener | ( | self, | |
listener_type, | |||
memfunc, | |||
autoclean = True |
|||
) |
Adding PortConnectRet type listener.
This operation adds certain listeners related to Port's connect actions. The following listener types are available.
Listeners should have the following function operator().
PortConnectRetListener::operator()(const char*, ConnectorProfile)
The ownership of the given listener object is transferred to this RTObject object in default. The given listener object will be destroied automatically in the RTObject's dtor or if the listener is deleted by removePortConnectRetListener() function. If you want to keep ownership of the listener object, give "false" value to 3rd argument to inhibit automatic destruction.
listener_type | A listener type |
memfunc | member function object |
autoclean | A flag for automatic listener destruction |
template <class listener>=""> PortConnectRetListener* addPortConnectRetListener(PortConnectRetListenerType listener_type, void (Listener::*memfunc)(const char*, ConnectorProfile&, ReturnCode_t))
Definition at line 4125 of file RTObject.py.
def OpenRTM_aist.RTObject.RTObject_impl.addPostComponentActionListener | ( | self, | |
listener_type, | |||
memfunc, | |||
autoclean = True |
|||
) |
Adding PostComponentAction type listener.
This operation adds certain listeners related to ComponentActions post events. The following listener types are available.
Listeners should have the following function operator().
PostComponentActionListener::operator()(UniqueId ec_id, ReturnCode_t ret)
The ownership of the given listener object is transferred to this RTObject object in default. The given listener object will be destroied automatically in the RTObject's dtor or if the listener is deleted by removePostComponentActionListener() function. If you want to keep ownership of the listener object, give "false" value to 3rd argument to inhibit automatic destruction.
listener_type | A listener type |
memfunc | member function object |
autoclean | A flag for automatic listener destruction |
template <class listener>=""> PostComponentActionListener* addPostComponentActionListener(PostCompActionListenerType listener_type, void (Listener::*memfunc)(UniqueId ec_id, ReturnCode_t ret), bool autoclean = true)
Definition at line 3715 of file RTObject.py.
def OpenRTM_aist.RTObject.RTObject_impl.addPreComponentActionListener | ( | self, | |
listener_type, | |||
memfunc, | |||
autoclean = True |
|||
) |
Adding PreComponentAction type listener.
This operation adds certain listeners related to ComponentActions pre events. The following listener types are available.
Listeners should have the following function operator().
PreComponentActionListener::operator()(UniqueId ec_id)
The ownership of the given listener object is transferred to this RTObject object in default. The given listener object will be destroied automatically in the RTObject's dtor or if the listener is deleted by removePreComponentActionListener() function. If you want to keep ownership of the listener object, give "false" value to 3rd argument to inhibit automatic destruction.
listener_type | A listener type |
memfunc | member function object |
autoclean | A flag for automatic listener destruction |
template <class listener>=""> PreComponentActionListener* addPreComponentActionListener(PreCompActionListenerType listener_type, void (Listener::*memfunc)(UniqueId ec_id), bool autoclean = true)
Definition at line 3595 of file RTObject.py.
def OpenRTM_aist.RTObject.RTObject_impl.addSdoServiceConsumer | ( | self, | |
prof | |||
) |
[local interface] Set a SDO service consumerbool addSdoServiceConsumer(const SDOPackage::ServiceProfile& prof);
Definition at line 3316 of file RTObject.py.
def OpenRTM_aist.RTObject.RTObject_impl.addSdoServiceProvider | ( | self, | |
prof, | |||
provider | |||
) |
[local interface] Set a SDO service providerbool addSdoServiceProvider(const SDOPackage::ServiceProfile& prof, SdoServiceProviderBase* provider);
Definition at line 3292 of file RTObject.py.
def OpenRTM_aist.RTObject.RTObject_impl.attach_context | ( | self, | |
exec_context | |||
) |
[CORBA interface] Attach ExecutionContext.
Inform this RTC that it is participating in the given execution context. Return a handle that represents the association of this RTC with the context. This operation is intended to be invoked by ExecutionContextOperations::add_component. It is not intended for use by other clients.
exec_context | Prticipating ExecutionContext |
UniqueId attach_context(ExecutionContext_ptr exec_context)
Definition at line 994 of file RTObject.py.
def OpenRTM_aist.RTObject.RTObject_impl.bindContext | ( | self, | |
exec_context | |||
) |
Definition at line 1021 of file RTObject.py.
def OpenRTM_aist.RTObject.RTObject_impl.bindParameter | ( | self, | |
param_name, | |||
var, | |||
def_val, | |||
trans = None |
|||
) |
template <typename vartype>=""> bool bindParameter(const char* param_name, VarType& var, const char* def_val, bool (*trans)(VarType&, const char*) = coil::stringTo)
Definition at line 2587 of file RTObject.py.
def OpenRTM_aist.RTObject.RTObject_impl.deactivate | ( | self, | |
ec_id | |||
) |
[local interface] Make transition to Inactive state
This function makes transition from Active to Inactive state. This function is assumed to be called from the following functions.
The argument of this function should be the first argument (UniqueId ec_id) of the above function.
ec_id | The above functions' first argument "exec_handle." |
ReturnCode_t deactivate(RTC::UniqueId ec_id);
Definition at line 3190 of file RTObject.py.
def OpenRTM_aist.RTObject.RTObject_impl.deletePort | ( | self, | |
port | |||
) |
[local interface] Unregister Port
This operation unregisters a Port to be held by this RTC.
port | Port which is unregistered in the RTC |
void RTObject_impl::deletePort(PortBase& port)
Definition at line 2881 of file RTObject.py.
def OpenRTM_aist.RTObject.RTObject_impl.deletePortByName | ( | self, | |
port_name | |||
) |
Definition at line 2908 of file RTObject.py.
def OpenRTM_aist.RTObject.RTObject_impl.detach_context | ( | self, | |
ec_id | |||
) |
[CORBA interface] Attach ExecutionContext.
Inform this RTC that it is no longer participating in the given execution context. This operation is intended to be invoked by ExecutionContextOperations::remove_component. It is not intended for use by other clients. Constraints
ec_id | Dettaching ExecutionContext Handle |
ReturnCode_t detach_context(UniqueId exec_handle)
Definition at line 1090 of file RTObject.py.
def OpenRTM_aist.RTObject.RTObject_impl.exit | ( | self | ) |
Stop the RTC's execution context(s) and finalize it along 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
Reimplemented in test_PeriodicExecutionContext.DFP.
Definition at line 633 of file RTObject.py.
def OpenRTM_aist.RTObject.RTObject_impl.finalize | ( | self | ) |
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
Reimplemented in test_PeriodicExecutionContext.DFP.
Definition at line 570 of file RTObject.py.
Definition at line 3501 of file RTObject.py.
Unregister the All Portse.
This operation deactivates the all Port and deletes the all Port's registrations in the RTC..
Definition at line 3493 of file RTObject.py.
[RTObject CORBA interface] Get RTC's profile
This operation returns the ComponentProfile of the RTC
virtual ComponentProfile* get_component_profile()
Reimplemented in test_PeriodicExecutionContext.DFP.
Definition at line 897 of file RTObject.py.
[SDO interface] Getting 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.
InterfaceNotImplemented | The target SDO has no Configuration interface. |
SDONotExists | if the target SDO does not exist.(This exception is mapped to CORBA standard system exception OBJECT_NOT_EXIST.) |
NotAvailable | The target SDO is reachable but cannot respond. |
InternalError | The target SDO cannot execute the operation completely due to some internal error. virtual SDOPackage::Configuration_ptr get_configuration() |
Reimplemented in test_PeriodicExecutionContext.DFP.
Definition at line 2089 of file RTObject.py.
def OpenRTM_aist.RTObject.RTObject_impl.get_context | ( | self, | |
ec_id | |||
) |
[CORBA interface] Get ExecutionContextList.
This operation returns a list of all execution contexts owned by this RTC.
def get_contexts(self): execlist = [] OpenRTM_aist.CORBA_SeqUtil.for_each(self._execContexts, self.ec_copy(execlist)) return execlist [CORBA interface] Get ExecutionContext.
Obtain a reference to the execution context represented by the given handle. The mapping from handle to context is specific to a particular RTC instance. The given handle must have been obtained by a previous call to attach_context on this RTC.
ec_id | ExecutionContext handle |
virtual ExecutionContext_ptr get_context(UniqueId exec_handle)
Definition at line 764 of file RTObject.py.
def OpenRTM_aist.RTObject.RTObject_impl.get_context_handle | ( | self, | |
cxt | |||
) |
Definition at line 858 of file RTObject.py.
[SDO interface] Getting SDO DeviceProfile
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.
SDONotExists | if the target SDO does not exist.(This exception is mapped to CORBA standard system exception OBJECT_NOT_EXIST.) |
NotAvailable | if the target SDO is reachable but cannot respond. |
InternalError | if the target SDO cannot execute the operation completely due to some internal error. |
virtual SDOPackage::DeviceProfile* get_device_profile()
Reimplemented in test_PeriodicExecutionContext.DFP.
Definition at line 1851 of file RTObject.py.
[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.
InterfaceNotImplemented | The target SDO has no Configuration interface. |
SDONotExists | if the target SDO does not exist.(This exception is mapped to CORBA standard system exception OBJECT_NOT_EXIST.) |
NotAvailable | The target SDO is reachable but cannot respond. |
InternalError | The target SDO cannot execute the operation completely due to some internal error. virtual SDOPackage::Monitoring_ptr get_monitoring() |
Reimplemented in test_PeriodicExecutionContext.DFP.
Definition at line 2146 of file RTObject.py.
[SDO interface] Getting Organizations
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.
SDONotExists | if the target SDO does not exist.(This exception is mapped to CORBA standard system exception OBJECT_NOT_EXIST.) |
NotAvailable | The target SDO is reachable but cannot respond. |
InternalError | The target SDO cannot execute the operation completely due to some internal error. virtual SDOPackage::OrganizationList* get_organizations() |
Reimplemented in test_PeriodicExecutionContext.DFP.
Definition at line 2189 of file RTObject.py.
[CORBA interface] Get ExecutionContextList.
This operation returns a list of all execution contexts owned by this RTC.
virtual ExecutionContextList* get_owned_contexts()
Definition at line 803 of file RTObject.py.
[SDO interface] Getting Organizations
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.
SDONotExists | if the target SDO does not exist.(This exception is mapped to CORBA standard system exception OBJECT_NOT_EXIST.) |
NotAvailable | if the target SDO is reachable but cannot respond. |
InternalError | if the target SDO cannot execute the operation completely due to some internal error. |
virtual SDOPackage::OrganizationList* get_owned_organizations()
Reimplemented in test_PeriodicExecutionContext.DFP.
Definition at line 1706 of file RTObject.py.
[CORBA interface] Get participating ExecutionContextList.
This operation returns a list of all execution contexts in which this RTC participates.
virtual ExecutionContextList* get_participating_contexts()
Definition at line 827 of file RTObject.py.
def OpenRTM_aist.RTObject.RTObject_impl.get_ports | ( | self | ) |
[RTObject CORBA interface] Get Ports
This operation returns a list of the RTCs ports.
virtual PortServiceList* get_ports()
Reimplemented in test_PeriodicExecutionContext.DFP.
Definition at line 949 of file RTObject.py.
def OpenRTM_aist.RTObject.RTObject_impl.get_sdo_id | ( | self | ) |
[SDO interface] Getting SDO ID
This operation returns id of the SDO. This operation throws SDOException with one of the following types.
SDONotExists | if the target SDO does not exist.(This exception is mapped to CORBA standard system exception OBJECT_NOT_EXIST.) |
NotAvailable | if the target SDO is reachable but cannot respond. |
InternalError | if the target SDO cannot execute the operation completely due to some internal error. |
virtual char* get_sdo_id()
Reimplemented in test_PeriodicExecutionContext.DFP.
Definition at line 1757 of file RTObject.py.
def OpenRTM_aist.RTObject.RTObject_impl.get_sdo_service | ( | self, | |
_id | |||
) |
[SDO interface] Getting 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.
_id | The identifier referring to one of the SDO Service |
InvalidParameter | if argument ¡Èid¡É is null, or if the ServiceProfile that is specified by argument ¡Èid¡É does not exist. |
SDONotExists | if the target SDO does not exist.(This exception is mapped to CORBA standard system exception OBJECT_NOT_EXIST.) |
NotAvailable | If the target SDO is reachable but cannot respond. |
InternalError | If the target SDO cannot execute the operation completely due to some internal error. |
virtual SDOPackage::SDOService_ptr get_sdo_service(const char* id)
Definition at line 2023 of file RTObject.py.
def OpenRTM_aist.RTObject.RTObject_impl.get_sdo_type | ( | self | ) |
[SDO interface] Getting SDO type
This operation returns sdoType of the SDO. This operation throws SDOException with one of the following types.
SDONotExists | if the target SDO does not exist.(This exception is mapped to CORBA standard system exception OBJECT_NOT_EXIST.) |
NotAvailable | if the target SDO is reachable but cannot respond. |
InternalError | if the target SDO cannot execute the operation completely due to some internal error. |
virtual char* get_sdo_type()
Reimplemented in test_PeriodicExecutionContext.DFP.
Definition at line 1802 of file RTObject.py.
def OpenRTM_aist.RTObject.RTObject_impl.get_service_profile | ( | self, | |
_id | |||
) |
[SDO interface] Getting Organizations
This operation returns the ServiceProfile that is specified by the argument "id."
_id | The identifier referring to one of the ServiceProfiles. |
InvalidParameter | if the ServiceProfile that is specified by the argument 'id' does not exist or if 'id' is 'null.' |
SDONotExists | if the target SDO does not exist.(This exception is mapped to CORBA standard system exception OBJECT_NOT_EXIST.) |
NotAvailable | If the target SDO is reachable but cannot respond. |
InternalError | If the target SDO cannot execute the operation completely due to some internal error. |
virtual SDOPackage::ServiceProfile* get_service_profile(const char* id)
Reimplemented in test_PeriodicExecutionContext.DFP.
Definition at line 1956 of file RTObject.py.
[SDO interface] Getting 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.
SDONotExists | if the target SDO does not exist.(This exception is mapped to CORBA standard system exception OBJECT_NOT_EXIST.) |
NotAvailable | if the target SDO is reachable but cannot respond. |
InternalError | if the target SDO cannot execute the operation completely due to some internal error. |
virtual SDOPackage::ServiceProfileList* get_service_profiles()
Reimplemented in test_PeriodicExecutionContext.DFP.
Definition at line 1901 of file RTObject.py.
def OpenRTM_aist.RTObject.RTObject_impl.get_status | ( | self, | |
name | |||
) |
[SDO interface] Get SDO Status
name | One of the parameters defining the "status" of an SDO. |
SDONotExists | if the target SDO does not exist.(This exception is mapped to CORBA standard system exception OBJECT_NOT_EXIST.) |
NotAvailable | The target SDO is reachable but cannot respond. |
InvalidParameter | The parameter defined by "name" is null or does not exist. |
InternalError | The target SDO cannot execute the operation completely due to some internal error. |
virtual CORBA::Any* get_status(const char* name)
Reimplemented in test_PeriodicExecutionContext.DFP.
Definition at line 2280 of file RTObject.py.
[SDO interface] Get SDO Status
This operation returns an NVlist describing the status of an SDO.
SDONotExists | if the target SDO does not exist.(This exception is mapped to CORBA standard system exception OBJECT_NOT_EXIST.) |
NotAvailable | The target SDO is reachable but cannot respond. |
InternalError | The target SDO cannot execute the operation completely due to some internal error. |
virtual SDOPackage::NVList* get_status_list()
Reimplemented in test_PeriodicExecutionContext.DFP.
Definition at line 2233 of file RTObject.py.
def OpenRTM_aist.RTObject.RTObject_impl.getCategory | ( | self | ) |
const char* getCategory()
Definition at line 2434 of file RTObject.py.
const char* getDescription()
Definition at line 2374 of file RTObject.py.
def OpenRTM_aist.RTObject.RTObject_impl.getExecutionContext | ( | self, | |
ec_id | |||
) |
[local interface] Getting current execution context
This function is the local version of get_context(). completely same as get_context() function. This function is assumed to be called from the following functions.
The argument of this function should be the first argument (UniqueId ec_id) of the above functions.
ec_id | The above functions' first argument "exec_handle." |
ExecutionContext_ptr getExecutionContext(RTC::UniqueId ec_id);
Definition at line 2965 of file RTObject.py.
def OpenRTM_aist.RTObject.RTObject_impl.getExecutionRate | ( | self, | |
ec_id | |||
) |
[local interface] Getting current context' execution rate
This function returns current execution rate in this context. If this context's kind is not PERIODC, behavior is not defined. This function is assumed to be called from the following functions.
The argument of this function should be the first argument (UniqueId ec_id) of the above functions.
ec_id | The above functions' first argument "exec_handle." |
double getExecutionRate(RTC::UniqueId ec_id);
Definition at line 3021 of file RTObject.py.
const char* getInstanceName()
Definition at line 2313 of file RTObject.py.
std::vector<std::string> getNamingNames();
Definition at line 2454 of file RTObject.py.
def OpenRTM_aist.RTObject.RTObject_impl.getObjRef | ( | self | ) |
RTObject_ptr getObjRef() const;.
Definition at line 2494 of file RTObject.py.
[local interface] Get RTC property
This operation returns the properties of the RTC. Empty property would be returned, if RTC has no property.
coil::Properties& getProperties();
Definition at line 2559 of file RTObject.py.
def OpenRTM_aist.RTObject.RTObject_impl.getTypeName | ( | self | ) |
const char* getTypeName()
Definition at line 2354 of file RTObject.py.
def OpenRTM_aist.RTObject.RTObject_impl.getVendor | ( | self | ) |
const char* getVendor()
Definition at line 2414 of file RTObject.py.
def OpenRTM_aist.RTObject.RTObject_impl.getVersion | ( | self | ) |
const char* getVersion()
Definition at line 2394 of file RTObject.py.
def OpenRTM_aist.RTObject.RTObject_impl.initialize | ( | self | ) |
Initialize the RTC that realizes this interface.
The invocation of this operation shall result in the invocation of the callback ComponentAction::on_initialize.
Constraints
Reimplemented in test_PeriodicExecutionContext.DFP.
Definition at line 487 of file RTObject.py.
def OpenRTM_aist.RTObject.RTObject_impl.is_alive | ( | self, | |
exec_context | |||
) |
Confirm whether RTC is an Alive state or NOT.
A component is alive or not regardless of the execution context from which it is observed. However, whether or not it is Active, Inactive, or in Error is dependent on the execution context(s) in which it is running. That is, it may be Active in one context but Inactive in another. Therefore, this operation shall report whether this RTC is either Active, Inactive or in Error; which of those states a component is in with respect to a particular context may be queried from the context itself.
virtual CORBA::Boolean is_alive(ExecutionContext_ptr exec_context)
Definition at line 698 of file RTObject.py.
def OpenRTM_aist.RTObject.RTObject_impl.isOwnExecutionContext | ( | self, | |
ec_id | |||
) |
[local interface] Checking if the current context is own context
This function checks if the current context is own execution context. This function is assumed to be called from the following functions.
The argument of this function should be the first argument (UniqueId ec_id) of the above functions.
ec_id | The above functions' first argument "exec_handle." |
bool isOwnExecutionContext(RTC::UniqueId ec_id);
Definition at line 3144 of file RTObject.py.
def OpenRTM_aist.RTObject.RTObject_impl.on_aborting | ( | self, | |
ec_id | |||
) |
[ComponentAction CORBA interface] Transition Error State
The RTC is transitioning from the Active state to the Error state in some execution context. This callback is invoked only a single time for time that the RTC transitions into the Error state from another state. This behavior is in contrast to that of on_error.
ec_id |
Reimplemented in test_PeriodicExecutionContext.DFP.
Definition at line 1387 of file RTObject.py.
def OpenRTM_aist.RTObject.RTObject_impl.on_activated | ( | self, | |
ec_id | |||
) |
[ComponentAction CORBA interface] Activate RTC
The RTC has been activated in the given execution context.
ec_id |
Reimplemented in test_PeriodicExecutionContext.DFP.
Definition at line 1302 of file RTObject.py.
def OpenRTM_aist.RTObject.RTObject_impl.on_deactivated | ( | self, | |
ec_id | |||
) |
[ComponentAction CORBA interface] Deactivate RTC
The RTC has been deactivated in the given execution context.
ec_id |
Reimplemented in test_PeriodicExecutionContext.DFP.
Definition at line 1342 of file RTObject.py.
def OpenRTM_aist.RTObject.RTObject_impl.on_error | ( | self, | |
ec_id | |||
) |
[ComponentAction CORBA interface] Error Processing of RTC
The RTC remains in the Error state. If the RTC is in the Error state relative to some execution context when it would otherwise be invoked from that context (according to the context¡Çs ExecutionKind), this callback shall be invoked instead. For example,
ec_id |
Reimplemented in test_PeriodicExecutionContext.DFP.
Definition at line 1442 of file RTObject.py.
def OpenRTM_aist.RTObject.RTObject_impl.on_execute | ( | self, | |
ec_id | |||
) |
[DataFlowComponentAction CORBA interface] Primary Periodic Operation of RTC
This operation will be invoked periodically at the rate of the given execution context as long as the following conditions hold:
Constraints
ec_id |
Reimplemented in test_PeriodicExecutionContext.DFP, and test_ExtTrigExecutionContext.DFP.
Definition at line 1541 of file RTObject.py.
def OpenRTM_aist.RTObject.RTObject_impl.on_finalize | ( | self | ) |
[ComponentAction CORBA interface] Finalize RTC
The RTC is being destroyed. Any final RTC-specific tear-down logic should be performed here.
Reimplemented in test_PeriodicExecutionContext.DFP.
Definition at line 1184 of file RTObject.py.
[ComponentAction CORBA interface] Initialize RTC
The RTC has been initialized and entered the Alive state. Any RTC-specific initialization logic should be performed here.
Reimplemented in test_PeriodicExecutionContext.DFP.
Definition at line 1138 of file RTObject.py.
def OpenRTM_aist.RTObject.RTObject_impl.on_rate_changed | ( | self, | |
ec_id | |||
) |
[DataFlowComponentAction CORBA interface] Notify rate chenged
This operation is a notification that the rate of the indicated execution context has changed.
Constraints
ec_id |
Reimplemented in test_PeriodicExecutionContext.DFP.
Definition at line 1649 of file RTObject.py.
def OpenRTM_aist.RTObject.RTObject_impl.on_reset | ( | self, | |
ec_id | |||
) |
[ComponentAction CORBA interface] Resetting RTC
The RTC is in the Error state. An attempt is being made to recover it such that it can return to the Inactive state. If the RTC was successfully recovered and can safely return to the Inactive state, this method shall complete with ReturnCode_t::OK. Any other result shall indicate that the RTC should remain in the Error state.
ec_id |
Reimplemented in test_PeriodicExecutionContext.DFP.
Definition at line 1488 of file RTObject.py.
def OpenRTM_aist.RTObject.RTObject_impl.on_shutdown | ( | self, | |
ec_id | |||
) |
[ComponentAction CORBA interface] ShutDown RTC
The given execution context, in which the RTC is participating, has transitioned from Running to Stopped.
ec_id |
Reimplemented in test_PeriodicExecutionContext.DFP.
Definition at line 1264 of file RTObject.py.
def OpenRTM_aist.RTObject.RTObject_impl.on_startup | ( | self, | |
ec_id | |||
) |
[ComponentAction CORBA interface] StartUp RTC
The given execution context, in which the RTC is participating, has transitioned from Stopped to Running.
ec_id |
Reimplemented in test_PeriodicExecutionContext.DFP.
Definition at line 1224 of file RTObject.py.
def OpenRTM_aist.RTObject.RTObject_impl.on_state_update | ( | self, | |
ec_id | |||
) |
[DataFlowComponentAction CORBA interface] Secondary Periodic Operation of RTC
This operation will be invoked periodically at the rate of the given execution context as long as the following conditions hold:
Constraints
ec_id |
Reimplemented in test_PeriodicExecutionContext.DFP.
Definition at line 1601 of file RTObject.py.
def OpenRTM_aist.RTObject.RTObject_impl.onAborting | ( | self, | |
ec_id | |||
) |
Reimplemented in test_PeriodicECSharedComposite.TestComp, test_RTObject.TestComp, and test_SdoOrganization.TestComp.
Definition at line 344 of file RTObject.py.
def OpenRTM_aist.RTObject.RTObject_impl.onActivated | ( | self, | |
ec_id | |||
) |
Reimplemented in OpenRTM_aist.PeriodicECSharedComposite.PeriodicECSharedComposite, OpenRTM_aist.examples.AutoTest.AutoTestIn.AutoTestIn, OpenRTM_aist.examples.NXTRTC.NXTRTC20_callback.NXTRTC, OpenRTM_aist.examples.NXTRTC.NXTRTC_callback.NXTRTC, OpenRTM_aist.examples.AutoTest.AutoTestOut.AutoTestOut, OpenRTM_aist.examples.NXTRTC.NXTRTC.NXTRTC, OpenRTM_aist.examples.NXTRTC.NXTRTC20.NXTRTC, OpenRTM_aist.examples.AutoControl.AutoControl.AutoControl, test_PeriodicECSharedComposite.TestComp, test_RTObject.TestComp, test_SdoOrganization.TestComp, OpenRTM_aist.examples.Slider_and_Motor.SliderComp.SliderComp, OpenRTM_aist.examples.Slider_and_Motor.TkMotorPosComp.TkMotorPosComp, and OpenRTM_aist.examples.Slider_and_Motor.TkMotorComp.TkMotorComp.
Definition at line 270 of file RTObject.py.
def OpenRTM_aist.RTObject.RTObject_impl.onAddPort | ( | self, | |
pprof | |||
) |
Definition at line 4585 of file RTObject.py.
def OpenRTM_aist.RTObject.RTObject_impl.onAttachExecutionContext | ( | self, | |
ec_id | |||
) |
Definition at line 4597 of file RTObject.py.
def OpenRTM_aist.RTObject.RTObject_impl.onDeactivated | ( | self, | |
ec_id | |||
) |
Reimplemented in OpenRTM_aist.PeriodicECSharedComposite.PeriodicECSharedComposite, OpenRTM_aist.examples.AutoTest.AutoTestIn.AutoTestIn, OpenRTM_aist.examples.NXTRTC.NXTRTC20_callback.NXTRTC, OpenRTM_aist.examples.NXTRTC.NXTRTC_callback.NXTRTC, OpenRTM_aist.examples.AutoTest.AutoTestOut.AutoTestOut, OpenRTM_aist.examples.NXTRTC.NXTRTC.NXTRTC, OpenRTM_aist.examples.NXTRTC.NXTRTC20.NXTRTC, OpenRTM_aist.examples.AutoControl.AutoControl.AutoControl, OpenRTM_aist.examples.TkLRFViewer.TkLRFViewer.LRFViewer, test_PeriodicECSharedComposite.TestComp, test_RTObject.TestComp, OpenRTM_aist.examples.MobileRobotCanvas.TkMobileRobotSimulator.TkMobileRobotSimulator, and test_SdoOrganization.TestComp.
Definition at line 294 of file RTObject.py.
def OpenRTM_aist.RTObject.RTObject_impl.onDetachExecutionContext | ( | self, | |
ec_id | |||
) |
Definition at line 4603 of file RTObject.py.
def OpenRTM_aist.RTObject.RTObject_impl.onError | ( | self, | |
ec_id | |||
) |
Definition at line 367 of file RTObject.py.
def OpenRTM_aist.RTObject.RTObject_impl.onExecute | ( | self, | |
ec_id | |||
) |
Reimplemented in ComponentActionListenerTestComp.ConsoleIn, OpenRTM_aist.examples.AutoTest.AutoTestIn.AutoTestIn, OpenRTM_aist.examples.NXTRTC.NXTRTC20_callback.NXTRTC, OpenRTM_aist.examples.NXTRTC.NXTRTC_callback.NXTRTC, OpenRTM_aist.examples.SimpleIO.ConsoleOut.ConsoleOut, OpenRTM_aist.examples.AutoTest.AutoTestOut.AutoTestOut, OpenRTM_aist.examples.SimpleIO.ConsoleIn.ConsoleIn, OpenRTM_aist.ext.sdo.observer.COCTestRTC.COCTestRTC, OpenRTM_aist.examples.NXTRTC.NXTRTC.NXTRTC, OpenRTM_aist.examples.NXTRTC.NXTRTC20.NXTRTC, OpenRTM_aist.examples.TkLRFViewer.TkLRFViewer.LRFViewer, OpenRTM_aist.examples.AutoControl.AutoControl.AutoControl, test_PeriodicECSharedComposite.TestComp, test_RTObject.TestComp, OpenRTM_aist.examples.MobileRobotCanvas.TkMobileRobotSimulator.TkMobileRobotSimulator, OpenRTM_aist.examples.SeqIO.SeqOut.SeqOut, OpenRTM_aist.examples.ConfigSample.ConfigSample.ConfigSample, OpenRTM_aist.examples.TkJoyStick.TkJoyStickComp.TkJoyStick, OpenRTM_aist.examples.SeqIO.SeqIn.SeqIn, OpenRTM_aist.examples.SimpleService.MyServiceConsumer.MyServiceConsumer, test_SdoOrganization.TestComp, OpenRTM_aist.examples.Slider_and_Motor.SliderComp.SliderComp, OpenRTM_aist.examples.Slider_and_Motor.TkMotorPosComp.TkMotorPosComp, OpenRTM_aist.examples.Slider_and_Motor.TkMotorComp.TkMotorComp, OpenRTM_aist.examples.Composite.Motor.Motor, OpenRTM_aist.examples.Composite.Controller.Controller, OpenRTM_aist.examples.Composite.Sensor.Sensor, OpenRTM_aist.examples.ExtTrigger.ConsoleOut.ConsoleOut, and OpenRTM_aist.examples.ExtTrigger.ConsoleIn.ConsoleIn.
Definition at line 320 of file RTObject.py.
def OpenRTM_aist.RTObject.RTObject_impl.onFinalize | ( | self | ) |
Reimplemented in OpenRTM_aist.PeriodicECSharedComposite.PeriodicECSharedComposite, OpenRTM_aist.examples.NXTRTC.NXTRTC20_callback.NXTRTC, OpenRTM_aist.examples.NXTRTC.NXTRTC_callback.NXTRTC, OpenRTM_aist.examples.NXTRTC.NXTRTC.NXTRTC, OpenRTM_aist.examples.NXTRTC.NXTRTC20.NXTRTC, test_PeriodicECSharedComposite.TestComp, test_RTObject.TestComp, and test_SdoOrganization.TestComp.
Definition at line 198 of file RTObject.py.
def OpenRTM_aist.RTObject.RTObject_impl.onInitialize | ( | self | ) |
Reimplemented in OpenRTM_aist.PeriodicECSharedComposite.PeriodicECSharedComposite, ComponentActionListenerTestComp.ConsoleIn, OpenRTM_aist.examples.AutoTest.AutoTestIn.AutoTestIn, OpenRTM_aist.examples.SimpleService.MyServiceProvider.MyServiceProvider, OpenRTM_aist.examples.NXTRTC.NXTRTC20_callback.NXTRTC, OpenRTM_aist.examples.NXTRTC.NXTRTC_callback.NXTRTC, OpenRTM_aist.examples.AutoTest.AutoTestOut.AutoTestOut, OpenRTM_aist.examples.SimpleIO.ConsoleOut.ConsoleOut, OpenRTM_aist.examples.TkLRFViewer.TkLRFViewer.LRFViewer, OpenRTM_aist.examples.SimpleIO.ConsoleIn.ConsoleIn, OpenRTM_aist.ext.sdo.observer.COCTestRTC.COCTestRTC, test_PeriodicECSharedComposite.TestComp, test_RTObject.TestComp, OpenRTM_aist.examples.ConfigSample.ConfigSample.ConfigSample, OpenRTM_aist.examples.MobileRobotCanvas.TkMobileRobotSimulator.TkMobileRobotSimulator, OpenRTM_aist.examples.AutoControl.AutoControl.AutoControl, OpenRTM_aist.examples.TkJoyStick.TkJoyStickComp.TkJoyStick, OpenRTM_aist.examples.SimpleService.MyServiceConsumer.MyServiceConsumer, OpenRTM_aist.examples.NXTRTC.NXTRTC.NXTRTC, OpenRTM_aist.examples.NXTRTC.NXTRTC20.NXTRTC, OpenRTM_aist.examples.Slider_and_Motor.SliderComp.SliderComp, OpenRTM_aist.examples.Slider_and_Motor.TkMotorComp.TkMotorComp, OpenRTM_aist.examples.Slider_and_Motor.TkMotorPosComp.TkMotorPosComp, test_SdoOrganization.TestComp, OpenRTM_aist.examples.SeqIO.SeqOut.SeqOut, OpenRTM_aist.examples.Composite.Motor.Motor, OpenRTM_aist.examples.Composite.Controller.Controller, OpenRTM_aist.examples.Composite.Sensor.Sensor, OpenRTM_aist.examples.SeqIO.SeqIn.SeqIn, OpenRTM_aist.examples.ExtTrigger.ConsoleOut.ConsoleOut, and OpenRTM_aist.examples.ExtTrigger.ConsoleIn.ConsoleIn.
Definition at line 175 of file RTObject.py.
def OpenRTM_aist.RTObject.RTObject_impl.onRateChanged | ( | self, | |
ec_id | |||
) |
Reimplemented in test_PeriodicECSharedComposite.TestComp, test_RTObject.TestComp, and test_SdoOrganization.TestComp.
Definition at line 442 of file RTObject.py.
def OpenRTM_aist.RTObject.RTObject_impl.onRemovePort | ( | self, | |
pprof | |||
) |
Definition at line 4591 of file RTObject.py.
def OpenRTM_aist.RTObject.RTObject_impl.onReset | ( | self, | |
ec_id | |||
) |
Reimplemented in OpenRTM_aist.PeriodicECSharedComposite.PeriodicECSharedComposite, test_PeriodicECSharedComposite.TestComp, test_RTObject.TestComp, and test_SdoOrganization.TestComp.
Definition at line 390 of file RTObject.py.
def OpenRTM_aist.RTObject.RTObject_impl.onShutdown | ( | self, | |
ec_id | |||
) |
Reimplemented in OpenRTM_aist.examples.TkLRFViewer.TkLRFViewer.LRFViewer, OpenRTM_aist.examples.Slider_and_Motor.TkMotorPosComp.TkMotorPosComp, OpenRTM_aist.examples.Slider_and_Motor.TkMotorComp.TkMotorComp, OpenRTM_aist.examples.MobileRobotCanvas.TkMobileRobotSimulator.TkMobileRobotSimulator, test_PeriodicECSharedComposite.TestComp, test_RTObject.TestComp, OpenRTM_aist.examples.TkJoyStick.TkJoyStickComp.TkJoyStick, OpenRTM_aist.examples.Slider_and_Motor.SliderComp.SliderComp, and test_SdoOrganization.TestComp.
Definition at line 246 of file RTObject.py.
def OpenRTM_aist.RTObject.RTObject_impl.onStartup | ( | self, | |
ec_id | |||
) |
Reimplemented in test_PeriodicECSharedComposite.TestComp, test_RTObject.TestComp, and test_SdoOrganization.TestComp.
Definition at line 222 of file RTObject.py.
def OpenRTM_aist.RTObject.RTObject_impl.onStateUpdate | ( | self, | |
ec_id | |||
) |
Reimplemented in test_PeriodicECSharedComposite.TestComp, test_RTObject.TestComp, and test_SdoOrganization.TestComp.
Definition at line 416 of file RTObject.py.
def OpenRTM_aist.RTObject.RTObject_impl.postOnAborting | ( | self, | |
ec_id, | |||
ret | |||
) |
Definition at line 4549 of file RTObject.py.
def OpenRTM_aist.RTObject.RTObject_impl.postOnActivated | ( | self, | |
ec_id, | |||
ret | |||
) |
Definition at line 4537 of file RTObject.py.
def OpenRTM_aist.RTObject.RTObject_impl.postOnDeactivated | ( | self, | |
ec_id, | |||
ret | |||
) |
Definition at line 4543 of file RTObject.py.
def OpenRTM_aist.RTObject.RTObject_impl.postOnError | ( | self, | |
ec_id, | |||
ret | |||
) |
Definition at line 4555 of file RTObject.py.
def OpenRTM_aist.RTObject.RTObject_impl.postOnExecute | ( | self, | |
ec_id, | |||
ret | |||
) |
Definition at line 4567 of file RTObject.py.
def OpenRTM_aist.RTObject.RTObject_impl.postOnFinalize | ( | self, | |
ec_id, | |||
ret | |||
) |
Definition at line 4519 of file RTObject.py.
def OpenRTM_aist.RTObject.RTObject_impl.postOnInitialize | ( | self, | |
ec_id, | |||
ret | |||
) |
Definition at line 4513 of file RTObject.py.
def OpenRTM_aist.RTObject.RTObject_impl.postOnRateChanged | ( | self, | |
ec_id, | |||
ret | |||
) |
Definition at line 4579 of file RTObject.py.
def OpenRTM_aist.RTObject.RTObject_impl.postOnReset | ( | self, | |
ec_id, | |||
ret | |||
) |
Definition at line 4561 of file RTObject.py.
def OpenRTM_aist.RTObject.RTObject_impl.postOnShutdown | ( | self, | |
ec_id, | |||
ret | |||
) |
Definition at line 4531 of file RTObject.py.
def OpenRTM_aist.RTObject.RTObject_impl.postOnStartup | ( | self, | |
ec_id, | |||
ret | |||
) |
Definition at line 4525 of file RTObject.py.
def OpenRTM_aist.RTObject.RTObject_impl.postOnStateUpdate | ( | self, | |
ec_id, | |||
ret | |||
) |
Definition at line 4573 of file RTObject.py.
def OpenRTM_aist.RTObject.RTObject_impl.preOnAborting | ( | self, | |
ec_id | |||
) |
Definition at line 4481 of file RTObject.py.
def OpenRTM_aist.RTObject.RTObject_impl.preOnActivated | ( | self, | |
ec_id | |||
) |
Definition at line 4471 of file RTObject.py.
def OpenRTM_aist.RTObject.RTObject_impl.preOnDeactivated | ( | self, | |
ec_id | |||
) |
Definition at line 4476 of file RTObject.py.
def OpenRTM_aist.RTObject.RTObject_impl.preOnError | ( | self, | |
ec_id | |||
) |
Definition at line 4486 of file RTObject.py.
def OpenRTM_aist.RTObject.RTObject_impl.preOnExecute | ( | self, | |
ec_id | |||
) |
Definition at line 4496 of file RTObject.py.
def OpenRTM_aist.RTObject.RTObject_impl.preOnFinalize | ( | self, | |
ec_id | |||
) |
Definition at line 4456 of file RTObject.py.
def OpenRTM_aist.RTObject.RTObject_impl.preOnInitialize | ( | self, | |
ec_id | |||
) |
Definition at line 4451 of file RTObject.py.
def OpenRTM_aist.RTObject.RTObject_impl.preOnRateChanged | ( | self, | |
ec_id | |||
) |
Definition at line 4507 of file RTObject.py.
def OpenRTM_aist.RTObject.RTObject_impl.preOnReset | ( | self, | |
ec_id | |||
) |
Definition at line 4491 of file RTObject.py.
def OpenRTM_aist.RTObject.RTObject_impl.preOnShutdown | ( | self, | |
ec_id | |||
) |
Definition at line 4466 of file RTObject.py.
def OpenRTM_aist.RTObject.RTObject_impl.preOnStartup | ( | self, | |
ec_id | |||
) |
Definition at line 4461 of file RTObject.py.
def OpenRTM_aist.RTObject.RTObject_impl.preOnStateUpdate | ( | self, | |
ec_id | |||
) |
Definition at line 4501 of file RTObject.py.
def OpenRTM_aist.RTObject.RTObject_impl.readAll | ( | self | ) |
Readout the value from All InPorts.
This operation read the value from all InPort registered in the RTC.
bool readAll();
Definition at line 3353 of file RTObject.py.
def OpenRTM_aist.RTObject.RTObject_impl.registerInPort | ( | self, | |
name, | |||
inport | |||
) |
Definition at line 2714 of file RTObject.py.
def OpenRTM_aist.RTObject.RTObject_impl.registerOutPort | ( | self, | |
name, | |||
outport | |||
) |
void registerOutPort(const char* name, OutPortBase& outport);
Definition at line 2757 of file RTObject.py.
def OpenRTM_aist.RTObject.RTObject_impl.registerPort | ( | self, | |
port | |||
) |
[local interface] Register Port
This operation registers a Port to be held by this RTC. In order to enable access to the Port from outside of RTC, the Port must be registered by this operation. The Port that is registered by this operation would be identified by PortProfile.name in the inside of RTC. Therefore, the Port should have unique PortProfile.name in the RTC. The registering Port would be activated properly, and the reference and the object reference would be stored in lists in RTC.
port | Port which is registered in the RTC |
void registerPort(PortBase& port);
Definition at line 2653 of file RTObject.py.
def OpenRTM_aist.RTObject.RTObject_impl.removeConfigurationParamListener | ( | self, | |
type, | |||
listener | |||
) |
Removing ConfigurationParamListener.
This function removes a listener object which is added by addConfigurationParamListener() function.
type | ConfigurationParamListenerType value ON_UPDATE_CONFIG_PARAM is only allowed. |
listener | a pointer to ConfigurationParamListener listener object. |
void removeConfigurationParamListener(ConfigurationParamListenerType type, ConfigurationParamListener* listener);
Definition at line 4248 of file RTObject.py.
def OpenRTM_aist.RTObject.RTObject_impl.removeConfigurationSetListener | ( | self, | |
type, | |||
listener | |||
) |
Removing ConfigurationSetListener.
This function removes a listener object which is added by addConfigurationSetListener() function.
type | ConfigurationSetListenerType value |
listener | a pointer to ConfigurationSetListener listener object. |
void removeConfigurationSetListener(ConfigurationSetListenerType type, ConfigurationSetListener* listener);
Definition at line 4329 of file RTObject.py.
def OpenRTM_aist.RTObject.RTObject_impl.removeConfigurationSetNameListener | ( | self, | |
type, | |||
listener | |||
) |
Removing ConfigurationSetNameListener.
This function removes a listener object which is added by addConfigurationSetNameListener() function.
type | ConfigurationSetNameListenerType value ON_UPDATE_CONFIG_PARAM is only allowed. |
listener | a pointer to ConfigurationSetNameListener listener object. |
void removeConfigurationSetNameListener(ConfigurationSetNameListenerType type, ConfigurationSetNameListener* listener);
Definition at line 4415 of file RTObject.py.
def OpenRTM_aist.RTObject.RTObject_impl.removeExecutionContextActionListener | ( | self, | |
listener_type, | |||
listener | |||
) |
Removing ExecutionContextAction type listener.
This operation removes a specified listener.
listener_type | A listener type |
listener | A pointer to a listener object |
void removeExecutionContextActionListener(ECActionListenerType listener_type, ECActionListener* listener);
Definition at line 3953 of file RTObject.py.
def OpenRTM_aist.RTObject.RTObject_impl.removeInPort | ( | self, | |
port | |||
) |
[local interface] Unregister InPort
This operation unregisters a InPort held by this RTC.
port | Port which is unregistered |
bool removeInPort(InPortBase& port);
Definition at line 2805 of file RTObject.py.
def OpenRTM_aist.RTObject.RTObject_impl.removeOutPort | ( | self, | |
port | |||
) |
[local interface] Unregister OutPort
This operation unregisters a OutPort held by this RTC.
port | Port which is unregistered |
bool removeOutPort(OutPortBase& port);
Definition at line 2844 of file RTObject.py.
def OpenRTM_aist.RTObject.RTObject_impl.removePort | ( | self, | |
port | |||
) |
Definition at line 2888 of file RTObject.py.
def OpenRTM_aist.RTObject.RTObject_impl.removePortActionListener | ( | self, | |
listener_type, | |||
listener | |||
) |
Removing PortAction type listener.
This operation removes a specified listener.
listener_type | A listener type |
listener | A pointer to a listener object |
void removePortActionListener(PortActionListenerType listener_type, PortActionListener* listener);
Definition at line 3852 of file RTObject.py.
def OpenRTM_aist.RTObject.RTObject_impl.removePortConnectListener | ( | self, | |
listener_type, | |||
listener | |||
) |
Removing PortConnect type listener.
This operation removes a specified listener.
listener_type | A listener type |
listener | A pointer to a listener object |
void removePortConnectListener(PortConnectListenerType listener_type, PortConnectListener* listener);
Definition at line 4056 of file RTObject.py.
def OpenRTM_aist.RTObject.RTObject_impl.removePortConnectRetListener | ( | self, | |
listener_type, | |||
listener | |||
) |
Removing PortConnectRet type listener.
This operation removes a specified listener.
listener_type | A listener type |
listener | A pointer to a listener object |
void removePortConnectRetListener(PortConnectRetListenerType listener_type, PortConnectRetListener* listener);
Definition at line 4163 of file RTObject.py.
def OpenRTM_aist.RTObject.RTObject_impl.removePostComponentActionListener | ( | self, | |
listener_type, | |||
listener | |||
) |
Removing PostComponentAction type listener.
This operation removes a specified listener.
listener_type | A listener type |
listener | A pointer to a listener object |
void removePostComponentActionListener(PostComponentActionListenerType listener_type, PostComponentActionListener* listener);
Definition at line 3752 of file RTObject.py.
def OpenRTM_aist.RTObject.RTObject_impl.removePreComponentActionListener | ( | self, | |
listener_type, | |||
listener | |||
) |
Removing PreComponentAction type listener.
This operation removes a specified listener.
listener_type | A listener type |
listener | A pointer to a listener object |
void removePreComponentActionListener(PreComponentActionListenerType listener_type, PreComponentActionListener* listener);
Definition at line 3632 of file RTObject.py.
def OpenRTM_aist.RTObject.RTObject_impl.removeSdoServiceConsumer | ( | self, | |
id | |||
) |
[local interface] Remove a SDO service consumerbool removeSdoServiceConsumer(const char* id);
Definition at line 3328 of file RTObject.py.
def OpenRTM_aist.RTObject.RTObject_impl.removeSdoServiceProvider | ( | self, | |
id | |||
) |
[local interface] Remove a SDO service providerbool removeSdoServiceProvider(const char* id);
Definition at line 3304 of file RTObject.py.
def OpenRTM_aist.RTObject.RTObject_impl.reset | ( | self, | |
ec_id | |||
) |
[local interface] Resetting and go to Inactive state
This function reset RTC and makes transition from Error to Inactive state. This function is assumed to be called from the following functions.
The argument of this function should be the first argument (UniqueId ec_id) of the above function.
ec_id | The above functions' first argument "exec_handle." |
ReturnCode_t reset(RTC::UniqueId ec_id);
Definition at line 3276 of file RTObject.py.
def OpenRTM_aist.RTObject.RTObject_impl.setExecutionRate | ( | self, | |
ec_id, | |||
rate | |||
) |
[local interface] Setting current context' execution rate
This function sets a execution rate in the context. If this context's kind is not PERIODC, behavior is not defined. This function is assumed to be called from the following functions.
The argument of this function should be the first argument (UniqueId ec_id) of the above functions.
ec_id | The above functions' first argument "exec_handle." |
rate | Execution rate in [Hz]. |
ReturnCode_t setExecutionRate(RTC::UniqueId ec_id, double rate);
Definition at line 3083 of file RTObject.py.
def OpenRTM_aist.RTObject.RTObject_impl.setInstanceName | ( | self, | |
instance_name | |||
) |
void setInstanceName(const char* instance_name);
Definition at line 2333 of file RTObject.py.
def OpenRTM_aist.RTObject.RTObject_impl.setObjRef | ( | self, | |
rtobj | |||
) |
void setObjRef(const RTObject_ptr rtobj);
Definition at line 2473 of file RTObject.py.
def OpenRTM_aist.RTObject.RTObject_impl.setProperties | ( | self, | |
prop | |||
) |
[local interface] Set RTC property
This operation sets the properties to the RTC. The given property values should include information for ComponentProfile. Generally, this operation is designed to be called from Manager, when RTC is initialized
prop | Property for RTC. |
void setProperties(const coil::Properties& prop);
Definition at line 2525 of file RTObject.py.
def OpenRTM_aist.RTObject.RTObject_impl.setReadAll | ( | self, | |
read = True , |
|||
completion = False |
|||
) |
Set whether to execute the readAll() method.
Set whether to execute the readAll() method.
read(default:true) | (readAll() is called:true, readAll() isn't called:false) |
completion(default:false) | All InPort::read() calls are completed.:true, If one InPort::read() is False, return false.:false |
completion(default:false) |
void setReadAll(bool read=true, bool completion=false);
Definition at line 3434 of file RTObject.py.
def OpenRTM_aist.RTObject.RTObject_impl.setWriteAll | ( | self, | |
write = True , |
|||
completion = False |
|||
) |
Set whether to execute the writeAll() method.
Set whether to execute the writeAll() method.
write(default:true) | (writeAll() is called:true, writeAll() isn't called:false) |
completion(default:false) | All OutPort::write() calls are completed.:true, If one OutPort::write() is False, return false.:false |
void setWriteAll(bool write=true, bool completion=false);
Definition at line 3471 of file RTObject.py.
def OpenRTM_aist.RTObject.RTObject_impl.shutdown | ( | self | ) |
Definition at line 4434 of file RTObject.py.
def OpenRTM_aist.RTObject.RTObject_impl.updateParameters | ( | self, | |
config_set | |||
) |
void updateParameters(const char* config_set);
Definition at line 2613 of file RTObject.py.
def OpenRTM_aist.RTObject.RTObject_impl.writeAll | ( | self | ) |
The write() method of all OutPort is called.
This operation call the write() method of all OutPort registered in the RTC.
bool writeAll();
Definition at line 3387 of file RTObject.py.
Definition at line 91 of file RTObject.py.
Definition at line 91 of file RTObject.py.
Definition at line 91 of file RTObject.py.
Reimplemented in test_PeriodicExecutionContext.DFP, and test_ExtTrigExecutionContext.DFP.
Definition at line 91 of file RTObject.py.
Definition at line 91 of file RTObject.py.
Definition at line 91 of file RTObject.py.
Definition at line 91 of file RTObject.py.
Definition at line 91 of file RTObject.py.
Definition at line 91 of file RTObject.py.
Definition at line 91 of file RTObject.py.
Definition at line 3595 of file RTObject.py.
Reimplemented in OpenRTM_aist.PeriodicECSharedComposite.PeriodicECSharedComposite.
Definition at line 91 of file RTObject.py.
Reimplemented in test_SdoOrganization.TestOrganization_impl.sdo_test, OpenRTM_aist.ext.sdo.observer.test.test_ComponentObserverConsumer.MockRTC, test_PeriodicExecutionContext.DFP, test_DataOutPort.TestObj, test_ExtTrigExecutionContext.DFP, test_DataInPort.TestObj, and test_SdoServiceAdmin.MockRTC.
Definition at line 91 of file RTObject.py.
Definition at line 91 of file RTObject.py.
Reimplemented in test_SdoOrganization.TestOrganization_impl.sdo_test, OpenRTM_aist.ext.sdo.observer.test.test_ComponentObserverConsumer.MockRTC, test_PeriodicExecutionContext.DFP, test_DataOutPort.TestObj, test_ExtTrigExecutionContext.DFP, test_DataInPort.TestObj, and test_SdoServiceAdmin.MockRTC.
Definition at line 91 of file RTObject.py.
Definition at line 91 of file RTObject.py.
Definition at line 91 of file RTObject.py.
Definition at line 91 of file RTObject.py.
Definition at line 91 of file RTObject.py.
Definition at line 91 of file RTObject.py.
Definition at line 91 of file RTObject.py.
Reimplemented in OpenRTM_aist.PeriodicECSharedComposite.PeriodicECSharedComposite.
Definition at line 91 of file RTObject.py.
Definition at line 91 of file RTObject.py.
Definition at line 91 of file RTObject.py.
Definition at line 91 of file RTObject.py.
Definition at line 91 of file RTObject.py.
Definition at line 91 of file RTObject.py.
Definition at line 91 of file RTObject.py.
Definition at line 91 of file RTObject.py.
Definition at line 91 of file RTObject.py.
Definition at line 91 of file RTObject.py.