7 #ifndef _DDS_BUILTIN_BASIC_H 8 #define _DDS_BUILTIN_BASIC_H 9 #include <dds/dds_types.h> 10 #include <dds/dds_export.h> 11 #define DDS_SAFE_UNMARSH 1 18 # define DDS_BUILTIN_BASIC_DDL_VERSION_MAJOR 5 19 # define DDS_BUILTIN_BASIC_DDL_VERSION_MINOR 0 20 # define DDS_BUILTIN_BASIC_DDL_VERSION_PATCH 0 21 # define DDS_BUILTIN_BASIC_DDL_VERSION_MAJOR_STR "5" 22 # define DDS_BUILTIN_BASIC_DDL_VERSION_MINOR_STR "0" 23 # define DDS_BUILTIN_BASIC_DDL_VERSION_PATCH_STR "0" 36 # define DDS_BuiltinTopicKey_t__alloc DDS_BuiltinTopicKey_t_alloc 41 COREDX_TS_EXPORT
int DDS_BuiltinTopicKey_t_marshal_cdr (
const struct DDS_BuiltinTopicKey_t * inst, CDX_XcdrBuffer_t * cdr,
int just_keys );
42 COREDX_TS_EXPORT
int DDS_BuiltinTopicKey_t_marshal_key_hash (
const struct DDS_BuiltinTopicKey_t * inst, CDX_XcdrBuffer_t * cdr );
43 COREDX_TS_EXPORT
int DDS_BuiltinTopicKey_t_unmarshal_cdr (
struct DDS_BuiltinTopicKey_t * inst, CDX_XcdrBuffer_t * cdr,
int just_keys );
44 COREDX_TS_EXPORT
int DDS_BuiltinTopicKey_t_unmarshal_key_hash (
struct DDS_BuiltinTopicKey_t * inst, CDX_XcdrBuffer_t * cdr );
46 COREDX_TS_EXPORT
int DDS_BuiltinTopicKey_t_get_marshal_size_legacy (
const struct DDS_BuiltinTopicKey_t * inst,
int offset,
int just_keys );
47 COREDX_TS_EXPORT
int DDS_BuiltinTopicKey_t_marshal_cdr_legacy (
const struct DDS_BuiltinTopicKey_t * inst,
unsigned char *buf,
int offset,
int stream_len,
unsigned char swap,
int just_keys);
48 COREDX_TS_EXPORT
int DDS_BuiltinTopicKey_t_unmarshal_cdr_legacy (
struct DDS_BuiltinTopicKey_t * inst,
unsigned char * buf,
int offset,
int stream_len,
unsigned char swap,
int just_keys);
50 COREDX_TS_EXPORT
unsigned char DDS_BuiltinTopicKey_t_get_field_def(
const char * fieldname, CoreDX_FieldDef_t * field_def);
54 #ifndef _DDS_sequence_c_DDS_BuiltinTopicKey_tPtr_defined 55 #define _DDS_sequence_c_DDS_BuiltinTopicKey_tPtr_defined 62 typedef unsigned char DDS_GuidPrefix_t_slice;
63 typedef struct DDS_EntityId_t {
65 unsigned char entityKey [3];
67 unsigned char entityKind;
70 COREDX_TS_EXPORT
struct DDS_EntityId_t *DDS_EntityId_t_alloc (
void );
71 # define DDS_EntityId_t__alloc DDS_EntityId_t_alloc 72 COREDX_TS_EXPORT
void DDS_EntityId_t_free (
struct DDS_EntityId_t * inst );
73 COREDX_TS_EXPORT
void DDS_EntityId_t_init (
struct DDS_EntityId_t * instance );
74 COREDX_TS_EXPORT
void DDS_EntityId_t_clear(
struct DDS_EntityId_t * instance );
75 COREDX_TS_EXPORT
void DDS_EntityId_t_copy (
struct DDS_EntityId_t * copy_to,
const struct DDS_EntityId_t * copy_from );
76 COREDX_TS_EXPORT
int DDS_EntityId_t_marshal_cdr (
const struct DDS_EntityId_t * inst, CDX_XcdrBuffer_t * cdr,
int just_keys );
77 COREDX_TS_EXPORT
int DDS_EntityId_t_marshal_key_hash (
const struct DDS_EntityId_t * inst, CDX_XcdrBuffer_t * cdr );
78 COREDX_TS_EXPORT
int DDS_EntityId_t_unmarshal_cdr (
struct DDS_EntityId_t * inst, CDX_XcdrBuffer_t * cdr,
int just_keys );
79 COREDX_TS_EXPORT
int DDS_EntityId_t_unmarshal_key_hash (
struct DDS_EntityId_t * inst, CDX_XcdrBuffer_t * cdr );
81 COREDX_TS_EXPORT
int DDS_EntityId_t_get_marshal_size_legacy (
const struct DDS_EntityId_t * inst,
int offset,
int just_keys );
82 COREDX_TS_EXPORT
int DDS_EntityId_t_marshal_cdr_legacy (
const struct DDS_EntityId_t * inst,
unsigned char *buf,
int offset,
int stream_len,
unsigned char swap,
int just_keys);
83 COREDX_TS_EXPORT
int DDS_EntityId_t_unmarshal_cdr_legacy (
struct DDS_EntityId_t * inst,
unsigned char * buf,
int offset,
int stream_len,
unsigned char swap,
int just_keys);
85 COREDX_TS_EXPORT
unsigned char DDS_EntityId_t_get_field_def(
const char * fieldname, CoreDX_FieldDef_t * field_def);
89 #ifndef _DDS_sequence_c_DDS_EntityId_tPtr_defined 90 #define _DDS_sequence_c_DDS_EntityId_tPtr_defined 91 DECLARE_SEQ( DDS_EntityId_t * , DDS_EntityId_tPtrSeq );
102 COREDX_TS_EXPORT
struct DDS_GUID_t *DDS_GUID_t_alloc (
void );
103 # define DDS_GUID_t__alloc DDS_GUID_t_alloc 104 COREDX_TS_EXPORT
void DDS_GUID_t_free (
struct DDS_GUID_t * inst );
105 COREDX_TS_EXPORT
void DDS_GUID_t_init (
struct DDS_GUID_t * instance );
106 COREDX_TS_EXPORT
void DDS_GUID_t_clear(
struct DDS_GUID_t * instance );
107 COREDX_TS_EXPORT
void DDS_GUID_t_copy (
struct DDS_GUID_t * copy_to,
const struct DDS_GUID_t * copy_from );
108 COREDX_TS_EXPORT
int DDS_GUID_t_marshal_cdr (
const struct DDS_GUID_t * inst, CDX_XcdrBuffer_t * cdr,
int just_keys );
109 COREDX_TS_EXPORT
int DDS_GUID_t_marshal_key_hash (
const struct DDS_GUID_t * inst, CDX_XcdrBuffer_t * cdr );
110 COREDX_TS_EXPORT
int DDS_GUID_t_unmarshal_cdr (
struct DDS_GUID_t * inst, CDX_XcdrBuffer_t * cdr,
int just_keys );
111 COREDX_TS_EXPORT
int DDS_GUID_t_unmarshal_key_hash (
struct DDS_GUID_t * inst, CDX_XcdrBuffer_t * cdr );
113 COREDX_TS_EXPORT
int DDS_GUID_t_get_marshal_size_legacy (
const struct DDS_GUID_t * inst,
int offset,
int just_keys );
114 COREDX_TS_EXPORT
int DDS_GUID_t_marshal_cdr_legacy (
const struct DDS_GUID_t * inst,
unsigned char *buf,
int offset,
int stream_len,
unsigned char swap,
int just_keys);
115 COREDX_TS_EXPORT
int DDS_GUID_t_unmarshal_cdr_legacy (
struct DDS_GUID_t * inst,
unsigned char * buf,
int offset,
int stream_len,
unsigned char swap,
int just_keys);
117 COREDX_TS_EXPORT
unsigned char DDS_GUID_t_get_field_def(
const char * fieldname, CoreDX_FieldDef_t * field_def);
121 #ifndef _DDS_sequence_c_DDS_GUID_tPtr_defined 122 #define _DDS_sequence_c_DDS_GUID_tPtr_defined 138 # define DDS_SequenceNumber_t__alloc DDS_SequenceNumber_t_alloc 143 COREDX_TS_EXPORT
int DDS_SequenceNumber_t_marshal_cdr (
const struct DDS_SequenceNumber_t * inst, CDX_XcdrBuffer_t * cdr,
int just_keys );
144 COREDX_TS_EXPORT
int DDS_SequenceNumber_t_marshal_key_hash (
const struct DDS_SequenceNumber_t * inst, CDX_XcdrBuffer_t * cdr );
145 COREDX_TS_EXPORT
int DDS_SequenceNumber_t_unmarshal_cdr (
struct DDS_SequenceNumber_t * inst, CDX_XcdrBuffer_t * cdr,
int just_keys );
146 COREDX_TS_EXPORT
int DDS_SequenceNumber_t_unmarshal_key_hash (
struct DDS_SequenceNumber_t * inst, CDX_XcdrBuffer_t * cdr );
148 COREDX_TS_EXPORT
int DDS_SequenceNumber_t_get_marshal_size_legacy (
const struct DDS_SequenceNumber_t * inst,
int offset,
int just_keys );
149 COREDX_TS_EXPORT
int DDS_SequenceNumber_t_marshal_cdr_legacy (
const struct DDS_SequenceNumber_t * inst,
unsigned char *buf,
int offset,
int stream_len,
unsigned char swap,
int just_keys);
150 COREDX_TS_EXPORT
int DDS_SequenceNumber_t_unmarshal_cdr_legacy (
struct DDS_SequenceNumber_t * inst,
unsigned char * buf,
int offset,
int stream_len,
unsigned char swap,
int just_keys);
152 COREDX_TS_EXPORT
unsigned char DDS_SequenceNumber_t_get_field_def(
const char * fieldname, CoreDX_FieldDef_t * field_def);
156 #ifndef _DDS_sequence_c_DDS_SequenceNumber_tPtr_defined 157 #define _DDS_sequence_c_DDS_SequenceNumber_tPtr_defined 170 COREDX_TS_EXPORT
struct DDS_SampleIdentity_t *DDS_SampleIdentity_t_alloc (
void );
171 # define DDS_SampleIdentity_t__alloc DDS_SampleIdentity_t_alloc 172 COREDX_TS_EXPORT
void DDS_SampleIdentity_t_free (
struct DDS_SampleIdentity_t * inst );
173 COREDX_TS_EXPORT
void DDS_SampleIdentity_t_init (
struct DDS_SampleIdentity_t * instance );
174 COREDX_TS_EXPORT
void DDS_SampleIdentity_t_clear(
struct DDS_SampleIdentity_t * instance );
175 COREDX_TS_EXPORT
void DDS_SampleIdentity_t_copy (
struct DDS_SampleIdentity_t * copy_to,
const struct DDS_SampleIdentity_t * copy_from );
176 COREDX_TS_EXPORT
int DDS_SampleIdentity_t_marshal_cdr (
const struct DDS_SampleIdentity_t * inst, CDX_XcdrBuffer_t * cdr,
int just_keys );
177 COREDX_TS_EXPORT
int DDS_SampleIdentity_t_marshal_key_hash (
const struct DDS_SampleIdentity_t * inst, CDX_XcdrBuffer_t * cdr );
178 COREDX_TS_EXPORT
int DDS_SampleIdentity_t_unmarshal_cdr (
struct DDS_SampleIdentity_t * inst, CDX_XcdrBuffer_t * cdr,
int just_keys );
179 COREDX_TS_EXPORT
int DDS_SampleIdentity_t_unmarshal_key_hash (
struct DDS_SampleIdentity_t * inst, CDX_XcdrBuffer_t * cdr );
181 COREDX_TS_EXPORT
int DDS_SampleIdentity_t_get_marshal_size_legacy (
const struct DDS_SampleIdentity_t * inst,
int offset,
int just_keys );
182 COREDX_TS_EXPORT
int DDS_SampleIdentity_t_marshal_cdr_legacy (
const struct DDS_SampleIdentity_t * inst,
unsigned char *buf,
int offset,
int stream_len,
unsigned char swap,
int just_keys);
183 COREDX_TS_EXPORT
int DDS_SampleIdentity_t_unmarshal_cdr_legacy (
struct DDS_SampleIdentity_t * inst,
unsigned char * buf,
int offset,
int stream_len,
unsigned char swap,
int just_keys);
185 COREDX_TS_EXPORT
unsigned char DDS_SampleIdentity_t_get_field_def(
const char * fieldname, CoreDX_FieldDef_t * field_def);
189 #ifndef _DDS_sequence_c_DDS_SampleIdentity_tPtr_defined 190 #define _DDS_sequence_c_DDS_SampleIdentity_tPtr_defined 191 DECLARE_SEQ( DDS_SampleIdentity_t * , DDS_SampleIdentity_tPtrSeq );
203 COREDX_TS_EXPORT
struct DDS_Duration_t *DDS_Duration_t_alloc (
void );
204 # define DDS_Duration_t__alloc DDS_Duration_t_alloc 205 COREDX_TS_EXPORT
void DDS_Duration_t_free (
struct DDS_Duration_t * inst );
206 COREDX_TS_EXPORT
void DDS_Duration_t_init (
struct DDS_Duration_t * instance );
207 COREDX_TS_EXPORT
void DDS_Duration_t_clear(
struct DDS_Duration_t * instance );
209 COREDX_TS_EXPORT
int DDS_Duration_t_marshal_cdr (
const struct DDS_Duration_t * inst, CDX_XcdrBuffer_t * cdr,
int just_keys );
210 COREDX_TS_EXPORT
int DDS_Duration_t_marshal_key_hash (
const struct DDS_Duration_t * inst, CDX_XcdrBuffer_t * cdr );
211 COREDX_TS_EXPORT
int DDS_Duration_t_unmarshal_cdr (
struct DDS_Duration_t * inst, CDX_XcdrBuffer_t * cdr,
int just_keys );
212 COREDX_TS_EXPORT
int DDS_Duration_t_unmarshal_key_hash (
struct DDS_Duration_t * inst, CDX_XcdrBuffer_t * cdr );
214 COREDX_TS_EXPORT
int DDS_Duration_t_get_marshal_size_legacy (
const struct DDS_Duration_t * inst,
int offset,
int just_keys );
215 COREDX_TS_EXPORT
int DDS_Duration_t_marshal_cdr_legacy (
const struct DDS_Duration_t * inst,
unsigned char *buf,
int offset,
int stream_len,
unsigned char swap,
int just_keys);
216 COREDX_TS_EXPORT
int DDS_Duration_t_unmarshal_cdr_legacy (
struct DDS_Duration_t * inst,
unsigned char * buf,
int offset,
int stream_len,
unsigned char swap,
int just_keys);
218 COREDX_TS_EXPORT
unsigned char DDS_Duration_t_get_field_def(
const char * fieldname, CoreDX_FieldDef_t * field_def);
222 #ifndef _DDS_sequence_c_DDS_Duration_tPtr_defined 223 #define _DDS_sequence_c_DDS_Duration_tPtr_defined int32_t high
Definition: dds_builtin_basic.h:132
unsigned char DDS_GuidPrefix_t[12]
Definition: dds_builtin_basic.h:61
Definition: dds_builtin_basic.h:163
Definition: dds_builtin_basic.h:130
int32_t value[3]
Definition: dds_builtin_basic.h:32
Definition: dds_builtin_basic.h:30
Definition: dds_builtin_basic.h:97
DECLARE_SEQ(DDS_DynamicTypeMember, DDS_DynamicTypeMemberSeq)
A DDS_DynamicTypeMemberSeq instance is a sequence of DDS_DynamicTypeMember's.
uint32_t low
Definition: dds_builtin_basic.h:134
The Duration_t structure contains data to define a time duration.
Definition: dds_builtin_basic.h:198