ExecutionContextAdapter.h
Go to the documentation of this file.
1 // -*- C++ -*-
19 #ifndef RTC_CORBA_EXECUTIONCONTEXTADAPTER_H
20 #define RTC_CORBA_EXECUTIONCONTEXTADAPTER_H
21 
22 #include <doil/ImplBase.h>
23 #include <rtc/IExecutionContext.h>
25 #include <rtc/corba/idl/RTCSkel.h>
26 
27 namespace RTC
28 {
29 namespace CORBA
30 {
37  : public doil::ImplBase,
39  {
40  public:
41  ExecutionContextAdapter(RTC::ExecutionContext_ptr obj);
42 
43  virtual ~ExecutionContextAdapter();
44 
45  virtual bool is_running() const;
46 
47  virtual ReturnCode_t start();
48 
49  virtual ReturnCode_t stop();
50 
51  virtual double get_rate() const;
52 
53  virtual ReturnCode_t set_rate(double rate);
54 
55  virtual ReturnCode_t
57 
58  virtual ReturnCode_t
60 
61  virtual ReturnCode_t
63 
64  virtual ReturnCode_t
66 
67  virtual ReturnCode_t
69 
70  virtual LifeCycleState
72 
73  virtual ExecutionKind
74  get_kind() const;
75 
76  virtual const ExecutionContextProfile&
77  get_profile() const;
78  private:
79  RTC::ExecutionContext_ptr m_obj;
80  ExecutionContextProfile m_profile;
81  };
82 
83 }; // namespace CORBA
84 }; // namespace RTC
85 #endif // RTC_CORBA_EXECUTIONCONTEXTADAPTER_H
RT-Component.
virtual ReturnCode_t deactivate_component(RTC::Local::ILightweightRTObject &comp)
RTC::Local::ReturnCode_t ReturnCode_t
virtual ReturnCode_t reset_component(RTC::Local::ILightweightRTObject &comp)
IExecutionContext interface class.
doil implementation base class
virtual LifeCycleState get_component_state(RTC::Local::ILightweightRTObject &comp)
ExecutionKind
Definition: IRTC.h:48
RTC::Local::ILightweightRTObject ILightweightRTObject
ReturnCode_t
Definition: IRTC.h:30
RTC::Local::ExecutionKind ExecutionKind
virtual ExecutionKind get_kind() const
virtual ReturnCode_t set_rate(double rate)
virtual ReturnCode_t remove_component(RTC::Local::ILightweightRTObject &comp)
virtual const ExecutionContextProfile & get_profile() const
RTC::Local::LifeCycleState LifeCycleState
LifeCycleState
Definition: IRTC.h:40
ILightweightRTObject interface class.
IExecutionContext class.
ILightweightRTObject interface class.
virtual ReturnCode_t activate_component(RTC::Local::ILightweightRTObject &comp)
RTC::Local::ExecutionContextProfile ExecutionContextProfile
virtual ReturnCode_t add_component(RTC::Local::ILightweightRTObject &comp)
ExecutionContextAdapter(RTC::ExecutionContext_ptr obj)


openrtm_aist
Author(s): Noriaki Ando
autogenerated on Mon Jun 10 2019 14:07:52