OpenRTM-aist
1.2.1
|
SimulatorExecutionContext クラス [詳解]
#include <SimulatorExecutionContext.h>
公開メンバ関数 | |
SimulatorExecutionContext () | |
コンストラクタ [詳解] | |
virtual | ~SimulatorExecutionContext (void) |
デストラクタ [詳解] | |
virtual RTC::ReturnCode_t | activate_component (RTC::LightweightRTObject_ptr comp) throw (CORBA::SystemException) |
RTコンポーネントをアクティブ化する [詳解] | |
virtual RTC::ReturnCode_t | deactivate_component (RTC::LightweightRTObject_ptr comp) throw (CORBA::SystemException) |
RTコンポーネントを非アクティブ化する [詳解] | |
virtual RTC::ReturnCode_t | reset_component (RTC::LightweightRTObject_ptr comp) throw (CORBA::SystemException) |
RTコンポーネントをリセットする [詳解] | |
![]() | |
OpenHRPExecutionContext () | |
コンストラクタ [詳解] | |
virtual | ~OpenHRPExecutionContext (void) |
デストラクタ [詳解] | |
virtual void | tick () throw (CORBA::SystemException) |
処理を1ステップ進める [詳解] | |
virtual CORBA::Boolean | is_running (void) throw (CORBA::SystemException) |
ExecutionContext 実行状態確認関数 [詳解] | |
virtual RTC::ReturnCode_t | start (void) throw (CORBA::SystemException) |
ExecutionContext の実行を開始 [詳解] | |
virtual RTC::ReturnCode_t | stop (void) throw (CORBA::SystemException) |
ExecutionContext の実行を停止 [詳解] | |
virtual CORBA::Double | get_rate (void) throw (CORBA::SystemException) |
ExecutionContext の実行周期(Hz)を取得する [詳解] | |
virtual RTC::ReturnCode_t | set_rate (CORBA::Double rate) throw (CORBA::SystemException) |
ExecutionContext の実行周期(Hz)を設定する [詳解] | |
virtual RTC::LifeCycleState | get_component_state (RTC::LightweightRTObject_ptr comp) throw (CORBA::SystemException) |
RTコンポーネントの状態を取得する [詳解] | |
virtual RTC::ExecutionKind | get_kind (void) throw (CORBA::SystemException) |
ExecutionKind を取得する [詳解] | |
virtual RTC::ReturnCode_t | add_component (RTC::LightweightRTObject_ptr comp) throw (CORBA::SystemException) |
RTコンポーネントを追加する [詳解] | |
virtual RTC::ReturnCode_t | remove_component (RTC::LightweightRTObject_ptr comp) throw (CORBA::SystemException) |
RTコンポーネントを参加者リストから削除する [詳解] | |
virtual RTC::ExecutionContextProfile * | get_profile (void) throw (CORBA::SystemException) |
ExecutionContextProfile を取得する [詳解] | |
![]() | |
ExecutionContextBase (const char *name) | |
仮想デストラクタ [詳解] | |
virtual | ~ExecutionContextBase (void) |
仮想デストラクタ [詳解] | |
virtual void | init (coil::Properties &props) |
ExecutionContextの初期化を行う [詳解] | |
virtual RTC::ReturnCode_t | bindComponent (RTC::RTObject_impl *rtc) |
コンポーネントをバインドする。 [詳解] | |
CORBA::Boolean | isRunning () |
ExecutionContext 実行状態確認関数 [詳解] | |
RTC::ReturnCode_t | start (void) |
ExecutionContext の実行を開始 [詳解] | |
double | getRate (void) const |
ExecutionContext の実行周期(Hz)を取得する [詳解] | |
coil::TimeValue | getPeriod (void) const |
RTC::ReturnCode_t | setRate (double rate) |
ExecutionContext の実行周期(Hz)を設定する [詳解] | |
RTC::ReturnCode_t | addComponent (RTC::LightweightRTObject_ptr comp) |
RTコンポーネントを追加する [詳解] | |
RTC::ReturnCode_t | removeComponent (RTC::LightweightRTObject_ptr comp) |
RTコンポーネントを参加者リストから削除する [詳解] | |
RTC::ReturnCode_t | activateComponent (RTC::LightweightRTObject_ptr comp) |
RTコンポーネントをアクティブ化する [詳解] | |
RTC::ReturnCode_t | deactivateComponent (RTC::LightweightRTObject_ptr comp) |
RTコンポーネントを非アクティブ化する [詳解] | |
RTC::ReturnCode_t | resetComponent (RTC::LightweightRTObject_ptr comp) |
RTコンポーネントをリセットする [詳解] | |
RTC::LifeCycleState | getComponentState (RTC::LightweightRTObject_ptr comp) |
RTコンポーネントの状態を取得する [詳解] | |
const char * | getStateString (RTC::LifeCycleState state) |
RTC::ExecutionKind | getKind (void) const |
ExecutionKind を取得する [詳解] | |
RTC::ExecutionContextProfile * | getProfile (void) |
Profileを取得する [詳解] | |
void | setObjRef (RTC::ExecutionContextService_ptr ec_ptr) |
CORBA オブジェクト参照の取得 [詳解] | |
RTC::ExecutionContextService_ptr | getObjRef (void) const |
CORBA オブジェクト参照の取得 [詳解] | |
const char * | getKindString (RTC::ExecutionKind kind) const |
ExecutionKind を文字列化する [詳解] | |
RTC::ReturnCode_t | setKind (RTC::ExecutionKind kind) |
ExecutionKind を設定する [詳解] | |
RTC::ReturnCode_t | setOwner (RTC::LightweightRTObject_ptr comp) |
Ownerコンポーネントをセットする。 [詳解] | |
const RTC::RTObject_ptr | getOwner () const |
Ownerコンポーネントの参照を取得する [詳解] | |
const RTC::RTCList & | getComponentList () const |
RTコンポーネントの参加者リストを取得する [詳解] | |
void | setProperties (coil::Properties &props) |
Propertiesをセットする [詳解] | |
const coil::Properties | getProperties () const |
Propertiesを取得する [詳解] | |
const RTC::ExecutionContextProfile & | getProfile (void) const |
Profileを取得する [詳解] | |
bool | isAllCurrentState (RTC::LifeCycleState state) |
bool | isAllNextState (RTC::LifeCycleState state) |
bool | isOneOfCurrentState (RTC::LifeCycleState state) |
bool | isOneOfNextState (RTC::LifeCycleState state) |
void | invokeWorker () |
void | invokeWorkerPreDo () |
void | invokeWorkerDo () |
void | invokeWorkerPostDo () |
その他の継承メンバ | |
![]() | |
virtual RTC::ReturnCode_t | onAddedComponent (RTC::LightweightRTObject_ptr rtobj) |
onAddedComponent() template function [詳解] | |
virtual RTC::ReturnCode_t | onRemovedComponent (RTC::LightweightRTObject_ptr rtobj) |
onRemovedComponent() template function [詳解] | |
![]() | |
virtual bool | onIsRunning (bool running) |
virtual RTC::ReturnCode_t | onStarting () |
virtual RTC::ReturnCode_t | onStarted () |
virtual RTC::ReturnCode_t | onStopping () |
virtual RTC::ReturnCode_t | onStopped () |
virtual double | onGetRate (double rate) const |
virtual double | onSettingRate (double rate) |
virtual RTC::ReturnCode_t | onSetRate (double rate) |
virtual RTC::ReturnCode_t | onAddingComponent (RTC::LightweightRTObject_ptr rtobj) |
virtual RTC::ReturnCode_t | onRemovingComponent (RTC::LightweightRTObject_ptr rtobj) |
virtual RTC::ReturnCode_t | onActivating (RTC::LightweightRTObject_ptr comp) |
virtual RTC::ReturnCode_t | onWaitingActivated (RTC_impl::RTObjectStateMachine *comp, long int count) |
virtual RTC::ReturnCode_t | onActivated (RTC_impl::RTObjectStateMachine *comp, long int count) |
virtual RTC::ReturnCode_t | onDeactivating (RTC::LightweightRTObject_ptr comp) |
virtual RTC::ReturnCode_t | onWaitingDeactivated (RTC_impl::RTObjectStateMachine *comp, long int count) |
virtual RTC::ReturnCode_t | onDeactivated (RTC_impl::RTObjectStateMachine *comp, long int count) |
virtual RTC::ReturnCode_t | onResetting (RTC::LightweightRTObject_ptr comp) |
virtual RTC::ReturnCode_t | onWaitingReset (RTC_impl::RTObjectStateMachine *comp, long int count) |
virtual RTC::ReturnCode_t | onReset (RTC_impl::RTObjectStateMachine *comp, long int count) |
virtual RTC::LifeCycleState | onGetComponentState (RTC::LifeCycleState state) |
virtual RTC::ExecutionKind | onGetKind (RTC::ExecutionKind kind) const |
virtual RTC::ExecutionContextProfile * | onGetProfile (RTC::ExecutionContextProfile *&profile) |
![]() | |
coil::Mutex | m_tickmutex |
Mutex to gurad tick() reenter. [詳解] | |
![]() | |
RTC::Logger | rtclog |
RTC_impl::ExecutionContextWorker | m_worker |
RTC_impl::ExecutionContextProfile | m_profile |
coil::TimeValue | m_activationTimeout |
coil::TimeValue | m_deactivationTimeout |
coil::TimeValue | m_resetTimeout |
bool | m_syncActivation |
bool | m_syncDeactivation |
bool | m_syncReset |
Choreonoidのための実行コンテキスト。外部からの tick() 呼び出しにより、1周期 分だけ処理を進めることができる。
RTC::SimulatorExecutionContext::SimulatorExecutionContext | ( | ) |
コンストラクタ
|
virtual |
デストラクタ
|
virtual |
RTコンポーネントをアクティブ化する
内部でinvokeWorkerPreDo関数を呼ぶため、即座に 状態を遷移させることができる。 現在tick実行中の場合は実行終了まで待つ
comp | アクティブ化対象RTコンポーネント |
RTC::OpenHRPExecutionContextを再実装しています。
|
virtual |
RTコンポーネントを非アクティブ化する
内部でinvokeWorkerPreDo関数を呼ぶため、即座に 状態を遷移させることができる。 現在tick実行中の場合は実行終了まで待つ
comp | 非アクティブ化対象RTコンポーネント |
RTC::OpenHRPExecutionContextを再実装しています。
|
virtual |
RTコンポーネントをリセットする
内部でinvokeWorkerPreDo関数を呼ぶため、即座に 状態を遷移させることができる。 現在tick実行中の場合は実行終了まで待つ
comp | リセット対象RTコンポーネント |
RTC::OpenHRPExecutionContextを再実装しています。