18 #ifndef RTC_EXTTRIGEXECUTIONCONTEXT_H 19 #define RTC_EXTTRIGEXECUTIONCONTEXT_H 30 #pragma warning( disable : 4290 ) 58 :
public virtual POA_OpenRTM::ExtTrigExecutionContextService,
59 public virtual PortableServer::RefCountServantBase,
121 virtual int open(
void *args);
143 virtual int svc(
void);
172 virtual int close(
unsigned long flags);
191 throw (CORBA::SystemException);
221 throw (CORBA::SystemException);
250 virtual RTC::ReturnCode_t
start(
void)
251 throw (CORBA::SystemException);
279 virtual RTC::ReturnCode_t
stop(
void)
280 throw (CORBA::SystemException);
302 virtual CORBA::Double
get_rate(
void)
303 throw (CORBA::SystemException);
334 virtual RTC::ReturnCode_t
set_rate(CORBA::Double rate)
335 throw (CORBA::SystemException);
370 virtual RTC::ReturnCode_t
372 throw (CORBA::SystemException);
406 virtual RTC::ReturnCode_t
408 throw (CORBA::SystemException);
441 virtual RTC::ReturnCode_t
443 throw (CORBA::SystemException);
471 virtual RTC::LifeCycleState
473 throw (CORBA::SystemException);
494 virtual RTC::ExecutionKind
get_kind(
void)
495 throw (CORBA::SystemException);
529 throw (CORBA::SystemException);
561 virtual RTC::ReturnCode_t
563 throw (CORBA::SystemException);
584 virtual RTC::ExecutionContextProfile*
get_profile(
void)
585 throw (CORBA::SystemException);
596 virtual RTC::ReturnCode_t
601 virtual RTC::ReturnCode_t
606 virtual RTC::ReturnCode_t
611 virtual RTC::ReturnCode_t
616 virtual RTC::ReturnCode_t
622 Guard guard(m_svcmutex);
653 Worker() : cond_(mutex_), ticked_(
false) {};
664 #pragma warning( default : 4290 ) 688 #endif // RTC_EXTTRIGEXECUTIONCONTEXT_H
virtual RTC::ReturnCode_t stop(void)
Stop the ExecutionContext.
Mutex class.
Definition: Mutex.h:40
virtual RTC::LifeCycleState get_component_state(RTC::LightweightRTObject_ptr comp)
Get RT-component's state.
void ExtTrigExecutionContextInit(RTC::Manager *manager)
Register Factory class for this ExecutionContext.
virtual CORBA::Double get_rate(void)
Get execution rate(Hz) of ExecutionContext.
A base class for ExecutionContext.
Definition: ExecutionContextBase.h:369
virtual CORBA::Boolean is_running(void)
Check for ExecutionContext running state.
virtual RTC::ReturnCode_t add_component(RTC::LightweightRTObject_ptr comp)
Add an RT-component.
virtual RTC::ReturnCode_t deactivate_component(RTC::LightweightRTObject_ptr comp)
Deactivate an RT-component.
Manager class.
Definition: Manager.h:81
ExecutionContext base class.
virtual RTC::ReturnCode_t onStarted()
onStarted() template function
virtual int open(void *args)
Generate internal activity thread for ExecutionContext.
virtual RTC::ReturnCode_t set_rate(CORBA::Double rate)
Set execution rate(Hz) of ExecutionContext.
virtual RTC::ReturnCode_t remove_component(RTC::LightweightRTObject_ptr comp)
Remove the RT-Component from participant list.
virtual RTC::ReturnCode_t activate_component(RTC::LightweightRTObject_ptr comp)
Activate an RT-component.
virtual int close(unsigned long flags)
Thread execution function for ExecutionContext.
virtual RTC::ExecutionContextProfile * get_profile(void)
Get the ExecutionContextProfile.
Logger class.
Definition: SystemLogger.h:99
virtual RTC::ReturnCode_t onWaitingActivated(RTC_impl::RTObjectStateMachine *comp, long int count)
onWaitingActivated() template function
Definition: RTObjectStateMachine.h:46
virtual void tick()
Move forward one step of ExecutionContext.
virtual RTC::ReturnCode_t onWaitingReset(RTC_impl::RTObjectStateMachine *comp, long int count)
onWaitingReset() template function
Task class.
Definition: Task.h:39
virtual RTC::ReturnCode_t onAddedComponent(RTC::LightweightRTObject_ptr rtobj)
onAddedComponent() template function
virtual ~ExtTrigExecutionContext(void)
Destructor.
RTC::LightweightRTObject_ptr LightweightRTObject_ptr
Definition: ExecutionContextWorker.h:43
virtual RTC::ReturnCode_t onWaitingDeactivated(RTC_impl::RTObjectStateMachine *comp, long int count)
onWaitingDeactivated() template function
virtual RTC::ReturnCode_t start(void)
Start the ExecutionContext.
virtual RTC::ReturnCode_t reset_component(RTC::LightweightRTObject_ptr comp)
Reset the RT-component.
virtual int svc(void)
Invoke each component's operation.
virtual RTC::ExecutionKind get_kind(void)
Get the ExecutionKind.
virtual RTC::ReturnCode_t onRemovedComponent(RTC::LightweightRTObject_ptr rtobj)
onRemovedComponent() template function
ExtTrigExecutionContext()
Constructor.
ExecutionContext class that enables one step execution.
Definition: ExtTrigExecutionContext.h:57