@@ -24,6 +24,17 @@ const string THROUGHPUT_TOPIC_NAME = "Throughput";
24
24
const string LATENCY_TOPIC_NAME = "Latency";
25
25
const string ANNOUNCEMENT_TOPIC_NAME = "Announcement";
26
26
27
+ /*
28
+ * This idl uses prefix annotations. In order to compile with previous versions
29
+ * of *Connext DDS Professional* modify the following annotations:
30
+ *
31
+ * - @final -- Remove it and replace at the
32
+ * end with "//@Extensibility FINAL_EXTENSIBILITY"
33
+ * - @key -- Remove it and replace it at the end of the member with "//@key"
34
+ *
35
+ */
36
+
37
+ @final
27
38
struct TestData_t {
28
39
octet key[KEY_SIZE];
29
40
@@ -40,8 +51,9 @@ struct TestData_t {
40
51
long custom_type_size;
41
52
#endif
42
53
43
- }; //@Extensibility FINAL_EXTENSIBILITY
54
+ };
44
55
56
+ @final
45
57
struct TestDataKeyed_t {
46
58
@key
47
59
octet key[KEY_SIZE];
@@ -57,8 +69,9 @@ struct TestDataKeyed_t {
57
69
RTI_CUSTOM_TYPE custom_type;
58
70
long custom_type_size;
59
71
#endif
60
- }; //@Extensibility FINAL_EXTENSIBILITY
72
+ };
61
73
74
+ @final
62
75
struct TestDataLarge_t {
63
76
octet key[KEY_SIZE];
64
77
@@ -72,8 +85,9 @@ struct TestDataLarge_t {
72
85
RTI_CUSTOM_TYPE custom_type;
73
86
long custom_type_size;
74
87
#endif
75
- }; //@Extensibility FINAL_EXTENSIBILITY
88
+ };
76
89
90
+ @final
77
91
struct TestDataKeyedLarge_t {
78
92
@key
79
93
octet key[KEY_SIZE];
@@ -89,12 +103,11 @@ struct TestDataKeyedLarge_t {
89
103
RTI_CUSTOM_TYPE custom_type;
90
104
long custom_type_size;
91
105
#endif
92
- }; //@Extensibility FINAL_EXTENSIBILITY
106
+ };
93
107
108
+ /********************************** FLATDATA **********************************/
94
109
#ifdef RTI_FLATDATA_AVAILABLE
95
- /*
96
- * FLATDATA
97
- */
110
+
98
111
@mutable
99
112
@language_binding(FLAT_DATA)
100
113
struct TestData_FlatData_t {
@@ -168,4 +181,5 @@ struct TestDataKeyedLarge_FlatData_t {
168
181
long custom_type_size;
169
182
#endif
170
183
};
171
- #endif // RTI_FLATDATA_AVAILABLE
184
+
185
+ #endif // RTI_FLATDATA_AVAILABLE
0 commit comments