OpenRTM-aist 2.1.0
読み取り中…
検索中…
一致する文字列を見つけられません
クラス | 公開メンバ関数 | 限定公開メンバ関数 | 全メンバ一覧
RTC::VxWorksInterruptExecutionContext クラス

ハードウェア割り込み、ソフトウェア割り込みで実行する ExecutionContext クラス [詳解]

#include <VxWorksInterruptExecutionContext.h>

RTC::VxWorksInterruptExecutionContext の継承関係図
Inheritance graph
[凡例]
RTC::VxWorksInterruptExecutionContext 連携図
Collaboration graph
[凡例]

公開メンバ関数

 VxWorksInterruptExecutionContext ()
 コンストラクタ
 
virtual ~VxWorksInterruptExecutionContext (void)
 デストラクタ
 
virtual void init (coil::Properties &props)
 ExecutionContextの初期化を行う
 
virtual int open (void *args)
 ExecutionContext用アクティビティスレッドを生成する
 
virtual int close (unsigned long flags)
 ExecutionContext 用のスレッド実行関数
 
virtual int svc (void)
 各 Component の処理を呼び出す。
 
virtual void tick ()
 処理を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::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コンポーネントをリセットする
 
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 を取得する
 
- 基底クラス 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 ()
 

限定公開メンバ関数

template<class T >
void getProperty (coil::Properties &prop, const char *key, T &value)
 
virtual RTC::ReturnCode_t onStarted ()
 onStarted() template function
 
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 RTC::ReturnCode_t onWaitingActivated (RTC_impl::RTObjectStateMachine *comp, long int count)
 onWaitingActivated() template function
 
virtual RTC::ReturnCode_t onWaitingDeactivated (RTC_impl::RTObjectStateMachine *comp, long int count)
 onWaitingDeactivated() template function
 
virtual RTC::ReturnCode_t onWaitingReset (RTC_impl::RTObjectStateMachine *comp, long int count)
 onWaitingReset() template function
 
- 基底クラス RTC::ExecutionContextBase に属する継承限定公開メンバ関数
virtual bool onIsRunning (bool running)
 
virtual RTC::ReturnCode_t onStarting ()
 
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)
 
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 onActivated (RTC_impl::RTObjectStateMachine *, long int)
 
virtual RTC::ReturnCode_t onDeactivating (RTC::LightweightRTObject_ptr)
 
virtual RTC::ReturnCode_t onDeactivated (RTC_impl::RTObjectStateMachine *, long int)
 
virtual RTC::ReturnCode_t onResetting (RTC::LightweightRTObject_ptr)
 
virtual RTC::ReturnCode_t onReset (RTC_impl::RTObjectStateMachine *, long int)
 
virtual RTC::LifeCycleState onGetComponentState (RTC::LifeCycleState state)
 
virtual RTC::ExecutionKind onGetKind (RTC::ExecutionKind kind) const
 
virtual RTC::ExecutionContextProfile * onGetProfile (RTC::ExecutionContextProfile *&profile)
 

その他の継承メンバ

- 基底クラス RTC::ExecutionContextBase に属する継承静的公開メンバ関数
static const char * getStateString (RTC::LifeCycleState state)
 
static const char * getKindString (RTC::ExecutionKind kind)
 ExecutionKind を文字列化する
 
- 基底クラス 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
 

詳解

ハードウェア割り込み、ソフトウェア割り込みで実行する ExecutionContext クラス

ExecutionContextクラス。 割り込みによるメソッド呼びだしによって時間が1周期づつ進む。

から
1.2.0

構築子と解体子

◆ VxWorksInterruptExecutionContext()

RTC::VxWorksInterruptExecutionContext::VxWorksInterruptExecutionContext ( )

コンストラクタ

◆ ~VxWorksInterruptExecutionContext()

virtual RTC::VxWorksInterruptExecutionContext::~VxWorksInterruptExecutionContext ( void  )
virtual

デストラクタ

関数詳解

◆ activate_component()

virtual RTC::ReturnCode_t RTC::VxWorksInterruptExecutionContext::activate_component ( RTC::LightweightRTObject_ptr  comp)
throw (CORBA::SystemException
)
virtual

RTコンポーネントをアクティブ化する

◆ add_component()

virtual RTC::ReturnCode_t RTC::VxWorksInterruptExecutionContext::add_component ( RTC::LightweightRTObject_ptr  comp)
throw (CORBA::SystemException
)
virtual

RTコンポーネントを追加する

◆ close()

virtual int RTC::VxWorksInterruptExecutionContext::close ( unsigned long  flags)
virtual

ExecutionContext 用のスレッド実行関数

◆ deactivate_component()

virtual RTC::ReturnCode_t RTC::VxWorksInterruptExecutionContext::deactivate_component ( RTC::LightweightRTObject_ptr  comp)
throw (CORBA::SystemException
)
virtual

RTコンポーネントを非アクティブ化する

◆ get_component_state()

virtual RTC::LifeCycleState RTC::VxWorksInterruptExecutionContext::get_component_state ( RTC::LightweightRTObject_ptr  comp)
throw (CORBA::SystemException
)
virtual

RTコンポーネントの状態を取得する

◆ get_kind()

virtual RTC::ExecutionKind RTC::VxWorksInterruptExecutionContext::get_kind ( void  )
throw (CORBA::SystemException
)
virtual

ExecutionKind を取得する

◆ get_profile()

virtual RTC::ExecutionContextProfile * RTC::VxWorksInterruptExecutionContext::get_profile ( void  )
throw (CORBA::SystemException
)
virtual

ExecutionContextProfile を取得する

◆ get_rate()

virtual CORBA::Double RTC::VxWorksInterruptExecutionContext::get_rate ( void  )
throw (CORBA::SystemException
)
virtual

ExecutionContext の実行周期(Hz)を取得する

◆ getProperty()

template<class T >
void RTC::VxWorksInterruptExecutionContext::getProperty ( coil::Properties &  prop,
const char *  key,
T &  value 
)
inlineprotected

◆ init()

virtual void RTC::VxWorksInterruptExecutionContext::init ( coil::Properties &  props)
virtual

ExecutionContextの初期化を行う

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

◆ is_running()

virtual CORBA::Boolean RTC::VxWorksInterruptExecutionContext::is_running ( void  )
throw (CORBA::SystemException
)
virtual

ExecutionContext 実行状態確認関数

◆ onAddedComponent()

virtual RTC::ReturnCode_t RTC::VxWorksInterruptExecutionContext::onAddedComponent ( RTC::LightweightRTObject_ptr  rtobj)
protectedvirtual

onAddedComponent() template function

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

◆ onRemovedComponent()

virtual RTC::ReturnCode_t RTC::VxWorksInterruptExecutionContext::onRemovedComponent ( RTC::LightweightRTObject_ptr  rtobj)
protectedvirtual

onRemovedComponent() template function

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

◆ onStarted()

virtual RTC::ReturnCode_t RTC::VxWorksInterruptExecutionContext::onStarted ( )
protectedvirtual

onStarted() template function

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

◆ onWaitingActivated()

virtual RTC::ReturnCode_t RTC::VxWorksInterruptExecutionContext::onWaitingActivated ( RTC_impl::RTObjectStateMachine comp,
long int  count 
)
protectedvirtual

onWaitingActivated() template function

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

◆ onWaitingDeactivated()

virtual RTC::ReturnCode_t RTC::VxWorksInterruptExecutionContext::onWaitingDeactivated ( RTC_impl::RTObjectStateMachine comp,
long int  count 
)
protectedvirtual

onWaitingDeactivated() template function

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

◆ onWaitingReset()

virtual RTC::ReturnCode_t RTC::VxWorksInterruptExecutionContext::onWaitingReset ( RTC_impl::RTObjectStateMachine comp,
long int  count 
)
protectedvirtual

onWaitingReset() template function

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

◆ open()

virtual int RTC::VxWorksInterruptExecutionContext::open ( void *  args)
virtual

ExecutionContext用アクティビティスレッドを生成する

◆ remove_component()

virtual RTC::ReturnCode_t RTC::VxWorksInterruptExecutionContext::remove_component ( RTC::LightweightRTObject_ptr  comp)
throw (CORBA::SystemException
)
virtual

RTコンポーネントを参加者リストから削除する

◆ reset_component()

virtual RTC::ReturnCode_t RTC::VxWorksInterruptExecutionContext::reset_component ( RTC::LightweightRTObject_ptr  comp)
throw (CORBA::SystemException
)
virtual

RTコンポーネントをリセットする

◆ set_rate()

virtual RTC::ReturnCode_t RTC::VxWorksInterruptExecutionContext::set_rate ( CORBA::Double  rate)
throw (CORBA::SystemException
)
virtual

ExecutionContext の実行周期(Hz)を設定する

◆ start()

virtual RTC::ReturnCode_t RTC::VxWorksInterruptExecutionContext::start ( void  )
throw (CORBA::SystemException
)
virtual

ExecutionContext の実行を開始

◆ stop()

virtual RTC::ReturnCode_t RTC::VxWorksInterruptExecutionContext::stop ( void  )
throw (CORBA::SystemException
)
virtual

ExecutionContext の実行を停止

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

◆ svc()

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

各 Component の処理を呼び出す。

◆ tick()

virtual void RTC::VxWorksInterruptExecutionContext::tick ( )
virtual

処理を1ステップ進める


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