Goby v2
test.pb.h
1 // Generated by the protocol buffer compiler. DO NOT EDIT!
2 // source: goby/test/acomms/dccl9/test.proto
3 
4 #ifndef PROTOBUF_goby_2ftest_2facomms_2fdccl9_2ftest_2eproto__INCLUDED
5 #define PROTOBUF_goby_2ftest_2facomms_2fdccl9_2ftest_2eproto__INCLUDED
6 
7 #include <string>
8 
9 #include <google/protobuf/stubs/common.h>
10 
11 #if GOOGLE_PROTOBUF_VERSION < 2006000
12 #error This file was generated by a newer version of protoc which is
13 #error incompatible with your Protocol Buffer headers. Please update
14 #error your headers.
15 #endif
16 #if 2006001 < GOOGLE_PROTOBUF_MIN_PROTOC_VERSION
17 #error This file was generated by an older version of protoc which is
18 #error incompatible with your Protocol Buffer headers. Please
19 #error regenerate this file with a newer version of protoc.
20 #endif
21 
22 #include <google/protobuf/generated_message_util.h>
23 #include <google/protobuf/message.h>
24 #include <google/protobuf/repeated_field.h>
25 #include <google/protobuf/extension_set.h>
26 #include <google/protobuf/unknown_field_set.h>
27 #include "dccl/protobuf/option_extensions.pb.h"
28 #include <boost/units/quantity.hpp>
29 #include <boost/units/absolute.hpp>
30 #include <boost/units/dimensionless_type.hpp>
31 #include <boost/units/make_scaled_unit.hpp>
32 // @@protoc_insertion_point(includes)
33 
34 // Internal implementation detail -- do not call these.
35 void protobuf_AddDesc_goby_2ftest_2facomms_2fdccl9_2ftest_2eproto();
36 void protobuf_AssignDesc_goby_2ftest_2facomms_2fdccl9_2ftest_2eproto();
37 void protobuf_ShutdownFile_goby_2ftest_2facomms_2fdccl9_2ftest_2eproto();
38 
39 class MiniUser;
40 class MiniOWTT;
41 class MiniAbort;
42 class NormalDCCL;
43 
44 // ===================================================================
45 
46 class MiniUser : public ::google::protobuf::Message {
47  public:
48  MiniUser();
49  virtual ~MiniUser();
50 
51  MiniUser(const MiniUser& from);
52 
53  inline MiniUser& operator=(const MiniUser& from) {
54  CopyFrom(from);
55  return *this;
56  }
57 
58  inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
59  return _unknown_fields_;
60  }
61 
62  inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
63  return &_unknown_fields_;
64  }
65 
66  static const ::google::protobuf::Descriptor* descriptor();
67  static const MiniUser& default_instance();
68 
69  void Swap(MiniUser* other);
70 
71  // implements Message ----------------------------------------------
72 
73  MiniUser* New() const;
74  void CopyFrom(const ::google::protobuf::Message& from);
75  void MergeFrom(const ::google::protobuf::Message& from);
76  void CopyFrom(const MiniUser& from);
77  void MergeFrom(const MiniUser& from);
78  void Clear();
79  bool IsInitialized() const;
80 
81  int ByteSize() const;
82  bool MergePartialFromCodedStream(
83  ::google::protobuf::io::CodedInputStream* input);
84  void SerializeWithCachedSizes(
85  ::google::protobuf::io::CodedOutputStream* output) const;
86  ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const;
87  int GetCachedSize() const { return _cached_size_; }
88  private:
89  void SharedCtor();
90  void SharedDtor();
91  void SetCachedSize(int size) const;
92  public:
93  ::google::protobuf::Metadata GetMetadata() const;
94 
95  // nested types ----------------------------------------------------
96 
97  // accessors -------------------------------------------------------
98 
99  // required uint32 user = 1;
100  inline bool has_user() const;
101  inline void clear_user();
102  static const int kUserFieldNumber = 1;
103  inline ::google::protobuf::uint32 user() const;
104  inline void set_user(::google::protobuf::uint32 value);
105 
106  enum DCCLParameters { DCCL_ID = 1000001, DCCL_MAX_BYTES = 2 };
107  // @@protoc_insertion_point(class_scope:MiniUser)
108  private:
109  inline void set_has_user();
110  inline void clear_has_user();
111 
112  ::google::protobuf::UnknownFieldSet _unknown_fields_;
113 
114  ::google::protobuf::uint32 _has_bits_[1];
115  mutable int _cached_size_;
116  ::google::protobuf::uint32 user_;
117  friend void protobuf_AddDesc_goby_2ftest_2facomms_2fdccl9_2ftest_2eproto();
118  friend void protobuf_AssignDesc_goby_2ftest_2facomms_2fdccl9_2ftest_2eproto();
119  friend void protobuf_ShutdownFile_goby_2ftest_2facomms_2fdccl9_2ftest_2eproto();
120 
121  void InitAsDefaultInstance();
122  static MiniUser* default_instance_;
123 };
124 // -------------------------------------------------------------------
125 
126 class MiniOWTT : public ::google::protobuf::Message {
127  public:
128  MiniOWTT();
129  virtual ~MiniOWTT();
130 
131  MiniOWTT(const MiniOWTT& from);
132 
133  inline MiniOWTT& operator=(const MiniOWTT& from) {
134  CopyFrom(from);
135  return *this;
136  }
137 
138  inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
139  return _unknown_fields_;
140  }
141 
142  inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
143  return &_unknown_fields_;
144  }
145 
146  static const ::google::protobuf::Descriptor* descriptor();
147  static const MiniOWTT& default_instance();
148 
149  void Swap(MiniOWTT* other);
150 
151  // implements Message ----------------------------------------------
152 
153  MiniOWTT* New() const;
154  void CopyFrom(const ::google::protobuf::Message& from);
155  void MergeFrom(const ::google::protobuf::Message& from);
156  void CopyFrom(const MiniOWTT& from);
157  void MergeFrom(const MiniOWTT& from);
158  void Clear();
159  bool IsInitialized() const;
160 
161  int ByteSize() const;
162  bool MergePartialFromCodedStream(
163  ::google::protobuf::io::CodedInputStream* input);
164  void SerializeWithCachedSizes(
165  ::google::protobuf::io::CodedOutputStream* output) const;
166  ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const;
167  int GetCachedSize() const { return _cached_size_; }
168  private:
169  void SharedCtor();
170  void SharedDtor();
171  void SetCachedSize(int size) const;
172  public:
173  ::google::protobuf::Metadata GetMetadata() const;
174 
175  // nested types ----------------------------------------------------
176 
177  // accessors -------------------------------------------------------
178 
179  // required uint32 clock_mode = 1;
180  inline bool has_clock_mode() const;
181  inline void clear_clock_mode();
182  static const int kClockModeFieldNumber = 1;
183  inline ::google::protobuf::uint32 clock_mode() const;
184  inline void set_clock_mode(::google::protobuf::uint32 value);
185 
186  // required uint32 tod = 2;
187  inline bool has_tod() const;
188  inline void clear_tod();
189  static const int kTodFieldNumber = 2;
190  inline ::google::protobuf::uint32 tod() const;
191  inline void set_tod(::google::protobuf::uint32 value);
192 
193  // required uint32 user = 3;
194  inline bool has_user() const;
195  inline void clear_user();
196  static const int kUserFieldNumber = 3;
197  inline ::google::protobuf::uint32 user() const;
198  inline void set_user(::google::protobuf::uint32 value);
199 
200  enum DCCLParameters { DCCL_ID = 1000002, DCCL_MAX_BYTES = 2 };
201  // @@protoc_insertion_point(class_scope:MiniOWTT)
202  private:
203  inline void set_has_clock_mode();
204  inline void clear_has_clock_mode();
205  inline void set_has_tod();
206  inline void clear_has_tod();
207  inline void set_has_user();
208  inline void clear_has_user();
209 
210  ::google::protobuf::UnknownFieldSet _unknown_fields_;
211 
212  ::google::protobuf::uint32 _has_bits_[1];
213  mutable int _cached_size_;
214  ::google::protobuf::uint32 clock_mode_;
215  ::google::protobuf::uint32 tod_;
216  ::google::protobuf::uint32 user_;
217  friend void protobuf_AddDesc_goby_2ftest_2facomms_2fdccl9_2ftest_2eproto();
218  friend void protobuf_AssignDesc_goby_2ftest_2facomms_2fdccl9_2ftest_2eproto();
219  friend void protobuf_ShutdownFile_goby_2ftest_2facomms_2fdccl9_2ftest_2eproto();
220 
221  void InitAsDefaultInstance();
222  static MiniOWTT* default_instance_;
223 };
224 // -------------------------------------------------------------------
225 
226 class MiniAbort : public ::google::protobuf::Message {
227  public:
228  MiniAbort();
229  virtual ~MiniAbort();
230 
231  MiniAbort(const MiniAbort& from);
232 
233  inline MiniAbort& operator=(const MiniAbort& from) {
234  CopyFrom(from);
235  return *this;
236  }
237 
238  inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
239  return _unknown_fields_;
240  }
241 
242  inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
243  return &_unknown_fields_;
244  }
245 
246  static const ::google::protobuf::Descriptor* descriptor();
247  static const MiniAbort& default_instance();
248 
249  void Swap(MiniAbort* other);
250 
251  // implements Message ----------------------------------------------
252 
253  MiniAbort* New() const;
254  void CopyFrom(const ::google::protobuf::Message& from);
255  void MergeFrom(const ::google::protobuf::Message& from);
256  void CopyFrom(const MiniAbort& from);
257  void MergeFrom(const MiniAbort& from);
258  void Clear();
259  bool IsInitialized() const;
260 
261  int ByteSize() const;
262  bool MergePartialFromCodedStream(
263  ::google::protobuf::io::CodedInputStream* input);
264  void SerializeWithCachedSizes(
265  ::google::protobuf::io::CodedOutputStream* output) const;
266  ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const;
267  int GetCachedSize() const { return _cached_size_; }
268  private:
269  void SharedCtor();
270  void SharedDtor();
271  void SetCachedSize(int size) const;
272  public:
273  ::google::protobuf::Metadata GetMetadata() const;
274 
275  // nested types ----------------------------------------------------
276 
277  // accessors -------------------------------------------------------
278 
279  // required uint32 user = 1;
280  inline bool has_user() const;
281  inline void clear_user();
282  static const int kUserFieldNumber = 1;
283  inline ::google::protobuf::uint32 user() const;
284  inline void set_user(::google::protobuf::uint32 value);
285 
286  enum DCCLParameters { DCCL_ID = 1000003, DCCL_MAX_BYTES = 2 };
287  // @@protoc_insertion_point(class_scope:MiniAbort)
288  private:
289  inline void set_has_user();
290  inline void clear_has_user();
291 
292  ::google::protobuf::UnknownFieldSet _unknown_fields_;
293 
294  ::google::protobuf::uint32 _has_bits_[1];
295  mutable int _cached_size_;
296  ::google::protobuf::uint32 user_;
297  friend void protobuf_AddDesc_goby_2ftest_2facomms_2fdccl9_2ftest_2eproto();
298  friend void protobuf_AssignDesc_goby_2ftest_2facomms_2fdccl9_2ftest_2eproto();
299  friend void protobuf_ShutdownFile_goby_2ftest_2facomms_2fdccl9_2ftest_2eproto();
300 
301  void InitAsDefaultInstance();
302  static MiniAbort* default_instance_;
303 };
304 // -------------------------------------------------------------------
305 
306 class NormalDCCL : public ::google::protobuf::Message {
307  public:
308  NormalDCCL();
309  virtual ~NormalDCCL();
310 
311  NormalDCCL(const NormalDCCL& from);
312 
313  inline NormalDCCL& operator=(const NormalDCCL& from) {
314  CopyFrom(from);
315  return *this;
316  }
317 
318  inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
319  return _unknown_fields_;
320  }
321 
322  inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
323  return &_unknown_fields_;
324  }
325 
326  static const ::google::protobuf::Descriptor* descriptor();
327  static const NormalDCCL& default_instance();
328 
329  void Swap(NormalDCCL* other);
330 
331  // implements Message ----------------------------------------------
332 
333  NormalDCCL* New() const;
334  void CopyFrom(const ::google::protobuf::Message& from);
335  void MergeFrom(const ::google::protobuf::Message& from);
336  void CopyFrom(const NormalDCCL& from);
337  void MergeFrom(const NormalDCCL& from);
338  void Clear();
339  bool IsInitialized() const;
340 
341  int ByteSize() const;
342  bool MergePartialFromCodedStream(
343  ::google::protobuf::io::CodedInputStream* input);
344  void SerializeWithCachedSizes(
345  ::google::protobuf::io::CodedOutputStream* output) const;
346  ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const;
347  int GetCachedSize() const { return _cached_size_; }
348  private:
349  void SharedCtor();
350  void SharedDtor();
351  void SetCachedSize(int size) const;
352  public:
353  ::google::protobuf::Metadata GetMetadata() const;
354 
355  // nested types ----------------------------------------------------
356 
357  // accessors -------------------------------------------------------
358 
359  // required int32 a = 1;
360  inline bool has_a() const;
361  inline void clear_a();
362  static const int kAFieldNumber = 1;
363  inline ::google::protobuf::int32 a() const;
364  inline void set_a(::google::protobuf::int32 value);
365 
366  // required int32 b = 2;
367  inline bool has_b() const;
368  inline void clear_b();
369  static const int kBFieldNumber = 2;
370  inline ::google::protobuf::int32 b() const;
371  inline void set_b(::google::protobuf::int32 value);
372 
373  enum DCCLParameters { DCCL_ID = 1, DCCL_MAX_BYTES = 32 };
374  // @@protoc_insertion_point(class_scope:NormalDCCL)
375  private:
376  inline void set_has_a();
377  inline void clear_has_a();
378  inline void set_has_b();
379  inline void clear_has_b();
380 
381  ::google::protobuf::UnknownFieldSet _unknown_fields_;
382 
383  ::google::protobuf::uint32 _has_bits_[1];
384  mutable int _cached_size_;
385  ::google::protobuf::int32 a_;
386  ::google::protobuf::int32 b_;
387  friend void protobuf_AddDesc_goby_2ftest_2facomms_2fdccl9_2ftest_2eproto();
388  friend void protobuf_AssignDesc_goby_2ftest_2facomms_2fdccl9_2ftest_2eproto();
389  friend void protobuf_ShutdownFile_goby_2ftest_2facomms_2fdccl9_2ftest_2eproto();
390 
391  void InitAsDefaultInstance();
392  static NormalDCCL* default_instance_;
393 };
394 // ===================================================================
395 
396 
397 // ===================================================================
398 
399 // MiniUser
400 
401 // required uint32 user = 1;
402 inline bool MiniUser::has_user() const {
403  return (_has_bits_[0] & 0x00000001u) != 0;
404 }
405 inline void MiniUser::set_has_user() {
406  _has_bits_[0] |= 0x00000001u;
407 }
408 inline void MiniUser::clear_has_user() {
409  _has_bits_[0] &= ~0x00000001u;
410 }
411 inline void MiniUser::clear_user() {
412  user_ = 0u;
413  clear_has_user();
414 }
415 inline ::google::protobuf::uint32 MiniUser::user() const {
416  // @@protoc_insertion_point(field_get:MiniUser.user)
417  return user_;
418 }
419 inline void MiniUser::set_user(::google::protobuf::uint32 value) {
420  set_has_user();
421  user_ = value;
422  // @@protoc_insertion_point(field_set:MiniUser.user)
423 }
424 
425 // -------------------------------------------------------------------
426 
427 // MiniOWTT
428 
429 // required uint32 clock_mode = 1;
430 inline bool MiniOWTT::has_clock_mode() const {
431  return (_has_bits_[0] & 0x00000001u) != 0;
432 }
433 inline void MiniOWTT::set_has_clock_mode() {
434  _has_bits_[0] |= 0x00000001u;
435 }
436 inline void MiniOWTT::clear_has_clock_mode() {
437  _has_bits_[0] &= ~0x00000001u;
438 }
439 inline void MiniOWTT::clear_clock_mode() {
440  clock_mode_ = 0u;
441  clear_has_clock_mode();
442 }
443 inline ::google::protobuf::uint32 MiniOWTT::clock_mode() const {
444  // @@protoc_insertion_point(field_get:MiniOWTT.clock_mode)
445  return clock_mode_;
446 }
447 inline void MiniOWTT::set_clock_mode(::google::protobuf::uint32 value) {
448  set_has_clock_mode();
449  clock_mode_ = value;
450  // @@protoc_insertion_point(field_set:MiniOWTT.clock_mode)
451 }
452 
453 // required uint32 tod = 2;
454 inline bool MiniOWTT::has_tod() const {
455  return (_has_bits_[0] & 0x00000002u) != 0;
456 }
457 inline void MiniOWTT::set_has_tod() {
458  _has_bits_[0] |= 0x00000002u;
459 }
460 inline void MiniOWTT::clear_has_tod() {
461  _has_bits_[0] &= ~0x00000002u;
462 }
463 inline void MiniOWTT::clear_tod() {
464  tod_ = 0u;
465  clear_has_tod();
466 }
467 inline ::google::protobuf::uint32 MiniOWTT::tod() const {
468  // @@protoc_insertion_point(field_get:MiniOWTT.tod)
469  return tod_;
470 }
471 inline void MiniOWTT::set_tod(::google::protobuf::uint32 value) {
472  set_has_tod();
473  tod_ = value;
474  // @@protoc_insertion_point(field_set:MiniOWTT.tod)
475 }
476 
477 // required uint32 user = 3;
478 inline bool MiniOWTT::has_user() const {
479  return (_has_bits_[0] & 0x00000004u) != 0;
480 }
481 inline void MiniOWTT::set_has_user() {
482  _has_bits_[0] |= 0x00000004u;
483 }
484 inline void MiniOWTT::clear_has_user() {
485  _has_bits_[0] &= ~0x00000004u;
486 }
487 inline void MiniOWTT::clear_user() {
488  user_ = 0u;
489  clear_has_user();
490 }
491 inline ::google::protobuf::uint32 MiniOWTT::user() const {
492  // @@protoc_insertion_point(field_get:MiniOWTT.user)
493  return user_;
494 }
495 inline void MiniOWTT::set_user(::google::protobuf::uint32 value) {
496  set_has_user();
497  user_ = value;
498  // @@protoc_insertion_point(field_set:MiniOWTT.user)
499 }
500 
501 // -------------------------------------------------------------------
502 
503 // MiniAbort
504 
505 // required uint32 user = 1;
506 inline bool MiniAbort::has_user() const {
507  return (_has_bits_[0] & 0x00000001u) != 0;
508 }
509 inline void MiniAbort::set_has_user() {
510  _has_bits_[0] |= 0x00000001u;
511 }
512 inline void MiniAbort::clear_has_user() {
513  _has_bits_[0] &= ~0x00000001u;
514 }
515 inline void MiniAbort::clear_user() {
516  user_ = 0u;
517  clear_has_user();
518 }
519 inline ::google::protobuf::uint32 MiniAbort::user() const {
520  // @@protoc_insertion_point(field_get:MiniAbort.user)
521  return user_;
522 }
523 inline void MiniAbort::set_user(::google::protobuf::uint32 value) {
524  set_has_user();
525  user_ = value;
526  // @@protoc_insertion_point(field_set:MiniAbort.user)
527 }
528 
529 // -------------------------------------------------------------------
530 
531 // NormalDCCL
532 
533 // required int32 a = 1;
534 inline bool NormalDCCL::has_a() const {
535  return (_has_bits_[0] & 0x00000001u) != 0;
536 }
537 inline void NormalDCCL::set_has_a() {
538  _has_bits_[0] |= 0x00000001u;
539 }
540 inline void NormalDCCL::clear_has_a() {
541  _has_bits_[0] &= ~0x00000001u;
542 }
543 inline void NormalDCCL::clear_a() {
544  a_ = 0;
545  clear_has_a();
546 }
547 inline ::google::protobuf::int32 NormalDCCL::a() const {
548  // @@protoc_insertion_point(field_get:NormalDCCL.a)
549  return a_;
550 }
551 inline void NormalDCCL::set_a(::google::protobuf::int32 value) {
552  set_has_a();
553  a_ = value;
554  // @@protoc_insertion_point(field_set:NormalDCCL.a)
555 }
556 
557 // required int32 b = 2;
558 inline bool NormalDCCL::has_b() const {
559  return (_has_bits_[0] & 0x00000002u) != 0;
560 }
561 inline void NormalDCCL::set_has_b() {
562  _has_bits_[0] |= 0x00000002u;
563 }
564 inline void NormalDCCL::clear_has_b() {
565  _has_bits_[0] &= ~0x00000002u;
566 }
567 inline void NormalDCCL::clear_b() {
568  b_ = 0;
569  clear_has_b();
570 }
571 inline ::google::protobuf::int32 NormalDCCL::b() const {
572  // @@protoc_insertion_point(field_get:NormalDCCL.b)
573  return b_;
574 }
575 inline void NormalDCCL::set_b(::google::protobuf::int32 value) {
576  set_has_b();
577  b_ = value;
578  // @@protoc_insertion_point(field_set:NormalDCCL.b)
579 }
580 
581 
582 // @@protoc_insertion_point(namespace_scope)
583 
584 #ifndef SWIG
585 namespace google {
586 namespace protobuf {
587 
588 
589 } // namespace google
590 } // namespace protobuf
591 #endif // SWIG
592 
593 // @@protoc_insertion_point(global_scope)
594 
595 #endif // PROTOBUF_goby_2ftest_2facomms_2fdccl9_2ftest_2eproto__INCLUDED