4#ifndef GOOGLE_PROTOBUF_INCLUDED_goby_2fmiddleware_2fprotobuf_2fgpsd_2eproto
5#define GOOGLE_PROTOBUF_INCLUDED_goby_2fmiddleware_2fprotobuf_2fgpsd_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/generated_enum_reflection.h>
33#include <google/protobuf/unknown_field_set.h>
35#include "dccl/option_extensions.pb.h"
36#include <boost/units/quantity.hpp>
37#include <boost/units/absolute.hpp>
38#include <boost/units/dimensionless_type.hpp>
39#include <boost/units/make_scaled_unit.hpp>
41#include <boost/units/systems/angle/degrees.hpp>
43#include <boost/units/systems/si.hpp>
45#include <google/protobuf/port_def.inc>
46#define PROTOBUF_INTERNAL_EXPORT_goby_2fmiddleware_2fprotobuf_2fgpsd_2eproto
47PROTOBUF_NAMESPACE_OPEN
51PROTOBUF_NAMESPACE_CLOSE
63struct AttitudeDefaultTypeInternal;
66struct SatelliteDefaultTypeInternal;
69struct SkyViewDefaultTypeInternal;
72struct TimePositionVelocityDefaultTypeInternal;
78PROTOBUF_NAMESPACE_OPEN
83PROTOBUF_NAMESPACE_CLOSE
103 static_assert(::std::is_same<T, TimePositionVelocity_Mode>::value ||
104 ::std::is_integral<T>::value,
105 "Incorrect type passed to function TimePositionVelocity_Mode_Name.");
106 return ::PROTOBUF_NAMESPACE_ID::internal::NameOfEnum(
111 return ::PROTOBUF_NAMESPACE_ID::internal::ParseNamedEnum<TimePositionVelocity_Mode>(
117 public ::PROTOBUF_NAMESPACE_ID::Message {
121 explicit PROTOBUF_CONSTEXPR
Satellite(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
126 *
this = ::std::move(from);
134 if (
this == &from)
return *
this;
135 if (GetOwningArena() == from.GetOwningArena()
136 #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
137 && GetOwningArena() !=
nullptr
148 return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance);
151 return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
154 static const ::PROTOBUF_NAMESPACE_ID::Descriptor*
descriptor() {
167 return reinterpret_cast<const Satellite*
>(
177 if (other ==
this)
return;
178 #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
179 if (GetOwningArena() !=
nullptr &&
180 GetOwningArena() == other->GetOwningArena()) {
182 if (GetOwningArena() == other->GetOwningArena()) {
186 ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(
this, other);
190 if (other ==
this)
return;
191 GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
197 Satellite*
New(::PROTOBUF_NAMESPACE_ID::Arena* arena =
nullptr) const final {
198 return CreateMaybeMessage<Satellite>(arena);
200 using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
202 using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
204 Satellite::MergeImpl(*
this, from);
207 static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg);
209 PROTOBUF_ATTRIBUTE_REINITIALIZES
void Clear() final;
215 uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
219 void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena,
bool is_message_owned);
221 void SetCachedSize(
int size)
const final;
225 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
226 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
227 return "goby.middleware.protobuf.gpsd.Satellite";
230 explicit Satellite(::PROTOBUF_NAMESPACE_ID::Arena* arena,
231 bool is_message_owned =
false);
235 const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*
GetClassData() const final;
258 bool _internal_has_az()
const;
262 void set_az(
double value);
264 double _internal_az()
const;
265 void _internal_set_az(
double value);
271 bool _internal_has_el()
const;
275 void set_el(
double value);
277 double _internal_el()
const;
278 void _internal_set_el(
double value);
284 bool _internal_has_prn()
const;
290 int32_t _internal_prn()
const;
291 void _internal_set_prn(int32_t value);
297 bool _internal_has_used()
const;
303 bool _internal_used()
const;
304 void _internal_set_used(
bool value);
310 bool _internal_has_ss()
const;
314 void set_ss(
double value);
316 double _internal_ss()
const;
317 void _internal_set_ss(
double value);
323 bool _internal_has_gnssid()
const;
329 int32_t _internal_gnssid()
const;
330 void _internal_set_gnssid(int32_t value);
336 bool _internal_has_svid()
const;
339 int32_t
svid()
const;
342 int32_t _internal_svid()
const;
343 void _internal_set_svid(int32_t value);
349 bool _internal_has_sigid()
const;
352 int32_t
sigid()
const;
355 int32_t _internal_sigid()
const;
356 void _internal_set_sigid(int32_t value);
362 bool _internal_has_freqid()
const;
368 int32_t _internal_freqid()
const;
369 void _internal_set_freqid(int32_t value);
375 bool _internal_has_health()
const;
381 int32_t _internal_health()
const;
382 void _internal_set_health(int32_t value);
387 typedef boost::units::unit<az_dimension,boost::units::degree::system>
az_unit;
389 template<
typename Quantity >
391 {
set_az(boost::units::quantity<az_unit,double >(value_w_units).value() ); };
393 template<
typename Quantity >
398 {
return az_with_units<boost::units::quantity< az_unit,double > >(); };
402 typedef boost::units::unit<el_dimension,boost::units::degree::system>
el_unit;
404 template<
typename Quantity >
406 {
set_el(boost::units::quantity<el_unit,double >(value_w_units).value() ); };
408 template<
typename Quantity >
413 {
return el_with_units<boost::units::quantity< el_unit,double > >(); };
419 template <
typename T>
friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
420 typedef void InternalArenaConstructable_;
421 typedef void DestructorSkippable_;
423 ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
424 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
437 friend struct ::TableStruct_goby_2fmiddleware_2fprotobuf_2fgpsd_2eproto;
442 public ::PROTOBUF_NAMESPACE_ID::Message {
446 explicit PROTOBUF_CONSTEXPR
SkyView(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
451 *
this = ::std::move(from);
459 if (
this == &from)
return *
this;
460 if (GetOwningArena() == from.GetOwningArena()
461 #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
462 && GetOwningArena() !=
nullptr
473 return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance);
476 return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
479 static const ::PROTOBUF_NAMESPACE_ID::Descriptor*
descriptor() {
480 return GetDescriptor();
483 return default_instance().GetMetadata().descriptor;
486 return default_instance().GetMetadata().reflection;
489 return *internal_default_instance();
492 return reinterpret_cast<const SkyView*
>(
495 static constexpr int kIndexInFileMessages =
502 if (other ==
this)
return;
503 #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
504 if (GetOwningArena() !=
nullptr &&
505 GetOwningArena() == other->GetOwningArena()) {
507 if (GetOwningArena() == other->GetOwningArena()) {
511 ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(
this, other);
515 if (other ==
this)
return;
516 GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
522 SkyView*
New(::PROTOBUF_NAMESPACE_ID::Arena* arena =
nullptr) const final {
523 return CreateMaybeMessage<SkyView>(arena);
525 using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
527 using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
529 SkyView::MergeImpl(*
this, from);
532 static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg);
534 PROTOBUF_ATTRIBUTE_REINITIALIZES
void Clear() final;
535 bool IsInitialized() const final;
538 const
char* _InternalParse(const
char* ptr, ::PROTOBUF_NAMESPACE_ID::
internal::ParseContext* ctx) final;
539 uint8_t* _InternalSerialize(
540 uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
541 int GetCachedSize() const final {
return _impl_._cached_size_.Get(); }
544 void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena,
bool is_message_owned);
546 void SetCachedSize(
int size)
const final;
547 void InternalSwap(
SkyView* other);
550 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
551 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
552 return "goby.middleware.protobuf.gpsd.SkyView";
555 explicit SkyView(::PROTOBUF_NAMESPACE_ID::Arena* arena,
556 bool is_message_owned =
false);
560 const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*
GetClassData() const final;
562 ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
569 kSatelliteFieldNumber = 12,
570 kDeviceFieldNumber = 1,
571 kTimeFieldNumber = 2,
572 kGdopFieldNumber = 3,
573 kHdopFieldNumber = 4,
574 kPdopFieldNumber = 5,
575 kTdopFieldNumber = 6,
576 kVdopFieldNumber = 7,
577 kXdopFieldNumber = 8,
578 kYdopFieldNumber = 9,
579 kNsatFieldNumber = 10,
580 kUsatFieldNumber = 11,
583 int satellite_size()
const;
585 int _internal_satellite_size()
const;
587 void clear_satellite();
589 ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::goby::middleware::protobuf::gpsd::Satellite >*
592 const ::goby::middleware::protobuf::gpsd::Satellite& _internal_satellite(
int index)
const;
595 const ::goby::middleware::protobuf::gpsd::Satellite& satellite(
int index)
const;
597 const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::goby::middleware::protobuf::gpsd::Satellite >&
601 bool has_device()
const;
603 bool _internal_has_device()
const;
606 const std::string& device()
const;
607 template <
typename ArgT0 =
const std::string&,
typename... ArgT>
609 std::string* mutable_device();
610 PROTOBUF_NODISCARD std::string* release_device();
611 void set_allocated_device(std::string* device);
613 const std::string& _internal_device()
const;
614 inline PROTOBUF_ALWAYS_INLINE
void _internal_set_device(
const std::string& value);
615 std::string* _internal_mutable_device();
619 bool has_time()
const;
621 bool _internal_has_time()
const;
625 void set_time(
double value);
627 double _internal_time()
const;
628 void _internal_set_time(
double value);
632 bool has_gdop()
const;
634 bool _internal_has_gdop()
const;
638 void set_gdop(
double value);
640 double _internal_gdop()
const;
641 void _internal_set_gdop(
double value);
645 bool has_hdop()
const;
647 bool _internal_has_hdop()
const;
651 void set_hdop(
double value);
653 double _internal_hdop()
const;
654 void _internal_set_hdop(
double value);
658 bool has_pdop()
const;
660 bool _internal_has_pdop()
const;
664 void set_pdop(
double value);
666 double _internal_pdop()
const;
667 void _internal_set_pdop(
double value);
671 bool has_tdop()
const;
673 bool _internal_has_tdop()
const;
677 void set_tdop(
double value);
679 double _internal_tdop()
const;
680 void _internal_set_tdop(
double value);
684 bool has_vdop()
const;
686 bool _internal_has_vdop()
const;
690 void set_vdop(
double value);
692 double _internal_vdop()
const;
693 void _internal_set_vdop(
double value);
697 bool has_xdop()
const;
699 bool _internal_has_xdop()
const;
703 void set_xdop(
double value);
705 double _internal_xdop()
const;
706 void _internal_set_xdop(
double value);
710 bool has_ydop()
const;
712 bool _internal_has_ydop()
const;
716 void set_ydop(
double value);
718 double _internal_ydop()
const;
719 void _internal_set_ydop(
double value);
723 bool has_nsat()
const;
725 bool _internal_has_nsat()
const;
729 void set_nsat(
double value);
731 double _internal_nsat()
const;
732 void _internal_set_nsat(
double value);
736 bool has_usat()
const;
738 bool _internal_has_usat()
const;
742 void set_usat(
double value);
744 double _internal_usat()
const;
745 void _internal_set_usat(
double value);
750 typedef boost::units::unit<time_dimension,boost::units::si::system>
time_unit;
752 template<
typename Quantity >
754 { set_time(boost::units::quantity<time_unit,double >(value_w_units).value() ); };
756 template<
typename Quantity >
758 {
return Quantity(time() *
time_unit()); };
761 {
return time_with_units<boost::units::quantity< time_unit,double > >(); };
767 template <
typename T>
friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
768 typedef void InternalArenaConstructable_;
769 typedef void DestructorSkippable_;
771 ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
772 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
773 ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::goby::middleware::protobuf::gpsd::Satellite > satellite_;
774 ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr device_;
787 friend struct ::TableStruct_goby_2fmiddleware_2fprotobuf_2fgpsd_2eproto;
792 public ::PROTOBUF_NAMESPACE_ID::Message {
796 explicit PROTOBUF_CONSTEXPR
Attitude(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
801 *
this = ::std::move(from);
809 if (
this == &from)
return *
this;
810 if (GetOwningArena() == from.GetOwningArena()
811 #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
812 && GetOwningArena() !=
nullptr
823 return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance);
826 return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
829 static const ::PROTOBUF_NAMESPACE_ID::Descriptor*
descriptor() {
830 return GetDescriptor();
833 return default_instance().GetMetadata().descriptor;
836 return default_instance().GetMetadata().reflection;
839 return *internal_default_instance();
842 return reinterpret_cast<const Attitude*
>(
845 static constexpr int kIndexInFileMessages =
852 if (other ==
this)
return;
853 #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
854 if (GetOwningArena() !=
nullptr &&
855 GetOwningArena() == other->GetOwningArena()) {
857 if (GetOwningArena() == other->GetOwningArena()) {
861 ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(
this, other);
865 if (other ==
this)
return;
866 GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
872 Attitude*
New(::PROTOBUF_NAMESPACE_ID::Arena* arena =
nullptr) const final {
873 return CreateMaybeMessage<Attitude>(arena);
875 using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
877 using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
879 Attitude::MergeImpl(*
this, from);
882 static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg);
884 PROTOBUF_ATTRIBUTE_REINITIALIZES
void Clear() final;
885 bool IsInitialized() const final;
888 const
char* _InternalParse(const
char* ptr, ::PROTOBUF_NAMESPACE_ID::
internal::ParseContext* ctx) final;
889 uint8_t* _InternalSerialize(
890 uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
891 int GetCachedSize() const final {
return _impl_._cached_size_.Get(); }
894 void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena,
bool is_message_owned);
896 void SetCachedSize(
int size)
const final;
900 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
901 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
902 return "goby.middleware.protobuf.gpsd.Attitude";
905 explicit Attitude(::PROTOBUF_NAMESPACE_ID::Arena* arena,
906 bool is_message_owned =
false);
910 const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*
GetClassData() const final;
912 ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
919 kDeviceFieldNumber = 1,
920 kTimeFieldNumber = 2,
921 kHeadingFieldNumber = 3,
922 kPitchFieldNumber = 4,
924 kRollFieldNumber = 6,
927 bool has_device()
const;
929 bool _internal_has_device()
const;
932 const std::string& device()
const;
933 template <
typename ArgT0 =
const std::string&,
typename... ArgT>
935 std::string* mutable_device();
936 PROTOBUF_NODISCARD std::string* release_device();
937 void set_allocated_device(std::string* device);
939 const std::string& _internal_device()
const;
940 inline PROTOBUF_ALWAYS_INLINE
void _internal_set_device(
const std::string& value);
941 std::string* _internal_mutable_device();
945 bool has_time()
const;
947 bool _internal_has_time()
const;
951 void set_time(
double value);
953 double _internal_time()
const;
954 void _internal_set_time(
double value);
958 bool has_heading()
const;
960 bool _internal_has_heading()
const;
962 void clear_heading();
963 double heading()
const;
964 void set_heading(
double value);
966 double _internal_heading()
const;
967 void _internal_set_heading(
double value);
971 bool has_pitch()
const;
973 bool _internal_has_pitch()
const;
976 double pitch()
const;
977 void set_pitch(
double value);
979 double _internal_pitch()
const;
980 void _internal_set_pitch(
double value);
984 bool has_yaw()
const;
986 bool _internal_has_yaw()
const;
990 void set_yaw(
double value);
992 double _internal_yaw()
const;
993 void _internal_set_yaw(
double value);
997 bool has_roll()
const;
999 bool _internal_has_roll()
const;
1002 double roll()
const;
1003 void set_roll(
double value);
1005 double _internal_roll()
const;
1006 void _internal_set_roll(
double value);
1011 typedef boost::units::unit<time_dimension,boost::units::si::system>
time_unit;
1013 template<
typename Quantity >
1015 { set_time(boost::units::quantity<time_unit,double >(value_w_units).value() ); };
1017 template<
typename Quantity >
1019 {
return Quantity(time() *
time_unit()); };
1022 {
return time_with_units<boost::units::quantity< time_unit,double > >(); };
1026 typedef boost::units::unit<heading_dimension,boost::units::degree::system>
heading_unit;
1028 template<
typename Quantity >
1030 { set_heading(boost::units::quantity<heading_unit,double >(value_w_units).value() ); };
1032 template<
typename Quantity >
1037 {
return heading_with_units<boost::units::quantity< heading_unit,double > >(); };
1041 typedef boost::units::unit<pitch_dimension,boost::units::degree::system>
pitch_unit;
1043 template<
typename Quantity >
1045 { set_pitch(boost::units::quantity<pitch_unit,double >(value_w_units).value() ); };
1047 template<
typename Quantity >
1049 {
return Quantity(pitch() *
pitch_unit()); };
1052 {
return pitch_with_units<boost::units::quantity< pitch_unit,double > >(); };
1056 typedef boost::units::unit<yaw_dimension,boost::units::degree::system>
yaw_unit;
1058 template<
typename Quantity >
1060 { set_yaw(boost::units::quantity<yaw_unit,double >(value_w_units).value() ); };
1062 template<
typename Quantity >
1064 {
return Quantity(yaw() *
yaw_unit()); };
1067 {
return yaw_with_units<boost::units::quantity< yaw_unit,double > >(); };
1071 typedef boost::units::unit<roll_dimension,boost::units::degree::system>
roll_unit;
1073 template<
typename Quantity >
1075 { set_roll(boost::units::quantity<roll_unit,double >(value_w_units).value() ); };
1077 template<
typename Quantity >
1079 {
return Quantity(roll() *
roll_unit()); };
1082 {
return roll_with_units<boost::units::quantity< roll_unit,double > >(); };
1088 template <
typename T>
friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
1089 typedef void InternalArenaConstructable_;
1090 typedef void DestructorSkippable_;
1092 ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
1093 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
1094 ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr device_;
1102 friend struct ::TableStruct_goby_2fmiddleware_2fprotobuf_2fgpsd_2eproto;
1107 public ::PROTOBUF_NAMESPACE_ID::Message {
1116 *
this = ::std::move(from);
1124 if (
this == &from)
return *
this;
1125 if (GetOwningArena() == from.GetOwningArena()
1126 #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
1127 && GetOwningArena() !=
nullptr
1130 InternalSwap(&from);
1138 return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance);
1141 return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
1145 return GetDescriptor();
1148 return default_instance().GetMetadata().descriptor;
1151 return default_instance().GetMetadata().reflection;
1154 return *internal_default_instance();
1160 static constexpr int kIndexInFileMessages =
1167 if (other ==
this)
return;
1168 #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
1169 if (GetOwningArena() !=
nullptr &&
1170 GetOwningArena() == other->GetOwningArena()) {
1172 if (GetOwningArena() == other->GetOwningArena()) {
1174 InternalSwap(other);
1176 ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(
this, other);
1180 if (other ==
this)
return;
1181 GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
1182 InternalSwap(other);
1188 return CreateMaybeMessage<TimePositionVelocity>(arena);
1190 using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
1192 using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
1194 TimePositionVelocity::MergeImpl(*
this, from);
1197 static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg);
1199 PROTOBUF_ATTRIBUTE_REINITIALIZES
void Clear() final;
1200 bool IsInitialized() const final;
1203 const
char* _InternalParse(const
char* ptr, ::PROTOBUF_NAMESPACE_ID::
internal::ParseContext* ctx) final;
1204 uint8_t* _InternalSerialize(
1205 uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
1206 int GetCachedSize() const final {
return _impl_._cached_size_.Get(); }
1209 void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena,
bool is_message_owned);
1211 void SetCachedSize(
int size)
const final;
1215 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
1216 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
1217 return "goby.middleware.protobuf.gpsd.TimePositionVelocity";
1221 bool is_message_owned =
false);
1225 const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*
GetClassData() const final;
1227 ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
1232 static constexpr
Mode ModeNotSeen =
1233 TimePositionVelocity_Mode_ModeNotSeen;
1235 TimePositionVelocity_Mode_ModeNoFix;
1237 TimePositionVelocity_Mode_Mode2D;
1239 TimePositionVelocity_Mode_Mode3D;
1240 static inline
bool Mode_IsValid(
int value) {
1247 static constexpr int Mode_ARRAYSIZE =
1249 static inline const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor*
1253 template<
typename T>
1254 static inline const std::string&
Mode_Name(T enum_t_value) {
1255 static_assert(::std::is_same<T, Mode>::value ||
1256 ::std::is_integral<T>::value,
1257 "Incorrect type passed to function Mode_Name.");
1260 static inline bool Mode_Parse(::PROTOBUF_NAMESPACE_ID::ConstStringParam name,
1268 kDeviceFieldNumber = 1,
1269 kLocationFieldNumber = 4,
1270 kTimeFieldNumber = 2,
1271 kAltitudeFieldNumber = 5,
1272 kTrackFieldNumber = 6,
1273 kSpeedFieldNumber = 7,
1274 kClimbFieldNumber = 8,
1275 kEpcFieldNumber = 10,
1276 kEpdFieldNumber = 11,
1277 kEpsFieldNumber = 12,
1278 kEptFieldNumber = 13,
1279 kEpvFieldNumber = 14,
1280 kEpxFieldNumber = 15,
1281 kEpyFieldNumber = 16,
1282 kModeFieldNumber = 3,
1285 bool has_device()
const;
1287 bool _internal_has_device()
const;
1289 void clear_device();
1290 const std::string& device()
const;
1291 template <
typename ArgT0 =
const std::string&,
typename... ArgT>
1293 std::string* mutable_device();
1294 PROTOBUF_NODISCARD std::string* release_device();
1295 void set_allocated_device(std::string* device);
1297 const std::string& _internal_device()
const;
1298 inline PROTOBUF_ALWAYS_INLINE
void _internal_set_device(
const std::string& value);
1299 std::string* _internal_mutable_device();
1303 bool has_location()
const;
1305 bool _internal_has_location()
const;
1308 const ::goby::middleware::protobuf::LatLonPoint& location()
const;
1309 PROTOBUF_NODISCARD ::goby::middleware::protobuf::LatLonPoint* release_location();
1313 const ::goby::middleware::protobuf::LatLonPoint& _internal_location()
const;
1316 void unsafe_arena_set_allocated_location(
1321 bool has_time()
const;
1323 bool _internal_has_time()
const;
1326 double time()
const;
1327 void set_time(
double value);
1329 double _internal_time()
const;
1330 void _internal_set_time(
double value);
1334 bool has_altitude()
const;
1336 bool _internal_has_altitude()
const;
1338 void clear_altitude();
1339 double altitude()
const;
1340 void set_altitude(
double value);
1342 double _internal_altitude()
const;
1343 void _internal_set_altitude(
double value);
1347 bool has_track()
const;
1349 bool _internal_has_track()
const;
1352 double track()
const;
1353 void set_track(
double value);
1355 double _internal_track()
const;
1356 void _internal_set_track(
double value);
1360 bool has_speed()
const;
1362 bool _internal_has_speed()
const;
1365 double speed()
const;
1366 void set_speed(
double value);
1368 double _internal_speed()
const;
1369 void _internal_set_speed(
double value);
1373 bool has_climb()
const;
1375 bool _internal_has_climb()
const;
1378 double climb()
const;
1379 void set_climb(
double value);
1381 double _internal_climb()
const;
1382 void _internal_set_climb(
double value);
1386 bool has_epc()
const;
1388 bool _internal_has_epc()
const;
1392 void set_epc(
double value);
1394 double _internal_epc()
const;
1395 void _internal_set_epc(
double value);
1399 bool has_epd()
const;
1401 bool _internal_has_epd()
const;
1405 void set_epd(
double value);
1407 double _internal_epd()
const;
1408 void _internal_set_epd(
double value);
1412 bool has_eps()
const;
1414 bool _internal_has_eps()
const;
1418 void set_eps(
double value);
1420 double _internal_eps()
const;
1421 void _internal_set_eps(
double value);
1425 bool has_ept()
const;
1427 bool _internal_has_ept()
const;
1431 void set_ept(
double value);
1433 double _internal_ept()
const;
1434 void _internal_set_ept(
double value);
1438 bool has_epv()
const;
1440 bool _internal_has_epv()
const;
1444 void set_epv(
double value);
1446 double _internal_epv()
const;
1447 void _internal_set_epv(
double value);
1451 bool has_epx()
const;
1453 bool _internal_has_epx()
const;
1457 void set_epx(
double value);
1459 double _internal_epx()
const;
1460 void _internal_set_epx(
double value);
1464 bool has_epy()
const;
1466 bool _internal_has_epy()
const;
1470 void set_epy(
double value);
1472 double _internal_epy()
const;
1473 void _internal_set_epy(
double value);
1477 bool has_mode()
const;
1479 bool _internal_has_mode()
const;
1491 typedef boost::units::unit<time_dimension,boost::units::si::system>
time_unit;
1493 template<
typename Quantity >
1495 { set_time(boost::units::quantity<time_unit,double >(value_w_units).value() ); };
1497 template<
typename Quantity >
1499 {
return Quantity(time() *
time_unit()); };
1502 {
return time_with_units<boost::units::quantity< time_unit,double > >(); };
1506 typedef boost::units::unit<altitude_dimension,boost::units::si::system>
altitude_unit;
1508 template<
typename Quantity >
1510 { set_altitude(boost::units::quantity<altitude_unit,double >(value_w_units).value() ); };
1512 template<
typename Quantity >
1517 {
return altitude_with_units<boost::units::quantity< altitude_unit,double > >(); };
1521 typedef boost::units::unit<track_dimension,boost::units::degree::system>
track_unit;
1523 template<
typename Quantity >
1525 { set_track(boost::units::quantity<track_unit,double >(value_w_units).value() ); };
1527 template<
typename Quantity >
1529 {
return Quantity(track() *
track_unit()); };
1532 {
return track_with_units<boost::units::quantity< track_unit,double > >(); };
1534 typedef boost::mpl::divides<boost::units::length_dimension,boost::units::time_dimension>::type
speed_dimension;
1536 typedef boost::units::unit<speed_dimension,boost::units::si::system>
speed_unit;
1538 template<
typename Quantity >
1540 { set_speed(boost::units::quantity<speed_unit,double >(value_w_units).value() ); };
1542 template<
typename Quantity >
1544 {
return Quantity(speed() *
speed_unit()); };
1547 {
return speed_with_units<boost::units::quantity< speed_unit,double > >(); };
1549 typedef boost::mpl::divides<boost::units::length_dimension,boost::units::time_dimension>::type
climb_dimension;
1551 typedef boost::units::unit<climb_dimension,boost::units::si::system>
climb_unit;
1553 template<
typename Quantity >
1555 { set_climb(boost::units::quantity<climb_unit,double >(value_w_units).value() ); };
1557 template<
typename Quantity >
1559 {
return Quantity(climb() *
climb_unit()); };
1562 {
return climb_with_units<boost::units::quantity< climb_unit,double > >(); };
1564 typedef boost::mpl::divides<boost::units::length_dimension,boost::units::time_dimension>::type
epc_dimension;
1566 typedef boost::units::unit<epc_dimension,boost::units::si::system>
epc_unit;
1568 template<
typename Quantity >
1570 { set_epc(boost::units::quantity<epc_unit,double >(value_w_units).value() ); };
1572 template<
typename Quantity >
1574 {
return Quantity(epc() *
epc_unit()); };
1577 {
return epc_with_units<boost::units::quantity< epc_unit,double > >(); };
1581 typedef boost::units::unit<epd_dimension,boost::units::degree::system>
epd_unit;
1583 template<
typename Quantity >
1585 { set_epd(boost::units::quantity<epd_unit,double >(value_w_units).value() ); };
1587 template<
typename Quantity >
1589 {
return Quantity(epd() *
epd_unit()); };
1592 {
return epd_with_units<boost::units::quantity< epd_unit,double > >(); };
1594 typedef boost::mpl::divides<boost::units::length_dimension,boost::units::time_dimension>::type
eps_dimension;
1596 typedef boost::units::unit<eps_dimension,boost::units::si::system>
eps_unit;
1598 template<
typename Quantity >
1600 { set_eps(boost::units::quantity<eps_unit,double >(value_w_units).value() ); };
1602 template<
typename Quantity >
1604 {
return Quantity(eps() *
eps_unit()); };
1607 {
return eps_with_units<boost::units::quantity< eps_unit,double > >(); };
1611 typedef boost::units::unit<ept_dimension,boost::units::si::system>
ept_unit;
1613 template<
typename Quantity >
1615 { set_ept(boost::units::quantity<ept_unit,double >(value_w_units).value() ); };
1617 template<
typename Quantity >
1619 {
return Quantity(ept() *
ept_unit()); };
1622 {
return ept_with_units<boost::units::quantity< ept_unit,double > >(); };
1626 typedef boost::units::unit<epv_dimension,boost::units::si::system>
epv_unit;
1628 template<
typename Quantity >
1630 { set_epv(boost::units::quantity<epv_unit,double >(value_w_units).value() ); };
1632 template<
typename Quantity >
1634 {
return Quantity(epv() *
epv_unit()); };
1637 {
return epv_with_units<boost::units::quantity< epv_unit,double > >(); };
1641 typedef boost::units::unit<epx_dimension,boost::units::si::system>
epx_unit;
1643 template<
typename Quantity >
1645 { set_epx(boost::units::quantity<epx_unit,double >(value_w_units).value() ); };
1647 template<
typename Quantity >
1649 {
return Quantity(epx() *
epx_unit()); };
1652 {
return epx_with_units<boost::units::quantity< epx_unit,double > >(); };
1656 typedef boost::units::unit<epy_dimension,boost::units::si::system>
epy_unit;
1658 template<
typename Quantity >
1660 { set_epy(boost::units::quantity<epy_unit,double >(value_w_units).value() ); };
1662 template<
typename Quantity >
1664 {
return Quantity(epy() *
epy_unit()); };
1667 {
return epy_with_units<boost::units::quantity< epy_unit,double > >(); };
1673 template <
typename T>
friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
1674 typedef void InternalArenaConstructable_;
1675 typedef void DestructorSkippable_;
1677 ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
1678 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
1679 ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr device_;
1696 friend struct ::TableStruct_goby_2fmiddleware_2fprotobuf_2fgpsd_2eproto;
1704 #pragma GCC diagnostic push
1705 #pragma GCC diagnostic ignored "-Wstrict-aliasing"
1710inline bool Satellite::_internal_has_prn()
const {
1711 bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0;
1714inline bool Satellite::has_prn()
const {
1715 return _internal_has_prn();
1717inline void Satellite::clear_prn() {
1719 _impl_._has_bits_[0] &= ~0x00000004u;
1721inline int32_t Satellite::_internal_prn()
const {
1724inline int32_t Satellite::prn()
const {
1726 return _internal_prn();
1728inline void Satellite::_internal_set_prn(int32_t value) {
1729 _impl_._has_bits_[0] |= 0x00000004u;
1730 _impl_.prn_ = value;
1732inline void Satellite::set_prn(int32_t value) {
1733 _internal_set_prn(value);
1738inline bool Satellite::_internal_has_az()
const {
1739 bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0;
1742inline bool Satellite::has_az()
const {
1743 return _internal_has_az();
1745inline void Satellite::clear_az() {
1747 _impl_._has_bits_[0] &= ~0x00000001u;
1749inline double Satellite::_internal_az()
const {
1752inline double Satellite::az()
const {
1754 return _internal_az();
1756inline void Satellite::_internal_set_az(
double value) {
1757 _impl_._has_bits_[0] |= 0x00000001u;
1760inline void Satellite::set_az(
double value) {
1761 _internal_set_az(value);
1766inline bool Satellite::_internal_has_el()
const {
1767 bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0;
1770inline bool Satellite::has_el()
const {
1771 return _internal_has_el();
1773inline void Satellite::clear_el() {
1775 _impl_._has_bits_[0] &= ~0x00000002u;
1777inline double Satellite::_internal_el()
const {
1780inline double Satellite::el()
const {
1782 return _internal_el();
1784inline void Satellite::_internal_set_el(
double value) {
1785 _impl_._has_bits_[0] |= 0x00000002u;
1788inline void Satellite::set_el(
double value) {
1789 _internal_set_el(value);
1794inline bool Satellite::_internal_has_ss()
const {
1795 bool value = (_impl_._has_bits_[0] & 0x00000010u) != 0;
1798inline bool Satellite::has_ss()
const {
1799 return _internal_has_ss();
1801inline void Satellite::clear_ss() {
1803 _impl_._has_bits_[0] &= ~0x00000010u;
1805inline double Satellite::_internal_ss()
const {
1808inline double Satellite::ss()
const {
1810 return _internal_ss();
1812inline void Satellite::_internal_set_ss(
double value) {
1813 _impl_._has_bits_[0] |= 0x00000010u;
1816inline void Satellite::set_ss(
double value) {
1817 _internal_set_ss(value);
1822inline bool Satellite::_internal_has_used()
const {
1823 bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0;
1826inline bool Satellite::has_used()
const {
1827 return _internal_has_used();
1829inline void Satellite::clear_used() {
1830 _impl_.used_ =
false;
1831 _impl_._has_bits_[0] &= ~0x00000008u;
1833inline bool Satellite::_internal_used()
const {
1834 return _impl_.used_;
1836inline bool Satellite::used()
const {
1838 return _internal_used();
1840inline void Satellite::_internal_set_used(
bool value) {
1841 _impl_._has_bits_[0] |= 0x00000008u;
1842 _impl_.used_ = value;
1844inline void Satellite::set_used(
bool value) {
1845 _internal_set_used(value);
1850inline bool Satellite::_internal_has_gnssid()
const {
1851 bool value = (_impl_._has_bits_[0] & 0x00000020u) != 0;
1854inline bool Satellite::has_gnssid()
const {
1855 return _internal_has_gnssid();
1857inline void Satellite::clear_gnssid() {
1859 _impl_._has_bits_[0] &= ~0x00000020u;
1861inline int32_t Satellite::_internal_gnssid()
const {
1862 return _impl_.gnssid_;
1864inline int32_t Satellite::gnssid()
const {
1866 return _internal_gnssid();
1868inline void Satellite::_internal_set_gnssid(int32_t value) {
1869 _impl_._has_bits_[0] |= 0x00000020u;
1870 _impl_.gnssid_ = value;
1872inline void Satellite::set_gnssid(int32_t value) {
1873 _internal_set_gnssid(value);
1878inline bool Satellite::_internal_has_svid()
const {
1879 bool value = (_impl_._has_bits_[0] & 0x00000040u) != 0;
1882inline bool Satellite::has_svid()
const {
1883 return _internal_has_svid();
1885inline void Satellite::clear_svid() {
1887 _impl_._has_bits_[0] &= ~0x00000040u;
1889inline int32_t Satellite::_internal_svid()
const {
1890 return _impl_.svid_;
1892inline int32_t Satellite::svid()
const {
1894 return _internal_svid();
1896inline void Satellite::_internal_set_svid(int32_t value) {
1897 _impl_._has_bits_[0] |= 0x00000040u;
1898 _impl_.svid_ = value;
1900inline void Satellite::set_svid(int32_t value) {
1901 _internal_set_svid(value);
1906inline bool Satellite::_internal_has_sigid()
const {
1907 bool value = (_impl_._has_bits_[0] & 0x00000080u) != 0;
1910inline bool Satellite::has_sigid()
const {
1911 return _internal_has_sigid();
1913inline void Satellite::clear_sigid() {
1915 _impl_._has_bits_[0] &= ~0x00000080u;
1917inline int32_t Satellite::_internal_sigid()
const {
1918 return _impl_.sigid_;
1920inline int32_t Satellite::sigid()
const {
1922 return _internal_sigid();
1924inline void Satellite::_internal_set_sigid(int32_t value) {
1925 _impl_._has_bits_[0] |= 0x00000080u;
1926 _impl_.sigid_ = value;
1928inline void Satellite::set_sigid(int32_t value) {
1929 _internal_set_sigid(value);
1934inline bool Satellite::_internal_has_freqid()
const {
1935 bool value = (_impl_._has_bits_[0] & 0x00000100u) != 0;
1938inline bool Satellite::has_freqid()
const {
1939 return _internal_has_freqid();
1941inline void Satellite::clear_freqid() {
1943 _impl_._has_bits_[0] &= ~0x00000100u;
1945inline int32_t Satellite::_internal_freqid()
const {
1946 return _impl_.freqid_;
1948inline int32_t Satellite::freqid()
const {
1950 return _internal_freqid();
1952inline void Satellite::_internal_set_freqid(int32_t value) {
1953 _impl_._has_bits_[0] |= 0x00000100u;
1954 _impl_.freqid_ = value;
1956inline void Satellite::set_freqid(int32_t value) {
1957 _internal_set_freqid(value);
1962inline bool Satellite::_internal_has_health()
const {
1963 bool value = (_impl_._has_bits_[0] & 0x00000200u) != 0;
1966inline bool Satellite::has_health()
const {
1967 return _internal_has_health();
1969inline void Satellite::clear_health() {
1971 _impl_._has_bits_[0] &= ~0x00000200u;
1973inline int32_t Satellite::_internal_health()
const {
1974 return _impl_.health_;
1976inline int32_t Satellite::health()
const {
1978 return _internal_health();
1980inline void Satellite::_internal_set_health(int32_t value) {
1981 _impl_._has_bits_[0] |= 0x00000200u;
1982 _impl_.health_ = value;
1984inline void Satellite::set_health(int32_t value) {
1985 _internal_set_health(value);
1994inline bool SkyView::_internal_has_device()
const {
1995 bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0;
1998inline bool SkyView::has_device()
const {
1999 return _internal_has_device();
2001inline void SkyView::clear_device() {
2002 _impl_.device_.ClearToEmpty();
2003 _impl_._has_bits_[0] &= ~0x00000001u;
2005inline const std::string& SkyView::device()
const {
2007 return _internal_device();
2009template <
typename ArgT0,
typename... ArgT>
2010inline PROTOBUF_ALWAYS_INLINE
2011void SkyView::set_device(ArgT0&& arg0, ArgT... args) {
2012 _impl_._has_bits_[0] |= 0x00000001u;
2013 _impl_.device_.Set(
static_cast<ArgT0 &&
>(arg0), args..., GetArenaForAllocation());
2016inline std::string* SkyView::mutable_device() {
2017 std::string* _s = _internal_mutable_device();
2021inline const std::string& SkyView::_internal_device()
const {
2022 return _impl_.device_.Get();
2024inline void SkyView::_internal_set_device(
const std::string& value) {
2025 _impl_._has_bits_[0] |= 0x00000001u;
2026 _impl_.device_.Set(value, GetArenaForAllocation());
2028inline std::string* SkyView::_internal_mutable_device() {
2029 _impl_._has_bits_[0] |= 0x00000001u;
2030 return _impl_.device_.Mutable(GetArenaForAllocation());
2032inline std::string* SkyView::release_device() {
2034 if (!_internal_has_device()) {
2037 _impl_._has_bits_[0] &= ~0x00000001u;
2038 auto* p = _impl_.device_.Release();
2039#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
2040 if (_impl_.device_.IsDefault()) {
2041 _impl_.device_.Set(
"", GetArenaForAllocation());
2046inline void SkyView::set_allocated_device(std::string* device) {
2047 if (device !=
nullptr) {
2048 _impl_._has_bits_[0] |= 0x00000001u;
2050 _impl_._has_bits_[0] &= ~0x00000001u;
2052 _impl_.device_.SetAllocated(device, GetArenaForAllocation());
2053#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
2054 if (_impl_.device_.IsDefault()) {
2055 _impl_.device_.Set(
"", GetArenaForAllocation());
2062inline bool SkyView::_internal_has_time()
const {
2063 bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0;
2066inline bool SkyView::has_time()
const {
2067 return _internal_has_time();
2069inline void SkyView::clear_time() {
2071 _impl_._has_bits_[0] &= ~0x00000002u;
2073inline double SkyView::_internal_time()
const {
2074 return _impl_.time_;
2076inline double SkyView::time()
const {
2078 return _internal_time();
2080inline void SkyView::_internal_set_time(
double value) {
2081 _impl_._has_bits_[0] |= 0x00000002u;
2082 _impl_.time_ = value;
2084inline void SkyView::set_time(
double value) {
2085 _internal_set_time(value);
2090inline bool SkyView::_internal_has_gdop()
const {
2091 bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0;
2094inline bool SkyView::has_gdop()
const {
2095 return _internal_has_gdop();
2097inline void SkyView::clear_gdop() {
2099 _impl_._has_bits_[0] &= ~0x00000004u;
2101inline double SkyView::_internal_gdop()
const {
2102 return _impl_.gdop_;
2104inline double SkyView::gdop()
const {
2106 return _internal_gdop();
2108inline void SkyView::_internal_set_gdop(
double value) {
2109 _impl_._has_bits_[0] |= 0x00000004u;
2110 _impl_.gdop_ = value;
2112inline void SkyView::set_gdop(
double value) {
2113 _internal_set_gdop(value);
2118inline bool SkyView::_internal_has_hdop()
const {
2119 bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0;
2122inline bool SkyView::has_hdop()
const {
2123 return _internal_has_hdop();
2125inline void SkyView::clear_hdop() {
2127 _impl_._has_bits_[0] &= ~0x00000008u;
2129inline double SkyView::_internal_hdop()
const {
2130 return _impl_.hdop_;
2132inline double SkyView::hdop()
const {
2134 return _internal_hdop();
2136inline void SkyView::_internal_set_hdop(
double value) {
2137 _impl_._has_bits_[0] |= 0x00000008u;
2138 _impl_.hdop_ = value;
2140inline void SkyView::set_hdop(
double value) {
2141 _internal_set_hdop(value);
2146inline bool SkyView::_internal_has_pdop()
const {
2147 bool value = (_impl_._has_bits_[0] & 0x00000010u) != 0;
2150inline bool SkyView::has_pdop()
const {
2151 return _internal_has_pdop();
2153inline void SkyView::clear_pdop() {
2155 _impl_._has_bits_[0] &= ~0x00000010u;
2157inline double SkyView::_internal_pdop()
const {
2158 return _impl_.pdop_;
2160inline double SkyView::pdop()
const {
2162 return _internal_pdop();
2164inline void SkyView::_internal_set_pdop(
double value) {
2165 _impl_._has_bits_[0] |= 0x00000010u;
2166 _impl_.pdop_ = value;
2168inline void SkyView::set_pdop(
double value) {
2169 _internal_set_pdop(value);
2174inline bool SkyView::_internal_has_tdop()
const {
2175 bool value = (_impl_._has_bits_[0] & 0x00000020u) != 0;
2178inline bool SkyView::has_tdop()
const {
2179 return _internal_has_tdop();
2181inline void SkyView::clear_tdop() {
2183 _impl_._has_bits_[0] &= ~0x00000020u;
2185inline double SkyView::_internal_tdop()
const {
2186 return _impl_.tdop_;
2188inline double SkyView::tdop()
const {
2190 return _internal_tdop();
2192inline void SkyView::_internal_set_tdop(
double value) {
2193 _impl_._has_bits_[0] |= 0x00000020u;
2194 _impl_.tdop_ = value;
2196inline void SkyView::set_tdop(
double value) {
2197 _internal_set_tdop(value);
2202inline bool SkyView::_internal_has_vdop()
const {
2203 bool value = (_impl_._has_bits_[0] & 0x00000040u) != 0;
2206inline bool SkyView::has_vdop()
const {
2207 return _internal_has_vdop();
2209inline void SkyView::clear_vdop() {
2211 _impl_._has_bits_[0] &= ~0x00000040u;
2213inline double SkyView::_internal_vdop()
const {
2214 return _impl_.vdop_;
2216inline double SkyView::vdop()
const {
2218 return _internal_vdop();
2220inline void SkyView::_internal_set_vdop(
double value) {
2221 _impl_._has_bits_[0] |= 0x00000040u;
2222 _impl_.vdop_ = value;
2224inline void SkyView::set_vdop(
double value) {
2225 _internal_set_vdop(value);
2230inline bool SkyView::_internal_has_xdop()
const {
2231 bool value = (_impl_._has_bits_[0] & 0x00000080u) != 0;
2234inline bool SkyView::has_xdop()
const {
2235 return _internal_has_xdop();
2237inline void SkyView::clear_xdop() {
2239 _impl_._has_bits_[0] &= ~0x00000080u;
2241inline double SkyView::_internal_xdop()
const {
2242 return _impl_.xdop_;
2244inline double SkyView::xdop()
const {
2246 return _internal_xdop();
2248inline void SkyView::_internal_set_xdop(
double value) {
2249 _impl_._has_bits_[0] |= 0x00000080u;
2250 _impl_.xdop_ = value;
2252inline void SkyView::set_xdop(
double value) {
2253 _internal_set_xdop(value);
2258inline bool SkyView::_internal_has_ydop()
const {
2259 bool value = (_impl_._has_bits_[0] & 0x00000100u) != 0;
2262inline bool SkyView::has_ydop()
const {
2263 return _internal_has_ydop();
2265inline void SkyView::clear_ydop() {
2267 _impl_._has_bits_[0] &= ~0x00000100u;
2269inline double SkyView::_internal_ydop()
const {
2270 return _impl_.ydop_;
2272inline double SkyView::ydop()
const {
2274 return _internal_ydop();
2276inline void SkyView::_internal_set_ydop(
double value) {
2277 _impl_._has_bits_[0] |= 0x00000100u;
2278 _impl_.ydop_ = value;
2280inline void SkyView::set_ydop(
double value) {
2281 _internal_set_ydop(value);
2286inline bool SkyView::_internal_has_nsat()
const {
2287 bool value = (_impl_._has_bits_[0] & 0x00000200u) != 0;
2290inline bool SkyView::has_nsat()
const {
2291 return _internal_has_nsat();
2293inline void SkyView::clear_nsat() {
2295 _impl_._has_bits_[0] &= ~0x00000200u;
2297inline double SkyView::_internal_nsat()
const {
2298 return _impl_.nsat_;
2300inline double SkyView::nsat()
const {
2302 return _internal_nsat();
2304inline void SkyView::_internal_set_nsat(
double value) {
2305 _impl_._has_bits_[0] |= 0x00000200u;
2306 _impl_.nsat_ = value;
2308inline void SkyView::set_nsat(
double value) {
2309 _internal_set_nsat(value);
2314inline bool SkyView::_internal_has_usat()
const {
2315 bool value = (_impl_._has_bits_[0] & 0x00000400u) != 0;
2318inline bool SkyView::has_usat()
const {
2319 return _internal_has_usat();
2321inline void SkyView::clear_usat() {
2323 _impl_._has_bits_[0] &= ~0x00000400u;
2325inline double SkyView::_internal_usat()
const {
2326 return _impl_.usat_;
2328inline double SkyView::usat()
const {
2330 return _internal_usat();
2332inline void SkyView::_internal_set_usat(
double value) {
2333 _impl_._has_bits_[0] |= 0x00000400u;
2334 _impl_.usat_ = value;
2336inline void SkyView::set_usat(
double value) {
2337 _internal_set_usat(value);
2342inline int SkyView::_internal_satellite_size()
const {
2343 return _impl_.satellite_.size();
2345inline int SkyView::satellite_size()
const {
2346 return _internal_satellite_size();
2348inline void SkyView::clear_satellite() {
2349 _impl_.satellite_.Clear();
2351inline ::goby::middleware::protobuf::gpsd::Satellite* SkyView::mutable_satellite(
int index) {
2353 return _impl_.satellite_.Mutable(index);
2355inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::goby::middleware::protobuf::gpsd::Satellite >*
2356SkyView::mutable_satellite() {
2358 return &_impl_.satellite_;
2360inline const ::goby::middleware::protobuf::gpsd::Satellite& SkyView::_internal_satellite(
int index)
const {
2361 return _impl_.satellite_.Get(index);
2363inline const ::goby::middleware::protobuf::gpsd::Satellite& SkyView::satellite(
int index)
const {
2365 return _internal_satellite(index);
2367inline ::goby::middleware::protobuf::gpsd::Satellite* SkyView::_internal_add_satellite() {
2368 return _impl_.satellite_.Add();
2370inline ::goby::middleware::protobuf::gpsd::Satellite* SkyView::add_satellite() {
2375inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::goby::middleware::protobuf::gpsd::Satellite >&
2376SkyView::satellite()
const {
2378 return _impl_.satellite_;
2386inline bool Attitude::_internal_has_device()
const {
2387 bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0;
2390inline bool Attitude::has_device()
const {
2391 return _internal_has_device();
2393inline void Attitude::clear_device() {
2394 _impl_.device_.ClearToEmpty();
2395 _impl_._has_bits_[0] &= ~0x00000001u;
2397inline const std::string& Attitude::device()
const {
2399 return _internal_device();
2401template <
typename ArgT0,
typename... ArgT>
2402inline PROTOBUF_ALWAYS_INLINE
2403void Attitude::set_device(ArgT0&& arg0, ArgT... args) {
2404 _impl_._has_bits_[0] |= 0x00000001u;
2405 _impl_.device_.Set(
static_cast<ArgT0 &&
>(arg0), args..., GetArenaForAllocation());
2408inline std::string* Attitude::mutable_device() {
2409 std::string* _s = _internal_mutable_device();
2413inline const std::string& Attitude::_internal_device()
const {
2414 return _impl_.device_.Get();
2416inline void Attitude::_internal_set_device(
const std::string& value) {
2417 _impl_._has_bits_[0] |= 0x00000001u;
2418 _impl_.device_.Set(value, GetArenaForAllocation());
2420inline std::string* Attitude::_internal_mutable_device() {
2421 _impl_._has_bits_[0] |= 0x00000001u;
2422 return _impl_.device_.Mutable(GetArenaForAllocation());
2424inline std::string* Attitude::release_device() {
2426 if (!_internal_has_device()) {
2429 _impl_._has_bits_[0] &= ~0x00000001u;
2430 auto* p = _impl_.device_.Release();
2431#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
2432 if (_impl_.device_.IsDefault()) {
2433 _impl_.device_.Set(
"", GetArenaForAllocation());
2438inline void Attitude::set_allocated_device(std::string* device) {
2439 if (device !=
nullptr) {
2440 _impl_._has_bits_[0] |= 0x00000001u;
2442 _impl_._has_bits_[0] &= ~0x00000001u;
2444 _impl_.device_.SetAllocated(device, GetArenaForAllocation());
2445#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
2446 if (_impl_.device_.IsDefault()) {
2447 _impl_.device_.Set(
"", GetArenaForAllocation());
2454inline bool Attitude::_internal_has_time()
const {
2455 bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0;
2458inline bool Attitude::has_time()
const {
2459 return _internal_has_time();
2461inline void Attitude::clear_time() {
2463 _impl_._has_bits_[0] &= ~0x00000002u;
2465inline double Attitude::_internal_time()
const {
2466 return _impl_.time_;
2468inline double Attitude::time()
const {
2470 return _internal_time();
2472inline void Attitude::_internal_set_time(
double value) {
2473 _impl_._has_bits_[0] |= 0x00000002u;
2474 _impl_.time_ = value;
2476inline void Attitude::set_time(
double value) {
2477 _internal_set_time(value);
2482inline bool Attitude::_internal_has_heading()
const {
2483 bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0;
2486inline bool Attitude::has_heading()
const {
2487 return _internal_has_heading();
2489inline void Attitude::clear_heading() {
2490 _impl_.heading_ = 0;
2491 _impl_._has_bits_[0] &= ~0x00000004u;
2493inline double Attitude::_internal_heading()
const {
2494 return _impl_.heading_;
2496inline double Attitude::heading()
const {
2498 return _internal_heading();
2500inline void Attitude::_internal_set_heading(
double value) {
2501 _impl_._has_bits_[0] |= 0x00000004u;
2502 _impl_.heading_ = value;
2504inline void Attitude::set_heading(
double value) {
2505 _internal_set_heading(value);
2510inline bool Attitude::_internal_has_pitch()
const {
2511 bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0;
2514inline bool Attitude::has_pitch()
const {
2515 return _internal_has_pitch();
2517inline void Attitude::clear_pitch() {
2519 _impl_._has_bits_[0] &= ~0x00000008u;
2521inline double Attitude::_internal_pitch()
const {
2522 return _impl_.pitch_;
2524inline double Attitude::pitch()
const {
2526 return _internal_pitch();
2528inline void Attitude::_internal_set_pitch(
double value) {
2529 _impl_._has_bits_[0] |= 0x00000008u;
2530 _impl_.pitch_ = value;
2532inline void Attitude::set_pitch(
double value) {
2533 _internal_set_pitch(value);
2538inline bool Attitude::_internal_has_yaw()
const {
2539 bool value = (_impl_._has_bits_[0] & 0x00000010u) != 0;
2542inline bool Attitude::has_yaw()
const {
2543 return _internal_has_yaw();
2545inline void Attitude::clear_yaw() {
2547 _impl_._has_bits_[0] &= ~0x00000010u;
2549inline double Attitude::_internal_yaw()
const {
2552inline double Attitude::yaw()
const {
2554 return _internal_yaw();
2556inline void Attitude::_internal_set_yaw(
double value) {
2557 _impl_._has_bits_[0] |= 0x00000010u;
2558 _impl_.yaw_ = value;
2560inline void Attitude::set_yaw(
double value) {
2561 _internal_set_yaw(value);
2566inline bool Attitude::_internal_has_roll()
const {
2567 bool value = (_impl_._has_bits_[0] & 0x00000020u) != 0;
2570inline bool Attitude::has_roll()
const {
2571 return _internal_has_roll();
2573inline void Attitude::clear_roll() {
2575 _impl_._has_bits_[0] &= ~0x00000020u;
2577inline double Attitude::_internal_roll()
const {
2578 return _impl_.roll_;
2580inline double Attitude::roll()
const {
2582 return _internal_roll();
2584inline void Attitude::_internal_set_roll(
double value) {
2585 _impl_._has_bits_[0] |= 0x00000020u;
2586 _impl_.roll_ = value;
2588inline void Attitude::set_roll(
double value) {
2589 _internal_set_roll(value);
2598inline bool TimePositionVelocity::_internal_has_device()
const {
2599 bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0;
2602inline bool TimePositionVelocity::has_device()
const {
2603 return _internal_has_device();
2605inline void TimePositionVelocity::clear_device() {
2606 _impl_.device_.ClearToEmpty();
2607 _impl_._has_bits_[0] &= ~0x00000001u;
2609inline const std::string& TimePositionVelocity::device()
const {
2611 return _internal_device();
2613template <
typename ArgT0,
typename... ArgT>
2614inline PROTOBUF_ALWAYS_INLINE
2615void TimePositionVelocity::set_device(ArgT0&& arg0, ArgT... args) {
2616 _impl_._has_bits_[0] |= 0x00000001u;
2617 _impl_.device_.Set(
static_cast<ArgT0 &&
>(arg0), args..., GetArenaForAllocation());
2620inline std::string* TimePositionVelocity::mutable_device() {
2621 std::string* _s = _internal_mutable_device();
2625inline const std::string& TimePositionVelocity::_internal_device()
const {
2626 return _impl_.device_.Get();
2628inline void TimePositionVelocity::_internal_set_device(
const std::string& value) {
2629 _impl_._has_bits_[0] |= 0x00000001u;
2630 _impl_.device_.Set(value, GetArenaForAllocation());
2632inline std::string* TimePositionVelocity::_internal_mutable_device() {
2633 _impl_._has_bits_[0] |= 0x00000001u;
2634 return _impl_.device_.Mutable(GetArenaForAllocation());
2636inline std::string* TimePositionVelocity::release_device() {
2638 if (!_internal_has_device()) {
2641 _impl_._has_bits_[0] &= ~0x00000001u;
2642 auto* p = _impl_.device_.Release();
2643#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
2644 if (_impl_.device_.IsDefault()) {
2645 _impl_.device_.Set(
"", GetArenaForAllocation());
2650inline void TimePositionVelocity::set_allocated_device(std::string* device) {
2651 if (device !=
nullptr) {
2652 _impl_._has_bits_[0] |= 0x00000001u;
2654 _impl_._has_bits_[0] &= ~0x00000001u;
2656 _impl_.device_.SetAllocated(device, GetArenaForAllocation());
2657#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
2658 if (_impl_.device_.IsDefault()) {
2659 _impl_.device_.Set(
"", GetArenaForAllocation());
2666inline bool TimePositionVelocity::_internal_has_time()
const {
2667 bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0;
2670inline bool TimePositionVelocity::has_time()
const {
2671 return _internal_has_time();
2673inline void TimePositionVelocity::clear_time() {
2675 _impl_._has_bits_[0] &= ~0x00000004u;
2677inline double TimePositionVelocity::_internal_time()
const {
2678 return _impl_.time_;
2680inline double TimePositionVelocity::time()
const {
2682 return _internal_time();
2684inline void TimePositionVelocity::_internal_set_time(
double value) {
2685 _impl_._has_bits_[0] |= 0x00000004u;
2686 _impl_.time_ = value;
2688inline void TimePositionVelocity::set_time(
double value) {
2689 _internal_set_time(value);
2694inline bool TimePositionVelocity::_internal_has_mode()
const {
2695 bool value = (_impl_._has_bits_[0] & 0x00004000u) != 0;
2698inline bool TimePositionVelocity::has_mode()
const {
2699 return _internal_has_mode();
2701inline void TimePositionVelocity::clear_mode() {
2703 _impl_._has_bits_[0] &= ~0x00004000u;
2705inline ::goby::middleware::protobuf::gpsd::TimePositionVelocity_Mode TimePositionVelocity::_internal_mode()
const {
2708inline ::goby::middleware::protobuf::gpsd::TimePositionVelocity_Mode TimePositionVelocity::mode()
const {
2710 return _internal_mode();
2714 _impl_._has_bits_[0] |= 0x00004000u;
2715 _impl_.mode_ = value;
2718 _internal_set_mode(value);
2723inline bool TimePositionVelocity::_internal_has_location()
const {
2724 bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0;
2725 PROTOBUF_ASSUME(!value || _impl_.location_ !=
nullptr);
2728inline bool TimePositionVelocity::has_location()
const {
2729 return _internal_has_location();
2731inline const ::goby::middleware::protobuf::LatLonPoint& TimePositionVelocity::_internal_location()
const {
2732 const ::goby::middleware::protobuf::LatLonPoint* p = _impl_.location_;
2736inline const ::goby::middleware::protobuf::LatLonPoint& TimePositionVelocity::location()
const {
2738 return _internal_location();
2740inline void TimePositionVelocity::unsafe_arena_set_allocated_location(
2742 if (GetArenaForAllocation() ==
nullptr) {
2743 delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*
>(_impl_.location_);
2745 _impl_.location_ = location;
2747 _impl_._has_bits_[0] |= 0x00000002u;
2749 _impl_._has_bits_[0] &= ~0x00000002u;
2753inline ::goby::middleware::protobuf::LatLonPoint* TimePositionVelocity::release_location() {
2754 _impl_._has_bits_[0] &= ~0x00000002u;
2756 _impl_.location_ =
nullptr;
2757#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
2758 auto* old =
reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*
>(temp);
2759 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
2760 if (GetArenaForAllocation() ==
nullptr) {
delete old; }
2762 if (GetArenaForAllocation() !=
nullptr) {
2763 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
2768inline ::goby::middleware::protobuf::LatLonPoint* TimePositionVelocity::unsafe_arena_release_location() {
2770 _impl_._has_bits_[0] &= ~0x00000002u;
2772 _impl_.location_ =
nullptr;
2775inline ::goby::middleware::protobuf::LatLonPoint* TimePositionVelocity::_internal_mutable_location() {
2776 _impl_._has_bits_[0] |= 0x00000002u;
2777 if (_impl_.location_ ==
nullptr) {
2779 _impl_.location_ = p;
2781 return _impl_.location_;
2783inline ::goby::middleware::protobuf::LatLonPoint* TimePositionVelocity::mutable_location() {
2789 ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
2790 if (message_arena ==
nullptr) {
2791 delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*
>(_impl_.location_);
2794 ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
2795 ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(
2796 reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*
>(location));
2797 if (message_arena != submessage_arena) {
2798 location = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
2799 message_arena, location, submessage_arena);
2801 _impl_._has_bits_[0] |= 0x00000002u;
2803 _impl_._has_bits_[0] &= ~0x00000002u;
2805 _impl_.location_ = location;
2810inline bool TimePositionVelocity::_internal_has_altitude()
const {
2811 bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0;
2814inline bool TimePositionVelocity::has_altitude()
const {
2815 return _internal_has_altitude();
2817inline void TimePositionVelocity::clear_altitude() {
2818 _impl_.altitude_ = 0;
2819 _impl_._has_bits_[0] &= ~0x00000008u;
2821inline double TimePositionVelocity::_internal_altitude()
const {
2822 return _impl_.altitude_;
2824inline double TimePositionVelocity::altitude()
const {
2826 return _internal_altitude();
2828inline void TimePositionVelocity::_internal_set_altitude(
double value) {
2829 _impl_._has_bits_[0] |= 0x00000008u;
2830 _impl_.altitude_ = value;
2832inline void TimePositionVelocity::set_altitude(
double value) {
2833 _internal_set_altitude(value);
2838inline bool TimePositionVelocity::_internal_has_track()
const {
2839 bool value = (_impl_._has_bits_[0] & 0x00000010u) != 0;
2842inline bool TimePositionVelocity::has_track()
const {
2843 return _internal_has_track();
2845inline void TimePositionVelocity::clear_track() {
2847 _impl_._has_bits_[0] &= ~0x00000010u;
2849inline double TimePositionVelocity::_internal_track()
const {
2850 return _impl_.track_;
2852inline double TimePositionVelocity::track()
const {
2854 return _internal_track();
2856inline void TimePositionVelocity::_internal_set_track(
double value) {
2857 _impl_._has_bits_[0] |= 0x00000010u;
2858 _impl_.track_ = value;
2860inline void TimePositionVelocity::set_track(
double value) {
2861 _internal_set_track(value);
2866inline bool TimePositionVelocity::_internal_has_speed()
const {
2867 bool value = (_impl_._has_bits_[0] & 0x00000020u) != 0;
2870inline bool TimePositionVelocity::has_speed()
const {
2871 return _internal_has_speed();
2873inline void TimePositionVelocity::clear_speed() {
2875 _impl_._has_bits_[0] &= ~0x00000020u;
2877inline double TimePositionVelocity::_internal_speed()
const {
2878 return _impl_.speed_;
2880inline double TimePositionVelocity::speed()
const {
2882 return _internal_speed();
2884inline void TimePositionVelocity::_internal_set_speed(
double value) {
2885 _impl_._has_bits_[0] |= 0x00000020u;
2886 _impl_.speed_ = value;
2888inline void TimePositionVelocity::set_speed(
double value) {
2889 _internal_set_speed(value);
2894inline bool TimePositionVelocity::_internal_has_climb()
const {
2895 bool value = (_impl_._has_bits_[0] & 0x00000040u) != 0;
2898inline bool TimePositionVelocity::has_climb()
const {
2899 return _internal_has_climb();
2901inline void TimePositionVelocity::clear_climb() {
2903 _impl_._has_bits_[0] &= ~0x00000040u;
2905inline double TimePositionVelocity::_internal_climb()
const {
2906 return _impl_.climb_;
2908inline double TimePositionVelocity::climb()
const {
2910 return _internal_climb();
2912inline void TimePositionVelocity::_internal_set_climb(
double value) {
2913 _impl_._has_bits_[0] |= 0x00000040u;
2914 _impl_.climb_ = value;
2916inline void TimePositionVelocity::set_climb(
double value) {
2917 _internal_set_climb(value);
2922inline bool TimePositionVelocity::_internal_has_epc()
const {
2923 bool value = (_impl_._has_bits_[0] & 0x00000080u) != 0;
2926inline bool TimePositionVelocity::has_epc()
const {
2927 return _internal_has_epc();
2929inline void TimePositionVelocity::clear_epc() {
2931 _impl_._has_bits_[0] &= ~0x00000080u;
2933inline double TimePositionVelocity::_internal_epc()
const {
2936inline double TimePositionVelocity::epc()
const {
2938 return _internal_epc();
2940inline void TimePositionVelocity::_internal_set_epc(
double value) {
2941 _impl_._has_bits_[0] |= 0x00000080u;
2942 _impl_.epc_ = value;
2944inline void TimePositionVelocity::set_epc(
double value) {
2945 _internal_set_epc(value);
2950inline bool TimePositionVelocity::_internal_has_epd()
const {
2951 bool value = (_impl_._has_bits_[0] & 0x00000100u) != 0;
2954inline bool TimePositionVelocity::has_epd()
const {
2955 return _internal_has_epd();
2957inline void TimePositionVelocity::clear_epd() {
2959 _impl_._has_bits_[0] &= ~0x00000100u;
2961inline double TimePositionVelocity::_internal_epd()
const {
2964inline double TimePositionVelocity::epd()
const {
2966 return _internal_epd();
2968inline void TimePositionVelocity::_internal_set_epd(
double value) {
2969 _impl_._has_bits_[0] |= 0x00000100u;
2970 _impl_.epd_ = value;
2972inline void TimePositionVelocity::set_epd(
double value) {
2973 _internal_set_epd(value);
2978inline bool TimePositionVelocity::_internal_has_eps()
const {
2979 bool value = (_impl_._has_bits_[0] & 0x00000200u) != 0;
2982inline bool TimePositionVelocity::has_eps()
const {
2983 return _internal_has_eps();
2985inline void TimePositionVelocity::clear_eps() {
2987 _impl_._has_bits_[0] &= ~0x00000200u;
2989inline double TimePositionVelocity::_internal_eps()
const {
2992inline double TimePositionVelocity::eps()
const {
2994 return _internal_eps();
2996inline void TimePositionVelocity::_internal_set_eps(
double value) {
2997 _impl_._has_bits_[0] |= 0x00000200u;
2998 _impl_.eps_ = value;
3000inline void TimePositionVelocity::set_eps(
double value) {
3001 _internal_set_eps(value);
3006inline bool TimePositionVelocity::_internal_has_ept()
const {
3007 bool value = (_impl_._has_bits_[0] & 0x00000400u) != 0;
3010inline bool TimePositionVelocity::has_ept()
const {
3011 return _internal_has_ept();
3013inline void TimePositionVelocity::clear_ept() {
3015 _impl_._has_bits_[0] &= ~0x00000400u;
3017inline double TimePositionVelocity::_internal_ept()
const {
3020inline double TimePositionVelocity::ept()
const {
3022 return _internal_ept();
3024inline void TimePositionVelocity::_internal_set_ept(
double value) {
3025 _impl_._has_bits_[0] |= 0x00000400u;
3026 _impl_.ept_ = value;
3028inline void TimePositionVelocity::set_ept(
double value) {
3029 _internal_set_ept(value);
3034inline bool TimePositionVelocity::_internal_has_epv()
const {
3035 bool value = (_impl_._has_bits_[0] & 0x00000800u) != 0;
3038inline bool TimePositionVelocity::has_epv()
const {
3039 return _internal_has_epv();
3041inline void TimePositionVelocity::clear_epv() {
3043 _impl_._has_bits_[0] &= ~0x00000800u;
3045inline double TimePositionVelocity::_internal_epv()
const {
3048inline double TimePositionVelocity::epv()
const {
3050 return _internal_epv();
3052inline void TimePositionVelocity::_internal_set_epv(
double value) {
3053 _impl_._has_bits_[0] |= 0x00000800u;
3054 _impl_.epv_ = value;
3056inline void TimePositionVelocity::set_epv(
double value) {
3057 _internal_set_epv(value);
3062inline bool TimePositionVelocity::_internal_has_epx()
const {
3063 bool value = (_impl_._has_bits_[0] & 0x00001000u) != 0;
3066inline bool TimePositionVelocity::has_epx()
const {
3067 return _internal_has_epx();
3069inline void TimePositionVelocity::clear_epx() {
3071 _impl_._has_bits_[0] &= ~0x00001000u;
3073inline double TimePositionVelocity::_internal_epx()
const {
3076inline double TimePositionVelocity::epx()
const {
3078 return _internal_epx();
3080inline void TimePositionVelocity::_internal_set_epx(
double value) {
3081 _impl_._has_bits_[0] |= 0x00001000u;
3082 _impl_.epx_ = value;
3084inline void TimePositionVelocity::set_epx(
double value) {
3085 _internal_set_epx(value);
3090inline bool TimePositionVelocity::_internal_has_epy()
const {
3091 bool value = (_impl_._has_bits_[0] & 0x00002000u) != 0;
3094inline bool TimePositionVelocity::has_epy()
const {
3095 return _internal_has_epy();
3097inline void TimePositionVelocity::clear_epy() {
3099 _impl_._has_bits_[0] &= ~0x00002000u;
3101inline double TimePositionVelocity::_internal_epy()
const {
3104inline double TimePositionVelocity::epy()
const {
3106 return _internal_epy();
3108inline void TimePositionVelocity::_internal_set_epy(
double value) {
3109 _impl_._has_bits_[0] |= 0x00002000u;
3110 _impl_.epy_ = value;
3112inline void TimePositionVelocity::set_epy(
double value) {
3113 _internal_set_epy(value);
3118 #pragma GCC diagnostic pop
3134PROTOBUF_NAMESPACE_OPEN
3139 return ::goby::middleware::protobuf::gpsd::TimePositionVelocity_Mode_descriptor();
3142PROTOBUF_NAMESPACE_CLOSE
3146#include <google/protobuf/port_undef.inc>
void CopyFrom(const Attitude &from)
void Swap(Attitude *other)
boost::units::plane_angle_dimension heading_dimension
boost::units::plane_angle_dimension yaw_dimension
void set_device(ArgT0 &&arg0, ArgT... args)
void set_heading_with_units(Quantity value_w_units)
void set_pitch_with_units(Quantity value_w_units)
const ::PROTOBUF_NAMESPACE_ID::Message::ClassData * GetClassData() const final
boost::units::unit< yaw_dimension, boost::units::degree::system > yaw_unit
static const ::PROTOBUF_NAMESPACE_ID::Reflection * GetReflection()
boost::units::unit< heading_dimension, boost::units::degree::system > heading_unit
boost::units::unit< pitch_dimension, boost::units::degree::system > pitch_unit
PROTOBUF_CONSTEXPR Attitude(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized)
Attitude * New(::PROTOBUF_NAMESPACE_ID::Arena *arena=nullptr) const final
const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet & unknown_fields() const
friend void swap(Attitude &a, Attitude &b)
Attitude(Attitude &&from) noexcept
Attitude(const Attitude &from)
boost::units::plane_angle_dimension roll_dimension
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * GetDescriptor()
Quantity yaw_with_units() const
static const ClassData _class_data_
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * descriptor()
boost::units::unit< time_dimension, boost::units::si::system > time_unit
inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet * mutable_unknown_fields()
Quantity pitch_with_units() const
void UnsafeArenaSwap(Attitude *other)
boost::units::plane_angle_dimension pitch_dimension
void set_yaw_with_units(Quantity value_w_units)
Attitude & operator=(Attitude &&from) noexcept
Quantity roll_with_units() const
void set_roll_with_units(Quantity value_w_units)
boost::units::quantity< time_unit, double > time_with_units() const
Attitude & operator=(const Attitude &from)
static const Attitude * internal_default_instance()
boost::units::quantity< pitch_unit, double > pitch_with_units() const
boost::units::quantity< roll_unit, double > roll_with_units() const
Quantity heading_with_units() const
boost::units::quantity< yaw_unit, double > yaw_with_units() const
static const Attitude & default_instance()
void set_time_with_units(Quantity value_w_units)
Quantity time_with_units() const
boost::units::time_dimension time_dimension
boost::units::quantity< heading_unit, double > heading_with_units() const
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final
boost::units::unit< roll_dimension, boost::units::degree::system > roll_unit
void MergeFrom(const Attitude &from)
Attitude(::PROTOBUF_NAMESPACE_ID::Arena *arena, bool is_message_owned=false)
boost::units::plane_angle_dimension az_dimension
static constexpr int kIndexInFileMessages
int GetCachedSize() const final
void set_svid(int32_t value)
void set_gnssid(int32_t value)
Satellite(const Satellite &from)
Quantity az_with_units() const
bool IsInitialized() const final
static const Satellite * internal_default_instance()
void CopyFrom(const Satellite &from)
boost::units::unit< el_dimension, boost::units::degree::system > el_unit
void set_el(double value)
void set_freqid(int32_t value)
static const ClassData _class_data_
void UnsafeArenaSwap(Satellite *other)
Quantity el_with_units() const
void set_az(double value)
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final
Satellite * New(::PROTOBUF_NAMESPACE_ID::Arena *arena=nullptr) const final
Satellite(::PROTOBUF_NAMESPACE_ID::Arena *arena, bool is_message_owned=false)
Satellite & operator=(Satellite &&from) noexcept
static const Satellite & default_instance()
void set_el_with_units(Quantity value_w_units)
PROTOBUF_CONSTEXPR Satellite(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized)
void MergeFrom(const Satellite &from)
void Swap(Satellite *other)
boost::units::quantity< az_unit, double > az_with_units() const
const ::PROTOBUF_NAMESPACE_ID::Message::ClassData * GetClassData() const final
inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet * mutable_unknown_fields()
void set_health(int32_t value)
Satellite(Satellite &&from) noexcept
void set_az_with_units(Quantity value_w_units)
boost::units::plane_angle_dimension el_dimension
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * descriptor()
boost::units::unit< az_dimension, boost::units::degree::system > az_unit
void set_ss(double value)
void set_prn(int32_t value)
uint8_t * _InternalSerialize(uint8_t *target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream *stream) const final
const char * _InternalParse(const char *ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext *ctx) final
const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet & unknown_fields() const
static const ::PROTOBUF_NAMESPACE_ID::Reflection * GetReflection()
void set_used(bool value)
size_t ByteSizeLong() const final
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * GetDescriptor()
boost::units::quantity< el_unit, double > el_with_units() const
void set_sigid(int32_t value)
friend void swap(Satellite &a, Satellite &b)
::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final
Satellite & operator=(const Satellite &from)
SkyView * New(::PROTOBUF_NAMESPACE_ID::Arena *arena=nullptr) const final
SkyView & operator=(SkyView &&from) noexcept
SkyView(const SkyView &from)
void CopyFrom(const SkyView &from)
boost::units::time_dimension time_dimension
Quantity time_with_units() const
PROTOBUF_CONSTEXPR SkyView(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized)
SkyView(::PROTOBUF_NAMESPACE_ID::Arena *arena, bool is_message_owned=false)
static const ClassData _class_data_
const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet & unknown_fields() const
static const ::PROTOBUF_NAMESPACE_ID::Reflection * GetReflection()
void MergeFrom(const SkyView &from)
SkyView & operator=(const SkyView &from)
inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet * mutable_unknown_fields()
friend void swap(SkyView &a, SkyView &b)
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final
static const SkyView & default_instance()
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * descriptor()
void UnsafeArenaSwap(SkyView *other)
SkyView(SkyView &&from) noexcept
boost::units::quantity< time_unit, double > time_with_units() const
boost::units::unit< time_dimension, boost::units::si::system > time_unit
void Swap(SkyView *other)
void set_device(ArgT0 &&arg0, ArgT... args)
void set_time_with_units(Quantity value_w_units)
const ::PROTOBUF_NAMESPACE_ID::Message::ClassData * GetClassData() const final
static const SkyView * internal_default_instance()
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * GetDescriptor()
void set_epv_with_units(Quantity value_w_units)
Quantity climb_with_units() const
boost::units::time_dimension time_dimension
boost::units::quantity< climb_unit, double > climb_with_units() const
void set_epx_with_units(Quantity value_w_units)
boost::units::quantity< epd_unit, double > epd_with_units() const
boost::mpl::divides< boost::units::length_dimension, boost::units::time_dimension >::type speed_dimension
boost::units::plane_angle_dimension epd_dimension
const ::PROTOBUF_NAMESPACE_ID::Message::ClassData * GetClassData() const final
boost::units::unit< altitude_dimension, boost::units::si::system > altitude_unit
Quantity speed_with_units() const
void set_ept_with_units(Quantity value_w_units)
boost::mpl::divides< boost::units::length_dimension, boost::units::time_dimension >::type climb_dimension
inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet * mutable_unknown_fields()
void CopyFrom(const TimePositionVelocity &from)
void set_eps_with_units(Quantity value_w_units)
void Swap(TimePositionVelocity *other)
boost::units::quantity< epv_unit, double > epv_with_units() const
PROTOBUF_CONSTEXPR TimePositionVelocity(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized)
boost::units::length_dimension epx_dimension
Quantity eps_with_units() const
void set_speed_with_units(Quantity value_w_units)
boost::units::quantity< ept_unit, double > ept_with_units() const
boost::units::unit< time_dimension, boost::units::si::system > time_unit
const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet & unknown_fields() const
TimePositionVelocity & operator=(const TimePositionVelocity &from)
Quantity track_with_units() const
boost::units::quantity< altitude_unit, double > altitude_with_units() const
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * descriptor()
boost::units::quantity< epy_unit, double > epy_with_units() const
static const ClassData _class_data_
Quantity epc_with_units() const
void UnsafeArenaSwap(TimePositionVelocity *other)
static const TimePositionVelocity & default_instance()
void set_epd_with_units(Quantity value_w_units)
Quantity epv_with_units() const
void set_time_with_units(Quantity value_w_units)
boost::units::time_dimension ept_dimension
boost::units::quantity< epx_unit, double > epx_with_units() const
Quantity epy_with_units() const
~TimePositionVelocity() override
boost::units::length_dimension altitude_dimension
boost::units::quantity< speed_unit, double > speed_with_units() const
boost::units::unit< epc_dimension, boost::units::si::system > epc_unit
void set_epy_with_units(Quantity value_w_units)
TimePositionVelocity(::PROTOBUF_NAMESPACE_ID::Arena *arena, bool is_message_owned=false)
boost::units::unit< eps_dimension, boost::units::si::system > eps_unit
static const std::string & Mode_Name(T enum_t_value)
TimePositionVelocity(TimePositionVelocity &&from) noexcept
boost::units::quantity< eps_unit, double > eps_with_units() const
Quantity altitude_with_units() const
friend void swap(TimePositionVelocity &a, TimePositionVelocity &b)
void set_device(ArgT0 &&arg0, ArgT... args)
TimePositionVelocity & operator=(TimePositionVelocity &&from) noexcept
boost::units::unit< epv_dimension, boost::units::si::system > epv_unit
boost::units::unit< epy_dimension, boost::units::si::system > epy_unit
Quantity ept_with_units() const
boost::mpl::divides< boost::units::length_dimension, boost::units::time_dimension >::type eps_dimension
static bool Mode_Parse(::PROTOBUF_NAMESPACE_ID::ConstStringParam name, Mode *value)
boost::units::quantity< epc_unit, double > epc_with_units() const
void set_epc_with_units(Quantity value_w_units)
static const TimePositionVelocity * internal_default_instance()
boost::units::unit< climb_dimension, boost::units::si::system > climb_unit
boost::units::length_dimension epy_dimension
void set_altitude_with_units(Quantity value_w_units)
boost::units::plane_angle_dimension track_dimension
boost::units::quantity< time_unit, double > time_with_units() const
void set_track_with_units(Quantity value_w_units)
boost::mpl::divides< boost::units::length_dimension, boost::units::time_dimension >::type epc_dimension
Quantity epd_with_units() const
void MergeFrom(const TimePositionVelocity &from)
TimePositionVelocity * New(::PROTOBUF_NAMESPACE_ID::Arena *arena=nullptr) const final
TimePositionVelocity(const TimePositionVelocity &from)
Quantity time_with_units() const
boost::units::unit< epd_dimension, boost::units::degree::system > epd_unit
boost::units::quantity< track_unit, double > track_with_units() const
Quantity epx_with_units() const
boost::units::unit< track_dimension, boost::units::degree::system > track_unit
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * GetDescriptor()
static const ::PROTOBUF_NAMESPACE_ID::Reflection * GetReflection()
boost::units::unit< speed_dimension, boost::units::si::system > speed_unit
static const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor * Mode_descriptor()
void set_climb_with_units(Quantity value_w_units)
boost::units::length_dimension epv_dimension
boost::units::unit< ept_dimension, boost::units::si::system > ept_unit
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final
boost::units::unit< epx_dimension, boost::units::si::system > epx_unit
PROTOBUF_NAMESPACE_OPEN ::goby::middleware::protobuf::LatLonPoint * Arena::CreateMaybeMessage<::goby::middleware::protobuf::LatLonPoint >(Arena *)
const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable descriptor_table_goby_2fmiddleware_2fprotobuf_2fgpsd_2eproto
const EnumDescriptor * GetEnumDescriptor< ::goby::middleware::protobuf::gpsd::TimePositionVelocity_Mode >()
AttitudeDefaultTypeInternal _Attitude_default_instance_
constexpr TimePositionVelocity_Mode TimePositionVelocity_Mode_Mode_MIN
SatelliteDefaultTypeInternal _Satellite_default_instance_
TimePositionVelocityDefaultTypeInternal _TimePositionVelocity_default_instance_
bool TimePositionVelocity_Mode_Parse(::PROTOBUF_NAMESPACE_ID::ConstStringParam name, TimePositionVelocity_Mode *value)
constexpr TimePositionVelocity_Mode TimePositionVelocity_Mode_Mode_MAX
TimePositionVelocity_Mode
@ TimePositionVelocity_Mode_Mode3D
@ TimePositionVelocity_Mode_Mode2D
@ TimePositionVelocity_Mode_ModeNoFix
@ TimePositionVelocity_Mode_ModeNotSeen
SkyViewDefaultTypeInternal _SkyView_default_instance_
const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor * TimePositionVelocity_Mode_descriptor()
bool TimePositionVelocity_Mode_IsValid(int value)
constexpr int TimePositionVelocity_Mode_Mode_ARRAYSIZE
const std::string & TimePositionVelocity_Mode_Name(T enum_t_value)
LatLonPointDefaultTypeInternal _LatLonPoint_default_instance_
The global namespace for the Goby project.
static const uint32_t offsets[]