OpenRTM-aist-Python 1.2.1
Public Member Functions | List of all members
OpenRTM_aist.SimulatorExecutionContext.SimulatorExecutionContext Class Reference
Inheritance diagram for OpenRTM_aist.SimulatorExecutionContext.SimulatorExecutionContext:
OpenRTM_aist.OpenHRPExecutionContext.OpenHRPExecutionContext OpenRTM_aist.ExecutionContextBase.ExecutionContextBase

Public Member Functions

def __init__ (self)
 Constructor. More...
 
def __del__ (self)
 Destructor. More...
 
def activate_component (self, comp)
 Activate an RT-component. More...
 
def deactivate_component (self, comp)
 Deactivate an RT-component. More...
 
def reset_component (self, comp)
 Reset an RT-component. More...
 
- Public Member Functions inherited from OpenRTM_aist.OpenHRPExecutionContext.OpenHRPExecutionContext
def tick (self)
 Move forward one step of ExecutionContext.
 
def is_running (self)
 Check for ExecutionContext running state CORBA::Boolean OpenHRPExecutionContext::is_running() throw (CORBA::SystemException)
 
def start (self)
 Start the ExecutionContext RTC::ReturnCode_t OpenHRPExecutionContext::start() throw (CORBA::SystemException)
 
def stop (self)
 Stop the ExecutionContext RTC::ReturnCode_t OpenHRPExecutionContext::stop() throw (CORBA::SystemException)
 
def get_rate (self)
 Get execution rate(Hz) of ExecutionContext CORBA::Double OpenHRPExecutionContext::get_rate() throw (CORBA::SystemException)
 
def set_rate (self, rate)
 Set execution rate(Hz) of ExecutionContext RTC::ReturnCode_t OpenHRPExecutionContext::set_rate(CORBA::Double rate) throw (CORBA::SystemException)
 
def add_component (self, comp)
 Add an RT-Component RTC::ReturnCode_t OpenHRPExecutionContext::add_component(RTC::LightweightRTObject_ptr comp) throw (CORBA::SystemException)
 
def remove_component (self, comp)
 Remove the RT-Component from participant list RTC::ReturnCode_t OpenHRPExecutionContext:: remove_component(RTC::LightweightRTObject_ptr comp) throw (CORBA::SystemException)
 
def activate_component (self, comp)
 Activate an RT-Component RTC::ReturnCode_t OpenHRPExecutionContext:: activate_component(RTC::LightweightRTObject_ptr comp) throw (CORBA::SystemException)
 
def deactivate_component (self, comp)
 Deactivate an RT-Component RTC::ReturnCode_t OpenHRPExecutionContext:: deactivate_component(RTC::LightweightRTObject_ptr comp) throw (CORBA::SystemException)
 
def reset_component (self, comp)
 Reset the RT-Component RTC::ReturnCode_t OpenHRPExecutionContext:: reset_component(RTC::LightweightRTObject_ptr comp) throw (CORBA::SystemException)
 
def get_component_state (self, comp)
 Get RT-Component's state RTC::LifeCycleState OpenHRPExecutionContext:: get_component_state(RTC::LightweightRTObject_ptr comp) throw (CORBA::SystemException) get_component_state(RTC::LightweightRTObject_ptr comp) throw (CORBA::SystemException)
 
def get_kind (self)
 Get the ExecutionKind RTC::ExecutionKind OpenHRPExecutionContext::get_kind() throw (CORBA::SystemException)
 
def get_profile (self)
 Get the ExecutionContextProfile RTC::ExecutionContextProfile* OpenHRPExecutionContext::get_profile() throw (CORBA::SystemException)
 
- Public Member Functions inherited from OpenRTM_aist.ExecutionContextBase.ExecutionContextBase
def init (self, props)
 Initialization function of the ExecutionContext. More...
 
def exit (self)
 virtual void exit();
 
def bindComponent (self, rtc)
 Destructor def tick(self): pass. More...
 
def isRunning (self)
 Check for ExecutionContext running state CORBA::Boolean ExecutionContextBase::isRunning()
 
def start (self)
 Start the ExecutionContext RTC::ReturnCode_t ExecutionContextBase::start()
 
def stop (self)
 Stopping the ExecutionContext RTC::ReturnCode_t ExecutionContextBase::stop()
 
def getRate (self)
 Get execution rate(Hz) of ExecutionContext. More...
 
def setRate (self, rate)
 Set execution rate(Hz) of ExecutionContext. More...
 
def addComponent (self, comp)
 Add an RT-component RTC::ReturnCode_t ExecutionContextBase:: addComponent(RTC::LightweightRTObject_ptr comp)
 
def removeComponent (self, comp)
 Remove the RT-Component from participant list RTC::ReturnCode_t ExecutionContextBase:: removeComponent(RTC::LightweightRTObject_ptr comp)
 
def activateComponent (self, comp)
 Activate an RT-component RTC::ReturnCode_t ExecutionContextBase:: activateComponent(RTC::LightweightRTObject_ptr comp)
 
def deactivateComponent (self, comp)
 Deactivate an RT-component RTC::ReturnCode_t ExecutionContextBase:: deactivateComponent(RTC::LightweightRTObject_ptr comp)
 
def resetComponent (self, comp)
 Reset the RT-component RTC::ReturnCode_t ExecutionContextBase:: resetComponent(RTC::LightweightRTObject_ptr comp)
 
def getComponentState (self, comp)
 Get RT-component's state. More...
 
def getKind (self)
 Get the ExecutionKind. More...
 
def getProfile (self)
 Getting Profile. More...
 
def setObjRef (self, ec_ptr)
 Get the reference to the CORBA object. More...
 
def getObjRef (self)
 Get the reference to the CORBA object. More...
 
def getKindString (self, kind)
 Converting ExecutionKind enum to string. More...
 
def setKind (self, kind)
 Set the ExecutionKind. More...
 
def setOwner (self, comp)
 Setting owner component of the execution context. More...
 
def getOwner (self)
 Getting a reference of the owner component. More...
 
def getComponentList (self)
 Getting participant RTC list. More...
 
def setProperties (self, props)
 Setting Properties. More...
 
def getProperties (self)
 Setting Properties. More...
 
def isAllCurrentState (self, state)
 Getting Profile. More...
 
def setExecutionRate (self, props)
 Setting execution rate from given properties. More...
 
def setTransitionMode (self, props, key, flag)
 Setting state transition mode from given properties. More...
 
def setTimeout (self, props, key, timevalue)
 Setting state transition timeout from given properties. More...
 

Detailed Description

 

Constructor & Destructor Documentation

def OpenRTM_aist.SimulatorExecutionContext.SimulatorExecutionContext.__init__ (   self)

Constructor.

Constructor

Parameters
self
def OpenRTM_aist.SimulatorExecutionContext.SimulatorExecutionContext.__del__ (   self)

Destructor.

Destructor

Parameters
self

Member Function Documentation

def OpenRTM_aist.SimulatorExecutionContext.SimulatorExecutionContext.activate_component (   self,
  comp 
)

Activate an RT-component.

Parameters
self
compThe target RT-Component for activation
Returns
The return code of ReturnCode_t type
def OpenRTM_aist.SimulatorExecutionContext.SimulatorExecutionContext.deactivate_component (   self,
  comp 
)

Deactivate an RT-component.

Parameters
self
compThe target RT-Component for deactivation
Returns
The return code of ReturnCode_t type
def OpenRTM_aist.SimulatorExecutionContext.SimulatorExecutionContext.reset_component (   self,
  comp 
)

Reset an RT-component.

Parameters
self
compThe target RT-Component for reset
Returns
The return code of ReturnCode_t type

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