Goby v2
test.pb.h
1 // Generated by the protocol buffer compiler. DO NOT EDIT!
2 // source: goby/test/acomms/queue5/test.proto
3 
4 #ifndef PROTOBUF_goby_2ftest_2facomms_2fqueue5_2ftest_2eproto__INCLUDED
5 #define PROTOBUF_goby_2ftest_2facomms_2fqueue5_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/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_2fqueue5_2ftest_2eproto();
36 void protobuf_AssignDesc_goby_2ftest_2facomms_2fqueue5_2ftest_2eproto();
37 void protobuf_ShutdownFile_goby_2ftest_2facomms_2fqueue5_2ftest_2eproto();
38 
39 class GobyMessage;
40 
41 // ===================================================================
42 
43 class GobyMessage : public ::google::protobuf::Message {
44  public:
45  GobyMessage();
46  virtual ~GobyMessage();
47 
48  GobyMessage(const GobyMessage& from);
49 
50  inline GobyMessage& operator=(const GobyMessage& from) {
51  CopyFrom(from);
52  return *this;
53  }
54 
55  inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
56  return _unknown_fields_;
57  }
58 
59  inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
60  return &_unknown_fields_;
61  }
62 
63  static const ::google::protobuf::Descriptor* descriptor();
64  static const GobyMessage& default_instance();
65 
66  void Swap(GobyMessage* other);
67 
68  // implements Message ----------------------------------------------
69 
70  GobyMessage* New() const;
71  void CopyFrom(const ::google::protobuf::Message& from);
72  void MergeFrom(const ::google::protobuf::Message& from);
73  void CopyFrom(const GobyMessage& from);
74  void MergeFrom(const GobyMessage& from);
75  void Clear();
76  bool IsInitialized() const;
77 
78  int ByteSize() const;
79  bool MergePartialFromCodedStream(
80  ::google::protobuf::io::CodedInputStream* input);
81  void SerializeWithCachedSizes(
82  ::google::protobuf::io::CodedOutputStream* output) const;
83  ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const;
84  int GetCachedSize() const { return _cached_size_; }
85  private:
86  void SharedCtor();
87  void SharedDtor();
88  void SetCachedSize(int size) const;
89  public:
90  ::google::protobuf::Metadata GetMetadata() const;
91 
92  // nested types ----------------------------------------------------
93 
94  // accessors -------------------------------------------------------
95 
96  // required int32 telegram = 1;
97  inline bool has_telegram() const;
98  inline void clear_telegram();
99  static const int kTelegramFieldNumber = 1;
100  inline ::google::protobuf::int32 telegram() const;
101  inline void set_telegram(::google::protobuf::int32 value);
102 
103  enum DCCLParameters { DCCL_ID = 4, DCCL_MAX_BYTES = 32 };
104  // @@protoc_insertion_point(class_scope:GobyMessage)
105  private:
106  inline void set_has_telegram();
107  inline void clear_has_telegram();
108 
109  ::google::protobuf::UnknownFieldSet _unknown_fields_;
110 
111  ::google::protobuf::uint32 _has_bits_[1];
112  mutable int _cached_size_;
113  ::google::protobuf::int32 telegram_;
114  friend void protobuf_AddDesc_goby_2ftest_2facomms_2fqueue5_2ftest_2eproto();
115  friend void protobuf_AssignDesc_goby_2ftest_2facomms_2fqueue5_2ftest_2eproto();
116  friend void protobuf_ShutdownFile_goby_2ftest_2facomms_2fqueue5_2ftest_2eproto();
117 
118  void InitAsDefaultInstance();
119  static GobyMessage* default_instance_;
120 };
121 // ===================================================================
122 
123 
124 // ===================================================================
125 
126 // GobyMessage
127 
128 // required int32 telegram = 1;
129 inline bool GobyMessage::has_telegram() const {
130  return (_has_bits_[0] & 0x00000001u) != 0;
131 }
132 inline void GobyMessage::set_has_telegram() {
133  _has_bits_[0] |= 0x00000001u;
134 }
135 inline void GobyMessage::clear_has_telegram() {
136  _has_bits_[0] &= ~0x00000001u;
137 }
138 inline void GobyMessage::clear_telegram() {
139  telegram_ = 0;
140  clear_has_telegram();
141 }
142 inline ::google::protobuf::int32 GobyMessage::telegram() const {
143  // @@protoc_insertion_point(field_get:GobyMessage.telegram)
144  return telegram_;
145 }
146 inline void GobyMessage::set_telegram(::google::protobuf::int32 value) {
147  set_has_telegram();
148  telegram_ = value;
149  // @@protoc_insertion_point(field_set:GobyMessage.telegram)
150 }
151 
152 
153 // @@protoc_insertion_point(namespace_scope)
154 
155 #ifndef SWIG
156 namespace google {
157 namespace protobuf {
158 
159 
160 } // namespace google
161 } // namespace protobuf
162 #endif // SWIG
163 
164 // @@protoc_insertion_point(global_scope)
165 
166 #endif // PROTOBUF_goby_2ftest_2facomms_2fqueue5_2ftest_2eproto__INCLUDED