19 #ifndef RTC_OPENHRPEXECUTIONCONTEXT_H 20 #define RTC_OPENHRPEXECUTIONCONTEXT_H 28 #pragma warning( disable : 4290 ) 52 :
public virtual POA_OpenRTM::ExtTrigExecutionContextService,
53 public virtual PortableServer::RefCountServantBase,
95 throw (CORBA::SystemException);
125 throw (CORBA::SystemException);
154 virtual RTC::ReturnCode_t
start(
void)
155 throw (CORBA::SystemException);
183 virtual RTC::ReturnCode_t
stop(
void)
184 throw (CORBA::SystemException);
206 virtual CORBA::Double
get_rate(
void)
207 throw (CORBA::SystemException);
238 virtual RTC::ReturnCode_t
set_rate(CORBA::Double rate)
239 throw (CORBA::SystemException);
274 virtual RTC::ReturnCode_t
276 throw (CORBA::SystemException);
310 virtual RTC::ReturnCode_t
312 throw (CORBA::SystemException);
345 virtual RTC::ReturnCode_t
347 throw (CORBA::SystemException);
375 virtual RTC::LifeCycleState
377 throw (CORBA::SystemException);
398 virtual RTC::ExecutionKind
get_kind(
void)
399 throw (CORBA::SystemException);
433 throw (CORBA::SystemException);
465 virtual RTC::ReturnCode_t
467 throw (CORBA::SystemException);
488 virtual RTC::ExecutionContextProfile*
get_profile(
void)
489 throw (CORBA::SystemException);
495 virtual RTC::ReturnCode_t
500 virtual RTC::ReturnCode_t
519 unsigned int m_count;
525 #pragma warning( default : 4290 ) 541 #endif // RTC_OPENHRPEXECUTIONCONTEXT_H virtual RTC::LifeCycleState get_component_state(RTC::LightweightRTObject_ptr comp)
Get RT-component's state.
virtual RTC::ExecutionContextProfile * get_profile(void)
Get the ExecutionContextProfile.
Mutex class.
Definition: Mutex.h:40
virtual RTC::ReturnCode_t add_component(RTC::LightweightRTObject_ptr comp)
Add an RT-component.
A base class for ExecutionContext.
Definition: ExecutionContextBase.h:369
Manager class.
Definition: Manager.h:81
coil::Mutex m_tickmutex
Mutex to gurad tick() reenter.
Definition: OpenHRPExecutionContext.h:505
ExecutionContext base class.
virtual RTC::ReturnCode_t deactivate_component(RTC::LightweightRTObject_ptr comp)
Deactivate an RT-component.
virtual RTC::ExecutionKind get_kind(void)
Get the ExecutionKind.
virtual RTC::ReturnCode_t remove_component(RTC::LightweightRTObject_ptr comp)
Remove the RT-Component from participant list.
virtual void tick()
Move forward one step of ExecutionContext.
virtual RTC::ReturnCode_t activate_component(RTC::LightweightRTObject_ptr comp)
Activate an RT-component.
OpenHRPExecutionContext()
Constructor.
virtual RTC::ReturnCode_t stop(void)
Stop the ExecutionContext.
OpenHRPExecutionContext class.
Definition: OpenHRPExecutionContext.h:51
virtual RTC::ReturnCode_t set_rate(CORBA::Double rate)
Set execution rate(Hz) of ExecutionContext.
DLL_EXPORT void OpenHRPExecutionContextInit(RTC::Manager *manager)
Initialization function to register to ECFactory.
Logger class.
Definition: SystemLogger.h:99
virtual RTC::ReturnCode_t reset_component(RTC::LightweightRTObject_ptr comp)
Reset the RT-component.
RTC::LightweightRTObject_ptr LightweightRTObject_ptr
Definition: ExecutionContextWorker.h:43
virtual ~OpenHRPExecutionContext(void)
Destructor.
virtual RTC::ReturnCode_t onAddedComponent(RTC::LightweightRTObject_ptr rtobj)
onAddedComponent() template function
virtual RTC::ReturnCode_t start(void)
Start the ExecutionContext.
virtual RTC::ReturnCode_t onRemovedComponent(RTC::LightweightRTObject_ptr rtobj)
onRemovedComponent() template function
#define DLL_EXPORT
Definition: RTC.h:73
virtual CORBA::Boolean is_running(void)
Check for ExecutionContext running state.
virtual CORBA::Double get_rate(void)
Get execution rate(Hz) of ExecutionContext.