19 #ifndef RTC_EXECUTIONCONTEXTWORKER_H    20 #define RTC_EXECUTIONCONTEXTWORKER_H    26 #include <rtm/idl/RTCSkel.h>    31 #define NUM_OF_LIFECYCLESTATE 4    34 #pragma warning( disable : 4290 )   163     void setECRef(RTC::ExecutionContextService_ptr ref);
   164     RTC::ExecutionContextService_ptr getECRef();
   193     CORBA::Boolean isRunning(
void);
   222     RTC::ReturnCode_t start(
void);
   250     RTC::ReturnCode_t stop(
void);
   252     RTC::ReturnCode_t startThread(
void);
   254     RTC::ReturnCode_t stopThread(
void);
   284     RTC::ReturnCode_t rateChanged();
   323                                            long int cycle = 1000);
   360                                              long int cycle = 1000);
   397                                         long int cycle = 1000);
   434       return state >= RTC::CREATED_STATE && state <= RTC::ERROR_STATE ?
   543     bool isAllCurrentState(RTC::LifeCycleState state);
   544     bool isAllNextState(RTC::LifeCycleState state);
   545     bool isOneOfCurrentState(RTC::LifeCycleState state);
   546     bool isOneOfNextState(RTC::LifeCycleState state);
   549     void invokeWorkerPreDo();
   550     void invokeWorkerDo();
   551     void invokeWorkerPostDo();
   560     void updateComponentList();
   574     RTC::ExecutionContextService_var 
m_ref;
   594     std::vector<RTC_impl::RTObjectStateMachine*> 
m_comps;
   600     typedef std::vector<RTC_impl::RTObjectStateMachine*>::iterator 
CompItr;
   606 #pragma warning( default : 4290 )   609 #endif // RTC_PERIODICEXECUTIONCONTEXT_H bool m_running
The running state of ExecutionContext true: running, false: stopped. 
Definition: ExecutionContextWorker.h:585
 
const char * getStateString(RTC::LifeCycleState state)
Definition: ExecutionContextWorker.h:426
 
Mutex class. 
Definition: Mutex.h:40
 
RT component logger class. 
 
Definition: ExecutionContextProfile.h:34
 
std::vector< RTC_impl::RTObjectStateMachine * > m_comps
List of the participating component. 
Definition: ExecutionContextWorker.h:594
 
std::vector< RTC_impl::RTObjectStateMachine * >::iterator CompItr
Definition: ExecutionContextWorker.h:600
 
coil::Mutex m_addedMutex
Definition: ExecutionContextWorker.h:597
 
RT-Component class. 
Definition: RTObject.h:89
 
std::vector< RTC_impl::RTObjectStateMachine * > m_addedComps
Definition: ExecutionContextWorker.h:596
 
coil::Guard< coil::Mutex > Guard
Definition: LocalServiceAdmin.h:36
 
TimeValue class. 
Definition: TimeValue.h:40
 
coil::Mutex m_removedMutex
Definition: ExecutionContextWorker.h:599
 
RTC::LightweightRTObject_var LightweightRTObject_var
Definition: ExecutionContextWorker.h:45
 
Logger class. 
Definition: SystemLogger.h:99
 
RTC::ExecutionContextService_var m_ref
Definition: ExecutionContextWorker.h:574
 
Definition: RTObjectStateMachine.h:46
 
std::vector< RTC_impl::RTObjectStateMachine * > m_removedComps
Definition: ExecutionContextWorker.h:598
 
ExecutionContextWorker class. 
Definition: ExecutionContextWorker.h:118
 
RTC::Logger rtclog
Logger stream. 
Definition: ExecutionContextWorker.h:572
 
RTC::LightweightRTObject_ptr LightweightRTObject_ptr
Definition: ExecutionContextWorker.h:43
 
coil::Mutex m_mutex
Definition: ExecutionContextWorker.h:595