CoreDX DDS C++ Reference Manual
dds_builtin_basic.hh
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_BASIC_HH
8 #define _DDS_BUILTIN_BASIC_HH
9 #include <string.h>
10 #include <dds/dds.hh>
11 #define DDS_SAFE_UNMARSH 1
12 #include <dds/dds_marsh.h>
13 #ifdef _MSC_VER
14 # pragma warning(push)
15 # pragma warning(disable:4251)
16 # pragma warning(disable:4996)
17 #endif
18 
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"
25 
28  namespace DDS {
29 
30  struct BuiltinTopicKey_t;
31  class BuiltinTopicKey_tTypeSupport;
32  class BuiltinTopicKey_tDataReader;
33  class BuiltinTopicKey_tDataWriter;
34 
35 /* DDS Data Type SEQUENCE: sequence<DDS::BuiltinTopicKey_t *> */
36 #ifndef _DDS_sequence_cpp_DDS_BuiltinTopicKey_tPtr_defined
37 #define _DDS_sequence_cpp_DDS_BuiltinTopicKey_tPtr_defined
38  DECLARE_CPP_UNBOUNDED_SEQ( DDS::BuiltinTopicKey_t * , BuiltinTopicKey_tPtrSeq );
39 #endif /* DDS Data Type SEQUENCE: sequence<BuiltinTopicKey_tPtrSeq *> */
40 
42  struct COREDX_CPP_CLASS_API BuiltinTopicKey_t {
43  public:
47  BuiltinTopicKey_t( const BuiltinTopicKey_t & other );
48  BuiltinTopicKey_t& operator=( const BuiltinTopicKey_t & other);
49 
50  void init();
51  void clear();
52  void copy( const DDS::BuiltinTopicKey_t * instance );
53 
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);
61 
62  /* Member vars*/
63  static unsigned char get_field_def(const char * fieldname,
64  CoreDX_FieldDef_t * field_def);
66  int value [3];
67 
68  typedef BuiltinTopicKey_tTypeSupport TypeSupport;
69  typedef BuiltinTopicKey_tDataReader DataReader;
70  typedef BuiltinTopicKey_tDataWriter DataWriter;
71  typedef BuiltinTopicKey_tPtrSeq Seq;
72 
73  private:
74 
75  }; //DDS::BuiltinTopicKey_t
76 
78  typedef unsigned char GuidPrefix_t[12];
79  typedef unsigned char GuidPrefix_t_slice;
80  struct EntityId_t;
81  class EntityId_tTypeSupport;
82  class EntityId_tDataReader;
83  class EntityId_tDataWriter;
84 
85 /* DDS Data Type SEQUENCE: sequence<DDS::EntityId_t *> */
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 );
89 #endif /* DDS Data Type SEQUENCE: sequence<EntityId_tPtrSeq *> */
90 
91  struct COREDX_CPP_CLASS_API EntityId_t {
92  public:
94  EntityId_t();
95  ~EntityId_t();
96  EntityId_t( const EntityId_t & other );
97  EntityId_t& operator=( const EntityId_t & other);
98 
99  void init();
100  void clear();
101  void copy( const DDS::EntityId_t * instance );
102 
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);
110 
111  /* Member vars*/
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;
118 
119  typedef EntityId_tTypeSupport TypeSupport;
120  typedef EntityId_tDataReader DataReader;
121  typedef EntityId_tDataWriter DataWriter;
122  typedef EntityId_tPtrSeq Seq;
123 
124  private:
125 
126  }; //DDS::EntityId_t
127 
128  struct GUID_t;
129  class GUID_tTypeSupport;
130  class GUID_tDataReader;
131  class GUID_tDataWriter;
132 
133 /* DDS Data Type SEQUENCE: sequence<DDS::GUID_t *> */
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 );
137 #endif /* DDS Data Type SEQUENCE: sequence<GUID_tPtrSeq *> */
138 
141  struct COREDX_CPP_CLASS_API GUID_t {
142  public:
144  GUID_t();
145  ~GUID_t();
146  GUID_t( const GUID_t & other );
147  GUID_t& operator=( const GUID_t & other);
148 
149  void init();
150  void clear();
151  void copy( const DDS::GUID_t * instance );
152 
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);
160 
161  /* Member vars*/
162  static unsigned char get_field_def(const char * fieldname,
163  CoreDX_FieldDef_t * field_def);
165  unsigned char value [16];
166 
167  typedef GUID_tTypeSupport TypeSupport;
168  typedef GUID_tDataReader DataReader;
169  typedef GUID_tDataWriter DataWriter;
170  typedef GUID_tPtrSeq Seq;
171 
172  private:
173 
174  }; //DDS::GUID_t
175 
176  struct SequenceNumber_t;
177  class SequenceNumber_tTypeSupport;
178  class SequenceNumber_tDataReader;
179  class SequenceNumber_tDataWriter;
180 
181 /* DDS Data Type SEQUENCE: sequence<DDS::SequenceNumber_t *> */
182 #ifndef _DDS_sequence_cpp_DDS_SequenceNumber_tPtr_defined
183 #define _DDS_sequence_cpp_DDS_SequenceNumber_tPtr_defined
184  DECLARE_CPP_UNBOUNDED_SEQ( DDS::SequenceNumber_t * , SequenceNumber_tPtrSeq );
185 #endif /* DDS Data Type SEQUENCE: sequence<SequenceNumber_tPtrSeq *> */
186 
190  struct COREDX_CPP_CLASS_API SequenceNumber_t {
191  public:
194  ~SequenceNumber_t();
195  SequenceNumber_t( const SequenceNumber_t & other );
196  SequenceNumber_t& operator=( const SequenceNumber_t & other);
197 
198  void init();
199  void clear();
200  void copy( const DDS::SequenceNumber_t * instance );
201 
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);
209 
210  /* Member vars*/
211  static unsigned char get_field_def(const char * fieldname,
212  CoreDX_FieldDef_t * field_def);
214  int high;
216  uint32_t low;
217 
218  typedef SequenceNumber_tTypeSupport TypeSupport;
219  typedef SequenceNumber_tDataReader DataReader;
220  typedef SequenceNumber_tDataWriter DataWriter;
221  typedef SequenceNumber_tPtrSeq Seq;
222 
223  private:
224 
225  }; //DDS::SequenceNumber_t
226 
227  struct SampleIdentity_t;
228  class SampleIdentity_tTypeSupport;
229  class SampleIdentity_tDataReader;
230  class SampleIdentity_tDataWriter;
231 
232 /* DDS Data Type SEQUENCE: sequence<DDS::SampleIdentity_t *> */
233 #ifndef _DDS_sequence_cpp_DDS_SampleIdentity_tPtr_defined
234 #define _DDS_sequence_cpp_DDS_SampleIdentity_tPtr_defined
235  DECLARE_CPP_UNBOUNDED_SEQ( DDS::SampleIdentity_t * , SampleIdentity_tPtrSeq );
236 #endif /* DDS Data Type SEQUENCE: sequence<SampleIdentity_tPtrSeq *> */
237 
239  struct COREDX_CPP_CLASS_API SampleIdentity_t {
240  public:
243  ~SampleIdentity_t();
244  SampleIdentity_t( const SampleIdentity_t & other );
245  SampleIdentity_t& operator=( const SampleIdentity_t & other);
246 
247  void init();
248  void clear();
249  void copy( const DDS::SampleIdentity_t * instance );
250 
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);
258 
259  /* Member vars*/
260  static unsigned char get_field_def(const char * fieldname,
261  CoreDX_FieldDef_t * field_def);
263  struct DDS::GUID_t guid;
265  struct DDS::SequenceNumber_t seqnum;
266 
267  typedef SampleIdentity_tTypeSupport TypeSupport;
268  typedef SampleIdentity_tDataReader DataReader;
269  typedef SampleIdentity_tDataWriter DataWriter;
270  typedef SampleIdentity_tPtrSeq Seq;
271 
272  private:
273 
274  }; //DDS::SampleIdentity_t
275 
276 
277  } /* namespace DDS */
278 
279 #ifdef _MSC_VER
280 # pragma warning(pop)
281 #endif
282 #endif
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

© 2009-2017 Twin Oaks Computing, Inc
Castle Rock, CO 80108
All rights reserved.