OpenRTM-aist-Python 2.0.0
クラス | 公開メンバ関数 | 全メンバ一覧
OpenRTM_aist.ExtTrigExecutionContext.ExtTrigExecutionContext クラス

[詳解]

OpenRTM_aist.ExtTrigExecutionContext.ExtTrigExecutionContext の継承関係図
OpenRTM_aist.ExecutionContextBase.ExecutionContextBase OpenRTM_aist.Task.Task

クラス

class  Worker
 

公開メンバ関数

def __init__ (self)
 
def exit (self, Task=OpenRTM_aist.Task)
 
def open (self, *args)
 Start activity [詳解]
 
def svc (self)
 
def close (self, flags)
 
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)
 
def onStarted (self)
 onStarted() template function RTC::ReturnCode_t ExtTrigExecutionContext::onStarted()
 
def onWaitingActivated (self, comp, count)
 onWaitingActivated() template function RTC::ReturnCode_t ExtTrigExecutionContext:: onWaitingActivated(RTC_impl::RTObjectStateMachine* comp, long int count)
 
def onWaitingDeactivated (self, comp, count)
 onWaitingDeactivated() template function RTC::ReturnCode_t ExtTrigExecutionContext:: onWaitingDeactivated(RTC_impl::RTObjectStateMachine* comp, long int count)
 
def onWaitingReset (self, comp, count)
 onWaitingReset() template function RTC::ReturnCode_t ExtTrigExecutionContext:: onWaitingReset(RTC_impl::RTObjectStateMachine* comp, long int count)
 
- 基底クラス 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)
 

詳解

ステップ実行が可能な ExecutionContext クラス

1周期毎の実行が可能なPeriodic Sampled Data Processing(周期実行用) ExecutionContextクラス。 外部からのメソッド呼びだしによって時間を1周期づつ進めることができる。

から
0.4.0

構築子と解体子

◆ __init__()

def OpenRTM_aist.ExtTrigExecutionContext.ExtTrigExecutionContext.__init__ (   self)

コンストラクタ

コンストラクタ

引数
self

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

メソッド詳解

◆ activate_component()

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

RTコンポーネントをアクティブ化する RTC::ReturnCode_t ExtTrigExecutionContext:: activate_component(RTC::LightweightRTObject_ptr comp) throw (CORBA::SystemException)

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

◆ add_component()

def OpenRTM_aist.ExtTrigExecutionContext.ExtTrigExecutionContext.add_component (   self,
  comp 
)

RTコンポーネントを追加する RTC::ReturnCode_t ExtTrigExecutionContext::add_component(RTC::LightweightRTObject_ptr comp) throw (CORBA::SystemException)

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

◆ close()

def OpenRTM_aist.ExtTrigExecutionContext.ExtTrigExecutionContext.close (   self,
  flags 
)

ExecutionContext 用のスレッド実行関数 int ExtTrigExecutionContext::close(unsigned long flags)

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

◆ deactivate_component()

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

RTコンポーネントを非アクティブ化する RTC::ReturnCode_t ExtTrigExecutionContext:: deactivate_component(RTC::LightweightRTObject_ptr comp) throw (CORBA::SystemException)

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

◆ exit()

def OpenRTM_aist.ExtTrigExecutionContext.ExtTrigExecutionContext.exit (   self,
  Task = OpenRTM_aist.Task 
)

ExecutionContextの終了処理

virtual void exit();

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

◆ get_component_state()

def OpenRTM_aist.ExtTrigExecutionContext.ExtTrigExecutionContext.get_component_state (   self,
  comp 
)

RTコンポーネントの状態を取得する RTC::LifeCycleState ExtTrigExecutionContext:: get_component_state(RTC::LightweightRTObject_ptr comp) throw (CORBA::SystemException)

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

◆ get_kind()

def OpenRTM_aist.ExtTrigExecutionContext.ExtTrigExecutionContext.get_kind (   self)

ExecutionKind を取得する RTC::ExecutionKind ExtTrigExecutionContext::get_kind() throw (CORBA::SystemException)

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

◆ get_profile()

def OpenRTM_aist.ExtTrigExecutionContext.ExtTrigExecutionContext.get_profile (   self)

ExecutionContextProfile を取得する RTC::ExecutionContextProfile* ExtTrigExecutionContext::get_profile() throw (CORBA::SystemException)

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

◆ get_rate()

def OpenRTM_aist.ExtTrigExecutionContext.ExtTrigExecutionContext.get_rate (   self)

ExecutionContext の実行周期(Hz)を取得する CORBA::Double ExtTrigExecutionContext::get_rate() throw (CORBA::SystemException)

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

◆ is_running()

def OpenRTM_aist.ExtTrigExecutionContext.ExtTrigExecutionContext.is_running (   self)

ExecutionContext 実行状態確認関数 CORBA::Boolean ExtTrigExecutionContext::is_running() throw (CORBA::SystemException)

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

◆ open()

def OpenRTM_aist.ExtTrigExecutionContext.ExtTrigExecutionContext.open (   self,
args 
)

Start activity

ACE_Task class method over ride.

ExecutionContext用アクティビティスレッドを生成する int ExtTrigExecutionContext::open(void *args)

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

◆ remove_component()

def OpenRTM_aist.ExtTrigExecutionContext.ExtTrigExecutionContext.remove_component (   self,
  comp 
)

コンポーネントをコンポーネントリストから削除する RTC::ReturnCode_t ExtTrigExecutionContext:: remove_component(RTC::LightweightRTObject_ptr comp) throw (CORBA::SystemException)

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

◆ reset_component()

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

RTコンポーネントをリセットする RTC::ReturnCode_t ExtTrigExecutionContext:: reset_component(RTC::LightweightRTObject_ptr comp) throw (CORBA::SystemException)

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

◆ set_rate()

def OpenRTM_aist.ExtTrigExecutionContext.ExtTrigExecutionContext.set_rate (   self,
  rate 
)

ExecutionContext の実行周期(Hz)を設定する RTC::ReturnCode_t ExtTrigExecutionContext::set_rate(CORBA::Double rate) throw (CORBA::SystemException)

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

◆ start()

def OpenRTM_aist.ExtTrigExecutionContext.ExtTrigExecutionContext.start (   self)

ExecutionContext の実行を開始 RTC::ReturnCode_t ExtTrigExecutionContext::start() throw (CORBA::SystemException)

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

◆ stop()

def OpenRTM_aist.ExtTrigExecutionContext.ExtTrigExecutionContext.stop (   self)

ExecutionContext の実行を停止 RTC::ReturnCode_t ExtTrigExecutionContext::stop() throw (CORBA::SystemException)

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

◆ svc()

def OpenRTM_aist.ExtTrigExecutionContext.ExtTrigExecutionContext.svc (   self)

各 Component の処理を呼び出す。 int ExtTrigExecutionContext::svc(void)

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

◆ tick()

def OpenRTM_aist.ExtTrigExecutionContext.ExtTrigExecutionContext.tick (   self)

処理を1ステップ進める void ExtTrigExecutionContext::tick() throw (CORBA::SystemException)


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