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() {
291 return GetDescriptor();
294 return default_instance().GetMetadata().descriptor;
297 return default_instance().GetMetadata().reflection;
300 return *internal_default_instance();
306 static constexpr int kIndexInFileMessages =
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;
346 bool IsInitialized() const final;
349 const
char* _InternalParse(const
char* ptr, ::PROTOBUF_NAMESPACE_ID::
internal::ParseContext* ctx) final;
350 uint8_t* _InternalSerialize(
351 uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
352 int GetCachedSize() const final {
return _impl_._cached_size_.Get(); }
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;
373 ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
380 kMinimizeDcclFieldNumber = 1,
381 kMinimizeQueueFieldNumber = 2,
382 kMinimizeAmacFieldNumber = 3,
383 kMinimizeDriverFieldNumber = 4,
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;
479inline bool GeodesyConfig::has_lat_origin()
const {
480 return _internal_has_lat_origin();
482inline void GeodesyConfig::clear_lat_origin() {
483 _impl_.lat_origin_ = 0;
484 _impl_._has_bits_[0] &= ~0x00000001u;
486inline double GeodesyConfig::_internal_lat_origin()
const {
487 return _impl_.lat_origin_;
489inline double GeodesyConfig::lat_origin()
const {
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;
497inline void GeodesyConfig::set_lat_origin(
double value) {
498 _internal_set_lat_origin(value);
503inline bool GeodesyConfig::_internal_has_lon_origin()
const {
504 bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0;
507inline bool GeodesyConfig::has_lon_origin()
const {
508 return _internal_has_lon_origin();
510inline void GeodesyConfig::clear_lon_origin() {
511 _impl_.lon_origin_ = 0;
512 _impl_._has_bits_[0] &= ~0x00000002u;
514inline double GeodesyConfig::_internal_lon_origin()
const {
515 return _impl_.lon_origin_;
517inline double GeodesyConfig::lon_origin()
const {
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;
525inline void GeodesyConfig::set_lon_origin(
double value) {
526 _internal_set_lon_origin(value);
535inline bool AcommsConfig::_internal_has_minimize_dccl()
const {
536 bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0;
539inline bool AcommsConfig::has_minimize_dccl()
const {
540 return _internal_has_minimize_dccl();
542inline void AcommsConfig::clear_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_;
549inline bool AcommsConfig::minimize_dccl()
const {
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;
557inline void AcommsConfig::set_minimize_dccl(
bool value) {
558 _internal_set_minimize_dccl(value);
563inline bool AcommsConfig::_internal_has_minimize_queue()
const {
564 bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0;
567inline bool AcommsConfig::has_minimize_queue()
const {
568 return _internal_has_minimize_queue();
570inline void AcommsConfig::clear_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_;
577inline bool AcommsConfig::minimize_queue()
const {
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;
585inline void AcommsConfig::set_minimize_queue(
bool value) {
586 _internal_set_minimize_queue(value);
591inline bool AcommsConfig::_internal_has_minimize_amac()
const {
592 bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0;
595inline bool AcommsConfig::has_minimize_amac()
const {
596 return _internal_has_minimize_amac();
598inline void AcommsConfig::clear_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_;
605inline bool AcommsConfig::minimize_amac()
const {
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;
613inline void AcommsConfig::set_minimize_amac(
bool value) {
614 _internal_set_minimize_amac(value);
619inline bool AcommsConfig::_internal_has_minimize_driver()
const {
620 bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0;
623inline bool AcommsConfig::has_minimize_driver()
const {
624 return _internal_has_minimize_driver();
626inline void AcommsConfig::clear_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_;
633inline bool AcommsConfig::minimize_driver()
const {
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;
641inline void AcommsConfig::set_minimize_driver(
bool value) {
642 _internal_set_minimize_driver(value);
647 #pragma GCC diagnostic pop
660#include <google/protobuf/port_undef.inc>
AcommsConfig(AcommsConfig &&from) noexcept
AcommsConfig(::PROTOBUF_NAMESPACE_ID::Arena *arena, bool is_message_owned=false)
AcommsConfig & operator=(AcommsConfig &&from) noexcept
static const AcommsConfig & default_instance()
void MergeFrom(const AcommsConfig &from)
friend void swap(AcommsConfig &a, AcommsConfig &b)
AcommsConfig(const AcommsConfig &from)
static const AcommsConfig * internal_default_instance()
AcommsConfig & operator=(const AcommsConfig &from)
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final
const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet & unknown_fields() const
void Swap(AcommsConfig *other)
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * descriptor()
static const ::PROTOBUF_NAMESPACE_ID::Reflection * GetReflection()
AcommsConfig * New(::PROTOBUF_NAMESPACE_ID::Arena *arena=nullptr) const final
const ::PROTOBUF_NAMESPACE_ID::Message::ClassData * GetClassData() const final
PROTOBUF_CONSTEXPR AcommsConfig(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized)
void CopyFrom(const AcommsConfig &from)
static const ClassData _class_data_
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * GetDescriptor()
inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet * mutable_unknown_fields()
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_
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[]