7 #ifndef _DDS_BUILTIN_BASIC_HH 8 #define _DDS_BUILTIN_BASIC_HH 11 #define DDS_SAFE_UNMARSH 1 12 #include <dds/dds_marsh.h> 14 # pragma warning(push) 15 # pragma warning(disable:4251) 16 # pragma warning(disable:4996) 19 # define DDS_BUILTIN_BASIC_DDL_VERSION_MAJOR 4 20 # define DDS_BUILTIN_BASIC_DDL_VERSION_MINOR 0 21 # define DDS_BUILTIN_BASIC_DDL_VERSION_PATCH 10 22 # define DDS_BUILTIN_BASIC_DDL_VERSION_MAJOR_STR "4" 23 # define DDS_BUILTIN_BASIC_DDL_VERSION_MINOR_STR "0" 24 # define DDS_BUILTIN_BASIC_DDL_VERSION_PATCH_STR "10" 31 class BuiltinTopicKey_tTypeSupport;
32 class BuiltinTopicKey_tDataReader;
33 class BuiltinTopicKey_tDataWriter;
36 #ifndef _DDS_sequence_cpp_DDS_BuiltinTopicKey_tPtr_defined 37 #define _DDS_sequence_cpp_DDS_BuiltinTopicKey_tPtr_defined 54 int get_marshal_size(
int offset,
int just_keys)
const ;
55 int marshal_cdr(
unsigned char * buf,
int offset,
int stream_len,
56 unsigned char swap,
int just_keys)
const ;
57 int marshal_key_hash(
unsigned char *buf,
int offset,
int stream_len)
const;
58 int unmarshal_cdr(
unsigned char * buf,
int offset,
int stream_len,
59 unsigned char swap,
int just_keys);
60 int unmarshal_key_hash(
unsigned char *buf,
int offset,
int stream_len);
63 static unsigned char get_field_def(
const char * fieldname,
64 CoreDX_FieldDef_t * field_def);
68 typedef BuiltinTopicKey_tTypeSupport TypeSupport;
69 typedef BuiltinTopicKey_tDataReader DataReader;
70 typedef BuiltinTopicKey_tDataWriter DataWriter;
71 typedef BuiltinTopicKey_tPtrSeq Seq;
79 typedef unsigned char GuidPrefix_t_slice;
81 class EntityId_tTypeSupport;
82 class EntityId_tDataReader;
83 class EntityId_tDataWriter;
86 #ifndef _DDS_sequence_cpp_DDS_EntityId_tPtr_defined 87 #define _DDS_sequence_cpp_DDS_EntityId_tPtr_defined 88 DECLARE_CPP_UNBOUNDED_SEQ( DDS::EntityId_t * , EntityId_tPtrSeq );
91 struct COREDX_CPP_CLASS_API EntityId_t {
96 EntityId_t(
const EntityId_t & other );
97 EntityId_t& operator=(
const EntityId_t & other);
101 void copy(
const DDS::EntityId_t * instance );
103 int get_marshal_size(
int offset,
int just_keys)
const ;
104 int marshal_cdr(
unsigned char * buf,
int offset,
int stream_len,
105 unsigned char swap,
int just_keys)
const ;
106 int marshal_key_hash(
unsigned char *buf,
int offset,
int stream_len)
const;
107 int unmarshal_cdr(
unsigned char * buf,
int offset,
int stream_len,
108 unsigned char swap,
int just_keys);
109 int unmarshal_key_hash(
unsigned char *buf,
int offset,
int stream_len);
112 static unsigned char get_field_def(
const char * fieldname,
113 CoreDX_FieldDef_t * field_def);
115 unsigned char entityKey [3];
117 unsigned char entityKind;
119 typedef EntityId_tTypeSupport TypeSupport;
122 typedef EntityId_tPtrSeq Seq;
129 class GUID_tTypeSupport;
130 class GUID_tDataReader;
131 class GUID_tDataWriter;
134 #ifndef _DDS_sequence_cpp_DDS_GUID_tPtr_defined 135 #define _DDS_sequence_cpp_DDS_GUID_tPtr_defined 136 DECLARE_CPP_UNBOUNDED_SEQ(
DDS::GUID_t * , GUID_tPtrSeq );
153 int get_marshal_size(
int offset,
int just_keys)
const ;
154 int marshal_cdr(
unsigned char * buf,
int offset,
int stream_len,
155 unsigned char swap,
int just_keys)
const ;
156 int marshal_key_hash(
unsigned char *buf,
int offset,
int stream_len)
const;
157 int unmarshal_cdr(
unsigned char * buf,
int offset,
int stream_len,
158 unsigned char swap,
int just_keys);
159 int unmarshal_key_hash(
unsigned char *buf,
int offset,
int stream_len);
162 static unsigned char get_field_def(
const char * fieldname,
163 CoreDX_FieldDef_t * field_def);
165 unsigned char value [16];
167 typedef GUID_tTypeSupport TypeSupport;
168 typedef GUID_tDataReader DataReader;
169 typedef GUID_tDataWriter DataWriter;
170 typedef GUID_tPtrSeq Seq;
177 class SequenceNumber_tTypeSupport;
178 class SequenceNumber_tDataReader;
179 class SequenceNumber_tDataWriter;
182 #ifndef _DDS_sequence_cpp_DDS_SequenceNumber_tPtr_defined 183 #define _DDS_sequence_cpp_DDS_SequenceNumber_tPtr_defined 202 int get_marshal_size(
int offset,
int just_keys)
const ;
203 int marshal_cdr(
unsigned char * buf,
int offset,
int stream_len,
204 unsigned char swap,
int just_keys)
const ;
205 int marshal_key_hash(
unsigned char *buf,
int offset,
int stream_len)
const;
206 int unmarshal_cdr(
unsigned char * buf,
int offset,
int stream_len,
207 unsigned char swap,
int just_keys);
208 int unmarshal_key_hash(
unsigned char *buf,
int offset,
int stream_len);
211 static unsigned char get_field_def(
const char * fieldname,
212 CoreDX_FieldDef_t * field_def);
218 typedef SequenceNumber_tTypeSupport TypeSupport;
219 typedef SequenceNumber_tDataReader DataReader;
220 typedef SequenceNumber_tDataWriter DataWriter;
221 typedef SequenceNumber_tPtrSeq Seq;
228 class SampleIdentity_tTypeSupport;
229 class SampleIdentity_tDataReader;
230 class SampleIdentity_tDataWriter;
233 #ifndef _DDS_sequence_cpp_DDS_SampleIdentity_tPtr_defined 234 #define _DDS_sequence_cpp_DDS_SampleIdentity_tPtr_defined 251 int get_marshal_size(
int offset,
int just_keys)
const ;
252 int marshal_cdr(
unsigned char * buf,
int offset,
int stream_len,
253 unsigned char swap,
int just_keys)
const ;
254 int marshal_key_hash(
unsigned char *buf,
int offset,
int stream_len)
const;
255 int unmarshal_cdr(
unsigned char * buf,
int offset,
int stream_len,
256 unsigned char swap,
int just_keys);
257 int unmarshal_key_hash(
unsigned char *buf,
int offset,
int stream_len);
260 static unsigned char get_field_def(
const char * fieldname,
261 CoreDX_FieldDef_t * field_def);
267 typedef SampleIdentity_tTypeSupport TypeSupport;
268 typedef SampleIdentity_tDataReader DataReader;
269 typedef SampleIdentity_tDataWriter DataWriter;
270 typedef SampleIdentity_tPtrSeq Seq;
280 # pragma warning(pop) The DataWriter entity provides an interface for the application to publish (write) data...
Definition: dds.hh:2179
int high
Definition: dds_builtin_basic.hh:214
Definition: dds_builtin_basic.hh:141
The DataReader entity allows the application to subscribe to and read data.
Definition: dds.hh:2466
Definition: dds_builtin_basic.hh:42
Provides the DDS infrastructure.
Definition: dds_builtin_basic.hh:28
uint32_t low
Definition: dds_builtin_basic.hh:216
unsigned char GuidPrefix_t[12]
Definition: dds_builtin_basic.hh:78
Definition: dds_builtin_basic.hh:239
Definition: dds_builtin_basic.hh:190