CoreDX Data Distribution Service
The High Performance, Small Footprint DDS from Twin Oaks Computing, Inc
dds_builtin.h
Go to the documentation of this file.
1 /********************************************
2  * DDS type specific header file. *
3  * Autogenerated by CoreDX DDL compiler. *
4  * Do no edit - edits may be overwritten. *
5  ********************************************/
6 
7 #ifndef _DDS_BUILTIN_H
8 #define _DDS_BUILTIN_H
9 #include <dds/dds_types.h>
10 #include <dds/dds_export.h>
11 #define DDS_SAFE_UNMARSH 1
12 #include <dds/xcdr.h>
13 
14 #ifdef __cplusplus
15 extern "C" {
16 #endif
17 
18 # define DDS_BUILTIN_DDL_VERSION_MAJOR 5
19 # define DDS_BUILTIN_DDL_VERSION_MINOR 0
20 # define DDS_BUILTIN_DDL_VERSION_PATCH 0
21 # define DDS_BUILTIN_DDL_VERSION_MAJOR_STR "5"
22 # define DDS_BUILTIN_DDL_VERSION_MINOR_STR "0"
23 # define DDS_BUILTIN_DDL_VERSION_PATCH_STR "0"
24 
25 #include <dds/dds_builtin_basic.h>
28  /* Namespace DDS begins here */
29 
43  typedef struct DDS_UserDataQosPolicy {
45  DDS_OctetSeq value;
47 
48  COREDX_TS_EXPORT struct DDS_UserDataQosPolicy *DDS_UserDataQosPolicy_alloc ( void );
49 # define DDS_UserDataQosPolicy__alloc DDS_UserDataQosPolicy_alloc /* discouraged */
50  COREDX_TS_EXPORT void DDS_UserDataQosPolicy_free ( struct DDS_UserDataQosPolicy * inst );
51  COREDX_TS_EXPORT void DDS_UserDataQosPolicy_init ( struct DDS_UserDataQosPolicy * instance );
52  COREDX_TS_EXPORT void DDS_UserDataQosPolicy_clear( struct DDS_UserDataQosPolicy * instance );
53  COREDX_TS_EXPORT void DDS_UserDataQosPolicy_copy ( struct DDS_UserDataQosPolicy * copy_to, const struct DDS_UserDataQosPolicy * copy_from );
54  COREDX_TS_EXPORT int DDS_UserDataQosPolicy_marshal_cdr ( const struct DDS_UserDataQosPolicy * inst, CDX_XcdrBuffer_t * cdr, int just_keys );
55  COREDX_TS_EXPORT int DDS_UserDataQosPolicy_marshal_key_hash ( const struct DDS_UserDataQosPolicy * inst, CDX_XcdrBuffer_t * cdr );
56  COREDX_TS_EXPORT int DDS_UserDataQosPolicy_unmarshal_cdr ( struct DDS_UserDataQosPolicy * inst, CDX_XcdrBuffer_t * cdr, int just_keys );
57  COREDX_TS_EXPORT int DDS_UserDataQosPolicy_unmarshal_key_hash ( struct DDS_UserDataQosPolicy * inst, CDX_XcdrBuffer_t * cdr );
58  /* deprecated, older api */
59  COREDX_TS_EXPORT int DDS_UserDataQosPolicy_get_marshal_size_legacy ( const struct DDS_UserDataQosPolicy * inst, int offset, int just_keys );
60  COREDX_TS_EXPORT int DDS_UserDataQosPolicy_marshal_cdr_legacy ( const struct DDS_UserDataQosPolicy * inst, unsigned char *buf, int offset, int stream_len, unsigned char swap, int just_keys);
61  COREDX_TS_EXPORT int DDS_UserDataQosPolicy_unmarshal_cdr_legacy ( struct DDS_UserDataQosPolicy * inst, unsigned char * buf, int offset, int stream_len, unsigned char swap, int just_keys);
62 
63 
64 /* DDS Data Type SEQUENCE: sequence<DDS_UserDataQosPolicy *> */
65 #ifndef _DDS_sequence_c_DDS_UserDataQosPolicyPtr_defined
66 #define _DDS_sequence_c_DDS_UserDataQosPolicyPtr_defined
67  DECLARE_SEQ( DDS_UserDataQosPolicy * , DDS_UserDataQosPolicyPtrSeq );
68 #endif /* DDS Data Type SEQUENCE: sequence<DDS_UserDataQosPolicyPtrSeq *> */
69 
70 
84  typedef struct DDS_TopicDataQosPolicy {
86  DDS_OctetSeq value;
88 
89  COREDX_TS_EXPORT struct DDS_TopicDataQosPolicy *DDS_TopicDataQosPolicy_alloc ( void );
90 # define DDS_TopicDataQosPolicy__alloc DDS_TopicDataQosPolicy_alloc /* discouraged */
91  COREDX_TS_EXPORT void DDS_TopicDataQosPolicy_free ( struct DDS_TopicDataQosPolicy * inst );
92  COREDX_TS_EXPORT void DDS_TopicDataQosPolicy_init ( struct DDS_TopicDataQosPolicy * instance );
93  COREDX_TS_EXPORT void DDS_TopicDataQosPolicy_clear( struct DDS_TopicDataQosPolicy * instance );
94  COREDX_TS_EXPORT void DDS_TopicDataQosPolicy_copy ( struct DDS_TopicDataQosPolicy * copy_to, const struct DDS_TopicDataQosPolicy * copy_from );
95  COREDX_TS_EXPORT int DDS_TopicDataQosPolicy_marshal_cdr ( const struct DDS_TopicDataQosPolicy * inst, CDX_XcdrBuffer_t * cdr, int just_keys );
96  COREDX_TS_EXPORT int DDS_TopicDataQosPolicy_marshal_key_hash ( const struct DDS_TopicDataQosPolicy * inst, CDX_XcdrBuffer_t * cdr );
97  COREDX_TS_EXPORT int DDS_TopicDataQosPolicy_unmarshal_cdr ( struct DDS_TopicDataQosPolicy * inst, CDX_XcdrBuffer_t * cdr, int just_keys );
98  COREDX_TS_EXPORT int DDS_TopicDataQosPolicy_unmarshal_key_hash ( struct DDS_TopicDataQosPolicy * inst, CDX_XcdrBuffer_t * cdr );
99  /* deprecated, older api */
100  COREDX_TS_EXPORT int DDS_TopicDataQosPolicy_get_marshal_size_legacy ( const struct DDS_TopicDataQosPolicy * inst, int offset, int just_keys );
101  COREDX_TS_EXPORT int DDS_TopicDataQosPolicy_marshal_cdr_legacy ( const struct DDS_TopicDataQosPolicy * inst, unsigned char *buf, int offset, int stream_len, unsigned char swap, int just_keys);
102  COREDX_TS_EXPORT int DDS_TopicDataQosPolicy_unmarshal_cdr_legacy ( struct DDS_TopicDataQosPolicy * inst, unsigned char * buf, int offset, int stream_len, unsigned char swap, int just_keys);
103 
104 
105 /* DDS Data Type SEQUENCE: sequence<DDS_TopicDataQosPolicy *> */
106 #ifndef _DDS_sequence_c_DDS_TopicDataQosPolicyPtr_defined
107 #define _DDS_sequence_c_DDS_TopicDataQosPolicyPtr_defined
108  DECLARE_SEQ( DDS_TopicDataQosPolicy * , DDS_TopicDataQosPolicyPtrSeq );
109 #endif /* DDS Data Type SEQUENCE: sequence<DDS_TopicDataQosPolicyPtrSeq *> */
110 
111 
126  typedef struct DDS_GroupDataQosPolicy {
128  DDS_OctetSeq value;
130 
131  COREDX_TS_EXPORT struct DDS_GroupDataQosPolicy *DDS_GroupDataQosPolicy_alloc ( void );
132 # define DDS_GroupDataQosPolicy__alloc DDS_GroupDataQosPolicy_alloc /* discouraged */
133  COREDX_TS_EXPORT void DDS_GroupDataQosPolicy_free ( struct DDS_GroupDataQosPolicy * inst );
134  COREDX_TS_EXPORT void DDS_GroupDataQosPolicy_init ( struct DDS_GroupDataQosPolicy * instance );
135  COREDX_TS_EXPORT void DDS_GroupDataQosPolicy_clear( struct DDS_GroupDataQosPolicy * instance );
136  COREDX_TS_EXPORT void DDS_GroupDataQosPolicy_copy ( struct DDS_GroupDataQosPolicy * copy_to, const struct DDS_GroupDataQosPolicy * copy_from );
137  COREDX_TS_EXPORT int DDS_GroupDataQosPolicy_marshal_cdr ( const struct DDS_GroupDataQosPolicy * inst, CDX_XcdrBuffer_t * cdr, int just_keys );
138  COREDX_TS_EXPORT int DDS_GroupDataQosPolicy_marshal_key_hash ( const struct DDS_GroupDataQosPolicy * inst, CDX_XcdrBuffer_t * cdr );
139  COREDX_TS_EXPORT int DDS_GroupDataQosPolicy_unmarshal_cdr ( struct DDS_GroupDataQosPolicy * inst, CDX_XcdrBuffer_t * cdr, int just_keys );
140  COREDX_TS_EXPORT int DDS_GroupDataQosPolicy_unmarshal_key_hash ( struct DDS_GroupDataQosPolicy * inst, CDX_XcdrBuffer_t * cdr );
141  /* deprecated, older api */
142  COREDX_TS_EXPORT int DDS_GroupDataQosPolicy_get_marshal_size_legacy ( const struct DDS_GroupDataQosPolicy * inst, int offset, int just_keys );
143  COREDX_TS_EXPORT int DDS_GroupDataQosPolicy_marshal_cdr_legacy ( const struct DDS_GroupDataQosPolicy * inst, unsigned char *buf, int offset, int stream_len, unsigned char swap, int just_keys);
144  COREDX_TS_EXPORT int DDS_GroupDataQosPolicy_unmarshal_cdr_legacy ( struct DDS_GroupDataQosPolicy * inst, unsigned char * buf, int offset, int stream_len, unsigned char swap, int just_keys);
145 
146 
147 /* DDS Data Type SEQUENCE: sequence<DDS_GroupDataQosPolicy *> */
148 #ifndef _DDS_sequence_c_DDS_GroupDataQosPolicyPtr_defined
149 #define _DDS_sequence_c_DDS_GroupDataQosPolicyPtr_defined
150  DECLARE_SEQ( DDS_GroupDataQosPolicy * , DDS_GroupDataQosPolicyPtrSeq );
151 #endif /* DDS Data Type SEQUENCE: sequence<DDS_GroupDataQosPolicyPtrSeq *> */
152 
153 
160  int32_t value;
162 
163  COREDX_TS_EXPORT struct DDS_TransportPriorityQosPolicy *DDS_TransportPriorityQosPolicy_alloc ( void );
164 # define DDS_TransportPriorityQosPolicy__alloc DDS_TransportPriorityQosPolicy_alloc /* discouraged */
165  COREDX_TS_EXPORT void DDS_TransportPriorityQosPolicy_free ( struct DDS_TransportPriorityQosPolicy * inst );
166  COREDX_TS_EXPORT void DDS_TransportPriorityQosPolicy_init ( struct DDS_TransportPriorityQosPolicy * instance );
167  COREDX_TS_EXPORT void DDS_TransportPriorityQosPolicy_clear( struct DDS_TransportPriorityQosPolicy * instance );
168  COREDX_TS_EXPORT void DDS_TransportPriorityQosPolicy_copy ( struct DDS_TransportPriorityQosPolicy * copy_to, const struct DDS_TransportPriorityQosPolicy * copy_from );
169  COREDX_TS_EXPORT int DDS_TransportPriorityQosPolicy_marshal_cdr ( const struct DDS_TransportPriorityQosPolicy * inst, CDX_XcdrBuffer_t * cdr, int just_keys );
170  COREDX_TS_EXPORT int DDS_TransportPriorityQosPolicy_marshal_key_hash ( const struct DDS_TransportPriorityQosPolicy * inst, CDX_XcdrBuffer_t * cdr );
171  COREDX_TS_EXPORT int DDS_TransportPriorityQosPolicy_unmarshal_cdr ( struct DDS_TransportPriorityQosPolicy * inst, CDX_XcdrBuffer_t * cdr, int just_keys );
172  COREDX_TS_EXPORT int DDS_TransportPriorityQosPolicy_unmarshal_key_hash ( struct DDS_TransportPriorityQosPolicy * inst, CDX_XcdrBuffer_t * cdr );
173  /* deprecated, older api */
174  COREDX_TS_EXPORT int DDS_TransportPriorityQosPolicy_get_marshal_size_legacy ( const struct DDS_TransportPriorityQosPolicy * inst, int offset, int just_keys );
175  COREDX_TS_EXPORT int DDS_TransportPriorityQosPolicy_marshal_cdr_legacy ( const struct DDS_TransportPriorityQosPolicy * inst, unsigned char *buf, int offset, int stream_len, unsigned char swap, int just_keys);
176  COREDX_TS_EXPORT int DDS_TransportPriorityQosPolicy_unmarshal_cdr_legacy ( struct DDS_TransportPriorityQosPolicy * inst, unsigned char * buf, int offset, int stream_len, unsigned char swap, int just_keys);
177 
178 
179 /* DDS Data Type SEQUENCE: sequence<DDS_TransportPriorityQosPolicy *> */
180 #ifndef _DDS_sequence_c_DDS_TransportPriorityQosPolicyPtr_defined
181 #define _DDS_sequence_c_DDS_TransportPriorityQosPolicyPtr_defined
182  DECLARE_SEQ( DDS_TransportPriorityQosPolicy * , DDS_TransportPriorityQosPolicyPtrSeq );
183 #endif /* DDS Data Type SEQUENCE: sequence<DDS_TransportPriorityQosPolicyPtrSeq *> */
184 
185 
193  typedef struct DDS_LifespanQosPolicy {
195  struct DDS_Duration_t duration;
197 
198  COREDX_TS_EXPORT struct DDS_LifespanQosPolicy *DDS_LifespanQosPolicy_alloc ( void );
199 # define DDS_LifespanQosPolicy__alloc DDS_LifespanQosPolicy_alloc /* discouraged */
200  COREDX_TS_EXPORT void DDS_LifespanQosPolicy_free ( struct DDS_LifespanQosPolicy * inst );
201  COREDX_TS_EXPORT void DDS_LifespanQosPolicy_init ( struct DDS_LifespanQosPolicy * instance );
202  COREDX_TS_EXPORT void DDS_LifespanQosPolicy_clear( struct DDS_LifespanQosPolicy * instance );
203  COREDX_TS_EXPORT void DDS_LifespanQosPolicy_copy ( struct DDS_LifespanQosPolicy * copy_to, const struct DDS_LifespanQosPolicy * copy_from );
204  COREDX_TS_EXPORT int DDS_LifespanQosPolicy_marshal_cdr ( const struct DDS_LifespanQosPolicy * inst, CDX_XcdrBuffer_t * cdr, int just_keys );
205  COREDX_TS_EXPORT int DDS_LifespanQosPolicy_marshal_key_hash ( const struct DDS_LifespanQosPolicy * inst, CDX_XcdrBuffer_t * cdr );
206  COREDX_TS_EXPORT int DDS_LifespanQosPolicy_unmarshal_cdr ( struct DDS_LifespanQosPolicy * inst, CDX_XcdrBuffer_t * cdr, int just_keys );
207  COREDX_TS_EXPORT int DDS_LifespanQosPolicy_unmarshal_key_hash ( struct DDS_LifespanQosPolicy * inst, CDX_XcdrBuffer_t * cdr );
208  /* deprecated, older api */
209  COREDX_TS_EXPORT int DDS_LifespanQosPolicy_get_marshal_size_legacy ( const struct DDS_LifespanQosPolicy * inst, int offset, int just_keys );
210  COREDX_TS_EXPORT int DDS_LifespanQosPolicy_marshal_cdr_legacy ( const struct DDS_LifespanQosPolicy * inst, unsigned char *buf, int offset, int stream_len, unsigned char swap, int just_keys);
211  COREDX_TS_EXPORT int DDS_LifespanQosPolicy_unmarshal_cdr_legacy ( struct DDS_LifespanQosPolicy * inst, unsigned char * buf, int offset, int stream_len, unsigned char swap, int just_keys);
212 
213 
214 /* DDS Data Type SEQUENCE: sequence<DDS_LifespanQosPolicy *> */
215 #ifndef _DDS_sequence_c_DDS_LifespanQosPolicyPtr_defined
216 #define _DDS_sequence_c_DDS_LifespanQosPolicyPtr_defined
217  DECLARE_SEQ( DDS_LifespanQosPolicy * , DDS_LifespanQosPolicyPtrSeq );
218 #endif /* DDS Data Type SEQUENCE: sequence<DDS_LifespanQosPolicyPtrSeq *> */
219 
220 
221 
225  typedef uint32_t DDS_DurabilityQosPolicyKind;
227  #define DDS_VOLATILE_DURABILITY_QOS 0
228 
229  #define DDS_TRANSIENT_LOCAL_DURABILITY_QOS 1
230 
231  #define DDS_TRANSIENT_DURABILITY_QOS 2
232 
233  #define DDS_PERSISTENT_DURABILITY_QOS 3
234 
235 
262  typedef struct DDS_DurabilityQosPolicy {
264  DDS_DurabilityQosPolicyKind kind;
266 
267  COREDX_TS_EXPORT struct DDS_DurabilityQosPolicy *DDS_DurabilityQosPolicy_alloc ( void );
268 # define DDS_DurabilityQosPolicy__alloc DDS_DurabilityQosPolicy_alloc /* discouraged */
269  COREDX_TS_EXPORT void DDS_DurabilityQosPolicy_free ( struct DDS_DurabilityQosPolicy * inst );
270  COREDX_TS_EXPORT void DDS_DurabilityQosPolicy_init ( struct DDS_DurabilityQosPolicy * instance );
271  COREDX_TS_EXPORT void DDS_DurabilityQosPolicy_clear( struct DDS_DurabilityQosPolicy * instance );
272  COREDX_TS_EXPORT void DDS_DurabilityQosPolicy_copy ( struct DDS_DurabilityQosPolicy * copy_to, const struct DDS_DurabilityQosPolicy * copy_from );
273  COREDX_TS_EXPORT int DDS_DurabilityQosPolicy_marshal_cdr ( const struct DDS_DurabilityQosPolicy * inst, CDX_XcdrBuffer_t * cdr, int just_keys );
274  COREDX_TS_EXPORT int DDS_DurabilityQosPolicy_marshal_key_hash ( const struct DDS_DurabilityQosPolicy * inst, CDX_XcdrBuffer_t * cdr );
275  COREDX_TS_EXPORT int DDS_DurabilityQosPolicy_unmarshal_cdr ( struct DDS_DurabilityQosPolicy * inst, CDX_XcdrBuffer_t * cdr, int just_keys );
276  COREDX_TS_EXPORT int DDS_DurabilityQosPolicy_unmarshal_key_hash ( struct DDS_DurabilityQosPolicy * inst, CDX_XcdrBuffer_t * cdr );
277  /* deprecated, older api */
278  COREDX_TS_EXPORT int DDS_DurabilityQosPolicy_get_marshal_size_legacy ( const struct DDS_DurabilityQosPolicy * inst, int offset, int just_keys );
279  COREDX_TS_EXPORT int DDS_DurabilityQosPolicy_marshal_cdr_legacy ( const struct DDS_DurabilityQosPolicy * inst, unsigned char *buf, int offset, int stream_len, unsigned char swap, int just_keys);
280  COREDX_TS_EXPORT int DDS_DurabilityQosPolicy_unmarshal_cdr_legacy ( struct DDS_DurabilityQosPolicy * inst, unsigned char * buf, int offset, int stream_len, unsigned char swap, int just_keys);
281 
282 
283 /* DDS Data Type SEQUENCE: sequence<DDS_DurabilityQosPolicy *> */
284 #ifndef _DDS_sequence_c_DDS_DurabilityQosPolicyPtr_defined
285 #define _DDS_sequence_c_DDS_DurabilityQosPolicyPtr_defined
286  DECLARE_SEQ( DDS_DurabilityQosPolicy * , DDS_DurabilityQosPolicyPtrSeq );
287 #endif /* DDS Data Type SEQUENCE: sequence<DDS_DurabilityQosPolicyPtrSeq *> */
288 
289 
290 
296  #define DDS_INSTANCE_PRESENTATION_QOS 0
297 
298  #define DDS_TOPIC_PRESENTATION_QOS 1
299 
300  #define DDS_GROUP_PRESENTATION_QOS 2
301 
302 
308  typedef struct DDS_PresentationQosPolicy {
311  DDS_PresentationQosPolicyAccessScopeKind access_scope;
313  unsigned char coherent_access;
315  unsigned char ordered_access;
317 
318  COREDX_TS_EXPORT struct DDS_PresentationQosPolicy *DDS_PresentationQosPolicy_alloc ( void );
319 # define DDS_PresentationQosPolicy__alloc DDS_PresentationQosPolicy_alloc /* discouraged */
320  COREDX_TS_EXPORT void DDS_PresentationQosPolicy_free ( struct DDS_PresentationQosPolicy * inst );
321  COREDX_TS_EXPORT void DDS_PresentationQosPolicy_init ( struct DDS_PresentationQosPolicy * instance );
322  COREDX_TS_EXPORT void DDS_PresentationQosPolicy_clear( struct DDS_PresentationQosPolicy * instance );
323  COREDX_TS_EXPORT void DDS_PresentationQosPolicy_copy ( struct DDS_PresentationQosPolicy * copy_to, const struct DDS_PresentationQosPolicy * copy_from );
324  COREDX_TS_EXPORT int DDS_PresentationQosPolicy_marshal_cdr ( const struct DDS_PresentationQosPolicy * inst, CDX_XcdrBuffer_t * cdr, int just_keys );
325  COREDX_TS_EXPORT int DDS_PresentationQosPolicy_marshal_key_hash ( const struct DDS_PresentationQosPolicy * inst, CDX_XcdrBuffer_t * cdr );
326  COREDX_TS_EXPORT int DDS_PresentationQosPolicy_unmarshal_cdr ( struct DDS_PresentationQosPolicy * inst, CDX_XcdrBuffer_t * cdr, int just_keys );
327  COREDX_TS_EXPORT int DDS_PresentationQosPolicy_unmarshal_key_hash ( struct DDS_PresentationQosPolicy * inst, CDX_XcdrBuffer_t * cdr );
328  /* deprecated, older api */
329  COREDX_TS_EXPORT int DDS_PresentationQosPolicy_get_marshal_size_legacy ( const struct DDS_PresentationQosPolicy * inst, int offset, int just_keys );
330  COREDX_TS_EXPORT int DDS_PresentationQosPolicy_marshal_cdr_legacy ( const struct DDS_PresentationQosPolicy * inst, unsigned char *buf, int offset, int stream_len, unsigned char swap, int just_keys);
331  COREDX_TS_EXPORT int DDS_PresentationQosPolicy_unmarshal_cdr_legacy ( struct DDS_PresentationQosPolicy * inst, unsigned char * buf, int offset, int stream_len, unsigned char swap, int just_keys);
332 
333 
334 /* DDS Data Type SEQUENCE: sequence<DDS_PresentationQosPolicy *> */
335 #ifndef _DDS_sequence_c_DDS_PresentationQosPolicyPtr_defined
336 #define _DDS_sequence_c_DDS_PresentationQosPolicyPtr_defined
337  DECLARE_SEQ( DDS_PresentationQosPolicy * , DDS_PresentationQosPolicyPtrSeq );
338 #endif /* DDS Data Type SEQUENCE: sequence<DDS_PresentationQosPolicyPtrSeq *> */
339 
340 
360  typedef struct DDS_DeadlineQosPolicy {
362  struct DDS_Duration_t period;
364 
365  COREDX_TS_EXPORT struct DDS_DeadlineQosPolicy *DDS_DeadlineQosPolicy_alloc ( void );
366 # define DDS_DeadlineQosPolicy__alloc DDS_DeadlineQosPolicy_alloc /* discouraged */
367  COREDX_TS_EXPORT void DDS_DeadlineQosPolicy_free ( struct DDS_DeadlineQosPolicy * inst );
368  COREDX_TS_EXPORT void DDS_DeadlineQosPolicy_init ( struct DDS_DeadlineQosPolicy * instance );
369  COREDX_TS_EXPORT void DDS_DeadlineQosPolicy_clear( struct DDS_DeadlineQosPolicy * instance );
370  COREDX_TS_EXPORT void DDS_DeadlineQosPolicy_copy ( struct DDS_DeadlineQosPolicy * copy_to, const struct DDS_DeadlineQosPolicy * copy_from );
371  COREDX_TS_EXPORT int DDS_DeadlineQosPolicy_marshal_cdr ( const struct DDS_DeadlineQosPolicy * inst, CDX_XcdrBuffer_t * cdr, int just_keys );
372  COREDX_TS_EXPORT int DDS_DeadlineQosPolicy_marshal_key_hash ( const struct DDS_DeadlineQosPolicy * inst, CDX_XcdrBuffer_t * cdr );
373  COREDX_TS_EXPORT int DDS_DeadlineQosPolicy_unmarshal_cdr ( struct DDS_DeadlineQosPolicy * inst, CDX_XcdrBuffer_t * cdr, int just_keys );
374  COREDX_TS_EXPORT int DDS_DeadlineQosPolicy_unmarshal_key_hash ( struct DDS_DeadlineQosPolicy * inst, CDX_XcdrBuffer_t * cdr );
375  /* deprecated, older api */
376  COREDX_TS_EXPORT int DDS_DeadlineQosPolicy_get_marshal_size_legacy ( const struct DDS_DeadlineQosPolicy * inst, int offset, int just_keys );
377  COREDX_TS_EXPORT int DDS_DeadlineQosPolicy_marshal_cdr_legacy ( const struct DDS_DeadlineQosPolicy * inst, unsigned char *buf, int offset, int stream_len, unsigned char swap, int just_keys);
378  COREDX_TS_EXPORT int DDS_DeadlineQosPolicy_unmarshal_cdr_legacy ( struct DDS_DeadlineQosPolicy * inst, unsigned char * buf, int offset, int stream_len, unsigned char swap, int just_keys);
379 
380 
381 /* DDS Data Type SEQUENCE: sequence<DDS_DeadlineQosPolicy *> */
382 #ifndef _DDS_sequence_c_DDS_DeadlineQosPolicyPtr_defined
383 #define _DDS_sequence_c_DDS_DeadlineQosPolicyPtr_defined
384  DECLARE_SEQ( DDS_DeadlineQosPolicy * , DDS_DeadlineQosPolicyPtrSeq );
385 #endif /* DDS Data Type SEQUENCE: sequence<DDS_DeadlineQosPolicyPtrSeq *> */
386 
387 
402  typedef struct DDS_LatencyBudgetQosPolicy {
404  struct DDS_Duration_t duration;
406 
407  COREDX_TS_EXPORT struct DDS_LatencyBudgetQosPolicy *DDS_LatencyBudgetQosPolicy_alloc ( void );
408 # define DDS_LatencyBudgetQosPolicy__alloc DDS_LatencyBudgetQosPolicy_alloc /* discouraged */
409  COREDX_TS_EXPORT void DDS_LatencyBudgetQosPolicy_free ( struct DDS_LatencyBudgetQosPolicy * inst );
410  COREDX_TS_EXPORT void DDS_LatencyBudgetQosPolicy_init ( struct DDS_LatencyBudgetQosPolicy * instance );
411  COREDX_TS_EXPORT void DDS_LatencyBudgetQosPolicy_clear( struct DDS_LatencyBudgetQosPolicy * instance );
412  COREDX_TS_EXPORT void DDS_LatencyBudgetQosPolicy_copy ( struct DDS_LatencyBudgetQosPolicy * copy_to, const struct DDS_LatencyBudgetQosPolicy * copy_from );
413  COREDX_TS_EXPORT int DDS_LatencyBudgetQosPolicy_marshal_cdr ( const struct DDS_LatencyBudgetQosPolicy * inst, CDX_XcdrBuffer_t * cdr, int just_keys );
414  COREDX_TS_EXPORT int DDS_LatencyBudgetQosPolicy_marshal_key_hash ( const struct DDS_LatencyBudgetQosPolicy * inst, CDX_XcdrBuffer_t * cdr );
415  COREDX_TS_EXPORT int DDS_LatencyBudgetQosPolicy_unmarshal_cdr ( struct DDS_LatencyBudgetQosPolicy * inst, CDX_XcdrBuffer_t * cdr, int just_keys );
416  COREDX_TS_EXPORT int DDS_LatencyBudgetQosPolicy_unmarshal_key_hash ( struct DDS_LatencyBudgetQosPolicy * inst, CDX_XcdrBuffer_t * cdr );
417  /* deprecated, older api */
418  COREDX_TS_EXPORT int DDS_LatencyBudgetQosPolicy_get_marshal_size_legacy ( const struct DDS_LatencyBudgetQosPolicy * inst, int offset, int just_keys );
419  COREDX_TS_EXPORT int DDS_LatencyBudgetQosPolicy_marshal_cdr_legacy ( const struct DDS_LatencyBudgetQosPolicy * inst, unsigned char *buf, int offset, int stream_len, unsigned char swap, int just_keys);
420  COREDX_TS_EXPORT int DDS_LatencyBudgetQosPolicy_unmarshal_cdr_legacy ( struct DDS_LatencyBudgetQosPolicy * inst, unsigned char * buf, int offset, int stream_len, unsigned char swap, int just_keys);
421 
422 
423 /* DDS Data Type SEQUENCE: sequence<DDS_LatencyBudgetQosPolicy *> */
424 #ifndef _DDS_sequence_c_DDS_LatencyBudgetQosPolicyPtr_defined
425 #define _DDS_sequence_c_DDS_LatencyBudgetQosPolicyPtr_defined
426  DECLARE_SEQ( DDS_LatencyBudgetQosPolicy * , DDS_LatencyBudgetQosPolicyPtrSeq );
427 #endif /* DDS Data Type SEQUENCE: sequence<DDS_LatencyBudgetQosPolicyPtrSeq *> */
428 
429 
430 
434  typedef uint32_t DDS_OwnershipQosPolicyKind;
436  #define DDS_SHARED_OWNERSHIP_QOS 0
437 
438  #define DDS_EXCLUSIVE_OWNERSHIP_QOS 1
439 
440 
445  typedef struct DDS_OwnershipQosPolicy {
447  DDS_OwnershipQosPolicyKind kind;
449 
450  COREDX_TS_EXPORT struct DDS_OwnershipQosPolicy *DDS_OwnershipQosPolicy_alloc ( void );
451 # define DDS_OwnershipQosPolicy__alloc DDS_OwnershipQosPolicy_alloc /* discouraged */
452  COREDX_TS_EXPORT void DDS_OwnershipQosPolicy_free ( struct DDS_OwnershipQosPolicy * inst );
453  COREDX_TS_EXPORT void DDS_OwnershipQosPolicy_init ( struct DDS_OwnershipQosPolicy * instance );
454  COREDX_TS_EXPORT void DDS_OwnershipQosPolicy_clear( struct DDS_OwnershipQosPolicy * instance );
455  COREDX_TS_EXPORT void DDS_OwnershipQosPolicy_copy ( struct DDS_OwnershipQosPolicy * copy_to, const struct DDS_OwnershipQosPolicy * copy_from );
456  COREDX_TS_EXPORT int DDS_OwnershipQosPolicy_marshal_cdr ( const struct DDS_OwnershipQosPolicy * inst, CDX_XcdrBuffer_t * cdr, int just_keys );
457  COREDX_TS_EXPORT int DDS_OwnershipQosPolicy_marshal_key_hash ( const struct DDS_OwnershipQosPolicy * inst, CDX_XcdrBuffer_t * cdr );
458  COREDX_TS_EXPORT int DDS_OwnershipQosPolicy_unmarshal_cdr ( struct DDS_OwnershipQosPolicy * inst, CDX_XcdrBuffer_t * cdr, int just_keys );
459  COREDX_TS_EXPORT int DDS_OwnershipQosPolicy_unmarshal_key_hash ( struct DDS_OwnershipQosPolicy * inst, CDX_XcdrBuffer_t * cdr );
460  /* deprecated, older api */
461  COREDX_TS_EXPORT int DDS_OwnershipQosPolicy_get_marshal_size_legacy ( const struct DDS_OwnershipQosPolicy * inst, int offset, int just_keys );
462  COREDX_TS_EXPORT int DDS_OwnershipQosPolicy_marshal_cdr_legacy ( const struct DDS_OwnershipQosPolicy * inst, unsigned char *buf, int offset, int stream_len, unsigned char swap, int just_keys);
463  COREDX_TS_EXPORT int DDS_OwnershipQosPolicy_unmarshal_cdr_legacy ( struct DDS_OwnershipQosPolicy * inst, unsigned char * buf, int offset, int stream_len, unsigned char swap, int just_keys);
464 
465 
466 /* DDS Data Type SEQUENCE: sequence<DDS_OwnershipQosPolicy *> */
467 #ifndef _DDS_sequence_c_DDS_OwnershipQosPolicyPtr_defined
468 #define _DDS_sequence_c_DDS_OwnershipQosPolicyPtr_defined
469  DECLARE_SEQ( DDS_OwnershipQosPolicy * , DDS_OwnershipQosPolicyPtrSeq );
470 #endif /* DDS Data Type SEQUENCE: sequence<DDS_OwnershipQosPolicyPtrSeq *> */
471 
472 
483  int32_t value;
485 
486  COREDX_TS_EXPORT struct DDS_OwnershipStrengthQosPolicy *DDS_OwnershipStrengthQosPolicy_alloc ( void );
487 # define DDS_OwnershipStrengthQosPolicy__alloc DDS_OwnershipStrengthQosPolicy_alloc /* discouraged */
488  COREDX_TS_EXPORT void DDS_OwnershipStrengthQosPolicy_free ( struct DDS_OwnershipStrengthQosPolicy * inst );
489  COREDX_TS_EXPORT void DDS_OwnershipStrengthQosPolicy_init ( struct DDS_OwnershipStrengthQosPolicy * instance );
490  COREDX_TS_EXPORT void DDS_OwnershipStrengthQosPolicy_clear( struct DDS_OwnershipStrengthQosPolicy * instance );
491  COREDX_TS_EXPORT void DDS_OwnershipStrengthQosPolicy_copy ( struct DDS_OwnershipStrengthQosPolicy * copy_to, const struct DDS_OwnershipStrengthQosPolicy * copy_from );
492  COREDX_TS_EXPORT int DDS_OwnershipStrengthQosPolicy_marshal_cdr ( const struct DDS_OwnershipStrengthQosPolicy * inst, CDX_XcdrBuffer_t * cdr, int just_keys );
493  COREDX_TS_EXPORT int DDS_OwnershipStrengthQosPolicy_marshal_key_hash ( const struct DDS_OwnershipStrengthQosPolicy * inst, CDX_XcdrBuffer_t * cdr );
494  COREDX_TS_EXPORT int DDS_OwnershipStrengthQosPolicy_unmarshal_cdr ( struct DDS_OwnershipStrengthQosPolicy * inst, CDX_XcdrBuffer_t * cdr, int just_keys );
495  COREDX_TS_EXPORT int DDS_OwnershipStrengthQosPolicy_unmarshal_key_hash ( struct DDS_OwnershipStrengthQosPolicy * inst, CDX_XcdrBuffer_t * cdr );
496  /* deprecated, older api */
497  COREDX_TS_EXPORT int DDS_OwnershipStrengthQosPolicy_get_marshal_size_legacy ( const struct DDS_OwnershipStrengthQosPolicy * inst, int offset, int just_keys );
498  COREDX_TS_EXPORT int DDS_OwnershipStrengthQosPolicy_marshal_cdr_legacy ( const struct DDS_OwnershipStrengthQosPolicy * inst, unsigned char *buf, int offset, int stream_len, unsigned char swap, int just_keys);
499  COREDX_TS_EXPORT int DDS_OwnershipStrengthQosPolicy_unmarshal_cdr_legacy ( struct DDS_OwnershipStrengthQosPolicy * inst, unsigned char * buf, int offset, int stream_len, unsigned char swap, int just_keys);
500 
501 
502 /* DDS Data Type SEQUENCE: sequence<DDS_OwnershipStrengthQosPolicy *> */
503 #ifndef _DDS_sequence_c_DDS_OwnershipStrengthQosPolicyPtr_defined
504 #define _DDS_sequence_c_DDS_OwnershipStrengthQosPolicyPtr_defined
505  DECLARE_SEQ( DDS_OwnershipStrengthQosPolicy * , DDS_OwnershipStrengthQosPolicyPtrSeq );
506 #endif /* DDS Data Type SEQUENCE: sequence<DDS_OwnershipStrengthQosPolicyPtrSeq *> */
507 
508 
509 
513  typedef uint32_t DDS_LivelinessQosPolicyKind;
515  #define DDS_AUTOMATIC_LIVELINESS_QOS 0
516 
517  #define DDS_MANUAL_BY_PARTICIPANT_LIVELINESS_QOS 1
518 
519  #define DDS_MANUAL_BY_TOPIC_LIVELINESS_QOS 2
520 
521 
550  typedef struct DDS_LivelinessQosPolicy {
552  DDS_LivelinessQosPolicyKind kind;
554  struct DDS_Duration_t lease_duration;
556 
557  COREDX_TS_EXPORT struct DDS_LivelinessQosPolicy *DDS_LivelinessQosPolicy_alloc ( void );
558 # define DDS_LivelinessQosPolicy__alloc DDS_LivelinessQosPolicy_alloc /* discouraged */
559  COREDX_TS_EXPORT void DDS_LivelinessQosPolicy_free ( struct DDS_LivelinessQosPolicy * inst );
560  COREDX_TS_EXPORT void DDS_LivelinessQosPolicy_init ( struct DDS_LivelinessQosPolicy * instance );
561  COREDX_TS_EXPORT void DDS_LivelinessQosPolicy_clear( struct DDS_LivelinessQosPolicy * instance );
562  COREDX_TS_EXPORT void DDS_LivelinessQosPolicy_copy ( struct DDS_LivelinessQosPolicy * copy_to, const struct DDS_LivelinessQosPolicy * copy_from );
563  COREDX_TS_EXPORT int DDS_LivelinessQosPolicy_marshal_cdr ( const struct DDS_LivelinessQosPolicy * inst, CDX_XcdrBuffer_t * cdr, int just_keys );
564  COREDX_TS_EXPORT int DDS_LivelinessQosPolicy_marshal_key_hash ( const struct DDS_LivelinessQosPolicy * inst, CDX_XcdrBuffer_t * cdr );
565  COREDX_TS_EXPORT int DDS_LivelinessQosPolicy_unmarshal_cdr ( struct DDS_LivelinessQosPolicy * inst, CDX_XcdrBuffer_t * cdr, int just_keys );
566  COREDX_TS_EXPORT int DDS_LivelinessQosPolicy_unmarshal_key_hash ( struct DDS_LivelinessQosPolicy * inst, CDX_XcdrBuffer_t * cdr );
567  /* deprecated, older api */
568  COREDX_TS_EXPORT int DDS_LivelinessQosPolicy_get_marshal_size_legacy ( const struct DDS_LivelinessQosPolicy * inst, int offset, int just_keys );
569  COREDX_TS_EXPORT int DDS_LivelinessQosPolicy_marshal_cdr_legacy ( const struct DDS_LivelinessQosPolicy * inst, unsigned char *buf, int offset, int stream_len, unsigned char swap, int just_keys);
570  COREDX_TS_EXPORT int DDS_LivelinessQosPolicy_unmarshal_cdr_legacy ( struct DDS_LivelinessQosPolicy * inst, unsigned char * buf, int offset, int stream_len, unsigned char swap, int just_keys);
571 
572 
573 /* DDS Data Type SEQUENCE: sequence<DDS_LivelinessQosPolicy *> */
574 #ifndef _DDS_sequence_c_DDS_LivelinessQosPolicyPtr_defined
575 #define _DDS_sequence_c_DDS_LivelinessQosPolicyPtr_defined
576  DECLARE_SEQ( DDS_LivelinessQosPolicy * , DDS_LivelinessQosPolicyPtrSeq );
577 #endif /* DDS Data Type SEQUENCE: sequence<DDS_LivelinessQosPolicyPtrSeq *> */
578 
579 
591  struct DDS_Duration_t minimum_separation;
593 
594  COREDX_TS_EXPORT struct DDS_TimeBasedFilterQosPolicy *DDS_TimeBasedFilterQosPolicy_alloc ( void );
595 # define DDS_TimeBasedFilterQosPolicy__alloc DDS_TimeBasedFilterQosPolicy_alloc /* discouraged */
596  COREDX_TS_EXPORT void DDS_TimeBasedFilterQosPolicy_free ( struct DDS_TimeBasedFilterQosPolicy * inst );
597  COREDX_TS_EXPORT void DDS_TimeBasedFilterQosPolicy_init ( struct DDS_TimeBasedFilterQosPolicy * instance );
598  COREDX_TS_EXPORT void DDS_TimeBasedFilterQosPolicy_clear( struct DDS_TimeBasedFilterQosPolicy * instance );
599  COREDX_TS_EXPORT void DDS_TimeBasedFilterQosPolicy_copy ( struct DDS_TimeBasedFilterQosPolicy * copy_to, const struct DDS_TimeBasedFilterQosPolicy * copy_from );
600  COREDX_TS_EXPORT int DDS_TimeBasedFilterQosPolicy_marshal_cdr ( const struct DDS_TimeBasedFilterQosPolicy * inst, CDX_XcdrBuffer_t * cdr, int just_keys );
601  COREDX_TS_EXPORT int DDS_TimeBasedFilterQosPolicy_marshal_key_hash ( const struct DDS_TimeBasedFilterQosPolicy * inst, CDX_XcdrBuffer_t * cdr );
602  COREDX_TS_EXPORT int DDS_TimeBasedFilterQosPolicy_unmarshal_cdr ( struct DDS_TimeBasedFilterQosPolicy * inst, CDX_XcdrBuffer_t * cdr, int just_keys );
603  COREDX_TS_EXPORT int DDS_TimeBasedFilterQosPolicy_unmarshal_key_hash ( struct DDS_TimeBasedFilterQosPolicy * inst, CDX_XcdrBuffer_t * cdr );
604  /* deprecated, older api */
605  COREDX_TS_EXPORT int DDS_TimeBasedFilterQosPolicy_get_marshal_size_legacy ( const struct DDS_TimeBasedFilterQosPolicy * inst, int offset, int just_keys );
606  COREDX_TS_EXPORT int DDS_TimeBasedFilterQosPolicy_marshal_cdr_legacy ( const struct DDS_TimeBasedFilterQosPolicy * inst, unsigned char *buf, int offset, int stream_len, unsigned char swap, int just_keys);
607  COREDX_TS_EXPORT int DDS_TimeBasedFilterQosPolicy_unmarshal_cdr_legacy ( struct DDS_TimeBasedFilterQosPolicy * inst, unsigned char * buf, int offset, int stream_len, unsigned char swap, int just_keys);
608 
609 
610 /* DDS Data Type SEQUENCE: sequence<DDS_TimeBasedFilterQosPolicy *> */
611 #ifndef _DDS_sequence_c_DDS_TimeBasedFilterQosPolicyPtr_defined
612 #define _DDS_sequence_c_DDS_TimeBasedFilterQosPolicyPtr_defined
613  DECLARE_SEQ( DDS_TimeBasedFilterQosPolicy * , DDS_TimeBasedFilterQosPolicyPtrSeq );
614 #endif /* DDS Data Type SEQUENCE: sequence<DDS_TimeBasedFilterQosPolicyPtrSeq *> */
615 
616 
645  typedef struct DDS_PartitionQosPolicy {
647  DDS_StringSeq name;
649 
650  COREDX_TS_EXPORT struct DDS_PartitionQosPolicy *DDS_PartitionQosPolicy_alloc ( void );
651 # define DDS_PartitionQosPolicy__alloc DDS_PartitionQosPolicy_alloc /* discouraged */
652  COREDX_TS_EXPORT void DDS_PartitionQosPolicy_free ( struct DDS_PartitionQosPolicy * inst );
653  COREDX_TS_EXPORT void DDS_PartitionQosPolicy_init ( struct DDS_PartitionQosPolicy * instance );
654  COREDX_TS_EXPORT void DDS_PartitionQosPolicy_clear( struct DDS_PartitionQosPolicy * instance );
655  COREDX_TS_EXPORT void DDS_PartitionQosPolicy_copy ( struct DDS_PartitionQosPolicy * copy_to, const struct DDS_PartitionQosPolicy * copy_from );
656  COREDX_TS_EXPORT int DDS_PartitionQosPolicy_marshal_cdr ( const struct DDS_PartitionQosPolicy * inst, CDX_XcdrBuffer_t * cdr, int just_keys );
657  COREDX_TS_EXPORT int DDS_PartitionQosPolicy_marshal_key_hash ( const struct DDS_PartitionQosPolicy * inst, CDX_XcdrBuffer_t * cdr );
658  COREDX_TS_EXPORT int DDS_PartitionQosPolicy_unmarshal_cdr ( struct DDS_PartitionQosPolicy * inst, CDX_XcdrBuffer_t * cdr, int just_keys );
659  COREDX_TS_EXPORT int DDS_PartitionQosPolicy_unmarshal_key_hash ( struct DDS_PartitionQosPolicy * inst, CDX_XcdrBuffer_t * cdr );
660  /* deprecated, older api */
661  COREDX_TS_EXPORT int DDS_PartitionQosPolicy_get_marshal_size_legacy ( const struct DDS_PartitionQosPolicy * inst, int offset, int just_keys );
662  COREDX_TS_EXPORT int DDS_PartitionQosPolicy_marshal_cdr_legacy ( const struct DDS_PartitionQosPolicy * inst, unsigned char *buf, int offset, int stream_len, unsigned char swap, int just_keys);
663  COREDX_TS_EXPORT int DDS_PartitionQosPolicy_unmarshal_cdr_legacy ( struct DDS_PartitionQosPolicy * inst, unsigned char * buf, int offset, int stream_len, unsigned char swap, int just_keys);
664 
665 
666 /* DDS Data Type SEQUENCE: sequence<DDS_PartitionQosPolicy *> */
667 #ifndef _DDS_sequence_c_DDS_PartitionQosPolicyPtr_defined
668 #define _DDS_sequence_c_DDS_PartitionQosPolicyPtr_defined
669  DECLARE_SEQ( DDS_PartitionQosPolicy * , DDS_PartitionQosPolicyPtrSeq );
670 #endif /* DDS Data Type SEQUENCE: sequence<DDS_PartitionQosPolicyPtrSeq *> */
671 
672 
673 
678  #define DDS_UNKN_RELIABILITY_QOS 0
679 
680  #define DDS_BEST_EFFORT_RELIABILITY_QOS 1
681 
682  #define DDS_RELIABLE_RELIABILITY_QOS 2
683 
684 
705  typedef struct DDS_ReliabilityQosPolicy {
707  DDS_ReliabilityQosPolicyKind kind;
709  struct DDS_Duration_t max_blocking_time;
711 
712  COREDX_TS_EXPORT struct DDS_ReliabilityQosPolicy *DDS_ReliabilityQosPolicy_alloc ( void );
713 # define DDS_ReliabilityQosPolicy__alloc DDS_ReliabilityQosPolicy_alloc /* discouraged */
714  COREDX_TS_EXPORT void DDS_ReliabilityQosPolicy_free ( struct DDS_ReliabilityQosPolicy * inst );
715  COREDX_TS_EXPORT void DDS_ReliabilityQosPolicy_init ( struct DDS_ReliabilityQosPolicy * instance );
716  COREDX_TS_EXPORT void DDS_ReliabilityQosPolicy_clear( struct DDS_ReliabilityQosPolicy * instance );
717  COREDX_TS_EXPORT void DDS_ReliabilityQosPolicy_copy ( struct DDS_ReliabilityQosPolicy * copy_to, const struct DDS_ReliabilityQosPolicy * copy_from );
718  COREDX_TS_EXPORT int DDS_ReliabilityQosPolicy_marshal_cdr ( const struct DDS_ReliabilityQosPolicy * inst, CDX_XcdrBuffer_t * cdr, int just_keys );
719  COREDX_TS_EXPORT int DDS_ReliabilityQosPolicy_marshal_key_hash ( const struct DDS_ReliabilityQosPolicy * inst, CDX_XcdrBuffer_t * cdr );
720  COREDX_TS_EXPORT int DDS_ReliabilityQosPolicy_unmarshal_cdr ( struct DDS_ReliabilityQosPolicy * inst, CDX_XcdrBuffer_t * cdr, int just_keys );
721  COREDX_TS_EXPORT int DDS_ReliabilityQosPolicy_unmarshal_key_hash ( struct DDS_ReliabilityQosPolicy * inst, CDX_XcdrBuffer_t * cdr );
722  /* deprecated, older api */
723  COREDX_TS_EXPORT int DDS_ReliabilityQosPolicy_get_marshal_size_legacy ( const struct DDS_ReliabilityQosPolicy * inst, int offset, int just_keys );
724  COREDX_TS_EXPORT int DDS_ReliabilityQosPolicy_marshal_cdr_legacy ( const struct DDS_ReliabilityQosPolicy * inst, unsigned char *buf, int offset, int stream_len, unsigned char swap, int just_keys);
725  COREDX_TS_EXPORT int DDS_ReliabilityQosPolicy_unmarshal_cdr_legacy ( struct DDS_ReliabilityQosPolicy * inst, unsigned char * buf, int offset, int stream_len, unsigned char swap, int just_keys);
726 
727 
728 /* DDS Data Type SEQUENCE: sequence<DDS_ReliabilityQosPolicy *> */
729 #ifndef _DDS_sequence_c_DDS_ReliabilityQosPolicyPtr_defined
730 #define _DDS_sequence_c_DDS_ReliabilityQosPolicyPtr_defined
731  DECLARE_SEQ( DDS_ReliabilityQosPolicy * , DDS_ReliabilityQosPolicyPtrSeq );
732 #endif /* DDS Data Type SEQUENCE: sequence<DDS_ReliabilityQosPolicyPtrSeq *> */
733 
734 
735 
741  #define DDS_BY_RECEPTION_TIMESTAMP_DESTINATIONORDER_QOS 0
742 
743  #define DDS_BY_SOURCE_TIMESTAMP_DESTINATIONORDER_QOS 1
744 
745 
758  DDS_DestinationOrderQosPolicyKind kind;
760 
761  COREDX_TS_EXPORT struct DDS_DestinationOrderQosPolicy *DDS_DestinationOrderQosPolicy_alloc ( void );
762 # define DDS_DestinationOrderQosPolicy__alloc DDS_DestinationOrderQosPolicy_alloc /* discouraged */
763  COREDX_TS_EXPORT void DDS_DestinationOrderQosPolicy_free ( struct DDS_DestinationOrderQosPolicy * inst );
764  COREDX_TS_EXPORT void DDS_DestinationOrderQosPolicy_init ( struct DDS_DestinationOrderQosPolicy * instance );
765  COREDX_TS_EXPORT void DDS_DestinationOrderQosPolicy_clear( struct DDS_DestinationOrderQosPolicy * instance );
766  COREDX_TS_EXPORT void DDS_DestinationOrderQosPolicy_copy ( struct DDS_DestinationOrderQosPolicy * copy_to, const struct DDS_DestinationOrderQosPolicy * copy_from );
767  COREDX_TS_EXPORT int DDS_DestinationOrderQosPolicy_marshal_cdr ( const struct DDS_DestinationOrderQosPolicy * inst, CDX_XcdrBuffer_t * cdr, int just_keys );
768  COREDX_TS_EXPORT int DDS_DestinationOrderQosPolicy_marshal_key_hash ( const struct DDS_DestinationOrderQosPolicy * inst, CDX_XcdrBuffer_t * cdr );
769  COREDX_TS_EXPORT int DDS_DestinationOrderQosPolicy_unmarshal_cdr ( struct DDS_DestinationOrderQosPolicy * inst, CDX_XcdrBuffer_t * cdr, int just_keys );
770  COREDX_TS_EXPORT int DDS_DestinationOrderQosPolicy_unmarshal_key_hash ( struct DDS_DestinationOrderQosPolicy * inst, CDX_XcdrBuffer_t * cdr );
771  /* deprecated, older api */
772  COREDX_TS_EXPORT int DDS_DestinationOrderQosPolicy_get_marshal_size_legacy ( const struct DDS_DestinationOrderQosPolicy * inst, int offset, int just_keys );
773  COREDX_TS_EXPORT int DDS_DestinationOrderQosPolicy_marshal_cdr_legacy ( const struct DDS_DestinationOrderQosPolicy * inst, unsigned char *buf, int offset, int stream_len, unsigned char swap, int just_keys);
774  COREDX_TS_EXPORT int DDS_DestinationOrderQosPolicy_unmarshal_cdr_legacy ( struct DDS_DestinationOrderQosPolicy * inst, unsigned char * buf, int offset, int stream_len, unsigned char swap, int just_keys);
775 
776 
777 /* DDS Data Type SEQUENCE: sequence<DDS_DestinationOrderQosPolicy *> */
778 #ifndef _DDS_sequence_c_DDS_DestinationOrderQosPolicyPtr_defined
779 #define _DDS_sequence_c_DDS_DestinationOrderQosPolicyPtr_defined
780  DECLARE_SEQ( DDS_DestinationOrderQosPolicy * , DDS_DestinationOrderQosPolicyPtrSeq );
781 #endif /* DDS Data Type SEQUENCE: sequence<DDS_DestinationOrderQosPolicyPtrSeq *> */
782 
783 
784 
788  typedef uint32_t DDS_HistoryQosPolicyKind;
790  #define DDS_KEEP_LAST_HISTORY_QOS 0
791 
793  #define DDS_KEEP_ALL_HISTORY_QOS 1
794 
795 
819  typedef struct DDS_HistoryQosPolicy {
821  DDS_HistoryQosPolicyKind kind;
823  int32_t depth;
825 
826  COREDX_TS_EXPORT struct DDS_HistoryQosPolicy *DDS_HistoryQosPolicy_alloc ( void );
827 # define DDS_HistoryQosPolicy__alloc DDS_HistoryQosPolicy_alloc /* discouraged */
828  COREDX_TS_EXPORT void DDS_HistoryQosPolicy_free ( struct DDS_HistoryQosPolicy * inst );
829  COREDX_TS_EXPORT void DDS_HistoryQosPolicy_init ( struct DDS_HistoryQosPolicy * instance );
830  COREDX_TS_EXPORT void DDS_HistoryQosPolicy_clear( struct DDS_HistoryQosPolicy * instance );
831  COREDX_TS_EXPORT void DDS_HistoryQosPolicy_copy ( struct DDS_HistoryQosPolicy * copy_to, const struct DDS_HistoryQosPolicy * copy_from );
832  COREDX_TS_EXPORT int DDS_HistoryQosPolicy_marshal_cdr ( const struct DDS_HistoryQosPolicy * inst, CDX_XcdrBuffer_t * cdr, int just_keys );
833  COREDX_TS_EXPORT int DDS_HistoryQosPolicy_marshal_key_hash ( const struct DDS_HistoryQosPolicy * inst, CDX_XcdrBuffer_t * cdr );
834  COREDX_TS_EXPORT int DDS_HistoryQosPolicy_unmarshal_cdr ( struct DDS_HistoryQosPolicy * inst, CDX_XcdrBuffer_t * cdr, int just_keys );
835  COREDX_TS_EXPORT int DDS_HistoryQosPolicy_unmarshal_key_hash ( struct DDS_HistoryQosPolicy * inst, CDX_XcdrBuffer_t * cdr );
836  /* deprecated, older api */
837  COREDX_TS_EXPORT int DDS_HistoryQosPolicy_get_marshal_size_legacy ( const struct DDS_HistoryQosPolicy * inst, int offset, int just_keys );
838  COREDX_TS_EXPORT int DDS_HistoryQosPolicy_marshal_cdr_legacy ( const struct DDS_HistoryQosPolicy * inst, unsigned char *buf, int offset, int stream_len, unsigned char swap, int just_keys);
839  COREDX_TS_EXPORT int DDS_HistoryQosPolicy_unmarshal_cdr_legacy ( struct DDS_HistoryQosPolicy * inst, unsigned char * buf, int offset, int stream_len, unsigned char swap, int just_keys);
840 
841 
842 /* DDS Data Type SEQUENCE: sequence<DDS_HistoryQosPolicy *> */
843 #ifndef _DDS_sequence_c_DDS_HistoryQosPolicyPtr_defined
844 #define _DDS_sequence_c_DDS_HistoryQosPolicyPtr_defined
845  DECLARE_SEQ( DDS_HistoryQosPolicy * , DDS_HistoryQosPolicyPtrSeq );
846 #endif /* DDS Data Type SEQUENCE: sequence<DDS_HistoryQosPolicyPtrSeq *> */
847 
848 
857  typedef struct DDS_ResourceLimitsQosPolicy {
859  int32_t max_samples;
861  int32_t max_instances;
866  unsigned char preallocate_samples;
869  unsigned char preallocate_instances;
871 
872  COREDX_TS_EXPORT struct DDS_ResourceLimitsQosPolicy *DDS_ResourceLimitsQosPolicy_alloc ( void );
873 # define DDS_ResourceLimitsQosPolicy__alloc DDS_ResourceLimitsQosPolicy_alloc /* discouraged */
874  COREDX_TS_EXPORT void DDS_ResourceLimitsQosPolicy_free ( struct DDS_ResourceLimitsQosPolicy * inst );
875  COREDX_TS_EXPORT void DDS_ResourceLimitsQosPolicy_init ( struct DDS_ResourceLimitsQosPolicy * instance );
876  COREDX_TS_EXPORT void DDS_ResourceLimitsQosPolicy_clear( struct DDS_ResourceLimitsQosPolicy * instance );
877  COREDX_TS_EXPORT void DDS_ResourceLimitsQosPolicy_copy ( struct DDS_ResourceLimitsQosPolicy * copy_to, const struct DDS_ResourceLimitsQosPolicy * copy_from );
878  COREDX_TS_EXPORT int DDS_ResourceLimitsQosPolicy_marshal_cdr ( const struct DDS_ResourceLimitsQosPolicy * inst, CDX_XcdrBuffer_t * cdr, int just_keys );
879  COREDX_TS_EXPORT int DDS_ResourceLimitsQosPolicy_marshal_key_hash ( const struct DDS_ResourceLimitsQosPolicy * inst, CDX_XcdrBuffer_t * cdr );
880  COREDX_TS_EXPORT int DDS_ResourceLimitsQosPolicy_unmarshal_cdr ( struct DDS_ResourceLimitsQosPolicy * inst, CDX_XcdrBuffer_t * cdr, int just_keys );
881  COREDX_TS_EXPORT int DDS_ResourceLimitsQosPolicy_unmarshal_key_hash ( struct DDS_ResourceLimitsQosPolicy * inst, CDX_XcdrBuffer_t * cdr );
882  /* deprecated, older api */
883  COREDX_TS_EXPORT int DDS_ResourceLimitsQosPolicy_get_marshal_size_legacy ( const struct DDS_ResourceLimitsQosPolicy * inst, int offset, int just_keys );
884  COREDX_TS_EXPORT int DDS_ResourceLimitsQosPolicy_marshal_cdr_legacy ( const struct DDS_ResourceLimitsQosPolicy * inst, unsigned char *buf, int offset, int stream_len, unsigned char swap, int just_keys);
885  COREDX_TS_EXPORT int DDS_ResourceLimitsQosPolicy_unmarshal_cdr_legacy ( struct DDS_ResourceLimitsQosPolicy * inst, unsigned char * buf, int offset, int stream_len, unsigned char swap, int just_keys);
886 
887 
888 /* DDS Data Type SEQUENCE: sequence<DDS_ResourceLimitsQosPolicy *> */
889 #ifndef _DDS_sequence_c_DDS_ResourceLimitsQosPolicyPtr_defined
890 #define _DDS_sequence_c_DDS_ResourceLimitsQosPolicyPtr_defined
891  DECLARE_SEQ( DDS_ResourceLimitsQosPolicy * , DDS_ResourceLimitsQosPolicyPtrSeq );
892 #endif /* DDS Data Type SEQUENCE: sequence<DDS_ResourceLimitsQosPolicyPtrSeq *> */
893 
894 
920  struct DDS_Duration_t service_cleanup_delay;
922  DDS_HistoryQosPolicyKind history_kind;
924  int32_t history_depth;
926  int32_t max_samples;
928  int32_t max_instances;
932 
933  COREDX_TS_EXPORT struct DDS_DurabilityServiceQosPolicy *DDS_DurabilityServiceQosPolicy_alloc ( void );
934 # define DDS_DurabilityServiceQosPolicy__alloc DDS_DurabilityServiceQosPolicy_alloc /* discouraged */
935  COREDX_TS_EXPORT void DDS_DurabilityServiceQosPolicy_free ( struct DDS_DurabilityServiceQosPolicy * inst );
936  COREDX_TS_EXPORT void DDS_DurabilityServiceQosPolicy_init ( struct DDS_DurabilityServiceQosPolicy * instance );
937  COREDX_TS_EXPORT void DDS_DurabilityServiceQosPolicy_clear( struct DDS_DurabilityServiceQosPolicy * instance );
938  COREDX_TS_EXPORT void DDS_DurabilityServiceQosPolicy_copy ( struct DDS_DurabilityServiceQosPolicy * copy_to, const struct DDS_DurabilityServiceQosPolicy * copy_from );
939  COREDX_TS_EXPORT int DDS_DurabilityServiceQosPolicy_marshal_cdr ( const struct DDS_DurabilityServiceQosPolicy * inst, CDX_XcdrBuffer_t * cdr, int just_keys );
940  COREDX_TS_EXPORT int DDS_DurabilityServiceQosPolicy_marshal_key_hash ( const struct DDS_DurabilityServiceQosPolicy * inst, CDX_XcdrBuffer_t * cdr );
941  COREDX_TS_EXPORT int DDS_DurabilityServiceQosPolicy_unmarshal_cdr ( struct DDS_DurabilityServiceQosPolicy * inst, CDX_XcdrBuffer_t * cdr, int just_keys );
942  COREDX_TS_EXPORT int DDS_DurabilityServiceQosPolicy_unmarshal_key_hash ( struct DDS_DurabilityServiceQosPolicy * inst, CDX_XcdrBuffer_t * cdr );
943  /* deprecated, older api */
944  COREDX_TS_EXPORT int DDS_DurabilityServiceQosPolicy_get_marshal_size_legacy ( const struct DDS_DurabilityServiceQosPolicy * inst, int offset, int just_keys );
945  COREDX_TS_EXPORT int DDS_DurabilityServiceQosPolicy_marshal_cdr_legacy ( const struct DDS_DurabilityServiceQosPolicy * inst, unsigned char *buf, int offset, int stream_len, unsigned char swap, int just_keys);
946  COREDX_TS_EXPORT int DDS_DurabilityServiceQosPolicy_unmarshal_cdr_legacy ( struct DDS_DurabilityServiceQosPolicy * inst, unsigned char * buf, int offset, int stream_len, unsigned char swap, int just_keys);
947 
948 
949 /* DDS Data Type SEQUENCE: sequence<DDS_DurabilityServiceQosPolicy *> */
950 #ifndef _DDS_sequence_c_DDS_DurabilityServiceQosPolicyPtr_defined
951 #define _DDS_sequence_c_DDS_DurabilityServiceQosPolicyPtr_defined
952  DECLARE_SEQ( DDS_DurabilityServiceQosPolicy * , DDS_DurabilityServiceQosPolicyPtrSeq );
953 #endif /* DDS Data Type SEQUENCE: sequence<DDS_DurabilityServiceQosPolicyPtrSeq *> */
954 
955 
956  typedef int16_t DDS_DataRepresentationId_t;
957 
958 # define DDS_XCDR_DATA_REPRESENTATION 0 /* type: DDS_DataRepresentationId_t */
959 # define DDS_XML_DATA_REPRESENTATION 1 /* type: DDS_DataRepresentationId_t */
960 #ifndef _DDS_SEQ_c_DDS_DDS_DataRepresentationId_tSeq_defined
961 #define _DDS_SEQ_c_DDS_DDS_DataRepresentationId_tSeq_defined
962  DECLARE_SEQ( DDS_DataRepresentationId_t , DDS_DDS_DataRepresentationId_tSeq );
963 #endif /* User Defined SEQUENCE: sequence DDS_DataRepresentationId_tSeq */
964 
965  DECLARE_SEQ( DDS_DataRepresentationId_t , DDS_DataRepresentationIdSeq );
995  DDS_DataRepresentationIdSeq value;
997 
998  COREDX_TS_EXPORT struct DDS_DataRepresentationQosPolicy *DDS_DataRepresentationQosPolicy_alloc ( void );
999 # define DDS_DataRepresentationQosPolicy__alloc DDS_DataRepresentationQosPolicy_alloc /* discouraged */
1000  COREDX_TS_EXPORT void DDS_DataRepresentationQosPolicy_free ( struct DDS_DataRepresentationQosPolicy * inst );
1001  COREDX_TS_EXPORT void DDS_DataRepresentationQosPolicy_init ( struct DDS_DataRepresentationQosPolicy * instance );
1002  COREDX_TS_EXPORT void DDS_DataRepresentationQosPolicy_clear( struct DDS_DataRepresentationQosPolicy * instance );
1003  COREDX_TS_EXPORT void DDS_DataRepresentationQosPolicy_copy ( struct DDS_DataRepresentationQosPolicy * copy_to, const struct DDS_DataRepresentationQosPolicy * copy_from );
1004  COREDX_TS_EXPORT int DDS_DataRepresentationQosPolicy_marshal_cdr ( const struct DDS_DataRepresentationQosPolicy * inst, CDX_XcdrBuffer_t * cdr, int just_keys );
1005  COREDX_TS_EXPORT int DDS_DataRepresentationQosPolicy_marshal_key_hash ( const struct DDS_DataRepresentationQosPolicy * inst, CDX_XcdrBuffer_t * cdr );
1006  COREDX_TS_EXPORT int DDS_DataRepresentationQosPolicy_unmarshal_cdr ( struct DDS_DataRepresentationQosPolicy * inst, CDX_XcdrBuffer_t * cdr, int just_keys );
1007  COREDX_TS_EXPORT int DDS_DataRepresentationQosPolicy_unmarshal_key_hash ( struct DDS_DataRepresentationQosPolicy * inst, CDX_XcdrBuffer_t * cdr );
1008  /* deprecated, older api */
1009  COREDX_TS_EXPORT int DDS_DataRepresentationQosPolicy_get_marshal_size_legacy ( const struct DDS_DataRepresentationQosPolicy * inst, int offset, int just_keys );
1010  COREDX_TS_EXPORT int DDS_DataRepresentationQosPolicy_marshal_cdr_legacy ( const struct DDS_DataRepresentationQosPolicy * inst, unsigned char *buf, int offset, int stream_len, unsigned char swap, int just_keys);
1011  COREDX_TS_EXPORT int DDS_DataRepresentationQosPolicy_unmarshal_cdr_legacy ( struct DDS_DataRepresentationQosPolicy * inst, unsigned char * buf, int offset, int stream_len, unsigned char swap, int just_keys);
1012 
1013 
1014 /* DDS Data Type SEQUENCE: sequence<DDS_DataRepresentationQosPolicy *> */
1015 #ifndef _DDS_sequence_c_DDS_DataRepresentationQosPolicyPtr_defined
1016 #define _DDS_sequence_c_DDS_DataRepresentationQosPolicyPtr_defined
1017  DECLARE_SEQ( DDS_DataRepresentationQosPolicy * , DDS_DataRepresentationQosPolicyPtrSeq );
1018 #endif /* DDS Data Type SEQUENCE: sequence<DDS_DataRepresentationQosPolicyPtrSeq *> */
1019 
1020 
1021 
1025  typedef uint16_t DDS_TypeConsistencyKind;
1027  #define DDS_DISALLOW_TYPE_COERCION 0
1028 
1029  #define DDS_ALLOW_TYPE_COERCION 1
1030 
1031 
1040  DDS_TypeConsistencyKind kind;
1042 
1043  COREDX_TS_EXPORT struct DDS_TypeConsistencyEnforcementQosPolicy *DDS_TypeConsistencyEnforcementQosPolicy_alloc ( void );
1044 # define DDS_TypeConsistencyEnforcementQosPolicy__alloc DDS_TypeConsistencyEnforcementQosPolicy_alloc /* discouraged */
1045  COREDX_TS_EXPORT void DDS_TypeConsistencyEnforcementQosPolicy_free ( struct DDS_TypeConsistencyEnforcementQosPolicy * inst );
1046  COREDX_TS_EXPORT void DDS_TypeConsistencyEnforcementQosPolicy_init ( struct DDS_TypeConsistencyEnforcementQosPolicy * instance );
1047  COREDX_TS_EXPORT void DDS_TypeConsistencyEnforcementQosPolicy_clear( struct DDS_TypeConsistencyEnforcementQosPolicy * instance );
1048  COREDX_TS_EXPORT void DDS_TypeConsistencyEnforcementQosPolicy_copy ( struct DDS_TypeConsistencyEnforcementQosPolicy * copy_to, const struct DDS_TypeConsistencyEnforcementQosPolicy * copy_from );
1049  COREDX_TS_EXPORT int DDS_TypeConsistencyEnforcementQosPolicy_marshal_cdr ( const struct DDS_TypeConsistencyEnforcementQosPolicy * inst, CDX_XcdrBuffer_t * cdr, int just_keys );
1050  COREDX_TS_EXPORT int DDS_TypeConsistencyEnforcementQosPolicy_marshal_key_hash ( const struct DDS_TypeConsistencyEnforcementQosPolicy * inst, CDX_XcdrBuffer_t * cdr );
1051  COREDX_TS_EXPORT int DDS_TypeConsistencyEnforcementQosPolicy_unmarshal_cdr ( struct DDS_TypeConsistencyEnforcementQosPolicy * inst, CDX_XcdrBuffer_t * cdr, int just_keys );
1052  COREDX_TS_EXPORT int DDS_TypeConsistencyEnforcementQosPolicy_unmarshal_key_hash ( struct DDS_TypeConsistencyEnforcementQosPolicy * inst, CDX_XcdrBuffer_t * cdr );
1053  /* deprecated, older api */
1054  COREDX_TS_EXPORT int DDS_TypeConsistencyEnforcementQosPolicy_get_marshal_size_legacy ( const struct DDS_TypeConsistencyEnforcementQosPolicy * inst, int offset, int just_keys );
1055  COREDX_TS_EXPORT int DDS_TypeConsistencyEnforcementQosPolicy_marshal_cdr_legacy ( const struct DDS_TypeConsistencyEnforcementQosPolicy * inst, unsigned char *buf, int offset, int stream_len, unsigned char swap, int just_keys);
1056  COREDX_TS_EXPORT int DDS_TypeConsistencyEnforcementQosPolicy_unmarshal_cdr_legacy ( struct DDS_TypeConsistencyEnforcementQosPolicy * inst, unsigned char * buf, int offset, int stream_len, unsigned char swap, int just_keys);
1057 
1058 
1059 /* DDS Data Type SEQUENCE: sequence<DDS_TypeConsistencyEnforcementQosPolicy *> */
1060 #ifndef _DDS_sequence_c_DDS_TypeConsistencyEnforcementQosPolicyPtr_defined
1061 #define _DDS_sequence_c_DDS_TypeConsistencyEnforcementQosPolicyPtr_defined
1062  DECLARE_SEQ( DDS_TypeConsistencyEnforcementQosPolicy * , DDS_TypeConsistencyEnforcementQosPolicyPtrSeq );
1063 #endif /* DDS Data Type SEQUENCE: sequence<DDS_TypeConsistencyEnforcementQosPolicyPtrSeq *> */
1064 
1065 
1069  typedef struct DDS_TypecodeQosPolicy {
1071  DDS_OctetSeq value;
1073  unsigned char encoding;
1075 
1076  COREDX_TS_EXPORT struct DDS_TypecodeQosPolicy *DDS_TypecodeQosPolicy_alloc ( void );
1077 # define DDS_TypecodeQosPolicy__alloc DDS_TypecodeQosPolicy_alloc /* discouraged */
1078  COREDX_TS_EXPORT void DDS_TypecodeQosPolicy_free ( struct DDS_TypecodeQosPolicy * inst );
1079  COREDX_TS_EXPORT void DDS_TypecodeQosPolicy_init ( struct DDS_TypecodeQosPolicy * instance );
1080  COREDX_TS_EXPORT void DDS_TypecodeQosPolicy_clear( struct DDS_TypecodeQosPolicy * instance );
1081  COREDX_TS_EXPORT void DDS_TypecodeQosPolicy_copy ( struct DDS_TypecodeQosPolicy * copy_to, const struct DDS_TypecodeQosPolicy * copy_from );
1082  COREDX_TS_EXPORT int DDS_TypecodeQosPolicy_marshal_cdr ( const struct DDS_TypecodeQosPolicy * inst, CDX_XcdrBuffer_t * cdr, int just_keys );
1083  COREDX_TS_EXPORT int DDS_TypecodeQosPolicy_marshal_key_hash ( const struct DDS_TypecodeQosPolicy * inst, CDX_XcdrBuffer_t * cdr );
1084  COREDX_TS_EXPORT int DDS_TypecodeQosPolicy_unmarshal_cdr ( struct DDS_TypecodeQosPolicy * inst, CDX_XcdrBuffer_t * cdr, int just_keys );
1085  COREDX_TS_EXPORT int DDS_TypecodeQosPolicy_unmarshal_key_hash ( struct DDS_TypecodeQosPolicy * inst, CDX_XcdrBuffer_t * cdr );
1086  /* deprecated, older api */
1087  COREDX_TS_EXPORT int DDS_TypecodeQosPolicy_get_marshal_size_legacy ( const struct DDS_TypecodeQosPolicy * inst, int offset, int just_keys );
1088  COREDX_TS_EXPORT int DDS_TypecodeQosPolicy_marshal_cdr_legacy ( const struct DDS_TypecodeQosPolicy * inst, unsigned char *buf, int offset, int stream_len, unsigned char swap, int just_keys);
1089  COREDX_TS_EXPORT int DDS_TypecodeQosPolicy_unmarshal_cdr_legacy ( struct DDS_TypecodeQosPolicy * inst, unsigned char * buf, int offset, int stream_len, unsigned char swap, int just_keys);
1090 
1091 
1092 /* DDS Data Type SEQUENCE: sequence<DDS_TypecodeQosPolicy *> */
1093 #ifndef _DDS_sequence_c_DDS_TypecodeQosPolicyPtr_defined
1094 #define _DDS_sequence_c_DDS_TypecodeQosPolicyPtr_defined
1095  DECLARE_SEQ( DDS_TypecodeQosPolicy * , DDS_TypecodeQosPolicyPtrSeq );
1096 #endif /* DDS Data Type SEQUENCE: sequence<DDS_TypecodeQosPolicyPtrSeq *> */
1097 
1098 
1099 # define DDS_TYPECODE_BE 0x00 /* type: unsigned char */
1100 # define DDS_TYPECODE_LE 0x01 /* type: unsigned char */
1101 # define DDS_TYPEOBJ_BE 0x10 /* type: unsigned char */
1102 # define DDS_TYPEOBJ_LE 0x11 /* type: unsigned char */
1103 # define DDS_INSTANCE_NAME_MAXLEN 255 /* type: int32_t */
1104 #ifndef _DDS_c_DDS_RpcQosPolicy_fixedstring255_t_defined
1105 #define _DDS_c_DDS_RpcQosPolicy_fixedstring255_t_defined
1106 typedef char DDS_RpcQosPolicy_fixedstring255_t[255+1];
1107 #endif /* User Defined Fixed-length String */
1108 
1112  typedef struct DDS_RpcQosPolicy {
1114  DDS_RpcQosPolicy_fixedstring255_t service_instance_name;
1116  struct DDS_GUID_t related_entity_guid;
1118  DDS_StringSeq topic_aliases;
1119  } DDS_RpcQosPolicy;
1120 
1121  COREDX_TS_EXPORT struct DDS_RpcQosPolicy *DDS_RpcQosPolicy_alloc ( void );
1122 # define DDS_RpcQosPolicy__alloc DDS_RpcQosPolicy_alloc /* discouraged */
1123  COREDX_TS_EXPORT void DDS_RpcQosPolicy_free ( struct DDS_RpcQosPolicy * inst );
1124  COREDX_TS_EXPORT void DDS_RpcQosPolicy_init ( struct DDS_RpcQosPolicy * instance );
1125  COREDX_TS_EXPORT void DDS_RpcQosPolicy_clear( struct DDS_RpcQosPolicy * instance );
1126  COREDX_TS_EXPORT void DDS_RpcQosPolicy_copy ( struct DDS_RpcQosPolicy * copy_to, const struct DDS_RpcQosPolicy * copy_from );
1127  COREDX_TS_EXPORT int DDS_RpcQosPolicy_marshal_cdr ( const struct DDS_RpcQosPolicy * inst, CDX_XcdrBuffer_t * cdr, int just_keys );
1128  COREDX_TS_EXPORT int DDS_RpcQosPolicy_marshal_key_hash ( const struct DDS_RpcQosPolicy * inst, CDX_XcdrBuffer_t * cdr );
1129  COREDX_TS_EXPORT int DDS_RpcQosPolicy_unmarshal_cdr ( struct DDS_RpcQosPolicy * inst, CDX_XcdrBuffer_t * cdr, int just_keys );
1130  COREDX_TS_EXPORT int DDS_RpcQosPolicy_unmarshal_key_hash ( struct DDS_RpcQosPolicy * inst, CDX_XcdrBuffer_t * cdr );
1131  /* deprecated, older api */
1132  COREDX_TS_EXPORT int DDS_RpcQosPolicy_get_marshal_size_legacy ( const struct DDS_RpcQosPolicy * inst, int offset, int just_keys );
1133  COREDX_TS_EXPORT int DDS_RpcQosPolicy_marshal_cdr_legacy ( const struct DDS_RpcQosPolicy * inst, unsigned char *buf, int offset, int stream_len, unsigned char swap, int just_keys);
1134  COREDX_TS_EXPORT int DDS_RpcQosPolicy_unmarshal_cdr_legacy ( struct DDS_RpcQosPolicy * inst, unsigned char * buf, int offset, int stream_len, unsigned char swap, int just_keys);
1135 
1136 
1137 /* DDS Data Type SEQUENCE: sequence<DDS_RpcQosPolicy *> */
1138 #ifndef _DDS_sequence_c_DDS_RpcQosPolicyPtr_defined
1139 #define _DDS_sequence_c_DDS_RpcQosPolicyPtr_defined
1140  DECLARE_SEQ( DDS_RpcQosPolicy * , DDS_RpcQosPolicyPtrSeq );
1141 #endif /* DDS Data Type SEQUENCE: sequence<DDS_RpcQosPolicyPtrSeq *> */
1142 
1143 
1144  typedef struct DDS_RTPSProperty_t {
1145  char * name;
1146  char * value;
1147  } DDS_RTPSProperty_t;
1148 
1149  COREDX_TS_EXPORT struct DDS_RTPSProperty_t *DDS_RTPSProperty_t_alloc ( void );
1150 # define DDS_RTPSProperty_t__alloc DDS_RTPSProperty_t_alloc /* discouraged */
1151  COREDX_TS_EXPORT void DDS_RTPSProperty_t_free ( struct DDS_RTPSProperty_t * inst );
1152  COREDX_TS_EXPORT void DDS_RTPSProperty_t_init ( struct DDS_RTPSProperty_t * instance );
1153  COREDX_TS_EXPORT void DDS_RTPSProperty_t_clear( struct DDS_RTPSProperty_t * instance );
1154  COREDX_TS_EXPORT void DDS_RTPSProperty_t_copy ( struct DDS_RTPSProperty_t * copy_to, const struct DDS_RTPSProperty_t * copy_from );
1155  COREDX_TS_EXPORT int DDS_RTPSProperty_t_marshal_cdr ( const struct DDS_RTPSProperty_t * inst, CDX_XcdrBuffer_t * cdr, int just_keys );
1156  COREDX_TS_EXPORT int DDS_RTPSProperty_t_marshal_key_hash ( const struct DDS_RTPSProperty_t * inst, CDX_XcdrBuffer_t * cdr );
1157  COREDX_TS_EXPORT int DDS_RTPSProperty_t_unmarshal_cdr ( struct DDS_RTPSProperty_t * inst, CDX_XcdrBuffer_t * cdr, int just_keys );
1158  COREDX_TS_EXPORT int DDS_RTPSProperty_t_unmarshal_key_hash ( struct DDS_RTPSProperty_t * inst, CDX_XcdrBuffer_t * cdr );
1159  /* deprecated, older api */
1160  COREDX_TS_EXPORT int DDS_RTPSProperty_t_get_marshal_size_legacy ( const struct DDS_RTPSProperty_t * inst, int offset, int just_keys );
1161  COREDX_TS_EXPORT int DDS_RTPSProperty_t_marshal_cdr_legacy ( const struct DDS_RTPSProperty_t * inst, unsigned char *buf, int offset, int stream_len, unsigned char swap, int just_keys);
1162  COREDX_TS_EXPORT int DDS_RTPSProperty_t_unmarshal_cdr_legacy ( struct DDS_RTPSProperty_t * inst, unsigned char * buf, int offset, int stream_len, unsigned char swap, int just_keys);
1163 
1164 
1165 /* DDS Data Type SEQUENCE: sequence<DDS_RTPSProperty_t *> */
1166 #ifndef _DDS_sequence_c_DDS_RTPSProperty_tPtr_defined
1167 #define _DDS_sequence_c_DDS_RTPSProperty_tPtr_defined
1168  DECLARE_SEQ( DDS_RTPSProperty_t * , DDS_RTPSProperty_tPtrSeq );
1169 #endif /* DDS Data Type SEQUENCE: sequence<DDS_RTPSProperty_tPtrSeq *> */
1170 
1171 
1172 #ifndef _DDS_SEQ_c_DDS_DDS_RTPSProperty_tSeq_defined
1173 #define _DDS_SEQ_c_DDS_DDS_RTPSProperty_tSeq_defined
1174  DECLARE_SEQ( struct DDS_RTPSProperty_t , DDS_DDS_RTPSProperty_tSeq );
1175 #endif /* User Defined SEQUENCE: sequence DDS_RTPSProperty_tSeq */
1176 
1177  DECLARE_SEQ( struct DDS_RTPSProperty_t , DDS_RTPSPropertySeq );
1182  typedef struct DDS_Property_t {
1184  char * name;
1186  char * value;
1188  unsigned char propagate;
1189  } DDS_Property_t;
1190 
1191  COREDX_TS_EXPORT struct DDS_Property_t *DDS_Property_t_alloc ( void );
1192 # define DDS_Property_t__alloc DDS_Property_t_alloc /* discouraged */
1193  COREDX_TS_EXPORT void DDS_Property_t_free ( struct DDS_Property_t * inst );
1194  COREDX_TS_EXPORT void DDS_Property_t_init ( struct DDS_Property_t * instance );
1195  COREDX_TS_EXPORT void DDS_Property_t_clear( struct DDS_Property_t * instance );
1196  COREDX_TS_EXPORT void DDS_Property_t_copy ( struct DDS_Property_t * copy_to, const struct DDS_Property_t * copy_from );
1197  COREDX_TS_EXPORT int DDS_Property_t_marshal_cdr ( const struct DDS_Property_t * inst, CDX_XcdrBuffer_t * cdr, int just_keys );
1198  COREDX_TS_EXPORT int DDS_Property_t_marshal_key_hash ( const struct DDS_Property_t * inst, CDX_XcdrBuffer_t * cdr );
1199  COREDX_TS_EXPORT int DDS_Property_t_unmarshal_cdr ( struct DDS_Property_t * inst, CDX_XcdrBuffer_t * cdr, int just_keys );
1200  COREDX_TS_EXPORT int DDS_Property_t_unmarshal_key_hash ( struct DDS_Property_t * inst, CDX_XcdrBuffer_t * cdr );
1201  /* deprecated, older api */
1202  COREDX_TS_EXPORT int DDS_Property_t_get_marshal_size_legacy ( const struct DDS_Property_t * inst, int offset, int just_keys );
1203  COREDX_TS_EXPORT int DDS_Property_t_marshal_cdr_legacy ( const struct DDS_Property_t * inst, unsigned char *buf, int offset, int stream_len, unsigned char swap, int just_keys);
1204  COREDX_TS_EXPORT int DDS_Property_t_unmarshal_cdr_legacy ( struct DDS_Property_t * inst, unsigned char * buf, int offset, int stream_len, unsigned char swap, int just_keys);
1205 
1206 
1207 /* DDS Data Type SEQUENCE: sequence<DDS_Property_t *> */
1208 #ifndef _DDS_sequence_c_DDS_Property_tPtr_defined
1209 #define _DDS_sequence_c_DDS_Property_tPtr_defined
1210  DECLARE_SEQ( DDS_Property_t * , DDS_Property_tPtrSeq );
1211 #endif /* DDS Data Type SEQUENCE: sequence<DDS_Property_tPtrSeq *> */
1212 
1213 
1214 #ifndef _DDS_SEQ_c_DDS_DDS_Property_tSeq_defined
1215 #define _DDS_SEQ_c_DDS_DDS_Property_tSeq_defined
1216  DECLARE_SEQ( struct DDS_Property_t , DDS_DDS_Property_tSeq );
1217 #endif /* User Defined SEQUENCE: sequence DDS_Property_tSeq */
1218 
1219  DECLARE_SEQ( struct DDS_Property_t , DDS_PropertySeq );
1225  typedef struct DDS_PropertyQosPolicy {
1227  DDS_PropertySeq value;
1229 
1230  COREDX_TS_EXPORT struct DDS_PropertyQosPolicy *DDS_PropertyQosPolicy_alloc ( void );
1231 # define DDS_PropertyQosPolicy__alloc DDS_PropertyQosPolicy_alloc /* discouraged */
1232  COREDX_TS_EXPORT void DDS_PropertyQosPolicy_free ( struct DDS_PropertyQosPolicy * inst );
1233  COREDX_TS_EXPORT void DDS_PropertyQosPolicy_init ( struct DDS_PropertyQosPolicy * instance );
1234  COREDX_TS_EXPORT void DDS_PropertyQosPolicy_clear( struct DDS_PropertyQosPolicy * instance );
1235  COREDX_TS_EXPORT void DDS_PropertyQosPolicy_copy ( struct DDS_PropertyQosPolicy * copy_to, const struct DDS_PropertyQosPolicy * copy_from );
1236  COREDX_TS_EXPORT int DDS_PropertyQosPolicy_marshal_cdr ( const struct DDS_PropertyQosPolicy * inst, CDX_XcdrBuffer_t * cdr, int just_keys );
1237  COREDX_TS_EXPORT int DDS_PropertyQosPolicy_marshal_key_hash ( const struct DDS_PropertyQosPolicy * inst, CDX_XcdrBuffer_t * cdr );
1238  COREDX_TS_EXPORT int DDS_PropertyQosPolicy_unmarshal_cdr ( struct DDS_PropertyQosPolicy * inst, CDX_XcdrBuffer_t * cdr, int just_keys );
1239  COREDX_TS_EXPORT int DDS_PropertyQosPolicy_unmarshal_key_hash ( struct DDS_PropertyQosPolicy * inst, CDX_XcdrBuffer_t * cdr );
1240  /* deprecated, older api */
1241  COREDX_TS_EXPORT int DDS_PropertyQosPolicy_get_marshal_size_legacy ( const struct DDS_PropertyQosPolicy * inst, int offset, int just_keys );
1242  COREDX_TS_EXPORT int DDS_PropertyQosPolicy_marshal_cdr_legacy ( const struct DDS_PropertyQosPolicy * inst, unsigned char *buf, int offset, int stream_len, unsigned char swap, int just_keys);
1243  COREDX_TS_EXPORT int DDS_PropertyQosPolicy_unmarshal_cdr_legacy ( struct DDS_PropertyQosPolicy * inst, unsigned char * buf, int offset, int stream_len, unsigned char swap, int just_keys);
1244 
1245 
1246 /* DDS Data Type SEQUENCE: sequence<DDS_PropertyQosPolicy *> */
1247 #ifndef _DDS_sequence_c_DDS_PropertyQosPolicyPtr_defined
1248 #define _DDS_sequence_c_DDS_PropertyQosPolicyPtr_defined
1249  DECLARE_SEQ( DDS_PropertyQosPolicy * , DDS_PropertyQosPolicyPtrSeq );
1250 #endif /* DDS Data Type SEQUENCE: sequence<DDS_PropertyQosPolicyPtrSeq *> */
1251 
1252 
1256  typedef struct DDS_Tag {
1258  char * name;
1260  char * value;
1261  } DDS_Tag;
1262 
1263  COREDX_TS_EXPORT struct DDS_Tag *DDS_Tag_alloc ( void );
1264 # define DDS_Tag__alloc DDS_Tag_alloc /* discouraged */
1265  COREDX_TS_EXPORT void DDS_Tag_free ( struct DDS_Tag * inst );
1266  COREDX_TS_EXPORT void DDS_Tag_init ( struct DDS_Tag * instance );
1267  COREDX_TS_EXPORT void DDS_Tag_clear( struct DDS_Tag * instance );
1268  COREDX_TS_EXPORT void DDS_Tag_copy ( struct DDS_Tag * copy_to, const struct DDS_Tag * copy_from );
1269  COREDX_TS_EXPORT int DDS_Tag_marshal_cdr ( const struct DDS_Tag * inst, CDX_XcdrBuffer_t * cdr, int just_keys );
1270  COREDX_TS_EXPORT int DDS_Tag_marshal_key_hash ( const struct DDS_Tag * inst, CDX_XcdrBuffer_t * cdr );
1271  COREDX_TS_EXPORT int DDS_Tag_unmarshal_cdr ( struct DDS_Tag * inst, CDX_XcdrBuffer_t * cdr, int just_keys );
1272  COREDX_TS_EXPORT int DDS_Tag_unmarshal_key_hash ( struct DDS_Tag * inst, CDX_XcdrBuffer_t * cdr );
1273  /* deprecated, older api */
1274  COREDX_TS_EXPORT int DDS_Tag_get_marshal_size_legacy ( const struct DDS_Tag * inst, int offset, int just_keys );
1275  COREDX_TS_EXPORT int DDS_Tag_marshal_cdr_legacy ( const struct DDS_Tag * inst, unsigned char *buf, int offset, int stream_len, unsigned char swap, int just_keys);
1276  COREDX_TS_EXPORT int DDS_Tag_unmarshal_cdr_legacy ( struct DDS_Tag * inst, unsigned char * buf, int offset, int stream_len, unsigned char swap, int just_keys);
1277 
1278 
1279 /* DDS Data Type SEQUENCE: sequence<DDS_Tag *> */
1280 #ifndef _DDS_sequence_c_DDS_TagPtr_defined
1281 #define _DDS_sequence_c_DDS_TagPtr_defined
1282  DECLARE_SEQ( DDS_Tag * , DDS_TagPtrSeq );
1283 #endif /* DDS Data Type SEQUENCE: sequence<DDS_TagPtrSeq *> */
1284 
1285 
1286 #ifndef _DDS_SEQ_c_DDS_DDS_TagSeq_defined
1287 #define _DDS_SEQ_c_DDS_DDS_TagSeq_defined
1288  DECLARE_SEQ( struct DDS_Tag , DDS_DDS_TagSeq );
1289 #endif /* User Defined SEQUENCE: sequence DDS_TagSeq */
1290 
1291  DECLARE_SEQ( struct DDS_Tag , DDS_TagSeq );
1295  typedef struct DDS_DataTags {
1297  DDS_TagSeq tags;
1298  } DDS_DataTags;
1299 
1300  COREDX_TS_EXPORT struct DDS_DataTags *DDS_DataTags_alloc ( void );
1301 # define DDS_DataTags__alloc DDS_DataTags_alloc /* discouraged */
1302  COREDX_TS_EXPORT void DDS_DataTags_free ( struct DDS_DataTags * inst );
1303  COREDX_TS_EXPORT void DDS_DataTags_init ( struct DDS_DataTags * instance );
1304  COREDX_TS_EXPORT void DDS_DataTags_clear( struct DDS_DataTags * instance );
1305  COREDX_TS_EXPORT void DDS_DataTags_copy ( struct DDS_DataTags * copy_to, const struct DDS_DataTags * copy_from );
1306  COREDX_TS_EXPORT int DDS_DataTags_marshal_cdr ( const struct DDS_DataTags * inst, CDX_XcdrBuffer_t * cdr, int just_keys );
1307  COREDX_TS_EXPORT int DDS_DataTags_marshal_key_hash ( const struct DDS_DataTags * inst, CDX_XcdrBuffer_t * cdr );
1308  COREDX_TS_EXPORT int DDS_DataTags_unmarshal_cdr ( struct DDS_DataTags * inst, CDX_XcdrBuffer_t * cdr, int just_keys );
1309  COREDX_TS_EXPORT int DDS_DataTags_unmarshal_key_hash ( struct DDS_DataTags * inst, CDX_XcdrBuffer_t * cdr );
1310  /* deprecated, older api */
1311  COREDX_TS_EXPORT int DDS_DataTags_get_marshal_size_legacy ( const struct DDS_DataTags * inst, int offset, int just_keys );
1312  COREDX_TS_EXPORT int DDS_DataTags_marshal_cdr_legacy ( const struct DDS_DataTags * inst, unsigned char *buf, int offset, int stream_len, unsigned char swap, int just_keys);
1313  COREDX_TS_EXPORT int DDS_DataTags_unmarshal_cdr_legacy ( struct DDS_DataTags * inst, unsigned char * buf, int offset, int stream_len, unsigned char swap, int just_keys);
1314 
1315 
1316 /* DDS Data Type SEQUENCE: sequence<DDS_DataTags *> */
1317 #ifndef _DDS_sequence_c_DDS_DataTagsPtr_defined
1318 #define _DDS_sequence_c_DDS_DataTagsPtr_defined
1319  DECLARE_SEQ( DDS_DataTags * , DDS_DataTagsPtrSeq );
1320 #endif /* DDS Data Type SEQUENCE: sequence<DDS_DataTagsPtrSeq *> */
1321 
1322 
1323  typedef struct DDS_DataTags DDS_DataTagQosPolicy;
1324 
1328  typedef struct DDS_DCPSParticipant {
1330  struct DDS_BuiltinTopicKey_t key; /* key */
1332  struct DDS_UserDataQosPolicy user_data;
1334  struct DDS_PropertyQosPolicy properties;
1336  char * entity_name;
1338 
1339  COREDX_TS_EXPORT struct DDS_DCPSParticipant *DDS_DCPSParticipant_alloc ( void );
1340 # define DDS_DCPSParticipant__alloc DDS_DCPSParticipant_alloc /* discouraged */
1341  COREDX_TS_EXPORT void DDS_DCPSParticipant_free ( struct DDS_DCPSParticipant * inst );
1342  COREDX_TS_EXPORT void DDS_DCPSParticipant_init ( struct DDS_DCPSParticipant * instance );
1343  COREDX_TS_EXPORT void DDS_DCPSParticipant_clear( struct DDS_DCPSParticipant * instance );
1344  COREDX_TS_EXPORT void DDS_DCPSParticipant_copy ( struct DDS_DCPSParticipant * copy_to, const struct DDS_DCPSParticipant * copy_from );
1345  COREDX_TS_EXPORT int DDS_DCPSParticipant_marshal_cdr ( const struct DDS_DCPSParticipant * inst, CDX_XcdrBuffer_t * cdr, int just_keys );
1346  COREDX_TS_EXPORT int DDS_DCPSParticipant_marshal_key_hash ( const struct DDS_DCPSParticipant * inst, CDX_XcdrBuffer_t * cdr );
1347  COREDX_TS_EXPORT int DDS_DCPSParticipant_unmarshal_cdr ( struct DDS_DCPSParticipant * inst, CDX_XcdrBuffer_t * cdr, int just_keys );
1348  COREDX_TS_EXPORT int DDS_DCPSParticipant_unmarshal_key_hash ( struct DDS_DCPSParticipant * inst, CDX_XcdrBuffer_t * cdr );
1349  /* deprecated, older api */
1350  COREDX_TS_EXPORT int DDS_DCPSParticipant_get_marshal_size_legacy ( const struct DDS_DCPSParticipant * inst, int offset, int just_keys );
1351  COREDX_TS_EXPORT int DDS_DCPSParticipant_marshal_cdr_legacy ( const struct DDS_DCPSParticipant * inst, unsigned char *buf, int offset, int stream_len, unsigned char swap, int just_keys);
1352  COREDX_TS_EXPORT int DDS_DCPSParticipant_unmarshal_cdr_legacy ( struct DDS_DCPSParticipant * inst, unsigned char * buf, int offset, int stream_len, unsigned char swap, int just_keys);
1353 
1354 
1355 /* DDS Data Type SEQUENCE: sequence<DDS_DCPSParticipant *> */
1356 #ifndef _DDS_sequence_c_DDS_DCPSParticipantPtr_defined
1357 #define _DDS_sequence_c_DDS_DCPSParticipantPtr_defined
1358  DECLARE_SEQ( DDS_DCPSParticipant * , DDS_DCPSParticipantPtrSeq );
1359 #endif /* DDS Data Type SEQUENCE: sequence<DDS_DCPSParticipantPtrSeq *> */
1360 
1361 
1365  typedef struct DDS_DCPSPublication {
1367  struct DDS_BuiltinTopicKey_t participant_key;
1369  struct DDS_BuiltinTopicKey_t key; /* key */
1371  char * topic_name;
1373  char * type_name;
1375  struct DDS_DurabilityQosPolicy durability;
1377  struct DDS_DurabilityServiceQosPolicy durability_service;
1379  struct DDS_DeadlineQosPolicy deadline;
1381  struct DDS_LatencyBudgetQosPolicy latency_budget;
1383  struct DDS_LivelinessQosPolicy liveliness;
1385  struct DDS_ReliabilityQosPolicy reliability;
1387  struct DDS_LifespanQosPolicy lifespan;
1389  struct DDS_UserDataQosPolicy user_data;
1391  struct DDS_OwnershipQosPolicy ownership;
1393  struct DDS_OwnershipStrengthQosPolicy ownership_strength;
1395  struct DDS_DestinationOrderQosPolicy destination_order;
1397  struct DDS_PresentationQosPolicy presentation;
1399  struct DDS_PartitionQosPolicy partition;
1401  struct DDS_TopicDataQosPolicy topic_data;
1403  struct DDS_GroupDataQosPolicy group_data;
1405  struct DDS_DataRepresentationQosPolicy representation;
1407  char * entity_name;
1408  struct DDS_TypecodeQosPolicy typecode;
1410  struct DDS_RpcQosPolicy rpc;
1411  DDS_DataTagQosPolicy data_tags;
1413 
1414  COREDX_TS_EXPORT struct DDS_DCPSPublication *DDS_DCPSPublication_alloc ( void );
1415 # define DDS_DCPSPublication__alloc DDS_DCPSPublication_alloc /* discouraged */
1416  COREDX_TS_EXPORT void DDS_DCPSPublication_free ( struct DDS_DCPSPublication * inst );
1417  COREDX_TS_EXPORT void DDS_DCPSPublication_init ( struct DDS_DCPSPublication * instance );
1418  COREDX_TS_EXPORT void DDS_DCPSPublication_clear( struct DDS_DCPSPublication * instance );
1419  COREDX_TS_EXPORT void DDS_DCPSPublication_copy ( struct DDS_DCPSPublication * copy_to, const struct DDS_DCPSPublication * copy_from );
1420  COREDX_TS_EXPORT int DDS_DCPSPublication_marshal_cdr ( const struct DDS_DCPSPublication * inst, CDX_XcdrBuffer_t * cdr, int just_keys );
1421  COREDX_TS_EXPORT int DDS_DCPSPublication_marshal_key_hash ( const struct DDS_DCPSPublication * inst, CDX_XcdrBuffer_t * cdr );
1422  COREDX_TS_EXPORT int DDS_DCPSPublication_unmarshal_cdr ( struct DDS_DCPSPublication * inst, CDX_XcdrBuffer_t * cdr, int just_keys );
1423  COREDX_TS_EXPORT int DDS_DCPSPublication_unmarshal_key_hash ( struct DDS_DCPSPublication * inst, CDX_XcdrBuffer_t * cdr );
1424  /* deprecated, older api */
1425  COREDX_TS_EXPORT int DDS_DCPSPublication_get_marshal_size_legacy ( const struct DDS_DCPSPublication * inst, int offset, int just_keys );
1426  COREDX_TS_EXPORT int DDS_DCPSPublication_marshal_cdr_legacy ( const struct DDS_DCPSPublication * inst, unsigned char *buf, int offset, int stream_len, unsigned char swap, int just_keys);
1427  COREDX_TS_EXPORT int DDS_DCPSPublication_unmarshal_cdr_legacy ( struct DDS_DCPSPublication * inst, unsigned char * buf, int offset, int stream_len, unsigned char swap, int just_keys);
1428 
1429 
1430 /* DDS Data Type SEQUENCE: sequence<DDS_DCPSPublication *> */
1431 #ifndef _DDS_sequence_c_DDS_DCPSPublicationPtr_defined
1432 #define _DDS_sequence_c_DDS_DCPSPublicationPtr_defined
1433  DECLARE_SEQ( DDS_DCPSPublication * , DDS_DCPSPublicationPtrSeq );
1434 #endif /* DDS Data Type SEQUENCE: sequence<DDS_DCPSPublicationPtrSeq *> */
1435 
1436 
1440  typedef struct DDS_DCPSSubscription {
1442  struct DDS_BuiltinTopicKey_t participant_key;
1444  struct DDS_BuiltinTopicKey_t key; /* key */
1446  char * topic_name;
1448  char * type_name;
1450  struct DDS_DurabilityQosPolicy durability;
1452  struct DDS_DeadlineQosPolicy deadline;
1454  struct DDS_LatencyBudgetQosPolicy latency_budget;
1456  struct DDS_LivelinessQosPolicy liveliness;
1458  struct DDS_ReliabilityQosPolicy reliability;
1460  struct DDS_OwnershipQosPolicy ownership;
1462  struct DDS_DestinationOrderQosPolicy destination_order;
1464  struct DDS_UserDataQosPolicy user_data;
1466  struct DDS_TimeBasedFilterQosPolicy time_based_filter;
1468  struct DDS_PresentationQosPolicy presentation;
1470  struct DDS_PartitionQosPolicy partition;
1472  struct DDS_TopicDataQosPolicy topic_data;
1474  struct DDS_GroupDataQosPolicy group_data;
1476  struct DDS_DataRepresentationQosPolicy representation;
1480  char * entity_name;
1481  struct DDS_TypecodeQosPolicy typecode;
1483  struct DDS_RpcQosPolicy rpc;
1484  DDS_DataTagQosPolicy data_tags;
1486 
1487  COREDX_TS_EXPORT struct DDS_DCPSSubscription *DDS_DCPSSubscription_alloc ( void );
1488 # define DDS_DCPSSubscription__alloc DDS_DCPSSubscription_alloc /* discouraged */
1489  COREDX_TS_EXPORT void DDS_DCPSSubscription_free ( struct DDS_DCPSSubscription * inst );
1490  COREDX_TS_EXPORT void DDS_DCPSSubscription_init ( struct DDS_DCPSSubscription * instance );
1491  COREDX_TS_EXPORT void DDS_DCPSSubscription_clear( struct DDS_DCPSSubscription * instance );
1492  COREDX_TS_EXPORT void DDS_DCPSSubscription_copy ( struct DDS_DCPSSubscription * copy_to, const struct DDS_DCPSSubscription * copy_from );
1493  COREDX_TS_EXPORT int DDS_DCPSSubscription_marshal_cdr ( const struct DDS_DCPSSubscription * inst, CDX_XcdrBuffer_t * cdr, int just_keys );
1494  COREDX_TS_EXPORT int DDS_DCPSSubscription_marshal_key_hash ( const struct DDS_DCPSSubscription * inst, CDX_XcdrBuffer_t * cdr );
1495  COREDX_TS_EXPORT int DDS_DCPSSubscription_unmarshal_cdr ( struct DDS_DCPSSubscription * inst, CDX_XcdrBuffer_t * cdr, int just_keys );
1496  COREDX_TS_EXPORT int DDS_DCPSSubscription_unmarshal_key_hash ( struct DDS_DCPSSubscription * inst, CDX_XcdrBuffer_t * cdr );
1497  /* deprecated, older api */
1498  COREDX_TS_EXPORT int DDS_DCPSSubscription_get_marshal_size_legacy ( const struct DDS_DCPSSubscription * inst, int offset, int just_keys );
1499  COREDX_TS_EXPORT int DDS_DCPSSubscription_marshal_cdr_legacy ( const struct DDS_DCPSSubscription * inst, unsigned char *buf, int offset, int stream_len, unsigned char swap, int just_keys);
1500  COREDX_TS_EXPORT int DDS_DCPSSubscription_unmarshal_cdr_legacy ( struct DDS_DCPSSubscription * inst, unsigned char * buf, int offset, int stream_len, unsigned char swap, int just_keys);
1501 
1502 
1503 /* DDS Data Type SEQUENCE: sequence<DDS_DCPSSubscription *> */
1504 #ifndef _DDS_sequence_c_DDS_DCPSSubscriptionPtr_defined
1505 #define _DDS_sequence_c_DDS_DCPSSubscriptionPtr_defined
1506  DECLARE_SEQ( DDS_DCPSSubscription * , DDS_DCPSSubscriptionPtrSeq );
1507 #endif /* DDS Data Type SEQUENCE: sequence<DDS_DCPSSubscriptionPtrSeq *> */
1508 
1509 
1510 
1511  /* Namespace rpc begins here */
1512 
1513  typedef unsigned char DDS_rpc_UnknownOperation;
1514 
1515  typedef unsigned char DDS_rpc_UnknownException;
1516 
1517  typedef unsigned char DDS_rpc_UnusedMember;
1518 
1519 
1520  /* Namespace rpc ends here */
1521 
1522  /* Namespace DDS ends here */
1523 
1524 #ifdef __cplusplus
1525 }
1526 #endif
1527 
1528 #endif
Definition: dds_builtin.h:1225
Controls the presentation of received data samples to the application. CoreDX DDS currently supports ...
Definition: dds_builtin.h:308
int32_t value
priority value
Definition: dds_builtin.h:160
DDS_OwnershipQosPolicyKind kind
the ownership kind
Definition: dds_builtin.h:447
A name-value pair &#39;tag&#39;.
Definition: dds_builtin.h:1256
int32_t max_instances
maximum instances limit for the service
Definition: dds_builtin.h:928
Typecode representing the datatype a DataReader reads or a DataWriter writes.
Definition: dds_builtin.h:1069
char * topic_name
topic name config of this entity
Definition: dds_builtin.h:1446
DDS_ReliabilityQosPolicyKind kind
reliability kind
Definition: dds_builtin.h:707
Defines a logical data partition.
Definition: dds_builtin.h:645
DDS_OctetSeq value
sequence of bytes representing the TypeCode for the data type
Definition: dds_builtin.h:1071
DDS_TagSeq tags
a sequence of Tag[s] (name value pairs)
Definition: dds_builtin.h:1297
Augment a DataWriter or DataReader with RPC specific information.
Definition: dds_builtin.h:1112
DDS_PresentationQosPolicyAccessScopeKind access_scope
the &#39;scope&#39; of the presentation policy. Determines the extent to which the sample &#39;coherency&#39; and &#39;or...
Definition: dds_builtin.h:311
uint16_t DDS_TypeConsistencyKind
the allowed kinds of TypeConsistency
Definition: dds_builtin.h:1025
int32_t history_depth
history depth
Definition: dds_builtin.h:924
int32_t max_instances
maximum instances allowed in the cache
Definition: dds_builtin.h:861
Allows the application to attach arbitrary information to a DomainParticipant, DataWriter or DataRead...
Definition: dds_builtin.h:43
rules for determining type consistency
Definition: dds_builtin.h:1038
unsigned char ordered_access
Determines if ordered access is supported within the defined &#39;scope&#39;.
Definition: dds_builtin.h:315
DDS_PropertySeq value
sequence of Property_t&#39;s
Definition: dds_builtin.h:1227
DDS_RpcQosPolicy_fixedstring255_t service_instance_name
the name of the service instance
Definition: dds_builtin.h:1114
DDS_StringSeq name
sequence of partition names
Definition: dds_builtin.h:647
Indicates the level of reliability offered/provided by the Entity. If kind is RELIABLE_RELIABILITY_QO...
Definition: dds_builtin.h:705
DDS_DestinationOrderQosPolicyKind kind
the kind of ordering applied to samples
Definition: dds_builtin.h:758
DDS_LivelinessQosPolicyKind kind
the kind of liveliness mechanism
Definition: dds_builtin.h:552
int32_t max_samples_per_instance
maximum samples per instance limit for the service
Definition: dds_builtin.h:930
char * name
the property name
Definition: dds_builtin.h:1184
The DurabilityQosPolicy controls the durablity of data.
Definition: dds_builtin.h:262
uint32_t DDS_DestinationOrderQosPolicyKind
This enumeration contains the kinds of Destination Ordering.
Definition: dds_builtin.h:739
Controls the ammount of historical data maintained by a DataReader or DataWriter. ...
Definition: dds_builtin.h:819
uint32_t DDS_OwnershipQosPolicyKind
This enumeration contains the kinds of Ownership.
Definition: dds_builtin.h:434
Specifies allowable latency.
Definition: dds_builtin.h:402
uint32_t DDS_ReliabilityQosPolicyKind
This enumeration contains the kinds of Reliability.
Definition: dds_builtin.h:677
unsigned char coherent_access
Determines if coherent access is supported within the defined &#39;scope&#39;.
Definition: dds_builtin.h:313
Definition: dds_builtin_basic.h:30
This QoS policy establishes a minimum update period for data instances.
Definition: dds_builtin.h:360
Allows the application to attach arbitrary information to a Topic QoS.
Definition: dds_builtin.h:84
char * value
the property value
Definition: dds_builtin.h:1186
int32_t max_samples_per_instance
maximum samples per instance allowed in the cache
Definition: dds_builtin.h:863
Defines a filter based on time between samples. The DataReader indicates that it wants at most one sa...
Definition: dds_builtin.h:589
unsigned char encoding
encoding of the typecode bytes (little endian / big endian
Definition: dds_builtin.h:1073
char * name
the tag &#39;name&#39;
Definition: dds_builtin.h:1258
uint32_t DDS_DurabilityQosPolicyKind
This enumeration contains the kinds of Durability.
Definition: dds_builtin.h:225
DDS_OctetSeq value
sequence of bytes
Definition: dds_builtin.h:128
Definition: dds_builtin_basic.h:97
int32_t max_samples
maximum samples allowed in the cache
Definition: dds_builtin.h:859
Specifies the resources that the Service can use to maintain data samples and instances.
Definition: dds_builtin.h:857
A sequence of name-value pair &#39;tags&#39;.
Definition: dds_builtin.h:1295
Definition: dds_builtin.h:1328
unsigned char preallocate_samples
Request that the Reader or Writer pre-allocate the specified number of samples (if max_samples is not...
Definition: dds_builtin.h:866
int32_t depth
history depth
Definition: dds_builtin.h:823
char * topic_name
the topic name
Definition: dds_builtin.h:1371
A name-value pair property. The &#39;propagate&#39; flag indicates if this property should be transfered thro...
Definition: dds_builtin.h:1182
Specifies the maximum duration of validity of the data written by the DataWriter. ...
Definition: dds_builtin.h:193
uint32_t DDS_HistoryQosPolicyKind
This enumeration contains the kinds of History.
Definition: dds_builtin.h:788
This QoS policy controls how each Subscriber orders received data samples.
Definition: dds_builtin.h:756
char * type_name
type of the type
Definition: dds_builtin.h:1373
DECLARE_SEQ(DDS_DynamicTypeMember, DDS_DynamicTypeMemberSeq)
A DDS_DynamicTypeMemberSeq instance is a sequence of DDS_DynamicTypeMember&#39;s.
DDS_HistoryQosPolicyKind kind
history kind
Definition: dds_builtin.h:821
DDS_OctetSeq value
sequence of bytes
Definition: dds_builtin.h:86
char * entity_name
entity name config of this entity
Definition: dds_builtin.h:1480
Defines the strength, or priority, of a Writer. The strength is used to determine ownership in the ca...
Definition: dds_builtin.h:481
DDS_TypeConsistencyKind kind
type consistency kind
Definition: dds_builtin.h:1040
DDS_HistoryQosPolicyKind history_kind
history kind
Definition: dds_builtin.h:922
The Duration_t structure contains data to define a time duration.
Definition: dds_builtin_basic.h:198
int16_t DDS_DataRepresentationId_t
Indicates the form of data, for example CDR or XML.
Definition: dds_builtin.h:956
char * value
the tag &#39;value&#39;
Definition: dds_builtin.h:1260
Determines the mechanism and parameters used by the application to determine whether an Entity is ali...
Definition: dds_builtin.h:550
Describes the data representation used by a topic.
Definition: dds_builtin.h:993
Allows the application to attach arbitrary information to a Publisher or Subscriber.
Definition: dds_builtin.h:126
int32_t value
the ownership strength value
Definition: dds_builtin.h:483
DDS_DurabilityQosPolicyKind kind
the durability kind
Definition: dds_builtin.h:264
unsigned char propagate
propagate over discovery?
Definition: dds_builtin.h:1188
unsigned char preallocate_instances
Request that the Reader or Writer pre-allocate the specified number of instances (if max_instances is...
Definition: dds_builtin.h:869
uint32_t DDS_LivelinessQosPolicyKind
This enumeration contains the kinds of Liveliness.
Definition: dds_builtin.h:513
char * type_name
type name config of this entity
Definition: dds_builtin.h:1448
Definition: dds_builtin.h:1440
DDS_DataRepresentationIdSeq value
data representation
Definition: dds_builtin.h:995
uint32_t DDS_PresentationQosPolicyAccessScopeKind
This enumeration contains the kinds of Access Scope for the PresentationQosPolicy.
Definition: dds_builtin.h:294
Definition: dds_builtin.h:1365
char * entity_name
arbitrary string name assigned to participant
Definition: dds_builtin.h:1336
DDS_OctetSeq value
sequence of bytes
Definition: dds_builtin.h:45
DDS_StringSeq topic_aliases
a sequence of aliases to support derived interfaces
Definition: dds_builtin.h:1118
Definition: dds_builtin.h:918
A hint to the middleware to help configure the transport priority mechanism.
Definition: dds_builtin.h:158
int32_t max_samples
maximum samples limit for the service
Definition: dds_builtin.h:926
Determines instance ownership in the case of multple writers. CoreDX DDS supports both SHARED_OWNERSH...
Definition: dds_builtin.h:445

© 2009-2020 Twin Oaks Computing, Inc
Castle Rock, CO 80104
All rights reserved.