4 #ifndef PROTOBUF_INCLUDED_goby_2fmoos_2fprotobuf_2fliaison_5fconfig_2eproto
5 #define PROTOBUF_INCLUDED_goby_2fmoos_2fprotobuf_2fliaison_5fconfig_2eproto
9 #include <google/protobuf/stubs/common.h>
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
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.
22 #include <google/protobuf/io/coded_stream.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>
31 #include <google/protobuf/extension_set.h>
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>
39 #define PROTOBUF_INTERNAL_EXPORT_protobuf_goby_2fmoos_2fprotobuf_2fliaison_5fconfig_2eproto
44 static const ::google::protobuf::internal::ParseTableField
entries[];
45 static const ::google::protobuf::internal::AuxillaryParseTableField
aux[];
46 static const ::google::protobuf::internal::ParseTable
schema[2];
57 class AcommsConfigDefaultTypeInternal;
60 class GeodesyConfigDefaultTypeInternal;
91 *
this = ::std::move(from);
95 if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
96 if (
this != &from) InternalSwap(&from);
104 return _internal_metadata_.unknown_fields();
107 return _internal_metadata_.mutable_unknown_fields();
110 static const ::google::protobuf::Descriptor*
descriptor();
129 return CreateMaybeMessage<GeodesyConfig>(NULL);
133 return CreateMaybeMessage<GeodesyConfig>(arena);
135 void CopyFrom(const ::google::protobuf::Message& from)
final;
136 void MergeFrom(const ::google::protobuf::Message& from)
final;
144 ::
google::protobuf::io::CodedInputStream* input) final;
146 ::
google::protobuf::io::CodedOutputStream* output) const final;
148 bool deterministic, ::
google::protobuf::uint8* target) const final;
154 void SetCachedSize(
int size)
const final;
157 inline ::google::protobuf::Arena* GetArenaNoVirtual()
const {
160 inline void* MaybeArenaPtr()
const {
187 void set_has_lat_origin();
188 void clear_has_lat_origin();
189 void set_has_lon_origin();
190 void clear_has_lon_origin();
193 size_t RequiredFieldsByteSizeFallback() const;
195 ::
google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
196 ::
google::protobuf::internal::HasBits<1> _has_bits_;
197 mutable ::
google::protobuf::internal::CachedSize _cached_size_;
218 *
this = ::std::move(from);
221 inline AcommsConfig&
operator=(AcommsConfig&& from) noexcept {
222 if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
223 if (
this != &from) InternalSwap(&from);
231 return _internal_metadata_.unknown_fields();
234 return _internal_metadata_.mutable_unknown_fields();
237 static const ::google::protobuf::Descriptor*
descriptor();
256 return CreateMaybeMessage<AcommsConfig>(NULL);
260 return CreateMaybeMessage<AcommsConfig>(arena);
262 void CopyFrom(const ::google::protobuf::Message& from)
final;
263 void MergeFrom(const ::google::protobuf::Message& from)
final;
271 ::
google::protobuf::io::CodedInputStream* input) final;
273 ::
google::protobuf::io::CodedOutputStream* output) const final;
275 bool deterministic, ::
google::protobuf::uint8* target) const final;
281 void SetCachedSize(
int size)
const final;
284 inline ::google::protobuf::Arena* GetArenaNoVirtual()
const {
287 inline void* MaybeArenaPtr()
const {
299 bool has_minimize_dccl() const;
300 void clear_minimize_dccl();
301 static const
int kMinimizeDcclFieldNumber = 1;
302 bool minimize_dccl() const;
303 void set_minimize_dccl(
bool value);
306 bool has_minimize_queue() const;
307 void clear_minimize_queue();
308 static const
int kMinimizeQueueFieldNumber = 2;
309 bool minimize_queue() const;
310 void set_minimize_queue(
bool value);
313 bool has_minimize_amac() const;
314 void clear_minimize_amac();
315 static const
int kMinimizeAmacFieldNumber = 3;
316 bool minimize_amac() const;
317 void set_minimize_amac(
bool value);
320 bool has_minimize_driver() const;
321 void clear_minimize_driver();
322 static const
int kMinimizeDriverFieldNumber = 4;
323 bool minimize_driver() const;
324 void set_minimize_driver(
bool value);
328 void set_has_minimize_dccl();
329 void clear_has_minimize_dccl();
330 void set_has_minimize_queue();
331 void clear_has_minimize_queue();
332 void set_has_minimize_amac();
333 void clear_has_minimize_amac();
334 void set_has_minimize_driver();
335 void clear_has_minimize_driver();
337 ::
google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
338 ::
google::protobuf::internal::HasBits<1> _has_bits_;
339 mutable ::
google::protobuf::internal::CachedSize _cached_size_;
341 bool minimize_queue_;
343 bool minimize_driver_;
349 extern ::
google::protobuf::internal::ExtensionIdentifier< ::
goby::apps::zeromq::protobuf::LiaisonConfig,
353 extern ::
google::protobuf::internal::ExtensionIdentifier< ::
goby::apps::zeromq::protobuf::LiaisonConfig,
360 #pragma GCC diagnostic push
361 #pragma GCC diagnostic ignored "-Wstrict-aliasing"
367 return (_has_bits_[0] & 0x00000001u) != 0;
369 inline void GeodesyConfig::set_has_lat_origin() {
370 _has_bits_[0] |= 0x00000001u;
372 inline void GeodesyConfig::clear_has_lat_origin() {
373 _has_bits_[0] &= ~0x00000001u;
377 clear_has_lat_origin();
384 set_has_lat_origin();
391 return (_has_bits_[0] & 0x00000002u) != 0;
393 inline void GeodesyConfig::set_has_lon_origin() {
394 _has_bits_[0] |= 0x00000002u;
396 inline void GeodesyConfig::clear_has_lon_origin() {
397 _has_bits_[0] &= ~0x00000002u;
401 clear_has_lon_origin();
408 set_has_lon_origin();
419 return (_has_bits_[0] & 0x00000001u) != 0;
421 inline void AcommsConfig::set_has_minimize_dccl() {
422 _has_bits_[0] |= 0x00000001u;
424 inline void AcommsConfig::clear_has_minimize_dccl() {
425 _has_bits_[0] &= ~0x00000001u;
428 minimize_dccl_ =
false;
429 clear_has_minimize_dccl();
433 return minimize_dccl_;
436 set_has_minimize_dccl();
437 minimize_dccl_ = value;
443 return (_has_bits_[0] & 0x00000002u) != 0;
445 inline void AcommsConfig::set_has_minimize_queue() {
446 _has_bits_[0] |= 0x00000002u;
448 inline void AcommsConfig::clear_has_minimize_queue() {
449 _has_bits_[0] &= ~0x00000002u;
452 minimize_queue_ =
false;
453 clear_has_minimize_queue();
457 return minimize_queue_;
460 set_has_minimize_queue();
461 minimize_queue_ = value;
467 return (_has_bits_[0] & 0x00000004u) != 0;
469 inline void AcommsConfig::set_has_minimize_amac() {
470 _has_bits_[0] |= 0x00000004u;
472 inline void AcommsConfig::clear_has_minimize_amac() {
473 _has_bits_[0] &= ~0x00000004u;
476 minimize_amac_ =
false;
477 clear_has_minimize_amac();
481 return minimize_amac_;
484 set_has_minimize_amac();
485 minimize_amac_ = value;
491 return (_has_bits_[0] & 0x00000008u) != 0;
493 inline void AcommsConfig::set_has_minimize_driver() {
494 _has_bits_[0] |= 0x00000008u;
496 inline void AcommsConfig::clear_has_minimize_driver() {
497 _has_bits_[0] &= ~0x00000008u;
500 minimize_driver_ =
false;
501 clear_has_minimize_driver();
505 return minimize_driver_;
508 set_has_minimize_driver();
509 minimize_driver_ = value;
514 #pragma GCC diagnostic pop
527 #endif // PROTOBUF_INCLUDED_goby_2fmoos_2fprotobuf_2fliaison_5fconfig_2eproto