4#ifndef GOOGLE_PROTOBUF_INCLUDED_goby_2fmoos_2fprotobuf_2fliaison_5fconfig_2eproto
5#define GOOGLE_PROTOBUF_INCLUDED_goby_2fmoos_2fprotobuf_2fliaison_5fconfig_2eproto
10#include <google/protobuf/port_def.inc>
11#if PROTOBUF_VERSION < 3021000
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 3021012 < 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/port_undef.inc>
23#include <google/protobuf/io/coded_stream.h>
25#include <google/protobuf/arenastring.h>
26#include <google/protobuf/generated_message_util.h>
27#include <google/protobuf/metadata_lite.h>
28#include <google/protobuf/generated_message_reflection.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#include <google/protobuf/port_def.inc>
40#define PROTOBUF_INTERNAL_EXPORT_goby_2fmoos_2fprotobuf_2fliaison_5fconfig_2eproto
41PROTOBUF_NAMESPACE_OPEN
45PROTOBUF_NAMESPACE_CLOSE
56struct AcommsConfigDefaultTypeInternal;
59struct GeodesyConfigDefaultTypeInternal;
64PROTOBUF_NAMESPACE_OPEN
67PROTOBUF_NAMESPACE_CLOSE
75 public ::PROTOBUF_NAMESPACE_ID::Message {
79 explicit PROTOBUF_CONSTEXPR
GeodesyConfig(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
84 *
this = ::std::move(from);
92 if (
this == &from)
return *
this;
93 if (GetOwningArena() == from.GetOwningArena()
94 #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
95 && GetOwningArena() !=
nullptr
106 return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance);
109 return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
112 static const ::PROTOBUF_NAMESPACE_ID::Descriptor*
descriptor() {
135 if (other ==
this)
return;
136 #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
137 if (GetOwningArena() !=
nullptr &&
138 GetOwningArena() == other->GetOwningArena()) {
140 if (GetOwningArena() == other->GetOwningArena()) {
144 ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(
this, other);
148 if (other ==
this)
return;
149 GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
156 return CreateMaybeMessage<GeodesyConfig>(arena);
158 using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
160 using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
162 GeodesyConfig::MergeImpl(*
this, from);
165 static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg);
167 PROTOBUF_ATTRIBUTE_REINITIALIZES
void Clear() final;
173 uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
177 void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena,
bool is_message_owned);
179 void SetCachedSize(
int size)
const final;
183 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
184 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
185 return "goby.moos.protobuf.GeodesyConfig";
189 bool is_message_owned =
false);
193 const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*
GetClassData() const final;
208 bool _internal_has_lat_origin()
const;
214 double _internal_lat_origin()
const;
215 void _internal_set_lat_origin(
double value);
221 bool _internal_has_lon_origin()
const;
227 double _internal_lon_origin()
const;
228 void _internal_set_lon_origin(
double value);
236 size_t RequiredFieldsByteSizeFallback()
const;
238 template <
typename T>
friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
239 typedef void InternalArenaConstructable_;
240 typedef void DestructorSkippable_;
242 ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
243 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
248 friend struct ::TableStruct_goby_2fmoos_2fprotobuf_2fliaison_5fconfig_2eproto;
253 public ::PROTOBUF_NAMESPACE_ID::Message {
257 explicit PROTOBUF_CONSTEXPR
AcommsConfig(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
262 *
this = ::std::move(from);
270 if (
this == &from)
return *
this;
271 if (GetOwningArena() == from.GetOwningArena()
272 #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
273 && GetOwningArena() !=
nullptr
284 return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance);
287 return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
290 static const ::PROTOBUF_NAMESPACE_ID::Descriptor*
descriptor() {
313 if (other ==
this)
return;
314 #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
315 if (GetOwningArena() !=
nullptr &&
316 GetOwningArena() == other->GetOwningArena()) {
318 if (GetOwningArena() == other->GetOwningArena()) {
322 ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(
this, other);
326 if (other ==
this)
return;
327 GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
334 return CreateMaybeMessage<AcommsConfig>(arena);
336 using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
338 using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
340 AcommsConfig::MergeImpl(*
this, from);
343 static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg);
345 PROTOBUF_ATTRIBUTE_REINITIALIZES
void Clear() final;
351 uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
355 void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena,
bool is_message_owned);
357 void SetCachedSize(
int size)
const final;
361 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
362 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
363 return "goby.moos.protobuf.AcommsConfig";
367 bool is_message_owned =
false);
371 const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*
GetClassData() const final;
386 bool has_minimize_dccl()
const;
388 bool _internal_has_minimize_dccl()
const;
390 void clear_minimize_dccl();
391 bool minimize_dccl()
const;
392 void set_minimize_dccl(
bool value);
394 bool _internal_minimize_dccl()
const;
395 void _internal_set_minimize_dccl(
bool value);
399 bool has_minimize_queue()
const;
401 bool _internal_has_minimize_queue()
const;
403 void clear_minimize_queue();
404 bool minimize_queue()
const;
405 void set_minimize_queue(
bool value);
407 bool _internal_minimize_queue()
const;
408 void _internal_set_minimize_queue(
bool value);
412 bool has_minimize_amac()
const;
414 bool _internal_has_minimize_amac()
const;
416 void clear_minimize_amac();
417 bool minimize_amac()
const;
418 void set_minimize_amac(
bool value);
420 bool _internal_minimize_amac()
const;
421 void _internal_set_minimize_amac(
bool value);
425 bool has_minimize_driver()
const;
427 bool _internal_has_minimize_driver()
const;
429 void clear_minimize_driver();
430 bool minimize_driver()
const;
431 void set_minimize_driver(
bool value);
433 bool _internal_minimize_driver()
const;
434 void _internal_set_minimize_driver(
bool value);
441 template <
typename T>
friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
442 typedef void InternalArenaConstructable_;
443 typedef void DestructorSkippable_;
445 ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
446 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
448 bool minimize_queue_;
450 bool minimize_driver_;
453 friend struct ::TableStruct_goby_2fmoos_2fprotobuf_2fliaison_5fconfig_2eproto;
459 ::PROTOBUF_NAMESPACE_ID::internal::MessageTypeTraits< ::goby::moos::protobuf::GeodesyConfig >, 11,
false >
463 ::PROTOBUF_NAMESPACE_ID::internal::MessageTypeTraits< ::goby::moos::protobuf::AcommsConfig >, 11,
false >
469 #pragma GCC diagnostic push
470 #pragma GCC diagnostic ignored "-Wstrict-aliasing"
475inline bool GeodesyConfig::_internal_has_lat_origin()
const {
476 bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0;
480 return _internal_has_lat_origin();
484 _impl_._has_bits_[0] &= ~0x00000001u;
486inline double GeodesyConfig::_internal_lat_origin()
const {
487 return _impl_.lat_origin_;
491 return _internal_lat_origin();
493inline void GeodesyConfig::_internal_set_lat_origin(
double value) {
494 _impl_._has_bits_[0] |= 0x00000001u;
495 _impl_.lat_origin_ = value;
498 _internal_set_lat_origin(value);
503inline bool GeodesyConfig::_internal_has_lon_origin()
const {
504 bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0;
508 return _internal_has_lon_origin();
512 _impl_._has_bits_[0] &= ~0x00000002u;
514inline double GeodesyConfig::_internal_lon_origin()
const {
515 return _impl_.lon_origin_;
519 return _internal_lon_origin();
521inline void GeodesyConfig::_internal_set_lon_origin(
double value) {
522 _impl_._has_bits_[0] |= 0x00000002u;
523 _impl_.lon_origin_ = value;
526 _internal_set_lon_origin(value);
535inline bool AcommsConfig::_internal_has_minimize_dccl()
const {
536 bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0;
540 return _internal_has_minimize_dccl();
543 _impl_.minimize_dccl_ =
false;
544 _impl_._has_bits_[0] &= ~0x00000001u;
546inline bool AcommsConfig::_internal_minimize_dccl()
const {
547 return _impl_.minimize_dccl_;
551 return _internal_minimize_dccl();
553inline void AcommsConfig::_internal_set_minimize_dccl(
bool value) {
554 _impl_._has_bits_[0] |= 0x00000001u;
555 _impl_.minimize_dccl_ = value;
558 _internal_set_minimize_dccl(value);
563inline bool AcommsConfig::_internal_has_minimize_queue()
const {
564 bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0;
568 return _internal_has_minimize_queue();
571 _impl_.minimize_queue_ =
false;
572 _impl_._has_bits_[0] &= ~0x00000002u;
574inline bool AcommsConfig::_internal_minimize_queue()
const {
575 return _impl_.minimize_queue_;
579 return _internal_minimize_queue();
581inline void AcommsConfig::_internal_set_minimize_queue(
bool value) {
582 _impl_._has_bits_[0] |= 0x00000002u;
583 _impl_.minimize_queue_ = value;
586 _internal_set_minimize_queue(value);
591inline bool AcommsConfig::_internal_has_minimize_amac()
const {
592 bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0;
596 return _internal_has_minimize_amac();
599 _impl_.minimize_amac_ =
false;
600 _impl_._has_bits_[0] &= ~0x00000004u;
602inline bool AcommsConfig::_internal_minimize_amac()
const {
603 return _impl_.minimize_amac_;
607 return _internal_minimize_amac();
609inline void AcommsConfig::_internal_set_minimize_amac(
bool value) {
610 _impl_._has_bits_[0] |= 0x00000004u;
611 _impl_.minimize_amac_ = value;
614 _internal_set_minimize_amac(value);
619inline bool AcommsConfig::_internal_has_minimize_driver()
const {
620 bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0;
624 return _internal_has_minimize_driver();
627 _impl_.minimize_driver_ =
false;
628 _impl_._has_bits_[0] &= ~0x00000008u;
630inline bool AcommsConfig::_internal_minimize_driver()
const {
631 return _impl_.minimize_driver_;
635 return _internal_minimize_driver();
637inline void AcommsConfig::_internal_set_minimize_driver(
bool value) {
638 _impl_._has_bits_[0] |= 0x00000008u;
639 _impl_.minimize_driver_ = value;
642 _internal_set_minimize_driver(value);
647 #pragma GCC diagnostic pop
660#include <google/protobuf/port_undef.inc>
void clear_minimize_driver()
bool IsInitialized() const final
AcommsConfig(AcommsConfig &&from) noexcept
void clear_minimize_amac()
AcommsConfig(::PROTOBUF_NAMESPACE_ID::Arena *arena, bool is_message_owned=false)
size_t ByteSizeLong() const final
const char * _InternalParse(const char *ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext *ctx) final
void set_minimize_queue(bool value)
AcommsConfig & operator=(AcommsConfig &&from) noexcept
static const AcommsConfig & default_instance()
void MergeFrom(const AcommsConfig &from)
friend void swap(AcommsConfig &a, AcommsConfig &b)
void set_minimize_dccl(bool value)
@ kMinimizeDriverFieldNumber
@ kMinimizeQueueFieldNumber
@ kMinimizeDcclFieldNumber
@ kMinimizeAmacFieldNumber
uint8_t * _InternalSerialize(uint8_t *target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream *stream) const final
void set_minimize_driver(bool value)
AcommsConfig(const AcommsConfig &from)
static const AcommsConfig * internal_default_instance()
AcommsConfig & operator=(const AcommsConfig &from)
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final
::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final
void clear_minimize_dccl()
bool minimize_dccl() const
const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet & unknown_fields() const
void Swap(AcommsConfig *other)
bool has_minimize_driver() const
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * descriptor()
static const ::PROTOBUF_NAMESPACE_ID::Reflection * GetReflection()
AcommsConfig * New(::PROTOBUF_NAMESPACE_ID::Arena *arena=nullptr) const final
void set_minimize_amac(bool value)
bool has_minimize_queue() const
bool has_minimize_amac() const
bool minimize_queue() const
const ::PROTOBUF_NAMESPACE_ID::Message::ClassData * GetClassData() const final
PROTOBUF_CONSTEXPR AcommsConfig(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized)
static constexpr int kIndexInFileMessages
int GetCachedSize() const final
bool minimize_amac() const
void CopyFrom(const AcommsConfig &from)
bool minimize_driver() const
bool has_minimize_dccl() const
static const ClassData _class_data_
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * GetDescriptor()
inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet * mutable_unknown_fields()
void clear_minimize_queue()
void UnsafeArenaSwap(AcommsConfig *other)
static const GeodesyConfig * internal_default_instance()
inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet * mutable_unknown_fields()
GeodesyConfig(const GeodesyConfig &from)
double lon_origin() const
GeodesyConfig(::PROTOBUF_NAMESPACE_ID::Arena *arena, bool is_message_owned=false)
~GeodesyConfig() override
size_t ByteSizeLong() const final
GeodesyConfig * New(::PROTOBUF_NAMESPACE_ID::Arena *arena=nullptr) const final
void set_lon_origin(double value)
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * GetDescriptor()
void CopyFrom(const GeodesyConfig &from)
friend void swap(GeodesyConfig &a, GeodesyConfig &b)
bool has_lon_origin() const
GeodesyConfig(GeodesyConfig &&from) noexcept
uint8_t * _InternalSerialize(uint8_t *target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream *stream) const final
double lat_origin() const
static const GeodesyConfig & default_instance()
::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final
void set_lat_origin(double value)
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final
GeodesyConfig & operator=(GeodesyConfig &&from) noexcept
static constexpr int kIndexInFileMessages
bool IsInitialized() const final
int GetCachedSize() const final
static const ::PROTOBUF_NAMESPACE_ID::Reflection * GetReflection()
void UnsafeArenaSwap(GeodesyConfig *other)
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * descriptor()
const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet & unknown_fields() const
GeodesyConfig & operator=(const GeodesyConfig &from)
const ::PROTOBUF_NAMESPACE_ID::Message::ClassData * GetClassData() const final
PROTOBUF_CONSTEXPR GeodesyConfig(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized)
const char * _InternalParse(const char *ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext *ctx) final
void Swap(GeodesyConfig *other)
bool has_lat_origin() const
void MergeFrom(const GeodesyConfig &from)
static const ClassData _class_data_
*brief create JSON pointer *sa reference_tokens const string_t const string_t & b
*brief create JSON pointer *sa reference_tokens const string_t & a
*brief remove last reference token *sa JSON pointer has no nullptr
*brief write string representation of the JSON pointer to stream *sa const json_pointer & ptr
const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable descriptor_table_goby_2fmoos_2fprotobuf_2fliaison_5fconfig_2eproto
extern ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier< ::goby::apps::zeromq::protobuf::LiaisonConfig, ::PROTOBUF_NAMESPACE_ID::internal::MessageTypeTraits< ::goby::moos::protobuf::GeodesyConfig >, 11, false > geodesy_config
static const int kGeodesyConfigFieldNumber
extern ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier< ::goby::apps::zeromq::protobuf::LiaisonConfig, ::PROTOBUF_NAMESPACE_ID::internal::MessageTypeTraits< ::goby::moos::protobuf::AcommsConfig >, 11, false > acomms_config
static const int kAcommsConfigFieldNumber
GeodesyConfigDefaultTypeInternal _GeodesyConfig_default_instance_
AcommsConfigDefaultTypeInternal _AcommsConfig_default_instance_
The global namespace for the Goby project.
static const uint32_t offsets[]