|
OpenRTM-aist 2.0.2
|
VxWorksRTExecutionContext クラス [詳解]
#include <VxWorksRTExecutionContext.h>


公開メンバ関数 | |
| VxWorksRTExecutionContext () | |
| デフォルトコンストラクタ | |
| virtual | ~VxWorksRTExecutionContext (void) |
| デストラクタ | |
| virtual void | init (coil::Properties &props) |
| ExecutionContextの初期化を行う | |
| virtual int | svc (void) |
| ExecutionContext 用のスレッド実行関数 | |
基底クラス RTC_exp::PeriodicExecutionContext に属する継承公開メンバ関数 | |
| PeriodicExecutionContext () | |
| デフォルトコンストラクタ | |
| ~PeriodicExecutionContext () override | |
| デストラクタ | |
| int | open (void *args) override |
| ExecutionContext用アクティビティスレッドを生成する | |
| int | svc () override |
| ExecutionContext 用のスレッド実行関数 | |
| int | close (unsigned long flags) override |
| ExecutionContext 用のスレッド実行関数 | |
| CORBA::Boolean | is_running () override |
| ExecutionContext 実行状態確認関数 | |
| RTC::ReturnCode_t | start () override |
| ExecutionContext の実行を開始 | |
| RTC::ReturnCode_t | stop () override |
| ExecutionContext の実行を停止 | |
| CORBA::Double | get_rate () override |
| ExecutionContext の実行周期(Hz)を取得する | |
| RTC::ReturnCode_t | set_rate (CORBA::Double rate) override |
| ExecutionContext の実行周期(Hz)を設定する | |
| RTC::ReturnCode_t | activate_component (RTC::LightweightRTObject_ptr comp) override |
| RTコンポーネントをアクティブ化する | |
| RTC::ReturnCode_t | deactivate_component (RTC::LightweightRTObject_ptr comp) override |
| RTコンポーネントを非アクティブ化する | |
| RTC::ReturnCode_t | reset_component (RTC::LightweightRTObject_ptr comp) override |
| RTコンポーネントをリセットする | |
| RTC::LifeCycleState | get_component_state (RTC::LightweightRTObject_ptr comp) override |
| RTコンポーネントの状態を取得する | |
| RTC::ExecutionKind | get_kind () override |
| ExecutionKind を取得する | |
| RTC::ReturnCode_t | add_component (RTC::LightweightRTObject_ptr comp) override |
| RTコンポーネントを追加する | |
| RTC::ReturnCode_t | remove_component (RTC::LightweightRTObject_ptr comp) override |
| RTコンポーネントを参加者リストから削除する | |
| RTC::ExecutionContextProfile * | get_profile () override |
| ExecutionContextProfile を取得する | |
基底クラス RTC::ExecutionContextBase に属する継承公開メンバ関数 | |
| ExecutionContextBase (const char *name) | |
| コンストラクタ | |
| virtual | ~ExecutionContextBase () |
| 仮想デストラクタ | |
| virtual RTC::ReturnCode_t | bindComponent (RTC::RTObject_impl *rtc) |
| コンポーネントをバインドする。 | |
| CORBA::Boolean | isRunning () |
| ExecutionContext 実行状態確認関数 | |
| RTC::ReturnCode_t | start () |
| ExecutionContext の実行を開始 | |
| double | getRate () const |
| ExecutionContext の実行周期(Hz)を取得する | |
| std::chrono::nanoseconds | getPeriod () 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コンポーネントの状態を取得する | |
| RTC::ExecutionKind | getKind () const |
| ExecutionKind を取得する | |
| RTC::ExecutionContextProfile * | getProfile () |
| Profileを取得する | |
| void | setObjRef (RTC::ExecutionContextService_ptr ec_ptr) |
| CORBA オブジェクト参照の取得 | |
| RTC::ExecutionContextService_ptr | getObjRef () const |
| CORBA オブジェクト参照の取得 | |
| RTC::ReturnCode_t | setKind (RTC::ExecutionKind kind) |
| ExecutionKind を設定する | |
| RTC::ReturnCode_t | setOwner (RTC::LightweightRTObject_ptr comp) |
| Ownerコンポーネントをセットする。 | |
| RTC::RTObject_ptr | getOwner () const |
| Ownerコンポーネントの参照を取得する | |
| const RTC::RTCList & | getComponentList () const |
| RTコンポーネントの参加者リストを取得する | |
| void | setProperties (coil::Properties &props) |
| Propertiesをセットする | |
| coil::Properties | getProperties () const |
| Propertiesを取得する | |
| const RTC::ExecutionContextProfile & | getProfile () 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 () |
その他の継承メンバ | |
基底クラス RTC::ExecutionContextBase に属する継承静的公開メンバ関数 | |
| static const char * | getStateString (RTC::LifeCycleState state) |
| static const char * | getKindString (RTC::ExecutionKind kind) |
| ExecutionKind を文字列化する | |
基底クラス RTC_exp::PeriodicExecutionContext に属する継承限定公開メンバ関数 | |
| template<class T > | |
| void | getProperty (coil::Properties &prop, const char *key, T &value) |
| RTC::ReturnCode_t | onStarted () override |
| onStarted() template function | |
| RTC::ReturnCode_t | onStopping () override |
| onStopping() template function | |
| RTC::ReturnCode_t | onAddedComponent (RTC::LightweightRTObject_ptr rtobj) override |
| onAddedComponent() template function | |
| RTC::ReturnCode_t | onRemovedComponent (RTC::LightweightRTObject_ptr rtobj) override |
| onRemovedComponent() template function | |
| RTC::ReturnCode_t | onWaitingActivated (RTC_impl::RTObjectStateMachine *comp, long int count) override |
| onWaitingActivated() template function | |
| RTC::ReturnCode_t | onActivated (RTC_impl::RTObjectStateMachine *comp, long int count) override |
| onActivated() template function | |
| RTC::ReturnCode_t | onWaitingDeactivated (RTC_impl::RTObjectStateMachine *comp, long int count) override |
| onWaitingDeactivated() template function | |
| RTC::ReturnCode_t | onDeactivated (RTC_impl::RTObjectStateMachine *comp, long int count) override |
| onDeactivated() template function | |
| RTC::ReturnCode_t | onWaitingReset (RTC_impl::RTObjectStateMachine *comp, long int count) override |
| onWaitingReset() template function | |
| RTC::ReturnCode_t | onReset (RTC_impl::RTObjectStateMachine *comp, long int count) override |
| onReset() template function | |
| virtual void | setCpuAffinity (coil::Properties &props) |
| setting CPU affinity from given properties | |
| bool | threadRunning () |
基底クラス RTC::ExecutionContextBase に属する継承限定公開メンバ関数 | |
| virtual bool | onIsRunning (bool running) |
| virtual RTC::ReturnCode_t | onStarting () |
| virtual RTC::ReturnCode_t | onStopped () |
| virtual double | onGetRate (double rate) const |
| virtual double | onSettingRate (double rate) |
| virtual RTC::ReturnCode_t | onSetRate (double) |
| virtual RTC::ReturnCode_t | onAddingComponent (RTC::LightweightRTObject_ptr) |
| virtual RTC::ReturnCode_t | onRemovingComponent (RTC::LightweightRTObject_ptr) |
| virtual RTC::ReturnCode_t | onActivating (RTC::LightweightRTObject_ptr) |
| virtual RTC::ReturnCode_t | onDeactivating (RTC::LightweightRTObject_ptr) |
| virtual RTC::ReturnCode_t | onResetting (RTC::LightweightRTObject_ptr) |
| virtual RTC::LifeCycleState | onGetComponentState (RTC::LifeCycleState state) |
| virtual RTC::ExecutionKind | onGetKind (RTC::ExecutionKind kind) const |
| virtual RTC::ExecutionContextProfile * | onGetProfile (RTC::ExecutionContextProfile *&profile) |
基底クラス RTC_exp::PeriodicExecutionContext に属する継承限定公開変数類 | |
| RTC::Logger | rtclog {"periodic_ec"} |
| ロガーストリーム | |
| bool | m_svc {false} |
| ExecutionContext のスレッド実行フラグ | |
| std::mutex | m_svcmutex |
| WorkerThreadCtrl | m_workerthread |
| svn用の状態変数 | |
| bool | m_nowait {false} |
| ExecutionContext 即時実行(wait無し実行)フラグ | |
| coil::CpuMask | m_cpu |
| CPU affinity mask list | |
基底クラス RTC::ExecutionContextBase に属する継承限定公開変数類 | |
| RTC::Logger | rtclog |
| RTC_impl::ExecutionContextWorker | m_worker |
| RTC_impl::ExecutionContextProfile | m_profile |
| std::chrono::nanoseconds | m_activationTimeout |
| std::chrono::nanoseconds | m_deactivationTimeout |
| std::chrono::nanoseconds | m_resetTimeout |
| bool | m_syncActivation |
| bool | m_syncDeactivation |
| bool | m_syncReset |
| RTC_exp::VxWorksRTExecutionContext::VxWorksRTExecutionContext | ( | ) |
デフォルトコンストラクタ
デフォルトコンストラクタ プロファイルに以下の項目を設定する。
|
virtual |
デストラクタ
デストラクタ
|
virtual |
|
virtual |
ExecutionContext 用のスレッド実行関数
ExecutionContext 用のスレッド実行関数。登録されたコンポーネント の処理を呼び出す。