OpenRTM-aist-Python 2.0.2
OpenRTM_aist.SimulatorExecutionContext.SimulatorExecutionContext クラス
OpenRTM_aist.SimulatorExecutionContext.SimulatorExecutionContext の継承関係図
OpenRTM_aist.OpenHRPExecutionContext.OpenHRPExecutionContext OpenRTM_aist.ExecutionContextBase.ExecutionContextBase

公開メンバ関数

 __init__ (self)
 
 __del__ (self)
 
 activate_component (self, comp)
 
 deactivate_component (self, comp)
 
 reset_component (self, comp)
 
- 基底クラス OpenRTM_aist.OpenHRPExecutionContext.OpenHRPExecutionContext に属する継承公開メンバ関数
 tick (self)
 
 is_running (self)
 
 start (self)
 
 stop (self)
 
 get_rate (self)
 
 set_rate (self, rate)
 
 add_component (self, comp)
 
 remove_component (self, comp)
 
 get_component_state (self, comp)
 
 get_kind (self)
 
 get_profile (self)
 
- 基底クラス OpenRTM_aist.ExecutionContextBase.ExecutionContextBase に属する継承公開メンバ関数
 init (self, props)
 
 exit (self)
 
 bindComponent (self, rtc)
 
 isRunning (self)
 
 getRate (self)
 
 setRate (self, rate)
 
 addComponent (self, comp)
 
 removeComponent (self, comp)
 
 activateComponent (self, comp)
 
 deactivateComponent (self, comp)
 
 resetComponent (self, comp)
 
 getComponentState (self, comp)
 
 getKind (self)
 
 getProfile (self)
 
 setObjRef (self, ec_ptr)
 
 getObjRef (self)
 
 getKindString (self, kind)
 
 setKind (self, kind)
 
 setOwner (self, comp)
 
 getOwner (self)
 
 getComponentList (self)
 
 setProperties (self, props)
 
 getProperties (self)
 
 isAllCurrentState (self, state)
 
 setExecutionRate (self, props)
 
 setTransitionMode (self, props, key, flag=False)
 
 setTimeout (self, props, key, timevalue=0.0)
 

詳解

 

構築子と解体子

◆ __init__()

OpenRTM_aist.SimulatorExecutionContext.SimulatorExecutionContext.__init__ ( self)

コンストラクタ

コンストラクタ

引数
self

OpenRTM_aist.OpenHRPExecutionContext.OpenHRPExecutionContextを再実装しています。

◆ __del__()

OpenRTM_aist.SimulatorExecutionContext.SimulatorExecutionContext.__del__ ( self)

デストラクタ

デストラクタ

引数
self

OpenRTM_aist.OpenHRPExecutionContext.OpenHRPExecutionContextを再実装しています。

メソッド詳解

◆ activate_component()

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

対象のRTCをアクティブ化する 内部でinvokeWorkerPreDo関数を呼ぶため、即座に 状態を遷移させることができる。 現在tick実行中の場合は実行終了まで待つ

引数
self
compアクティブ化対象RTコンポーネント
戻り値
ReturnCode_t 型のリターンコード

OpenRTM_aist.OpenHRPExecutionContext.OpenHRPExecutionContextを再実装しています。

◆ deactivate_component()

OpenRTM_aist.SimulatorExecutionContext.SimulatorExecutionContext.deactivate_component ( self,
comp )

対象のRTCを非アクティブ化する 内部でinvokeWorkerPreDo関数を呼ぶため、即座に 状態を遷移させることができる。 現在tick実行中の場合は実行終了まで待つ

引数
self
comp非アクティブ化対象RTコンポーネント
戻り値
ReturnCode_t 型のリターンコード

OpenRTM_aist.OpenHRPExecutionContext.OpenHRPExecutionContextを再実装しています。

◆ reset_component()

OpenRTM_aist.SimulatorExecutionContext.SimulatorExecutionContext.reset_component ( self,
comp )

対象のRTCをリセット化する 内部でinvokeWorkerPreDo関数を呼ぶため、即座に 状態を遷移させることができる。 現在tick実行中の場合は実行終了まで待つ

引数
self
compリセット対象RTコンポーネント
戻り値
ReturnCode_t 型のリターンコード

OpenRTM_aist.OpenHRPExecutionContext.OpenHRPExecutionContextを再実装しています。


このクラス詳解は次のファイルから抽出されました: