src
lib
rtc
IExecutionContext.h
Go to the documentation of this file.
1
// -*- C++ -*-
20
#ifndef IExeLOCAL_cutionContext_h
21
#define IExeLOCAL_cutionContext_h
22
23
#include <
rtc/IRTC.h
>
24
25
26
namespace
RTC
27
{
28
namespace
Local
29
{
30
31
class
ILightweightRTObject
;
32
class
IRTObject
;
33
typedef
std::vector<IRTObject*>
RTCList
;
34
35
struct
ExecutionContextProfile
36
{
37
ExecutionKind
kind
;
38
double
rate
;
39
IRTObject
*
owner
;
40
RTCList
participants
;
41
NVList
properties
;
42
};
43
53
class
IExecutionContext
54
{
55
public
:
56
virtual
~IExecutionContext
() {};
57
58
virtual
bool
is_running()
const
= 0;
59
60
virtual
ReturnCode_t
start() = 0;
61
62
virtual
ReturnCode_t
stop() = 0;
63
64
virtual
double
get_rate()
const
= 0;
65
66
virtual
ReturnCode_t
set_rate(
double
rate
) = 0;
67
68
virtual
ReturnCode_t
69
add_component(
ILightweightRTObject
& comp) = 0;
70
71
virtual
ReturnCode_t
72
remove_component(
ILightweightRTObject
& comp) = 0;
73
74
virtual
ReturnCode_t
75
activate_component(
ILightweightRTObject
& comp) = 0;
76
77
virtual
ReturnCode_t
78
deactivate_component(
ILightweightRTObject
& comp) = 0;
79
80
virtual
ReturnCode_t
81
reset_component(
ILightweightRTObject
& comp) = 0;
82
83
virtual
LifeCycleState
84
get_component_state(
ILightweightRTObject
& comp) = 0;
85
86
virtual
ExecutionKind
87
get_kind()
const
= 0;
88
89
virtual
const
ExecutionContextProfile
&
90
get_profile()
const
= 0;
91
};
92
};
// namespace Local
93
};
// namespace RTC
94
#endif // RTC_LOCAL_IEXECUTIONCONTEXT_H
95
RTC::Local::ExecutionContextProfile::kind
ExecutionKind kind
Definition:
IExecutionContext.h:37
RTC
RT-Component.
Definition:
ArtExecutionContext.cpp:29
RTC::Local::NVList
std::vector< std::pair< std::string, std::string > > NVList
Definition:
IRTC.h:67
RTC::Local::ExecutionContextProfile::participants
RTCList participants
Definition:
IExecutionContext.h:40
RTC::Local::ExecutionContextProfile::properties
NVList properties
Definition:
IExecutionContext.h:41
RTC::Local::IExecutionContext::~IExecutionContext
virtual ~IExecutionContext()
Definition:
IExecutionContext.h:56
RTC::Local::ExecutionKind
ExecutionKind
Definition:
IRTC.h:48
RTC::CORBA::ILightweightRTObject
RTC::Local::ILightweightRTObject ILightweightRTObject
Definition:
ExecutionContextAdapter.h:35
RTC::Local::ReturnCode_t
ReturnCode_t
Definition:
IRTC.h:30
RTC::Local::ExecutionContextProfile
Definition:
IExecutionContext.h:35
IRTC.h
RTC interfaces.
RTC::Local::ExecutionContextProfile::rate
double rate
Definition:
IExecutionContext.h:38
RTC::Local::LifeCycleState
LifeCycleState
Definition:
IRTC.h:40
RTC::Local::RTCList
std::vector< IRTObject * > RTCList
Definition:
IExecutionContext.h:32
RTC::Local::IExecutionContext
IExecutionContext class.
Definition:
IExecutionContext.h:53
RTC::Local::ExecutionContextProfile::owner
IRTObject * owner
Definition:
IExecutionContext.h:39
RTC::Local::ILightweightRTObject
ILightweightRTObject interface class.
Definition:
ILightweightRTObject.h:41
RTC::Local::IRTObject
IRTObject interface class.
Definition:
IRTObject.h:61
openrtm_aist
Author(s): Noriaki Ando
autogenerated on Mon Feb 28 2022 23:00:43