19 #ifndef RTC_IMPL_RTOBJECTSTATEMACHINE_H 20 #define RTC_IMPL_RTOBJECTSTATEMACHINE_H 26 #include <rtm/idl/RTCSkel.h> 31 #define NUM_OF_LIFECYCLESTATE 4 34 #pragma warning( disable : 4290 ) 42 typedef RTC::ExecutionContextHandle_t
Ecid;
61 RTC::ExecutionContextHandle_t getExecutionContextHandle();
65 void onShutdown(
void);
66 void onActivated(
const ExecContextStates& st);
67 void onDeactivated(
const ExecContextStates& st);
68 void onAborting(
const ExecContextStates& st);
69 void onError(
const ExecContextStates& st);
70 void onReset(
const ExecContextStates& st);
73 void onExecute(
const ExecContextStates& st);
74 void onStateUpdate(
const ExecContextStates& st);
75 RTC::ReturnCode_t onRateChanged(
void);
78 void onAction(
const ExecContextStates& st);
81 void onModeChanged(
const ExecContextStates& st);
84 ExecContextState getState(
void);
85 ExecContextStates getStates(
void);
86 bool isCurrentState(ExecContextState state);
87 bool isNextState(ExecContextState state);
88 void goTo(ExecContextState state);
91 void workerPreDo(
void);
93 void workerPostDo(
void);
109 RTC::ExecutionContextHandle_t m_id;
119 RTC::ComponentAction_var m_caVar;
120 RTC::DataFlowComponentAction_var m_dfcVar;
121 RTC::FsmParticipantAction_var m_fsmVar;
122 RTC::MultiModeComponentAction_var m_modeVar;
138 #pragma warning( default : 4290 ) 141 #endif // RTC_RTOBJECTSTATEMACHINE_H RTC::ReturnCode_t reset(RTC::RTObject_ptr rtc, RTC::UniqueId ec_id=0)
Non Copyable mixin class.
RT component logger class.
Definition: ExecutionContextProfile.h:34
RTC::ReturnCode_t activate(RTC::RTObject_ptr rtc, RTC::UniqueId ec_id=0)
RT-Component class.
Definition: RTObject.h:89
Periodic time measurement class.
State machine class.
Definition: StateMachine.h:264
RTC::ExecutionContextHandle_t Ecid
Definition: RTObjectStateMachine.h:42
RTC::LightweightRTObject_var LightweightRTObject_var
Definition: ExecutionContextWorker.h:45
RTC::LifeCycleState ExecContextState
Definition: RTObjectStateMachine.h:43
Logger class.
Definition: SystemLogger.h:99
Definition: RTObjectStateMachine.h:46
RTC::ReturnCode_t deactivate(RTC::RTObject_ptr rtc, RTC::UniqueId ec_id=0)
RTC_Utils::StateHolder< ExecContextState > ExecContextStates
Definition: RTObjectStateMachine.h:44
RTC::LightweightRTObject_ptr LightweightRTObject_ptr
Definition: ExecutionContextWorker.h:43
TimeMeasure class.
Definition: TimeMeasure.h:49
Non-copyable Mixin.
Definition: NonCopyable.h:53
State machine template class.