OpenRTM
1.0.0
|
ステップ実行が可能な ExecutionContext クラス [詳細]
#include <ExtTrigExecutionContext.h>
構成 | |
struct | Worker |
Public メソッド | |
ExtTrigExecutionContext () | |
virtual | ~ExtTrigExecutionContext (void) |
virtual void | tick () throw (CORBA::SystemException) |
処理を1ステップ進める | |
virtual int | svc (void) |
各 Component の処理を呼び出す。 | |
![]() | |
PeriodicExecutionContext () | |
デフォルトコンストラクタ | |
PeriodicExecutionContext (OpenRTM::DataFlowComponent_ptr owner, double rate=1000.0) | |
コンストラクタ | |
virtual | ~PeriodicExecutionContext (void) |
virtual ExecutionContextService_ptr | getObjRef (void) |
CORBA オブジェクト参照の取得 | |
virtual int | open (void *args) |
ExecutionContext用アクティビティスレッドを生成する | |
virtual int | close (unsigned long flags) |
ExecutionContext 用のスレッド実行関数 | |
virtual CORBA::Boolean | is_running (void) throw (CORBA::SystemException) |
ExecutionContext 実行状態確認関数 | |
virtual ReturnCode_t | start (void) throw (CORBA::SystemException) |
ExecutionContext の実行を開始 | |
virtual ReturnCode_t | stop (void) throw (CORBA::SystemException) |
ExecutionContext の実行を停止 | |
virtual CORBA::Double | get_rate (void) throw (CORBA::SystemException) |
ExecutionContext の実行周期(Hz)を取得する | |
virtual ReturnCode_t | set_rate (CORBA::Double rate) throw (CORBA::SystemException) |
ExecutionContext の実行周期(Hz)を設定する | |
virtual ReturnCode_t | activate_component (LightweightRTObject_ptr comp) throw (CORBA::SystemException) |
RTコンポーネントをアクティブ化する | |
virtual ReturnCode_t | deactivate_component (LightweightRTObject_ptr comp) throw (CORBA::SystemException) |
RTコンポーネントを非アクティブ化する | |
virtual ReturnCode_t | reset_component (LightweightRTObject_ptr comp) throw (CORBA::SystemException) |
RTコンポーネントをリセットする | |
virtual LifeCycleState | get_component_state (LightweightRTObject_ptr comp) throw (CORBA::SystemException) |
RTコンポーネントの状態を取得する | |
virtual ExecutionKind | get_kind (void) throw (CORBA::SystemException) |
ExecutionKind を取得する | |
virtual ReturnCode_t | add_component (LightweightRTObject_ptr comp) throw (CORBA::SystemException) |
RTコンポーネントを追加する | |
virtual RTC::ReturnCode_t | bindComponent (RTObject_impl *rtc) |
コンポーネントをバインドする。 | |
virtual ReturnCode_t | remove_component (LightweightRTObject_ptr comp) throw (CORBA::SystemException) |
RTコンポーネントを参加者リストから削除する | |
virtual ExecutionContextProfile * | get_profile (void) throw (CORBA::SystemException) |
ExecutionContextProfile を取得する | |
![]() | |
virtual | ~ExecutionContextBase (void) |
![]() | |
Task () | |
virtual | ~Task () |
virtual void | activate () |
virtual int | wait (void) |
virtual int | suspend (void) |
virtual int | resume (void) |
virtual void | reset () |
virtual void | finalize () |
Additional Inherited Members | |
![]() | |
static void * | svc_run (void *args=0) |
スレッド実行を開始する | |
![]() | |
typedef LifeCycleState | ExecContextState |
typedef RTC_Utils::StateHolder < ExecContextState > | ECStates |
typedef std::vector< Comp > ::iterator | CompItr |
![]() | |
std::vector< Comp > | m_comps |
コンポーネントの参加者リスト | |
Logger | rtclog |
ロガーストリーム | |
bool | m_running |
ExecutionContext の実行状態 true: running, false: stopped. | |
bool | m_svc |
ExecutionContext のスレッド実行フラグ | |
Worker | m_worker |
svn用の状態変数 | |
ExecutionContextProfile | m_profile |
ExecutionContextProfile. | |
coil::Mutex | m_profileMutex |
coil::TimeValue | m_period |
ExecutionContext の実行周期 | |
ExecutionContextService_var | m_ref |
ExecutionContextService オブジェクトへの参照 | |
bool | m_nowait |
ExecutionContext 即時実行(wait無し実行)フラグ |
ステップ実行が可能な ExecutionContext クラス
1周期毎の実行が可能なPeriodic Sampled Data Processing(周期実行用) ExecutionContextクラス。 外部からのメソッド呼びだしによって時間が1周期づつ進む。
RTC::ExtTrigExecutionContext::ExtTrigExecutionContext | ( | ) |
コンストラクタ
|
virtual |
デストラクタ
|
virtual |
各 Component の処理を呼び出す。
ExecutionContext に attach されている各 Component の処理を呼び出す。 全 Component の処理を呼び出した後、次の呼出が発生するまで休止する。
RTC::PeriodicExecutionContextを再定義しています。
|
virtual |