ILightweightRTObject.h
Go to the documentation of this file.
1 // -*- C++ -*-
20 #ifndef RTC_LOCAL_ILIGHTWEIGHTRTOBJECT_H
21 #define RTC_LOCAL_ILIGHTWEIGHTRTOBJECT_H
22 
23 #include <doil/ImplBase.h>
24 #include <rtc/IRTC.h>
25 #include <rtc/IComponentAction.h>
26 #include <rtc/IExecutionContext.h>
27 
28 namespace RTC
29 {
30 namespace Local
31 {
42  : public doil::ImplBase,
43  public virtual IComponentAction
44  {
45  public:
46  virtual ~ILightweightRTObject() {};
47  virtual bool is_alive(const IExecutionContext& ec) const = 0;
48  virtual ReturnCode_t initialize() = 0;
49  virtual ReturnCode_t finalize() = 0;
50  virtual ReturnCode_t exit() = 0;
51 
53  attach_context(const IExecutionContext& ec) = 0;
55  virtual IExecutionContext&
59  };
60 }; // namespace Local
61 }; // namespace RTC
62 #endif // RTC_LOCAL_ILIGHTWEIGHTRTOBJECT_H
EXECUTION_HANDLE_TYPE_NATIVE ExecutionContextHandle_t
Definition: IRTC.h:63
RT-Component.
virtual ReturnCode_t detach_context(ExecutionContextHandle_t ec_handle)=0
IComponentAction interface class.
virtual ExecutionContextList & get_participating_contexts()=0
IExecutionContext interface class.
virtual ReturnCode_t initialize()=0
doil implementation base class
std::vector< ExecutionContext * > ExecutionContextList
Definition: IRTC.h:69
virtual bool is_alive(const IExecutionContext &ec) const =0
virtual ReturnCode_t finalize()=0
virtual ExecutionContextHandle_t attach_context(const IExecutionContext &ec)=0
ReturnCode_t
Definition: IRTC.h:30
virtual IExecutionContext & get_context(ExecutionContextHandle_t ec_handle)=0
virtual ReturnCode_t exit()=0
RTC interfaces.
IExecutionContext class.
ILightweightRTObject interface class.
IComponentAction interface class.
virtual ExecutionContextList & get_owned_contexts()=0


openrtm_aist
Author(s): Noriaki Ando
autogenerated on Mon Feb 28 2022 23:00:43