Goby3  3.1.5a
2024.05.23
abc_driver.pb.h
Go to the documentation of this file.
1 // Generated by the protocol buffer compiler. DO NOT EDIT!
2 // source: goby/acomms/protobuf/abc_driver.proto
3 
4 #ifndef PROTOBUF_INCLUDED_goby_2facomms_2fprotobuf_2fabc_5fdriver_2eproto
5 #define PROTOBUF_INCLUDED_goby_2facomms_2fprotobuf_2fabc_5fdriver_2eproto
6 
7 #include <string>
8 
9 #include <google/protobuf/stubs/common.h>
10 
11 #if GOOGLE_PROTOBUF_VERSION < 3006001
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 3006001 < 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/io/coded_stream.h>
23 #include <google/protobuf/arena.h>
24 #include <google/protobuf/arenastring.h>
25 #include <google/protobuf/generated_message_table_driven.h>
26 #include <google/protobuf/generated_message_util.h>
27 #include <google/protobuf/inlined_string_field.h>
28 #include <google/protobuf/metadata.h>
30 #include <google/protobuf/repeated_field.h> // IWYU pragma: export
31 #include <google/protobuf/extension_set.h> // IWYU pragma: export
32 #include <google/protobuf/unknown_field_set.h>
34 #include <boost/units/quantity.hpp>
35 #include <boost/units/absolute.hpp>
36 #include <boost/units/dimensionless_type.hpp>
37 #include <boost/units/make_scaled_unit.hpp>
38 // @@protoc_insertion_point(includes)
39 #define PROTOBUF_INTERNAL_EXPORT_protobuf_goby_2facomms_2fprotobuf_2fabc_5fdriver_2eproto
40 
42 // Internal implementation detail -- do not use these members.
43 struct TableStruct {
44  static const ::google::protobuf::internal::ParseTableField entries[];
45  static const ::google::protobuf::internal::AuxillaryParseTableField aux[];
46  static const ::google::protobuf::internal::ParseTable schema[1];
47  static const ::google::protobuf::internal::FieldMetadata field_metadata[];
48  static const ::google::protobuf::internal::SerializationTable serialization_table[];
50 };
51 void AddDescriptors();
52 } // namespace protobuf_goby_2facomms_2fprotobuf_2fabc_5fdriver_2eproto
53 namespace goby {
54 namespace acomms {
55 namespace abc {
56 namespace protobuf {
57 class Config;
58 class ConfigDefaultTypeInternal;
59 extern ConfigDefaultTypeInternal _Config_default_instance_;
60 } // namespace protobuf
61 } // namespace abc
62 } // namespace acomms
63 } // namespace goby
64 namespace google {
65 namespace protobuf {
66 template<> ::goby::acomms::abc::protobuf::Config* Arena::CreateMaybeMessage<::goby::acomms::abc::protobuf::Config>(Arena*);
67 } // namespace protobuf
68 } // namespace google
69 namespace goby {
70 namespace acomms {
71 namespace abc {
72 namespace protobuf {
73 
74 // ===================================================================
75 
76 class Config : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:goby.acomms.abc.protobuf.Config) */ {
77  public:
78  Config();
79  virtual ~Config();
80 
81  Config(const Config& from);
82 
83  inline Config& operator=(const Config& from) {
84  CopyFrom(from);
85  return *this;
86  }
87  #if LANG_CXX11
88  Config(Config&& from) noexcept
89  : Config() {
90  *this = ::std::move(from);
91  }
92 
93  inline Config& operator=(Config&& from) noexcept {
94  if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
95  if (this != &from) InternalSwap(&from);
96  } else {
97  CopyFrom(from);
98  }
99  return *this;
100  }
101  #endif
102  inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
103  return _internal_metadata_.unknown_fields();
104  }
105  inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
106  return _internal_metadata_.mutable_unknown_fields();
107  }
108 
109  static const ::google::protobuf::Descriptor* descriptor();
110  static const Config& default_instance();
111 
112  static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
113  static inline const Config* internal_default_instance() {
114  return reinterpret_cast<const Config*>(
116  }
117  static constexpr int kIndexInFileMessages =
118  0;
119 
120  void Swap(Config* other);
121  friend void swap(Config& a, Config& b) {
122  a.Swap(&b);
123  }
124 
125  // implements Message ----------------------------------------------
126 
127  inline Config* New() const final {
128  return CreateMaybeMessage<Config>(NULL);
129  }
130 
131  Config* New(::google::protobuf::Arena* arena) const final {
132  return CreateMaybeMessage<Config>(arena);
133  }
134  void CopyFrom(const ::google::protobuf::Message& from) final;
135  void MergeFrom(const ::google::protobuf::Message& from) final;
136  void CopyFrom(const Config& from);
137  void MergeFrom(const Config& from);
138  void Clear() final;
139  bool IsInitialized() const final;
140 
141  size_t ByteSizeLong() const final;
143  ::google::protobuf::io::CodedInputStream* input) final;
145  ::google::protobuf::io::CodedOutputStream* output) const final;
147  bool deterministic, ::google::protobuf::uint8* target) const final;
148  int GetCachedSize() const final { return _cached_size_.Get(); }
149 
150  private:
151  void SharedCtor();
152  void SharedDtor();
153  void SetCachedSize(int size) const final;
154  void InternalSwap(Config* other);
155  private:
156  inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
157  return NULL;
158  }
159  inline void* MaybeArenaPtr() const {
160  return NULL;
161  }
162  public:
163 
165 
166  // nested types ----------------------------------------------------
167 
168  // accessors -------------------------------------------------------
169 
170  // optional bool enable_bar = 2 [default = false];
171  bool has_enable_bar() const;
172  void clear_enable_bar();
173  static const int kEnableBarFieldNumber = 2;
174  bool enable_bar() const;
175  void set_enable_bar(bool value);
176 
177  // optional bool enable_foo = 1 [default = true];
178  bool has_enable_foo() const;
179  void clear_enable_foo();
180  static const int kEnableFooFieldNumber = 1;
181  bool enable_foo() const;
182  void set_enable_foo(bool value);
183 
184  // @@protoc_insertion_point(class_scope:goby.acomms.abc.protobuf.Config)
185  private:
186  void set_has_enable_foo();
187  void clear_has_enable_foo();
188  void set_has_enable_bar();
189  void clear_has_enable_bar();
190 
191  ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
192  ::google::protobuf::internal::HasBits<1> _has_bits_;
193  mutable ::google::protobuf::internal::CachedSize _cached_size_;
194  bool enable_bar_;
195  bool enable_foo_;
197 };
198 // ===================================================================
199 
200 static const int kConfigFieldNumber = 1201;
201 extern ::google::protobuf::internal::ExtensionIdentifier< ::goby::acomms::protobuf::DriverConfig,
202  ::google::protobuf::internal::MessageTypeTraits< ::goby::acomms::abc::protobuf::Config >, 11, false >
204 
205 // ===================================================================
206 
207 #ifdef __GNUC__
208  #pragma GCC diagnostic push
209  #pragma GCC diagnostic ignored "-Wstrict-aliasing"
210 #endif // __GNUC__
211 // Config
212 
213 // optional bool enable_foo = 1 [default = true];
214 inline bool Config::has_enable_foo() const {
215  return (_has_bits_[0] & 0x00000002u) != 0;
216 }
217 inline void Config::set_has_enable_foo() {
218  _has_bits_[0] |= 0x00000002u;
219 }
220 inline void Config::clear_has_enable_foo() {
221  _has_bits_[0] &= ~0x00000002u;
222 }
224  enable_foo_ = true;
225  clear_has_enable_foo();
226 }
227 inline bool Config::enable_foo() const {
228  // @@protoc_insertion_point(field_get:goby.acomms.abc.protobuf.Config.enable_foo)
229  return enable_foo_;
230 }
231 inline void Config::set_enable_foo(bool value) {
232  set_has_enable_foo();
233  enable_foo_ = value;
234  // @@protoc_insertion_point(field_set:goby.acomms.abc.protobuf.Config.enable_foo)
235 }
236 
237 // optional bool enable_bar = 2 [default = false];
238 inline bool Config::has_enable_bar() const {
239  return (_has_bits_[0] & 0x00000001u) != 0;
240 }
241 inline void Config::set_has_enable_bar() {
242  _has_bits_[0] |= 0x00000001u;
243 }
244 inline void Config::clear_has_enable_bar() {
245  _has_bits_[0] &= ~0x00000001u;
246 }
248  enable_bar_ = false;
249  clear_has_enable_bar();
250 }
251 inline bool Config::enable_bar() const {
252  // @@protoc_insertion_point(field_get:goby.acomms.abc.protobuf.Config.enable_bar)
253  return enable_bar_;
254 }
255 inline void Config::set_enable_bar(bool value) {
256  set_has_enable_bar();
257  enable_bar_ = value;
258  // @@protoc_insertion_point(field_set:goby.acomms.abc.protobuf.Config.enable_bar)
259 }
260 
261 #ifdef __GNUC__
262  #pragma GCC diagnostic pop
263 #endif // __GNUC__
264 
265 // @@protoc_insertion_point(namespace_scope)
266 
267 } // namespace protobuf
268 } // namespace abc
269 } // namespace acomms
270 } // namespace goby
271 
272 // @@protoc_insertion_point(global_scope)
273 
274 #endif // PROTOBUF_INCLUDED_goby_2facomms_2fprotobuf_2fabc_5fdriver_2eproto
protobuf_goby_2facomms_2fprotobuf_2fabc_5fdriver_2eproto::TableStruct::serialization_table
static const ::google::protobuf::internal::SerializationTable serialization_table[]
Definition: abc_driver.pb.h:48
goby::acomms::abc::protobuf::Config::CopyFrom
void CopyFrom(const ::google::protobuf::Message &from) final
goby::acomms::abc::protobuf::Config::descriptor
static const ::google::protobuf::Descriptor * descriptor()
goby
The global namespace for the Goby project.
Definition: acomms_constants.h:33
goby::acomms::abc::protobuf::Config::ByteSizeLong
size_t ByteSizeLong() const final
goby::acomms::abc::protobuf::Config::set_enable_foo
void set_enable_foo(bool value)
Definition: abc_driver.pb.h:231
goby::acomms::abc::protobuf::Config::set_enable_bar
void set_enable_bar(bool value)
Definition: abc_driver.pb.h:255
goby::acomms::abc::protobuf::Config::unknown_fields
const ::google::protobuf::UnknownFieldSet & unknown_fields() const
Definition: abc_driver.pb.h:102
goby::acomms::abc::protobuf::Config::~Config
virtual ~Config()
protobuf_goby_2facomms_2fprotobuf_2fabc_5fdriver_2eproto::TableStruct::entries
static const ::google::protobuf::internal::ParseTableField entries[]
Definition: abc_driver.pb.h:44
goby::acomms::abc::protobuf::config
extern ::google::protobuf::internal::ExtensionIdentifier< ::goby::acomms::protobuf::DriverConfig, ::google::protobuf::internal::MessageTypeTraits< ::goby::acomms::abc::protobuf::Config >, 11, false > config
Definition: abc_driver.pb.h:203
goby::acomms::abc::protobuf::Config::MergePartialFromCodedStream
bool MergePartialFromCodedStream(::google::protobuf::io::CodedInputStream *input) final
protobuf_goby_2facomms_2fprotobuf_2fabc_5fdriver_2eproto::TableStruct
Definition: abc_driver.pb.h:43
protobuf_goby_2facomms_2fprotobuf_2fabc_5fdriver_2eproto::TableStruct::field_metadata
static const ::google::protobuf::internal::FieldMetadata field_metadata[]
Definition: abc_driver.pb.h:47
goby::acomms::abc::protobuf::Config::clear_enable_foo
void clear_enable_foo()
Definition: abc_driver.pb.h:223
goby::acomms::abc::protobuf::Config::enable_bar
bool enable_bar() const
Definition: abc_driver.pb.h:251
google::protobuf::Arena
Definition: arena.h:244
goby::acomms::abc::protobuf::Config::operator=
Config & operator=(const Config &from)
Definition: abc_driver.pb.h:83
goby::acomms::abc::protobuf::Config::has_enable_bar
bool has_enable_bar() const
Definition: abc_driver.pb.h:238
goby::acomms::abc::protobuf::Config
Definition: abc_driver.pb.h:76
goby::acomms::abc::protobuf::Config::Swap
void Swap(Config *other)
goby::acomms::abc::protobuf::Config::IsInitialized
bool IsInitialized() const final
goby::acomms::abc::protobuf::Config::clear_enable_bar
void clear_enable_bar()
Definition: abc_driver.pb.h:247
goby::acomms::abc::protobuf::Config::InternalSerializeWithCachedSizesToArray
::google::protobuf::uint8 * InternalSerializeWithCachedSizesToArray(bool deterministic, ::google::protobuf::uint8 *target) const final
driver_base.pb.h
message.h
protobuf_goby_2facomms_2fprotobuf_2fabc_5fdriver_2eproto::TableStruct::aux
static const ::google::protobuf::internal::AuxillaryParseTableField aux[]
Definition: abc_driver.pb.h:45
goby::acomms::abc::protobuf::Config::kEnableFooFieldNumber
static const int kEnableFooFieldNumber
Definition: abc_driver.pb.h:180
goby::acomms::abc::protobuf::kConfigFieldNumber
static const int kConfigFieldNumber
Definition: abc_driver.pb.h:200
goby::acomms::abc::protobuf::Config::InitAsDefaultInstance
static void InitAsDefaultInstance()
goby::uint32
std::uint32_t uint32
Definition: primitive_types.h:32
goby::acomms::abc::protobuf::Config::GetMetadata
::google::protobuf::Metadata GetMetadata() const final
goby::acomms::abc::protobuf::Config::has_enable_foo
bool has_enable_foo() const
Definition: abc_driver.pb.h:214
goby::acomms::abc::protobuf::Config::Config
Config()
protobuf_goby_2facomms_2fprotobuf_2fabc_5fdriver_2eproto::TableStruct::offsets
static const ::google::protobuf::uint32 offsets[]
Definition: abc_driver.pb.h:49
goby::acomms::abc::protobuf::Config::default_instance
static const Config & default_instance()
google::protobuf::Metadata
Definition: message.h:174
goby::acomms::abc::protobuf::Config::mutable_unknown_fields
inline ::google::protobuf::UnknownFieldSet * mutable_unknown_fields()
Definition: abc_driver.pb.h:105
goby::acomms::abc::protobuf::Config::New
Config * New(::google::protobuf::Arena *arena) const final
Definition: abc_driver.pb.h:131
google::protobuf::Message
Definition: message.h:189
goby::acomms::abc::protobuf::Config::swap
friend void swap(Config &a, Config &b)
Definition: abc_driver.pb.h:121
goby::acomms::abc::protobuf::Config::SerializeWithCachedSizes
void SerializeWithCachedSizes(::google::protobuf::io::CodedOutputStream *output) const final
arena.h
goby::acomms::abc::protobuf::Config::kEnableBarFieldNumber
static const int kEnableBarFieldNumber
Definition: abc_driver.pb.h:173
goby::acomms::abc::protobuf::Config::New
Config * New() const final
Definition: abc_driver.pb.h:127
goby::acomms::abc::protobuf::Config::internal_default_instance
static const Config * internal_default_instance()
Definition: abc_driver.pb.h:113
protobuf_goby_2facomms_2fprotobuf_2fabc_5fdriver_2eproto::AddDescriptors
void AddDescriptors()
goby::acomms::abc::protobuf::Config::MergeFrom
void MergeFrom(const ::google::protobuf::Message &from) final
goby::acomms::abc::protobuf::_Config_default_instance_
ConfigDefaultTypeInternal _Config_default_instance_
goby::acomms::abc::protobuf::Config::enable_foo
bool enable_foo() const
Definition: abc_driver.pb.h:227
goby::acomms::abc::protobuf::Config::GetCachedSize
int GetCachedSize() const final
Definition: abc_driver.pb.h:148
friend
goby::acomms::abc::protobuf::Config::Clear
void Clear() final
google
Definition: dccl.h:57
protobuf_goby_2facomms_2fprotobuf_2fabc_5fdriver_2eproto
Definition: abc_driver.pb.h:41
protobuf_goby_2facomms_2fprotobuf_2fabc_5fdriver_2eproto::TableStruct::schema
static const ::google::protobuf::internal::ParseTable schema[1]
Definition: abc_driver.pb.h:46
goby::acomms::abc::protobuf::Config::kIndexInFileMessages
static constexpr int kIndexInFileMessages
Definition: abc_driver.pb.h:117