Orocos Real-Time Toolkit
2.8.3
Main Page
Related Pages
Modules
Namespaces
Classes
Files
Examples
File List
File Members
rtt
transports
corba
TaskContext.idl
Go to the documentation of this file.
1
#ifndef ORO_CORBA_TASK_CONTEXT_IDL
2
#define ORO_CORBA_TASK_CONTEXT_IDL
3
10
#include "
Service.idl
"
11
#include "
ServiceRequester.idl
"
12
#include "
DataFlow.idl
"
13
14
module
RTT
15
{
16
module corba
17
{
18
26
enum
CTaskState
{
CInit
,
CPreOperational
,
CFatalError
,
CException
,
CStopped
,
CRunning
,
CRunTimeError
};
27
33
interface
CTaskContext
34
{
35
typedef
sequence<string>
CPeerNames
;
36
40
string
getName();
41
45
string
getDescription();
46
55
CTaskState
getTaskState();
56
61
boolean
configure();
62
67
boolean
start();
68
73
boolean
activate();
74
79
boolean
stop();
80
85
boolean
recover();
86
94
boolean
resetException();
95
100
boolean
cleanup();
101
106
boolean
isActive();
107
112
boolean
isRunning();
113
118
boolean
isConfigured();
119
124
boolean
inFatalError();
125
130
boolean
inRunTimeError();
131
136
boolean
inException();
137
144
CDataFlowInterface
ports();
145
159
CService
getProvider( in
string
service_name );
160
165
CServiceRequester
getRequester( in
string
service_name );
177
CPeerNames getPeerList( );
178
183
CTaskContext
getPeer( in
string
name );
184
189
boolean
hasPeer( in
string
name );
190
195
boolean
addPeer( in
CTaskContext
p, in
string
peer_alias );
196
201
boolean
removePeer( in
string
name );
202
209
boolean
connectPeers
( in
CTaskContext
p );
210
215
boolean
disconnectPeers( in
string
name );
216
223
boolean
connectPorts
( in
CTaskContext
p );
224
231
boolean
connectServices( in
CTaskContext
p );
232
233
};
234
};
235
};
236
237
#endif
RTT::corba::CDataFlowInterface
An interface to access the dataflow of a CControlTask object.
Definition:
DataFlow.idl:119
ServiceRequester.idl
RTT::corba::CFatalError
Definition:
TaskContext.idl:26
RTT::corba::CStopped
Definition:
TaskContext.idl:26
RTT::corba::CServiceRequester
An Orocos Required Service.
Definition:
ServiceRequester.idl:23
RTT::corba::CService
An Orocos Service which hosts operations, attributes and properties.
Definition:
Service.idl:22
RTT::corba::CTaskContext::CPeerNames
sequence< string > CPeerNames
Definition:
TaskContext.idl:35
RTT::corba::CRunTimeError
Definition:
TaskContext.idl:26
DataFlow.idl
Service.idl
RTT::corba::CPreOperational
Definition:
TaskContext.idl:26
RTT::corba::CRunning
Definition:
TaskContext.idl:26
RTT::corba::CInit
Definition:
TaskContext.idl:26
RTT::connectPorts
bool connectPorts(TaskContext *A, TaskContext *B)
Connect the Data Flow Ports of A and B in both directions, by matching port names.
Definition:
TaskContext.cpp:396
RTT
Contains TaskContext, Activity, OperationCaller, Operation, Property, InputPort, OutputPort, Attribute.
Definition:
Activity.cpp:51
RTT::corba::CException
Definition:
TaskContext.idl:26
RTT::corba::CTaskState
CTaskState
Maps 1-to-1 to RTT::base::TaskCore::TaskState.
Definition:
TaskContext.idl:26
RTT::connectPeers
bool connectPeers(TaskContext *A, TaskContext *B)
Set up the Execution Flow (who knows who) between A and B in both directions.
Definition:
TaskContext.cpp:400
RTT::corba::CTaskContext
A CTaskContext is the main entry point of a distributed component and maps to a RTT::TaskContext.
Definition:
TaskContext.idl:33
Generated on Fri Apr 5 2019 12:14:55 for Orocos Real-Time Toolkit by
1.8.11