-
Notifications
You must be signed in to change notification settings - Fork 4
/
i11eperf.idl
98 lines (82 loc) · 2.34 KB
/
i11eperf.idl
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
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
module i11eperf {
/* The "ts" field stores a time stamp and is used in lieu of the DDS source timestamp
for two reasons:
- Fast-DDS doesn't support write_w_timestamp
- All variants have different ideas of the representation of a time stamp,
this avoids the need for different conversions in the different cases
@final @data_representation(XCDR1): the spec breaks backwards compatibility, with some
implementations (OpenDDS, for example) following it, and some choosing not to break
things just because a generally pretty low-quality spec says one must (Cyclone DDS).
Keep all annotations on a single line starting with @topic for preproc-ospl-idl.gawk */
@topic @final @data_representation(XCDR1)
struct ou {
unsigned long long ts;
unsigned long s;
};
@topic @final @data_representation(XCDR1)
struct a32 {
unsigned long long ts;
unsigned long s;
octet xary[32 - 12];
};
@topic @final @data_representation(XCDR1)
struct a128 {
unsigned long long ts;
unsigned long s;
octet xary[128 - 12];
};
@topic @final @data_representation(XCDR1)
struct a1024 {
unsigned long long ts;
unsigned long s;
octet xary[1024 - 12];
};
@topic @final @data_representation(XCDR1)
struct a16k {
unsigned long long ts;
unsigned long s;
octet xary[16*1024 - 12];
};
@topic @final @data_representation(XCDR1)
struct a48k {
unsigned long long ts;
unsigned long s;
octet xary[48*1024 - 12];
};
@topic @final @data_representation(XCDR1)
struct a64k {
unsigned long long ts;
unsigned long s;
octet xary[64*1024 - 12];
};
@topic @final @data_representation(XCDR1)
struct a1M {
unsigned long long ts;
unsigned long s;
octet xary[1024*1024 - 12];
};
@topic @final @data_representation(XCDR1)
struct a2M {
unsigned long long ts;
unsigned long s;
octet xary[2*1024*1024 - 12];
};
@topic @final @data_representation(XCDR1)
struct a4M {
unsigned long long ts;
unsigned long s;
octet xary[4*1024*1024 - 12];
};
@topic @final @data_representation(XCDR1)
struct a8M {
unsigned long long ts;
unsigned long s;
octet xary[8*1024*1024 - 12];
};
@topic @final @data_representation(XCDR1)
struct seq {
unsigned long long ts;
unsigned long s;
sequence<octet> xseq;
};
};