blob: 0a34f6340a687f6518a4078c93db8b73048c9813 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
|
#ifndef QOS_IDL
#define QOS_IDL
module CIAO
{
module RACE
{
// Kind of comparison for a QoS specification.
enum QoSComparator
{
LESS_THAN,
GREATER_THAN,
EQUAL,
LESS_THAN_EQUAL,
GREATER_THAN_EQUAL,
NOT_EQUAL
};
// Type of QoS specification.
enum QoSType
{
DEADLINE,
OTHERS
};
// QoS structure.
struct QoSSpecification
{
// Human-readable name (for debugging, not identification).
string name;
// Type of QoS.
QoSType type;
// Specific type ID of component that monitors this QoS.
string MonitorID;
// Comparison used for this QoS specification.
QoSComparator comparator;
// Value to compare actual QoS to (using comparator).
any value;
};
typedef sequence <QoSSpecification> QoSSpecifications;
};
};
#endif /* QOS_IDL */
|