src
lib
rtc
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
{
41
class
ILightweightRTObject
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
52
virtual
ExecutionContextHandle_t
53
attach_context
(
const
IExecutionContext
& ec) = 0;
54
virtual
ReturnCode_t
detach_context
(
ExecutionContextHandle_t
ec_handle) = 0;
55
virtual
IExecutionContext
&
56
get_context
(
ExecutionContextHandle_t
ec_handle) = 0;
57
virtual
ExecutionContextList
&
get_owned_contexts
() = 0;
58
virtual
ExecutionContextList
&
get_participating_contexts
() = 0;
59
};
60
};
// namespace Local
61
};
// namespace RTC
62
#endif // RTC_LOCAL_ILIGHTWEIGHTRTOBJECT_H
RTC::Local::ExecutionContextHandle_t
EXECUTION_HANDLE_TYPE_NATIVE ExecutionContextHandle_t
Definition:
IRTC.h:63
RTC
RT-Component.
Definition:
ArtExecutionContext.cpp:29
RTC::Local::ILightweightRTObject::detach_context
virtual ReturnCode_t detach_context(ExecutionContextHandle_t ec_handle)=0
IComponentAction.h
IComponentAction interface class.
RTC::Local::ILightweightRTObject::get_participating_contexts
virtual ExecutionContextList & get_participating_contexts()=0
IExecutionContext.h
IExecutionContext interface class.
RTC::Local::ILightweightRTObject::initialize
virtual ReturnCode_t initialize()=0
ImplBase.h
doil implementation base class
RTC::Local::ExecutionContextList
std::vector< ExecutionContext * > ExecutionContextList
Definition:
IRTC.h:69
RTC::Local::ILightweightRTObject::is_alive
virtual bool is_alive(const IExecutionContext &ec) const =0
RTC::Local::ILightweightRTObject::finalize
virtual ReturnCode_t finalize()=0
RTC::Local::ILightweightRTObject::attach_context
virtual ExecutionContextHandle_t attach_context(const IExecutionContext &ec)=0
RTC::Local::ReturnCode_t
ReturnCode_t
Definition:
IRTC.h:30
RTC::Local::ILightweightRTObject::get_context
virtual IExecutionContext & get_context(ExecutionContextHandle_t ec_handle)=0
RTC::Local::ILightweightRTObject::exit
virtual ReturnCode_t exit()=0
IRTC.h
RTC interfaces.
RTC::Local::IExecutionContext
IExecutionContext class.
Definition:
IExecutionContext.h:53
RTC::Local::ILightweightRTObject::~ILightweightRTObject
virtual ~ILightweightRTObject()
Definition:
ILightweightRTObject.h:46
RTC::Local::ILightweightRTObject
ILightweightRTObject interface class.
Definition:
ILightweightRTObject.h:41
RTC::Local::IComponentAction
IComponentAction interface class.
Definition:
IComponentAction.h:38
AddRemoveRTCTest.ec
ec
Definition:
AddRemoveRTCTest.py:28
RTC::Local::ILightweightRTObject::get_owned_contexts
virtual ExecutionContextList & get_owned_contexts()=0
doil::ImplBase
Definition:
ImplBase.h:24
openrtm_aist
Author(s): Noriaki Ando
autogenerated on Mon Feb 28 2022 23:00:43