OpenRTM-aist  1.1.2
公開メンバ関数 | 全メンバ一覧
RTC::OpenHRPExecutionContext クラス

OpenHRPExecutionContext クラス [詳解]

#include <OpenHRPExecutionContext.h>

RTC::OpenHRPExecutionContext の継承関係図
RTC::PeriodicExecutionContext RTC::ExecutionContextBase coil::Task

公開メンバ関数

 OpenHRPExecutionContext ()
 コンストラクタ [詳解]
 
virtual ~OpenHRPExecutionContext (void)
 デストラクタ [詳解]
 
virtual void tick (void) throw (CORBA::SystemException)
 ExecutionContextの処理を進める [詳解]
 
virtual int svc (void)
 ExecutionContext のスレッド実行フラグ [詳解]
 
- 基底クラス RTC::PeriodicExecutionContext に属する継承公開メンバ関数
 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 を取得する [詳解]
 
- 基底クラス RTC::ExecutionContextBase に属する継承公開メンバ関数
virtual ~ExecutionContextBase (void)
 仮想デストラクタ [詳解]
 
- 基底クラス coil::Task に属する継承公開メンバ関数
 Task ()
 コンストラクタ [詳解]
 
virtual ~Task ()
 デストラクタ [詳解]
 
virtual void activate ()
 スレッドを生成する [詳解]
 
virtual int wait (void)
 スレッド終了を待つ [詳解]
 
virtual int suspend (void)
 タスク実行を中断する [詳解]
 
virtual int resume (void)
 中断されているタスクを再開する [詳解]
 
virtual void reset ()
 タスク数リセット [詳解]
 
virtual void finalize ()
 タスク実行を終了する [詳解]
 

その他の継承メンバ

- 基底クラス coil::Task に属する継承静的公開メンバ関数
static void * svc_run (void *args=0)
 スレッド実行を開始する [詳解]
 
- 基底クラス RTC::PeriodicExecutionContext に属する継承限定公開型
typedef LifeCycleState ExecContextState
 
typedef RTC_Utils::StateHolder
< ExecContextState
ECStates
 
typedef std::vector< Comp >
::iterator 
CompItr
 
- 基底クラス RTC::PeriodicExecutionContext に属する継承限定公開変数類
std::vector< Compm_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無し実行)フラグ [詳解]
 

詳解

OpenHRPExecutionContext クラス

OpenHRP3のための実行コンテキスト。外部からの tick() 呼び出しにより、1周期 分だけ処理を進めることができる。

構築子と解体子

RTC::OpenHRPExecutionContext::OpenHRPExecutionContext ( )

コンストラクタ

virtual RTC::OpenHRPExecutionContext::~OpenHRPExecutionContext ( void  )
virtual

デストラクタ

関数詳解

virtual int RTC::OpenHRPExecutionContext::svc ( void  )
virtual

ExecutionContext のスレッド実行フラグ

RTC::PeriodicExecutionContextを再実装しています。

virtual void RTC::OpenHRPExecutionContext::tick ( void  )
throw (CORBA::SystemException
)
virtual

ExecutionContextの処理を進める

ExecutionContextの処理を1周期分進める。

RTC::ExecutionContextBaseを再実装しています。