19 #ifndef RTC_IMPL_RTOBJECTSTATEMACHINE_H 20 #define RTC_IMPL_RTOBJECTSTATEMACHINE_H 24 #include <coil/TimeMeasure.h> 25 #include <rtm/idl/RTCSkel.h> 31 #define NUM_OF_LIFECYCLESTATE 4 38 using Ecid = RTC::ExecutionContextHandle_t;
55 RTC::ExecutionContextHandle_t getExecutionContextHandle();
69 RTC::ReturnCode_t onRateChanged();
103 RTC::ExecutionContextHandle_t m_id;
113 RTC::ComponentAction_var m_caVar;
114 RTC::DataFlowComponentAction_var m_dfcVar;
115 RTC::FsmParticipantAction_var m_fsmVar;
116 RTC::MultiModeComponentAction_var m_modeVar;
120 coil::TimeMeasure m_svtMeasure;
121 coil::TimeMeasure m_refMeasure;
122 std::atomic<bool> m_activation;
123 std::atomic<bool> m_deactivation;
124 std::atomic<bool> m_reset;
128 #endif // RTC_RTOBJECTSTATEMACHINE_H RTC::ReturnCode_t reset(RTC::RTObject_ptr rtc, RTC::UniqueId ec_id=0)
RTCを指定した実行コンテキストでリセットする
RTC::ExecutionContextHandle_t Ecid
Definition: RTObjectStateMachine.h:38
RTC::LifeCycleState ExecContextState
Definition: RTObjectStateMachine.h:39
RTC::LightweightRTObject_var LightweightRTObject_var
Definition: ExecutionContextWorker.h:38
RT component logger class
Definition: ExecutionContextProfile.h:28
RTC::ReturnCode_t activate(RTC::RTObject_ptr rtc, RTC::UniqueId ec_id=0)
RTCを指定した実行コンテキストでアクティベーションする
RTコンポーネントクラス
Definition: RTObject.h:90
RTC::LightweightRTObject_ptr LightweightRTObject_ptr
Definition: ExecutionContextWorker.h:37
状態マシンクラス
Definition: StateMachine.h:266
Logger クラス
Definition: SystemLogger.h:99
Definition: RTObjectStateMachine.h:42
RTC::ReturnCode_t deactivate(RTC::RTObject_ptr rtc, RTC::UniqueId ec_id=0)
RTCを指定した実行コンテキストで非アクティベーションする
State machine template class