OpenRTM-aist-Python 2.0.2
OpenRTM_aist.ExtTrigExecutionContext.ExtTrigExecutionContext クラス

[詳解]

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

クラス

class  Worker
 

公開メンバ関数

 __init__ (self)
 
 exit (self, Task=OpenRTM_aist.Task)
 
 open (self, *args)
 Start activity
 
 svc (self)
 
 close (self, flags)
 
 tick (self)
 
 is_running (self)
 
 start (self)
 
 stop (self)
 
 get_rate (self)
 
 set_rate (self, rate)
 
 add_component (self, comp)
 
 remove_component (self, comp)
 
 activate_component (self, comp)
 
 deactivate_component (self, comp)
 
 reset_component (self, comp)
 
 get_component_state (self, comp)
 
 get_kind (self)
 
 get_profile (self)
 
 onStarted (self)
 onStarted() template function RTC.ReturnCode_t ExtTrigExecutionContext.onStarted()
 
 onWaitingActivated (self, comp, count)
 onWaitingActivated() template function RTC.ReturnCode_t ExtTrigExecutionContext:: onWaitingActivated(RTC_impl.RTObjectStateMachine* comp, long int count)
 
 onWaitingDeactivated (self, comp, count)
 onWaitingDeactivated() template function RTC.ReturnCode_t ExtTrigExecutionContext:: onWaitingDeactivated(RTC_impl.RTObjectStateMachine* comp, long int count)
 
 onWaitingReset (self, comp, count)
 onWaitingReset() template function RTC.ReturnCode_t ExtTrigExecutionContext:: onWaitingReset(RTC_impl.RTObjectStateMachine* comp, long int count)
 
- 基底クラス OpenRTM_aist.ExecutionContextBase.ExecutionContextBase に属する継承公開メンバ関数
 init (self, props)
 
 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)
 

詳解

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

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

から
0.4.0

構築子と解体子

◆ __init__()

OpenRTM_aist.ExtTrigExecutionContext.ExtTrigExecutionContext.__init__ ( self)

コンストラクタ

コンストラクタ

引数
self

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

メソッド詳解

◆ activate_component()

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()

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()

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

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

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

◆ deactivate_component()

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()

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

ExecutionContextの終了処理

virtual void exit();

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

◆ get_component_state()

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()

OpenRTM_aist.ExtTrigExecutionContext.ExtTrigExecutionContext.get_kind ( self)

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

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

◆ get_profile()

OpenRTM_aist.ExtTrigExecutionContext.ExtTrigExecutionContext.get_profile ( self)

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

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

◆ get_rate()

OpenRTM_aist.ExtTrigExecutionContext.ExtTrigExecutionContext.get_rate ( self)

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

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

◆ is_running()

OpenRTM_aist.ExtTrigExecutionContext.ExtTrigExecutionContext.is_running ( self)

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

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

◆ open()

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()

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()

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()

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()

OpenRTM_aist.ExtTrigExecutionContext.ExtTrigExecutionContext.start ( self)

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

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

◆ stop()

OpenRTM_aist.ExtTrigExecutionContext.ExtTrigExecutionContext.stop ( self)

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

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

◆ svc()

OpenRTM_aist.ExtTrigExecutionContext.ExtTrigExecutionContext.svc ( self)

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

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

◆ tick()

OpenRTM_aist.ExtTrigExecutionContext.ExtTrigExecutionContext.tick ( self)

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


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