18 #ifndef RTC_EXTTRIGEXECUTIONCONTEXT_H
19 #define RTC_EXTTRIGEXECUTIONCONTEXT_H
23 #include <condition_variable>
24 #include <coil/Task.h>
53 :
public virtual POA_OpenRTM::ExtTrigExecutionContextService,
54 public virtual PortableServer::RefCountServantBase,
164 int close(
unsigned long flags)
override;
268 RTC::ReturnCode_t
stop()
override;
321 RTC::ReturnCode_t
set_rate(CORBA::Double rate)
override;
600 std::lock_guard<std::mutex> guard(m_svcmutex);
620 std::mutex m_svcmutex;
633 std::condition_variable cond_;
ExecutionContext base class
void ExtTrigExecutionContextInit(RTC::Manager *manager)
当該 ExecutionContext 用Factoryクラスの登録。
ExecutionContext用基底クラス
Definition: ExecutionContextBase.h:366
ステップ実行が可能な ExecutionContext クラス
Definition: ExtTrigExecutionContext.h:57
RTC::ReturnCode_t start() override
ExecutionContext の実行を開始
RTC::ReturnCode_t set_rate(CORBA::Double rate) override
ExecutionContext の実行周期(Hz)を設定する
int close(unsigned long flags) override
ExecutionContext 用のスレッド実行関数
ExtTrigExecutionContext()
コンストラクタ
RTC::ReturnCode_t deactivate_component(RTC::LightweightRTObject_ptr comp) override
RTコンポーネントを非アクティブ化する
RTC::ExecutionContextProfile * get_profile() override
ExecutionContextProfile を取得する
CORBA::Boolean is_running() override
ExecutionContext 実行状態確認関数
RTC::ReturnCode_t onWaitingActivated(RTC_impl::RTObjectStateMachine *comp, long int count) override
onWaitingActivated() template function
RTC::ExecutionKind get_kind() override
ExecutionKind を取得する
~ExtTrigExecutionContext() override
デストラクタ
CORBA::Double get_rate() override
ExecutionContext の実行周期(Hz)を取得する
RTC::ReturnCode_t onAddedComponent(RTC::LightweightRTObject_ptr rtobj) override
onAddedComponent() template function
void tick() override
処理を1ステップ進める
RTC::ReturnCode_t onStarted() override
onStarted() template function
RTC::ReturnCode_t stop() override
ExecutionContext の実行を停止
RTC::LifeCycleState get_component_state(RTC::LightweightRTObject_ptr comp) override
RTコンポーネントの状態を取得する
RTC::ReturnCode_t remove_component(RTC::LightweightRTObject_ptr comp) override
RTコンポーネントを参加者リストから削除する
RTC::ReturnCode_t onWaitingReset(RTC_impl::RTObjectStateMachine *comp, long int count) override
onWaitingReset() template function
int svc() override
各 Component の処理を呼び出す。
RTC::ReturnCode_t onWaitingDeactivated(RTC_impl::RTObjectStateMachine *comp, long int count) override
onWaitingDeactivated() template function
RTC::ReturnCode_t activate_component(RTC::LightweightRTObject_ptr comp) override
RTコンポーネントをアクティブ化する
int open(void *args) override
ExecutionContext用アクティビティスレッドを生成する
RTC::ReturnCode_t onRemovedComponent(RTC::LightweightRTObject_ptr rtobj) override
onRemovedComponent() template function
RTC::ReturnCode_t add_component(RTC::LightweightRTObject_ptr comp) override
RTコンポーネントを追加する
RTC::ReturnCode_t reset_component(RTC::LightweightRTObject_ptr comp) override
RTコンポーネントをリセットする
Logger クラス
Definition: SystemLogger.h:101
Manager クラス
Definition: Manager.h:91
Definition: RTObjectStateMachine.h:43
RTC::LightweightRTObject_ptr LightweightRTObject_ptr
Definition: ExecutionContextWorker.h:37