ExecutionContextWorker クラス
[詳解]
#include <ExecutionContextWorker.h>
ExecutionContextWorker クラス
RTCの状態マシン・プロキシクラス RTObjectStateMachine を保持・管理 し、コールバックを実際にコールするためのワーカークラスインターフェー スクラス。ECの実装者は、ExecutionContextBase を継承し、メンバ変数 として保持されているこの ExecutionContextWorker クラスのインター フェース経由でRTObjectのコールバックをコールすることになる。
- ECのオブジェクトリファレンスのセッタ・ゲッター
- ECの実行・停止関係関数
- RTCのアクティブ化・非アクティブ化関数
- RTC追加・削除系関数
- 状態問い合わせ系関数
- Workerの駆動およびコールバック
- から
- 1.2
◆ CompItr
◆ ExecutionContextWorker()
| RTC_impl::ExecutionContextWorker::ExecutionContextWorker |
( |
| ) |
|
◆ ~ExecutionContextWorker()
| virtual RTC_impl::ExecutionContextWorker::~ExecutionContextWorker |
( |
| ) |
|
|
virtual |
◆ activateComponent()
| RTC::ReturnCode_t RTC_impl::ExecutionContextWorker::activateComponent |
( |
RTC::LightweightRTObject_ptr |
comp, |
|
|
RTObjectStateMachine *& |
rtobj |
|
) |
| |
◆ addComponent()
| RTC::ReturnCode_t RTC_impl::ExecutionContextWorker::addComponent |
( |
RTC::LightweightRTObject_ptr |
comp | ) |
|
◆ bindComponent()
| RTC::ReturnCode_t RTC_impl::ExecutionContextWorker::bindComponent |
( |
RTC::RTObject_impl * |
rtc | ) |
|
◆ deactivateComponent()
| RTC::ReturnCode_t RTC_impl::ExecutionContextWorker::deactivateComponent |
( |
RTC::LightweightRTObject_ptr |
comp, |
|
|
RTObjectStateMachine *& |
rtobj |
|
) |
| |
◆ findComponent()
| RTObjectStateMachine * RTC_impl::ExecutionContextWorker::findComponent |
( |
RTC::LightweightRTObject_ptr |
comp | ) |
|
◆ getComponentState()
| RTC::LifeCycleState RTC_impl::ExecutionContextWorker::getComponentState |
( |
RTC::LightweightRTObject_ptr |
comp | ) |
|
◆ getECRef()
| RTC::ExecutionContextService_ptr RTC_impl::ExecutionContextWorker::getECRef |
( |
| ) |
|
◆ getStateString()
| static const char * RTC_impl::ExecutionContextWorker::getStateString |
( |
RTC::LifeCycleState |
state | ) |
|
|
inlinestatic |
◆ invokeWorker()
| void RTC_impl::ExecutionContextWorker::invokeWorker |
( |
| ) |
|
◆ invokeWorkerDo()
| void RTC_impl::ExecutionContextWorker::invokeWorkerDo |
( |
| ) |
|
◆ invokeWorkerPostDo()
| void RTC_impl::ExecutionContextWorker::invokeWorkerPostDo |
( |
| ) |
|
◆ invokeWorkerPreDo()
| void RTC_impl::ExecutionContextWorker::invokeWorkerPreDo |
( |
| ) |
|
◆ isAllCurrentState()
| bool RTC_impl::ExecutionContextWorker::isAllCurrentState |
( |
RTC::LifeCycleState |
state | ) |
|
◆ isAllNextState()
| bool RTC_impl::ExecutionContextWorker::isAllNextState |
( |
RTC::LifeCycleState |
state | ) |
|
◆ isOneOfCurrentState()
| bool RTC_impl::ExecutionContextWorker::isOneOfCurrentState |
( |
RTC::LifeCycleState |
state | ) |
|
◆ isOneOfNextState()
| bool RTC_impl::ExecutionContextWorker::isOneOfNextState |
( |
RTC::LifeCycleState |
state | ) |
|
◆ isRunning()
| CORBA::Boolean RTC_impl::ExecutionContextWorker::isRunning |
( |
| ) |
|
ExecutionContext 実行状態確認関数
◆ rateChanged()
| RTC::ReturnCode_t RTC_impl::ExecutionContextWorker::rateChanged |
( |
| ) |
|
ExecutionContext の実行周期が変更された
◆ removeComponent()
| RTC::ReturnCode_t RTC_impl::ExecutionContextWorker::removeComponent |
( |
RTC::LightweightRTObject_ptr |
comp | ) |
|
◆ resetComponent()
| RTC::ReturnCode_t RTC_impl::ExecutionContextWorker::resetComponent |
( |
RTC::LightweightRTObject_ptr |
comp, |
|
|
RTObjectStateMachine *& |
rtobj |
|
) |
| |
◆ setECRef()
| void RTC_impl::ExecutionContextWorker::setECRef |
( |
RTC::ExecutionContextService_ptr |
ref | ) |
|
◆ start()
| RTC::ReturnCode_t RTC_impl::ExecutionContextWorker::start |
( |
| ) |
|
◆ startThread()
| RTC::ReturnCode_t RTC_impl::ExecutionContextWorker::startThread |
( |
| ) |
|
◆ stop()
| RTC::ReturnCode_t RTC_impl::ExecutionContextWorker::stop |
( |
| ) |
|
◆ stopThread()
| RTC::ReturnCode_t RTC_impl::ExecutionContextWorker::stopThread |
( |
| ) |
|
◆ updateComponentList()
| void RTC_impl::ExecutionContextWorker::updateComponentList |
( |
| ) |
|
◆ waitActivateComplete()
| RTC::ReturnCode_t RTC_impl::ExecutionContextWorker::waitActivateComplete |
( |
RTObjectStateMachine *& |
rtobj, |
|
|
std::chrono::nanoseconds |
timeout = std::chrono::seconds(1), |
|
|
long int |
cycle = 1000 |
|
) |
| |
◆ waitDeactivateComplete()
| RTC::ReturnCode_t RTC_impl::ExecutionContextWorker::waitDeactivateComplete |
( |
RTObjectStateMachine *& |
rtobj, |
|
|
std::chrono::nanoseconds |
timeout = std::chrono::seconds(1), |
|
|
long int |
cycle = 1000 |
|
) |
| |
◆ waitResetComplete()
| RTC::ReturnCode_t RTC_impl::ExecutionContextWorker::waitResetComplete |
( |
RTObjectStateMachine *& |
rtobj, |
|
|
std::chrono::nanoseconds |
timeout = std::chrono::seconds(1), |
|
|
long int |
cycle = 1000 |
|
) |
| |
◆ m_addedComps
◆ m_addedMutex
| std::mutex RTC_impl::ExecutionContextWorker::m_addedMutex |
|
mutableprotected |
◆ m_comps
◆ m_mutex
| std::mutex RTC_impl::ExecutionContextWorker::m_mutex |
|
mutableprotected |
◆ m_ref
| RTC::ExecutionContextService_var RTC_impl::ExecutionContextWorker::m_ref |
|
protected |
◆ m_removedComps
◆ m_removedMutex
| std::mutex RTC_impl::ExecutionContextWorker::m_removedMutex |
|
mutableprotected |
◆ m_running
| bool RTC_impl::ExecutionContextWorker::m_running {false} |
|
protected |
ExecutionContext の実行状態 true: running, false: stopped
◆ rtclog
| RTC::Logger RTC_impl::ExecutionContextWorker::rtclog {"ec_worker"} |
|
protected |
このクラス詳解は次のファイルから抽出されました: