OpenRTM-aist-Python 1.2.1
公開メンバ関数 | 全メンバ一覧
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)
 対象のRTCをアクティブ化する 内部でinvokeWorkerPreDo関数を呼ぶため、即座に 状態を遷移させることができる。 現在tick実行中の場合は実行終了まで待つ [詳解]
 
def deactivate_component (self, comp)
 対象のRTCを非アクティブ化する 内部でinvokeWorkerPreDo関数を呼ぶため、即座に 状態を遷移させることができる。 現在tick実行中の場合は実行終了まで待つ [詳解]
 
def reset_component (self, comp)
 対象のRTCをリセット化する 内部でinvokeWorkerPreDo関数を呼ぶため、即座に 状態を遷移させることができる。 現在tick実行中の場合は実行終了まで待つ [詳解]
 
- 基底クラス OpenRTM_aist.OpenHRPExecutionContext.OpenHRPExecutionContext に属する継承公開メンバ関数
def tick (self)
 処理を1ステップ進める
 
def is_running (self)
 ExecutionContext 実行状態確認関数 CORBA::Boolean OpenHRPExecutionContext::is_running() throw (CORBA::SystemException)
 
def start (self)
 ExecutionContext の実行を開始 RTC::ReturnCode_t OpenHRPExecutionContext::start() throw (CORBA::SystemException)
 
def stop (self)
 ExecutionContext の実行を停止 RTC::ReturnCode_t OpenHRPExecutionContext::stop() throw (CORBA::SystemException)
 
def get_rate (self)
 ExecutionContext の実行周期(Hz)を取得する CORBA::Double OpenHRPExecutionContext::get_rate() throw (CORBA::SystemException)
 
def set_rate (self, rate)
 ExecutionContext の実行周期(Hz)を設定する RTC::ReturnCode_t OpenHRPExecutionContext::set_rate(CORBA::Double rate) throw (CORBA::SystemException)
 
def add_component (self, comp)
 RTコンポーネントを追加する RTC::ReturnCode_t OpenHRPExecutionContext::add_component(RTC::LightweightRTObject_ptr comp) throw (CORBA::SystemException)
 
def remove_component (self, comp)
 コンポーネントをコンポーネントリストから削除する RTC::ReturnCode_t OpenHRPExecutionContext:: remove_component(RTC::LightweightRTObject_ptr comp) throw (CORBA::SystemException)
 
def activate_component (self, comp)
 RTコンポーネントをアクティブ化する RTC::ReturnCode_t OpenHRPExecutionContext:: activate_component(RTC::LightweightRTObject_ptr comp) throw (CORBA::SystemException)
 
def deactivate_component (self, comp)
 RTコンポーネントを非アクティブ化する RTC::ReturnCode_t OpenHRPExecutionContext:: deactivate_component(RTC::LightweightRTObject_ptr comp) throw (CORBA::SystemException)
 
def reset_component (self, comp)
 RTコンポーネントをリセットする RTC::ReturnCode_t OpenHRPExecutionContext:: reset_component(RTC::LightweightRTObject_ptr comp) throw (CORBA::SystemException)
 
def get_component_state (self, comp)
 RTコンポーネントの状態を取得する 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)
 ExecutionKind を取得する RTC::ExecutionKind OpenHRPExecutionContext::get_kind() throw (CORBA::SystemException)
 
def get_profile (self)
 ExecutionContextProfile を取得する RTC::ExecutionContextProfile* OpenHRPExecutionContext::get_profile() throw (CORBA::SystemException)
 
- 基底クラス OpenRTM_aist.ExecutionContextBase.ExecutionContextBase に属する継承公開メンバ関数
def init (self, props)
 ExecutionContextの初期化処理 [詳解]
 
def exit (self)
 ExecutionContextの終了処理 [詳解]
 
def bindComponent (self, rtc)
 ExecutionContextの処理を進める(サブクラス実装用) [詳解]
 
def isRunning (self)
 ExecutionContext 実行状態確認関数 CORBA::Boolean ExecutionContextBase::isRunning()
 
def start (self)
 ExecutionContext の実行を開始 RTC::ReturnCode_t ExecutionContextBase::start()
 
def stop (self)
 ExecutionContext の実行を停止 RTC::ReturnCode_t ExecutionContextBase::stop()
 
def getRate (self)
 ExecutionContext の実行周期(Hz)を取得する [詳解]
 
def setRate (self, rate)
 ExecutionContext の実行周期(Hz)を設定する [詳解]
 
def addComponent (self, comp)
 RTコンポーネントを追加する RTC::ReturnCode_t ExecutionContextBase:: addComponent(RTC::LightweightRTObject_ptr comp)
 
def removeComponent (self, comp)
 RTコンポーネントを参加者リストから削除する RTC::ReturnCode_t ExecutionContextBase:: removeComponent(RTC::LightweightRTObject_ptr comp)
 
def activateComponent (self, comp)
 RTコンポーネントをアクティブ化する RTC::ReturnCode_t ExecutionContextBase:: activateComponent(RTC::LightweightRTObject_ptr comp)
 
def deactivateComponent (self, comp)
 RTコンポーネントを非アクティブ化する RTC::ReturnCode_t ExecutionContextBase:: deactivateComponent(RTC::LightweightRTObject_ptr comp)
 
def resetComponent (self, comp)
 RTコンポーネントをリセットする RTC::ReturnCode_t ExecutionContextBase:: resetComponent(RTC::LightweightRTObject_ptr comp)
 
def getComponentState (self, comp)
 RTコンポーネントの状態を取得する [詳解]
 
def getKind (self)
 ExecutionKind を取得する [詳解]
 
def getProfile (self)
 Profileを取得する [詳解]
 
def setObjRef (self, ec_ptr)
 CORBA オブジェクト参照の取得 [詳解]
 
def getObjRef (self)
 CORBA オブジェクト参照の取得 [詳解]
 
def getKindString (self, kind)
 ExecutionKind を文字列化する [詳解]
 
def setKind (self, kind)
 ExecutionKind を設定する [詳解]
 
def setOwner (self, comp)
 Ownerコンポーネントをセットする。 [詳解]
 
def getOwner (self)
 Ownerコンポーネントの参照を取得する [詳解]
 
def getComponentList (self)
 RTコンポーネントの参加者リストを取得する [詳解]
 
def setProperties (self, props)
 Propertiesをセットする [詳解]
 
def getProperties (self)
 Propertiesを取得する [詳解]
 
def isAllCurrentState (self, state)
 Profileを取得する [詳解]
 
def setExecutionRate (self, props)
 Propertiesから実行コンテキストをセットする bool ExecutionContextBase::setExecutionRate(coil::Properties& props)
 
def setTransitionMode (self, props, key, flag)
 Propertiesから状態遷移モードをセットする bool ExecutionContextBase:: setTransitionMode(coil::Properties& props, const char* key, bool& flag)
 
def setTimeout (self, props, key, timevalue)
 Propertiesから状態遷移Timeoutをセットする bool ExecutionContextBase:: setTimeout(coil::Properties& props, const char* key, coil::TimeValue& timevalue)
 

詳解

 

構築子と解体子

def OpenRTM_aist.SimulatorExecutionContext.SimulatorExecutionContext.__init__ (   self)

コンストラクタ

コンストラクタ

引数
self
def OpenRTM_aist.SimulatorExecutionContext.SimulatorExecutionContext.__del__ (   self)

デストラクタ

デストラクタ

引数
self

メソッド詳解

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

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

引数
self
compアクティブ化対象RTコンポーネント
戻り値
ReturnCode_t 型のリターンコード
def OpenRTM_aist.SimulatorExecutionContext.SimulatorExecutionContext.deactivate_component (   self,
  comp 
)

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

引数
self
comp非アクティブ化対象RTコンポーネント
戻り値
ReturnCode_t 型のリターンコード
def OpenRTM_aist.SimulatorExecutionContext.SimulatorExecutionContext.reset_component (   self,
  comp 
)

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

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

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