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 12 #include <dds/dds_marsh.h> 18 # define DDS_BUILTIN_BASIC_DDL_VERSION_MAJOR 4 19 # define DDS_BUILTIN_BASIC_DDL_VERSION_MINOR 0 20 # define DDS_BUILTIN_BASIC_DDL_VERSION_PATCH 10 21 # define DDS_BUILTIN_BASIC_DDL_VERSION_MAJOR_STR "4" 22 # define DDS_BUILTIN_BASIC_DDL_VERSION_MINOR_STR "0" 23 # define DDS_BUILTIN_BASIC_DDL_VERSION_PATCH_STR "10" 36 # define DDS_BuiltinTopicKey_t__alloc DDS_BuiltinTopicKey_t_alloc 41 COREDX_C_API
int DDS_BuiltinTopicKey_t_get_marshal_size (
const struct DDS_BuiltinTopicKey_t * inst,
int offset,
int just_keys );
42 COREDX_C_API
int DDS_BuiltinTopicKey_t_marshal_cdr (
const struct DDS_BuiltinTopicKey_t * inst,
unsigned char * buf,
int offset,
int buf_len,
unsigned char swap,
int just_keys );
43 COREDX_C_API
int DDS_BuiltinTopicKey_t_marshal_key_hash (
const struct DDS_BuiltinTopicKey_t * inst,
unsigned char * buf,
int offset,
int buf_len );
44 COREDX_C_API
int DDS_BuiltinTopicKey_t_unmarshal_cdr (
struct DDS_BuiltinTopicKey_t * inst,
unsigned char * buf,
int offset,
int buf_len,
unsigned char swap,
int just_keys );
45 COREDX_C_API
int DDS_BuiltinTopicKey_t_unmarshal_key_hash (
struct DDS_BuiltinTopicKey_t * inst,
unsigned char * buf,
int offset,
int buf_len );
47 COREDX_C_API
unsigned char DDS_BuiltinTopicKey_t_get_field_def(
const char * fieldname, CoreDX_FieldDef_t * field_def);
51 #ifndef _DDS_sequence_c_DDS_BuiltinTopicKey_tPtr_defined 52 #define _DDS_sequence_c_DDS_BuiltinTopicKey_tPtr_defined 59 typedef unsigned char DDS_GuidPrefix_t_slice;
60 typedef struct DDS_EntityId_t {
62 unsigned char entityKey [3];
64 unsigned char entityKind;
67 COREDX_C_API
struct DDS_EntityId_t *DDS_EntityId_t_alloc (
void );
68 # define DDS_EntityId_t__alloc DDS_EntityId_t_alloc 69 COREDX_C_API
void DDS_EntityId_t_free (
struct DDS_EntityId_t * inst );
70 COREDX_C_API
void DDS_EntityId_t_init (
struct DDS_EntityId_t * instance );
71 COREDX_C_API
void DDS_EntityId_t_clear(
struct DDS_EntityId_t * instance );
72 COREDX_C_API
void DDS_EntityId_t_copy (
struct DDS_EntityId_t * copy_to,
const struct DDS_EntityId_t * copy_from );
73 COREDX_C_API
int DDS_EntityId_t_get_marshal_size (
const struct DDS_EntityId_t * inst,
int offset,
int just_keys );
74 COREDX_C_API
int DDS_EntityId_t_marshal_cdr (
const struct DDS_EntityId_t * inst,
unsigned char * buf,
int offset,
int buf_len,
unsigned char swap,
int just_keys );
75 COREDX_C_API
int DDS_EntityId_t_marshal_key_hash (
const struct DDS_EntityId_t * inst,
unsigned char * buf,
int offset,
int buf_len );
76 COREDX_C_API
int DDS_EntityId_t_unmarshal_cdr (
struct DDS_EntityId_t * inst,
unsigned char * buf,
int offset,
int buf_len,
unsigned char swap,
int just_keys );
77 COREDX_C_API
int DDS_EntityId_t_unmarshal_key_hash (
struct DDS_EntityId_t * inst,
unsigned char * buf,
int offset,
int buf_len );
79 COREDX_C_API
unsigned char DDS_EntityId_t_get_field_def(
const char * fieldname, CoreDX_FieldDef_t * field_def);
83 #ifndef _DDS_sequence_c_DDS_EntityId_tPtr_defined 84 #define _DDS_sequence_c_DDS_EntityId_tPtr_defined 85 DECLARE_SEQ( DDS_EntityId_t * , DDS_EntityId_tPtrSeq );
96 COREDX_C_API
struct DDS_GUID_t *DDS_GUID_t_alloc (
void );
97 # define DDS_GUID_t__alloc DDS_GUID_t_alloc 98 COREDX_C_API
void DDS_GUID_t_free (
struct DDS_GUID_t * inst );
99 COREDX_C_API
void DDS_GUID_t_init (
struct DDS_GUID_t * instance );
100 COREDX_C_API
void DDS_GUID_t_clear(
struct DDS_GUID_t * instance );
101 COREDX_C_API
void DDS_GUID_t_copy (
struct DDS_GUID_t * copy_to,
const struct DDS_GUID_t * copy_from );
102 COREDX_C_API
int DDS_GUID_t_get_marshal_size (
const struct DDS_GUID_t * inst,
int offset,
int just_keys );
103 COREDX_C_API
int DDS_GUID_t_marshal_cdr (
const struct DDS_GUID_t * inst,
unsigned char * buf,
int offset,
int buf_len,
unsigned char swap,
int just_keys );
104 COREDX_C_API
int DDS_GUID_t_marshal_key_hash (
const struct DDS_GUID_t * inst,
unsigned char * buf,
int offset,
int buf_len );
105 COREDX_C_API
int DDS_GUID_t_unmarshal_cdr (
struct DDS_GUID_t * inst,
unsigned char * buf,
int offset,
int buf_len,
unsigned char swap,
int just_keys );
106 COREDX_C_API
int DDS_GUID_t_unmarshal_key_hash (
struct DDS_GUID_t * inst,
unsigned char * buf,
int offset,
int buf_len );
108 COREDX_C_API
unsigned char DDS_GUID_t_get_field_def(
const char * fieldname, CoreDX_FieldDef_t * field_def);
112 #ifndef _DDS_sequence_c_DDS_GUID_tPtr_defined 113 #define _DDS_sequence_c_DDS_GUID_tPtr_defined 129 # define DDS_SequenceNumber_t__alloc DDS_SequenceNumber_t_alloc 134 COREDX_C_API
int DDS_SequenceNumber_t_get_marshal_size (
const struct DDS_SequenceNumber_t * inst,
int offset,
int just_keys );
135 COREDX_C_API
int DDS_SequenceNumber_t_marshal_cdr (
const struct DDS_SequenceNumber_t * inst,
unsigned char * buf,
int offset,
int buf_len,
unsigned char swap,
int just_keys );
136 COREDX_C_API
int DDS_SequenceNumber_t_marshal_key_hash (
const struct DDS_SequenceNumber_t * inst,
unsigned char * buf,
int offset,
int buf_len );
137 COREDX_C_API
int DDS_SequenceNumber_t_unmarshal_cdr (
struct DDS_SequenceNumber_t * inst,
unsigned char * buf,
int offset,
int buf_len,
unsigned char swap,
int just_keys );
138 COREDX_C_API
int DDS_SequenceNumber_t_unmarshal_key_hash (
struct DDS_SequenceNumber_t * inst,
unsigned char * buf,
int offset,
int buf_len );
140 COREDX_C_API
unsigned char DDS_SequenceNumber_t_get_field_def(
const char * fieldname, CoreDX_FieldDef_t * field_def);
144 #ifndef _DDS_sequence_c_DDS_SequenceNumber_tPtr_defined 145 #define _DDS_sequence_c_DDS_SequenceNumber_tPtr_defined 158 COREDX_C_API
struct DDS_SampleIdentity_t *DDS_SampleIdentity_t_alloc (
void );
159 # define DDS_SampleIdentity_t__alloc DDS_SampleIdentity_t_alloc 160 COREDX_C_API
void DDS_SampleIdentity_t_free (
struct DDS_SampleIdentity_t * inst );
161 COREDX_C_API
void DDS_SampleIdentity_t_init (
struct DDS_SampleIdentity_t * instance );
162 COREDX_C_API
void DDS_SampleIdentity_t_clear(
struct DDS_SampleIdentity_t * instance );
163 COREDX_C_API
void DDS_SampleIdentity_t_copy (
struct DDS_SampleIdentity_t * copy_to,
const struct DDS_SampleIdentity_t * copy_from );
164 COREDX_C_API
int DDS_SampleIdentity_t_get_marshal_size (
const struct DDS_SampleIdentity_t * inst,
int offset,
int just_keys );
165 COREDX_C_API
int DDS_SampleIdentity_t_marshal_cdr (
const struct DDS_SampleIdentity_t * inst,
unsigned char * buf,
int offset,
int buf_len,
unsigned char swap,
int just_keys );
166 COREDX_C_API
int DDS_SampleIdentity_t_marshal_key_hash (
const struct DDS_SampleIdentity_t * inst,
unsigned char * buf,
int offset,
int buf_len );
167 COREDX_C_API
int DDS_SampleIdentity_t_unmarshal_cdr (
struct DDS_SampleIdentity_t * inst,
unsigned char * buf,
int offset,
int buf_len,
unsigned char swap,
int just_keys );
168 COREDX_C_API
int DDS_SampleIdentity_t_unmarshal_key_hash (
struct DDS_SampleIdentity_t * inst,
unsigned char * buf,
int offset,
int buf_len );
170 COREDX_C_API
unsigned char DDS_SampleIdentity_t_get_field_def(
const char * fieldname, CoreDX_FieldDef_t * field_def);
174 #ifndef _DDS_sequence_c_DDS_SampleIdentity_tPtr_defined 175 #define _DDS_sequence_c_DDS_SampleIdentity_tPtr_defined 176 DECLARE_SEQ( DDS_SampleIdentity_t * , DDS_SampleIdentity_tPtrSeq );
unsigned char DDS_GuidPrefix_t[12]
Definition: dds_builtin_basic.h:58
Definition: dds_builtin_basic.h:151
Definition: dds_builtin_basic.h:121
Definition: dds_builtin_basic.h:30
Definition: dds_builtin_basic.h:91
int value[3]
Definition: dds_builtin_basic.h:32
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:125
int high
Definition: dds_builtin_basic.h:123