OpenRTM-aist-Python 2.0.0
公開メンバ関数 | 全メンバ一覧
OpenRTM_aist.SimulatorExecutionContext.SimulatorExecutionContext クラス
OpenRTM_aist.SimulatorExecutionContext.SimulatorExecutionContext の継承関係図
OpenRTM_aist.OpenHRPExecutionContext.OpenHRPExecutionContext OpenRTM_aist.ExecutionContextBase.ExecutionContextBase

公開メンバ関数

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

詳解

 

構築子と解体子

◆ __init__()

def OpenRTM_aist.SimulatorExecutionContext.SimulatorExecutionContext.__init__ (   self)

コンストラクタ

コンストラクタ

引数
self

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

◆ __del__()

def OpenRTM_aist.SimulatorExecutionContext.SimulatorExecutionContext.__del__ (   self)

デストラクタ

デストラクタ

引数
self

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

メソッド詳解

◆ activate_component()

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

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

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

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

◆ deactivate_component()

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

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

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

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

◆ reset_component()

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

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

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

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


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