Goby3 3.2.3
2025.05.13
Loading...
Searching...
No Matches
gpsd.pb.h
Go to the documentation of this file.
1// Generated by the protocol buffer compiler. DO NOT EDIT!
2// source: goby/middleware/protobuf/gpsd.proto
3
4#ifndef GOOGLE_PROTOBUF_INCLUDED_goby_2fmiddleware_2fprotobuf_2fgpsd_2eproto
5#define GOOGLE_PROTOBUF_INCLUDED_goby_2fmiddleware_2fprotobuf_2fgpsd_2eproto
6
7#include <limits>
8#include <string>
9
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
14#error your headers.
15#endif
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.
20#endif
21
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> // IWYU pragma: export
31#include <google/protobuf/extension_set.h> // IWYU pragma: export
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>
40
41#include <boost/units/systems/angle/degrees.hpp>
42
43#include <boost/units/systems/si.hpp>
44// @@protoc_insertion_point(includes)
45#include <google/protobuf/port_def.inc>
46#define PROTOBUF_INTERNAL_EXPORT_goby_2fmiddleware_2fprotobuf_2fgpsd_2eproto
47PROTOBUF_NAMESPACE_OPEN
48namespace internal {
49class AnyMetadata;
50} // namespace internal
51PROTOBUF_NAMESPACE_CLOSE
52
53// Internal implementation detail -- do not use these members.
57extern const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable descriptor_table_goby_2fmiddleware_2fprotobuf_2fgpsd_2eproto;
58namespace goby {
59namespace middleware {
60namespace protobuf {
61namespace gpsd {
62class Attitude;
63struct AttitudeDefaultTypeInternal;
64extern AttitudeDefaultTypeInternal _Attitude_default_instance_;
65class Satellite;
66struct SatelliteDefaultTypeInternal;
67extern SatelliteDefaultTypeInternal _Satellite_default_instance_;
68class SkyView;
69struct SkyViewDefaultTypeInternal;
70extern SkyViewDefaultTypeInternal _SkyView_default_instance_;
72struct TimePositionVelocityDefaultTypeInternal;
73extern TimePositionVelocityDefaultTypeInternal _TimePositionVelocity_default_instance_;
74} // namespace gpsd
75} // namespace protobuf
76} // namespace middleware
77} // namespace goby
78PROTOBUF_NAMESPACE_OPEN
79template<> ::goby::middleware::protobuf::gpsd::Attitude* Arena::CreateMaybeMessage<::goby::middleware::protobuf::gpsd::Attitude>(Arena*);
80template<> ::goby::middleware::protobuf::gpsd::Satellite* Arena::CreateMaybeMessage<::goby::middleware::protobuf::gpsd::Satellite>(Arena*);
81template<> ::goby::middleware::protobuf::gpsd::SkyView* Arena::CreateMaybeMessage<::goby::middleware::protobuf::gpsd::SkyView>(Arena*);
82template<> ::goby::middleware::protobuf::gpsd::TimePositionVelocity* Arena::CreateMaybeMessage<::goby::middleware::protobuf::gpsd::TimePositionVelocity>(Arena*);
83PROTOBUF_NAMESPACE_CLOSE
84namespace goby {
85namespace middleware {
86namespace protobuf {
87namespace gpsd {
88
99
100const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* TimePositionVelocity_Mode_descriptor();
101template<typename T>
102inline const std::string& TimePositionVelocity_Mode_Name(T enum_t_value) {
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(
108}
110 ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, TimePositionVelocity_Mode* value) {
111 return ::PROTOBUF_NAMESPACE_ID::internal::ParseNamedEnum<TimePositionVelocity_Mode>(
113}
114// ===================================================================
115
116class Satellite final :
117 public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:goby.middleware.protobuf.gpsd.Satellite) */ {
118 public:
119 inline Satellite() : Satellite(nullptr) {}
120 ~Satellite() override;
121 explicit PROTOBUF_CONSTEXPR Satellite(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
122
123 Satellite(const Satellite& from);
124 Satellite(Satellite&& from) noexcept
125 : Satellite() {
126 *this = ::std::move(from);
127 }
128
129 inline Satellite& operator=(const Satellite& from) {
130 CopyFrom(from);
131 return *this;
132 }
133 inline Satellite& operator=(Satellite&& from) noexcept {
134 if (this == &from) return *this;
135 if (GetOwningArena() == from.GetOwningArena()
136 #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
137 && GetOwningArena() != nullptr
138 #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
139 ) {
140 InternalSwap(&from);
141 } else {
142 CopyFrom(from);
143 }
144 return *this;
145 }
146
147 inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const {
148 return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance);
149 }
150 inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() {
151 return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
152 }
153
154 static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
155 return GetDescriptor();
156 }
157 static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
158 return default_instance().GetMetadata().descriptor;
159 }
160 static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
161 return default_instance().GetMetadata().reflection;
162 }
163 static const Satellite& default_instance() {
165 }
166 static inline const Satellite* internal_default_instance() {
167 return reinterpret_cast<const Satellite*>(
169 }
170 static constexpr int kIndexInFileMessages =
171 0;
172
173 friend void swap(Satellite& a, Satellite& b) {
174 a.Swap(&b);
175 }
176 inline void Swap(Satellite* other) {
177 if (other == this) return;
178 #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
179 if (GetOwningArena() != nullptr &&
180 GetOwningArena() == other->GetOwningArena()) {
181 #else // PROTOBUF_FORCE_COPY_IN_SWAP
182 if (GetOwningArena() == other->GetOwningArena()) {
183 #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
184 InternalSwap(other);
185 } else {
186 ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
187 }
188 }
190 if (other == this) return;
191 GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
192 InternalSwap(other);
193 }
194
195 // implements Message ----------------------------------------------
196
197 Satellite* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
198 return CreateMaybeMessage<Satellite>(arena);
199 }
200 using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
201 void CopyFrom(const Satellite& from);
202 using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
203 void MergeFrom( const Satellite& from) {
204 Satellite::MergeImpl(*this, from);
205 }
206 private:
207 static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg);
208 public:
209 PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
210 bool IsInitialized() const final;
211
212 size_t ByteSizeLong() const final;
213 const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
215 uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
216 int GetCachedSize() const final { return _impl_._cached_size_.Get(); }
217
218 private:
219 void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned);
220 void SharedDtor();
221 void SetCachedSize(int size) const final;
222 void InternalSwap(Satellite* other);
223
224 private:
225 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
226 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
227 return "goby.middleware.protobuf.gpsd.Satellite";
228 }
229 protected:
230 explicit Satellite(::PROTOBUF_NAMESPACE_ID::Arena* arena,
231 bool is_message_owned = false);
232 public:
233
234 static const ClassData _class_data_;
235 const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
236
237 ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
238
239 // nested types ----------------------------------------------------
240
241 // accessors -------------------------------------------------------
242
243 enum : int {
254 };
255 // optional double az = 2 [(.dccl.field) = {
256 bool has_az() const;
257 private:
258 bool _internal_has_az() const;
259 public:
260 void clear_az();
261 double az() const;
262 void set_az(double value);
263 private:
264 double _internal_az() const;
265 void _internal_set_az(double value);
266 public:
267
268 // optional double el = 3 [(.dccl.field) = {
269 bool has_el() const;
270 private:
271 bool _internal_has_el() const;
272 public:
273 void clear_el();
274 double el() const;
275 void set_el(double value);
276 private:
277 double _internal_el() const;
278 void _internal_set_el(double value);
279 public:
280
281 // required int32 prn = 1;
282 bool has_prn() const;
283 private:
284 bool _internal_has_prn() const;
285 public:
286 void clear_prn();
287 int32_t prn() const;
288 void set_prn(int32_t value);
289 private:
290 int32_t _internal_prn() const;
291 void _internal_set_prn(int32_t value);
292 public:
293
294 // optional bool used = 5;
295 bool has_used() const;
296 private:
297 bool _internal_has_used() const;
298 public:
299 void clear_used();
300 bool used() const;
301 void set_used(bool value);
302 private:
303 bool _internal_used() const;
304 void _internal_set_used(bool value);
305 public:
306
307 // optional double ss = 4;
308 bool has_ss() const;
309 private:
310 bool _internal_has_ss() const;
311 public:
312 void clear_ss();
313 double ss() const;
314 void set_ss(double value);
315 private:
316 double _internal_ss() const;
317 void _internal_set_ss(double value);
318 public:
319
320 // optional int32 gnssid = 6;
321 bool has_gnssid() const;
322 private:
323 bool _internal_has_gnssid() const;
324 public:
325 void clear_gnssid();
326 int32_t gnssid() const;
327 void set_gnssid(int32_t value);
328 private:
329 int32_t _internal_gnssid() const;
330 void _internal_set_gnssid(int32_t value);
331 public:
332
333 // optional int32 svid = 7;
334 bool has_svid() const;
335 private:
336 bool _internal_has_svid() const;
337 public:
338 void clear_svid();
339 int32_t svid() const;
340 void set_svid(int32_t value);
341 private:
342 int32_t _internal_svid() const;
343 void _internal_set_svid(int32_t value);
344 public:
345
346 // optional int32 sigid = 8;
347 bool has_sigid() const;
348 private:
349 bool _internal_has_sigid() const;
350 public:
351 void clear_sigid();
352 int32_t sigid() const;
353 void set_sigid(int32_t value);
354 private:
355 int32_t _internal_sigid() const;
356 void _internal_set_sigid(int32_t value);
357 public:
358
359 // optional int32 freqid = 9;
360 bool has_freqid() const;
361 private:
362 bool _internal_has_freqid() const;
363 public:
364 void clear_freqid();
365 int32_t freqid() const;
366 void set_freqid(int32_t value);
367 private:
368 int32_t _internal_freqid() const;
369 void _internal_set_freqid(int32_t value);
370 public:
371
372 // optional int32 health = 10;
373 bool has_health() const;
374 private:
375 bool _internal_has_health() const;
376 public:
377 void clear_health();
378 int32_t health() const;
379 void set_health(int32_t value);
380 private:
381 int32_t _internal_health() const;
382 void _internal_set_health(int32_t value);
383 public:
384
385 typedef boost::units::plane_angle_dimension az_dimension;
386
387 typedef boost::units::unit<az_dimension,boost::units::degree::system> az_unit;
388
389 template<typename Quantity >
390 void set_az_with_units(Quantity value_w_units)
391 { set_az(boost::units::quantity<az_unit,double >(value_w_units).value() ); };
392
393 template<typename Quantity >
394 Quantity az_with_units() const
395 { return Quantity(az() * az_unit()); };
396
397 boost::units::quantity< az_unit,double > az_with_units() const
398 { return az_with_units<boost::units::quantity< az_unit,double > >(); };
399
400 typedef boost::units::plane_angle_dimension el_dimension;
401
402 typedef boost::units::unit<el_dimension,boost::units::degree::system> el_unit;
403
404 template<typename Quantity >
405 void set_el_with_units(Quantity value_w_units)
406 { set_el(boost::units::quantity<el_unit,double >(value_w_units).value() ); };
407
408 template<typename Quantity >
409 Quantity el_with_units() const
410 { return Quantity(el() * el_unit()); };
411
412 boost::units::quantity< el_unit,double > el_with_units() const
413 { return el_with_units<boost::units::quantity< el_unit,double > >(); };
414
415 // @@protoc_insertion_point(class_scope:goby.middleware.protobuf.gpsd.Satellite)
416 private:
417 class _Internal;
418
419 template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
420 typedef void InternalArenaConstructable_;
421 typedef void DestructorSkippable_;
422 struct Impl_ {
423 ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
424 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
425 double az_;
426 double el_;
427 int32_t prn_;
428 bool used_;
429 double ss_;
430 int32_t gnssid_;
431 int32_t svid_;
432 int32_t sigid_;
433 int32_t freqid_;
434 int32_t health_;
435 };
436 union { Impl_ _impl_; };
437 friend struct ::TableStruct_goby_2fmiddleware_2fprotobuf_2fgpsd_2eproto;
438};
439// -------------------------------------------------------------------
440
441class SkyView final :
442 public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:goby.middleware.protobuf.gpsd.SkyView) */ {
443 public:
444 inline SkyView() : SkyView(nullptr) {}
445 ~SkyView() override;
446 explicit PROTOBUF_CONSTEXPR SkyView(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
447
448 SkyView(const SkyView& from);
449 SkyView(SkyView&& from) noexcept
450 : SkyView() {
451 *this = ::std::move(from);
452 }
453
454 inline SkyView& operator=(const SkyView& from) {
455 CopyFrom(from);
456 return *this;
457 }
458 inline SkyView& operator=(SkyView&& from) noexcept {
459 if (this == &from) return *this;
460 if (GetOwningArena() == from.GetOwningArena()
461 #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
462 && GetOwningArena() != nullptr
463 #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
464 ) {
465 InternalSwap(&from);
466 } else {
467 CopyFrom(from);
468 }
469 return *this;
470 }
471
472 inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const {
473 return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance);
474 }
475 inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() {
476 return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
477 }
478
479 static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
480 return GetDescriptor();
481 }
482 static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
483 return default_instance().GetMetadata().descriptor;
484 }
485 static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
486 return default_instance().GetMetadata().reflection;
487 }
488 static const SkyView& default_instance() {
489 return *internal_default_instance();
490 }
491 static inline const SkyView* internal_default_instance() {
492 return reinterpret_cast<const SkyView*>(
494 }
495 static constexpr int kIndexInFileMessages =
496 1;
497
498 friend void swap(SkyView& a, SkyView& b) {
499 a.Swap(&b);
500 }
501 inline void Swap(SkyView* other) {
502 if (other == this) return;
503 #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
504 if (GetOwningArena() != nullptr &&
505 GetOwningArena() == other->GetOwningArena()) {
506 #else // PROTOBUF_FORCE_COPY_IN_SWAP
507 if (GetOwningArena() == other->GetOwningArena()) {
508 #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
509 InternalSwap(other);
510 } else {
511 ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
512 }
513 }
515 if (other == this) return;
516 GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
517 InternalSwap(other);
518 }
519
520 // implements Message ----------------------------------------------
521
522 SkyView* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
523 return CreateMaybeMessage<SkyView>(arena);
524 }
525 using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
526 void CopyFrom(const SkyView& from);
527 using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
528 void MergeFrom( const SkyView& from) {
529 SkyView::MergeImpl(*this, from);
530 }
531 private:
532 static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg);
533 public:
534 PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
535 bool IsInitialized() const final;
536
537 size_t ByteSizeLong() 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(); }
542
543 private:
544 void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned);
545 void SharedDtor();
546 void SetCachedSize(int size) const final;
547 void InternalSwap(SkyView* other);
548
549 private:
550 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
551 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
552 return "goby.middleware.protobuf.gpsd.SkyView";
553 }
554 protected:
555 explicit SkyView(::PROTOBUF_NAMESPACE_ID::Arena* arena,
556 bool is_message_owned = false);
557 public:
558
559 static const ClassData _class_data_;
560 const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
561
562 ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
563
564 // nested types ----------------------------------------------------
565
566 // accessors -------------------------------------------------------
567
568 enum : int {
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,
581 };
582 // repeated .goby.middleware.protobuf.gpsd.Satellite satellite = 12;
583 int satellite_size() const;
584 private:
585 int _internal_satellite_size() const;
586 public:
587 void clear_satellite();
588 ::goby::middleware::protobuf::gpsd::Satellite* mutable_satellite(int index);
589 ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::goby::middleware::protobuf::gpsd::Satellite >*
590 mutable_satellite();
591 private:
592 const ::goby::middleware::protobuf::gpsd::Satellite& _internal_satellite(int index) const;
593 ::goby::middleware::protobuf::gpsd::Satellite* _internal_add_satellite();
594 public:
595 const ::goby::middleware::protobuf::gpsd::Satellite& satellite(int index) const;
597 const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::goby::middleware::protobuf::gpsd::Satellite >&
598 satellite() const;
599
600 // optional string device = 1;
601 bool has_device() const;
602 private:
603 bool _internal_has_device() const;
604 public:
605 void clear_device();
606 const std::string& device() const;
607 template <typename ArgT0 = const std::string&, typename... ArgT>
608 void set_device(ArgT0&& arg0, ArgT... args);
609 std::string* mutable_device();
610 PROTOBUF_NODISCARD std::string* release_device();
611 void set_allocated_device(std::string* device);
612 private:
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();
616 public:
617
618 // optional double time = 2 [(.dccl.field) = {
619 bool has_time() const;
620 private:
621 bool _internal_has_time() const;
622 public:
623 void clear_time();
624 double time() const;
625 void set_time(double value);
626 private:
627 double _internal_time() const;
628 void _internal_set_time(double value);
629 public:
630
631 // optional double gdop = 3;
632 bool has_gdop() const;
633 private:
634 bool _internal_has_gdop() const;
635 public:
636 void clear_gdop();
637 double gdop() const;
638 void set_gdop(double value);
639 private:
640 double _internal_gdop() const;
641 void _internal_set_gdop(double value);
642 public:
643
644 // optional double hdop = 4;
645 bool has_hdop() const;
646 private:
647 bool _internal_has_hdop() const;
648 public:
649 void clear_hdop();
650 double hdop() const;
651 void set_hdop(double value);
652 private:
653 double _internal_hdop() const;
654 void _internal_set_hdop(double value);
655 public:
656
657 // optional double pdop = 5;
658 bool has_pdop() const;
659 private:
660 bool _internal_has_pdop() const;
661 public:
662 void clear_pdop();
663 double pdop() const;
664 void set_pdop(double value);
665 private:
666 double _internal_pdop() const;
667 void _internal_set_pdop(double value);
668 public:
669
670 // optional double tdop = 6;
671 bool has_tdop() const;
672 private:
673 bool _internal_has_tdop() const;
674 public:
675 void clear_tdop();
676 double tdop() const;
677 void set_tdop(double value);
678 private:
679 double _internal_tdop() const;
680 void _internal_set_tdop(double value);
681 public:
682
683 // optional double vdop = 7;
684 bool has_vdop() const;
685 private:
686 bool _internal_has_vdop() const;
687 public:
688 void clear_vdop();
689 double vdop() const;
690 void set_vdop(double value);
691 private:
692 double _internal_vdop() const;
693 void _internal_set_vdop(double value);
694 public:
695
696 // optional double xdop = 8;
697 bool has_xdop() const;
698 private:
699 bool _internal_has_xdop() const;
700 public:
701 void clear_xdop();
702 double xdop() const;
703 void set_xdop(double value);
704 private:
705 double _internal_xdop() const;
706 void _internal_set_xdop(double value);
707 public:
708
709 // optional double ydop = 9;
710 bool has_ydop() const;
711 private:
712 bool _internal_has_ydop() const;
713 public:
714 void clear_ydop();
715 double ydop() const;
716 void set_ydop(double value);
717 private:
718 double _internal_ydop() const;
719 void _internal_set_ydop(double value);
720 public:
721
722 // optional double nsat = 10;
723 bool has_nsat() const;
724 private:
725 bool _internal_has_nsat() const;
726 public:
727 void clear_nsat();
728 double nsat() const;
729 void set_nsat(double value);
730 private:
731 double _internal_nsat() const;
732 void _internal_set_nsat(double value);
733 public:
734
735 // optional double usat = 11;
736 bool has_usat() const;
737 private:
738 bool _internal_has_usat() const;
739 public:
740 void clear_usat();
741 double usat() const;
742 void set_usat(double value);
743 private:
744 double _internal_usat() const;
745 void _internal_set_usat(double value);
746 public:
747
748 typedef boost::units::time_dimension time_dimension;
749
750 typedef boost::units::unit<time_dimension,boost::units::si::system> time_unit;
751
752 template<typename Quantity >
753 void set_time_with_units(Quantity value_w_units)
754 { set_time(boost::units::quantity<time_unit,double >(value_w_units).value() ); };
755
756 template<typename Quantity >
757 Quantity time_with_units() const
758 { return Quantity(time() * time_unit()); };
759
760 boost::units::quantity< time_unit,double > time_with_units() const
761 { return time_with_units<boost::units::quantity< time_unit,double > >(); };
762
763 // @@protoc_insertion_point(class_scope:goby.middleware.protobuf.gpsd.SkyView)
764 private:
765 class _Internal;
766
767 template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
768 typedef void InternalArenaConstructable_;
769 typedef void DestructorSkippable_;
770 struct Impl_ {
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_;
775 double time_;
776 double gdop_;
777 double hdop_;
778 double pdop_;
779 double tdop_;
780 double vdop_;
781 double xdop_;
782 double ydop_;
783 double nsat_;
784 double usat_;
785 };
786 union { Impl_ _impl_; };
787 friend struct ::TableStruct_goby_2fmiddleware_2fprotobuf_2fgpsd_2eproto;
788};
789// -------------------------------------------------------------------
790
791class Attitude final :
792 public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:goby.middleware.protobuf.gpsd.Attitude) */ {
793 public:
794 inline Attitude() : Attitude(nullptr) {}
795 ~Attitude() override;
796 explicit PROTOBUF_CONSTEXPR Attitude(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
797
798 Attitude(const Attitude& from);
799 Attitude(Attitude&& from) noexcept
800 : Attitude() {
801 *this = ::std::move(from);
802 }
803
804 inline Attitude& operator=(const Attitude& from) {
805 CopyFrom(from);
806 return *this;
807 }
808 inline Attitude& operator=(Attitude&& from) noexcept {
809 if (this == &from) return *this;
810 if (GetOwningArena() == from.GetOwningArena()
811 #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
812 && GetOwningArena() != nullptr
813 #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
814 ) {
815 InternalSwap(&from);
816 } else {
817 CopyFrom(from);
818 }
819 return *this;
820 }
821
822 inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const {
823 return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance);
824 }
825 inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() {
826 return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
827 }
828
829 static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
830 return GetDescriptor();
831 }
832 static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
833 return default_instance().GetMetadata().descriptor;
834 }
835 static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
836 return default_instance().GetMetadata().reflection;
837 }
838 static const Attitude& default_instance() {
839 return *internal_default_instance();
840 }
841 static inline const Attitude* internal_default_instance() {
842 return reinterpret_cast<const Attitude*>(
844 }
845 static constexpr int kIndexInFileMessages =
846 2;
847
848 friend void swap(Attitude& a, Attitude& b) {
849 a.Swap(&b);
850 }
851 inline void Swap(Attitude* other) {
852 if (other == this) return;
853 #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
854 if (GetOwningArena() != nullptr &&
855 GetOwningArena() == other->GetOwningArena()) {
856 #else // PROTOBUF_FORCE_COPY_IN_SWAP
857 if (GetOwningArena() == other->GetOwningArena()) {
858 #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
859 InternalSwap(other);
860 } else {
861 ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
862 }
863 }
865 if (other == this) return;
866 GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
867 InternalSwap(other);
868 }
869
870 // implements Message ----------------------------------------------
871
872 Attitude* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
873 return CreateMaybeMessage<Attitude>(arena);
874 }
875 using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
876 void CopyFrom(const Attitude& from);
877 using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
878 void MergeFrom( const Attitude& from) {
879 Attitude::MergeImpl(*this, from);
880 }
881 private:
882 static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg);
883 public:
884 PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
885 bool IsInitialized() const final;
886
887 size_t ByteSizeLong() 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(); }
892
893 private:
894 void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned);
895 void SharedDtor();
896 void SetCachedSize(int size) const final;
897 void InternalSwap(Attitude* other);
898
899 private:
900 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
901 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
902 return "goby.middleware.protobuf.gpsd.Attitude";
903 }
904 protected:
905 explicit Attitude(::PROTOBUF_NAMESPACE_ID::Arena* arena,
906 bool is_message_owned = false);
907 public:
908
909 static const ClassData _class_data_;
910 const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
911
912 ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
913
914 // nested types ----------------------------------------------------
915
916 // accessors -------------------------------------------------------
917
918 enum : int {
919 kDeviceFieldNumber = 1,
920 kTimeFieldNumber = 2,
921 kHeadingFieldNumber = 3,
922 kPitchFieldNumber = 4,
923 kYawFieldNumber = 5,
924 kRollFieldNumber = 6,
925 };
926 // optional string device = 1;
927 bool has_device() const;
928 private:
929 bool _internal_has_device() const;
930 public:
931 void clear_device();
932 const std::string& device() const;
933 template <typename ArgT0 = const std::string&, typename... ArgT>
934 void set_device(ArgT0&& arg0, ArgT... args);
935 std::string* mutable_device();
936 PROTOBUF_NODISCARD std::string* release_device();
937 void set_allocated_device(std::string* device);
938 private:
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();
942 public:
943
944 // optional double time = 2 [(.dccl.field) = {
945 bool has_time() const;
946 private:
947 bool _internal_has_time() const;
948 public:
949 void clear_time();
950 double time() const;
951 void set_time(double value);
952 private:
953 double _internal_time() const;
954 void _internal_set_time(double value);
955 public:
956
957 // optional double heading = 3 [(.dccl.field) = {
958 bool has_heading() const;
959 private:
960 bool _internal_has_heading() const;
961 public:
962 void clear_heading();
963 double heading() const;
964 void set_heading(double value);
965 private:
966 double _internal_heading() const;
967 void _internal_set_heading(double value);
968 public:
969
970 // optional double pitch = 4 [(.dccl.field) = {
971 bool has_pitch() const;
972 private:
973 bool _internal_has_pitch() const;
974 public:
975 void clear_pitch();
976 double pitch() const;
977 void set_pitch(double value);
978 private:
979 double _internal_pitch() const;
980 void _internal_set_pitch(double value);
981 public:
982
983 // optional double yaw = 5 [(.dccl.field) = {
984 bool has_yaw() const;
985 private:
986 bool _internal_has_yaw() const;
987 public:
988 void clear_yaw();
989 double yaw() const;
990 void set_yaw(double value);
991 private:
992 double _internal_yaw() const;
993 void _internal_set_yaw(double value);
994 public:
995
996 // optional double roll = 6 [(.dccl.field) = {
997 bool has_roll() const;
998 private:
999 bool _internal_has_roll() const;
1000 public:
1001 void clear_roll();
1002 double roll() const;
1003 void set_roll(double value);
1004 private:
1005 double _internal_roll() const;
1006 void _internal_set_roll(double value);
1007 public:
1008
1009 typedef boost::units::time_dimension time_dimension;
1010
1011 typedef boost::units::unit<time_dimension,boost::units::si::system> time_unit;
1012
1013 template<typename Quantity >
1014 void set_time_with_units(Quantity value_w_units)
1015 { set_time(boost::units::quantity<time_unit,double >(value_w_units).value() ); };
1016
1017 template<typename Quantity >
1018 Quantity time_with_units() const
1019 { return Quantity(time() * time_unit()); };
1020
1021 boost::units::quantity< time_unit,double > time_with_units() const
1022 { return time_with_units<boost::units::quantity< time_unit,double > >(); };
1023
1024 typedef boost::units::plane_angle_dimension heading_dimension;
1025
1026 typedef boost::units::unit<heading_dimension,boost::units::degree::system> heading_unit;
1027
1028 template<typename Quantity >
1029 void set_heading_with_units(Quantity value_w_units)
1030 { set_heading(boost::units::quantity<heading_unit,double >(value_w_units).value() ); };
1031
1032 template<typename Quantity >
1033 Quantity heading_with_units() const
1034 { return Quantity(heading() * heading_unit()); };
1035
1036 boost::units::quantity< heading_unit,double > heading_with_units() const
1037 { return heading_with_units<boost::units::quantity< heading_unit,double > >(); };
1038
1039 typedef boost::units::plane_angle_dimension pitch_dimension;
1040
1041 typedef boost::units::unit<pitch_dimension,boost::units::degree::system> pitch_unit;
1042
1043 template<typename Quantity >
1044 void set_pitch_with_units(Quantity value_w_units)
1045 { set_pitch(boost::units::quantity<pitch_unit,double >(value_w_units).value() ); };
1046
1047 template<typename Quantity >
1048 Quantity pitch_with_units() const
1049 { return Quantity(pitch() * pitch_unit()); };
1050
1051 boost::units::quantity< pitch_unit,double > pitch_with_units() const
1052 { return pitch_with_units<boost::units::quantity< pitch_unit,double > >(); };
1053
1054 typedef boost::units::plane_angle_dimension yaw_dimension;
1055
1056 typedef boost::units::unit<yaw_dimension,boost::units::degree::system> yaw_unit;
1057
1058 template<typename Quantity >
1059 void set_yaw_with_units(Quantity value_w_units)
1060 { set_yaw(boost::units::quantity<yaw_unit,double >(value_w_units).value() ); };
1061
1062 template<typename Quantity >
1063 Quantity yaw_with_units() const
1064 { return Quantity(yaw() * yaw_unit()); };
1065
1066 boost::units::quantity< yaw_unit,double > yaw_with_units() const
1067 { return yaw_with_units<boost::units::quantity< yaw_unit,double > >(); };
1068
1069 typedef boost::units::plane_angle_dimension roll_dimension;
1070
1071 typedef boost::units::unit<roll_dimension,boost::units::degree::system> roll_unit;
1072
1073 template<typename Quantity >
1074 void set_roll_with_units(Quantity value_w_units)
1075 { set_roll(boost::units::quantity<roll_unit,double >(value_w_units).value() ); };
1076
1077 template<typename Quantity >
1078 Quantity roll_with_units() const
1079 { return Quantity(roll() * roll_unit()); };
1080
1081 boost::units::quantity< roll_unit,double > roll_with_units() const
1082 { return roll_with_units<boost::units::quantity< roll_unit,double > >(); };
1083
1084 // @@protoc_insertion_point(class_scope:goby.middleware.protobuf.gpsd.Attitude)
1085 private:
1086 class _Internal;
1087
1088 template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
1089 typedef void InternalArenaConstructable_;
1090 typedef void DestructorSkippable_;
1091 struct Impl_ {
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_;
1095 double time_;
1096 double heading_;
1097 double pitch_;
1098 double yaw_;
1099 double roll_;
1100 };
1101 union { Impl_ _impl_; };
1102 friend struct ::TableStruct_goby_2fmiddleware_2fprotobuf_2fgpsd_2eproto;
1103};
1104// -------------------------------------------------------------------
1105
1107 public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:goby.middleware.protobuf.gpsd.TimePositionVelocity) */ {
1108 public:
1111 explicit PROTOBUF_CONSTEXPR TimePositionVelocity(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
1112
1116 *this = ::std::move(from);
1117 }
1118
1120 CopyFrom(from);
1121 return *this;
1122 }
1124 if (this == &from) return *this;
1125 if (GetOwningArena() == from.GetOwningArena()
1126 #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
1127 && GetOwningArena() != nullptr
1128 #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
1129 ) {
1130 InternalSwap(&from);
1131 } else {
1132 CopyFrom(from);
1133 }
1134 return *this;
1135 }
1136
1137 inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const {
1138 return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance);
1139 }
1140 inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() {
1141 return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
1142 }
1143
1144 static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
1145 return GetDescriptor();
1146 }
1147 static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
1148 return default_instance().GetMetadata().descriptor;
1149 }
1150 static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
1151 return default_instance().GetMetadata().reflection;
1152 }
1154 return *internal_default_instance();
1155 }
1157 return reinterpret_cast<const TimePositionVelocity*>(
1159 }
1160 static constexpr int kIndexInFileMessages =
1161 3;
1162
1164 a.Swap(&b);
1165 }
1166 inline void Swap(TimePositionVelocity* other) {
1167 if (other == this) return;
1168 #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
1169 if (GetOwningArena() != nullptr &&
1170 GetOwningArena() == other->GetOwningArena()) {
1171 #else // PROTOBUF_FORCE_COPY_IN_SWAP
1172 if (GetOwningArena() == other->GetOwningArena()) {
1173 #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
1174 InternalSwap(other);
1175 } else {
1176 ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
1177 }
1178 }
1180 if (other == this) return;
1181 GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
1182 InternalSwap(other);
1183 }
1184
1185 // implements Message ----------------------------------------------
1186
1187 TimePositionVelocity* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
1188 return CreateMaybeMessage<TimePositionVelocity>(arena);
1189 }
1190 using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
1192 using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
1193 void MergeFrom( const TimePositionVelocity& from) {
1194 TimePositionVelocity::MergeImpl(*this, from);
1195 }
1196 private:
1197 static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg);
1198 public:
1199 PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
1200 bool IsInitialized() const final;
1201
1202 size_t ByteSizeLong() 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(); }
1207
1208 private:
1209 void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned);
1210 void SharedDtor();
1211 void SetCachedSize(int size) const final;
1212 void InternalSwap(TimePositionVelocity* other);
1213
1214 private:
1215 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
1216 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
1217 return "goby.middleware.protobuf.gpsd.TimePositionVelocity";
1218 }
1219 protected:
1220 explicit TimePositionVelocity(::PROTOBUF_NAMESPACE_ID::Arena* arena,
1221 bool is_message_owned = false);
1222 public:
1223
1224 static const ClassData _class_data_;
1225 const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
1226
1227 ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
1228
1229 // nested types ----------------------------------------------------
1230
1232 static constexpr Mode ModeNotSeen =
1233 TimePositionVelocity_Mode_ModeNotSeen;
1234 static constexpr Mode ModeNoFix =
1235 TimePositionVelocity_Mode_ModeNoFix;
1236 static constexpr Mode Mode2D =
1237 TimePositionVelocity_Mode_Mode2D;
1238 static constexpr Mode Mode3D =
1239 TimePositionVelocity_Mode_Mode3D;
1240 static inline bool Mode_IsValid(int value) {
1242 }
1243 static constexpr Mode Mode_MIN =
1245 static constexpr Mode Mode_MAX =
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.");
1258 return TimePositionVelocity_Mode_Name(enum_t_value);
1259 }
1260 static inline bool Mode_Parse(::PROTOBUF_NAMESPACE_ID::ConstStringParam name,
1261 Mode* value) {
1262 return TimePositionVelocity_Mode_Parse(name, value);
1263 }
1264
1265 // accessors -------------------------------------------------------
1266
1267 enum : int {
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,
1283 };
1284 // optional string device = 1;
1285 bool has_device() const;
1286 private:
1287 bool _internal_has_device() const;
1288 public:
1289 void clear_device();
1290 const std::string& device() const;
1291 template <typename ArgT0 = const std::string&, typename... ArgT>
1292 void set_device(ArgT0&& arg0, ArgT... args);
1293 std::string* mutable_device();
1294 PROTOBUF_NODISCARD std::string* release_device();
1295 void set_allocated_device(std::string* device);
1296 private:
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();
1300 public:
1301
1302 // optional .goby.middleware.protobuf.LatLonPoint location = 4;
1303 bool has_location() const;
1304 private:
1305 bool _internal_has_location() const;
1306 public:
1308 const ::goby::middleware::protobuf::LatLonPoint& location() const;
1309 PROTOBUF_NODISCARD ::goby::middleware::protobuf::LatLonPoint* release_location();
1311 void set_allocated_location(::goby::middleware::protobuf::LatLonPoint* location);
1312 private:
1313 const ::goby::middleware::protobuf::LatLonPoint& _internal_location() const;
1314 ::goby::middleware::protobuf::LatLonPoint* _internal_mutable_location();
1315 public:
1316 void unsafe_arena_set_allocated_location(
1318 ::goby::middleware::protobuf::LatLonPoint* unsafe_arena_release_location();
1319
1320 // optional double time = 2 [(.dccl.field) = {
1321 bool has_time() const;
1322 private:
1323 bool _internal_has_time() const;
1324 public:
1325 void clear_time();
1326 double time() const;
1327 void set_time(double value);
1328 private:
1329 double _internal_time() const;
1330 void _internal_set_time(double value);
1331 public:
1332
1333 // optional double altitude = 5 [(.dccl.field) = {
1334 bool has_altitude() const;
1335 private:
1336 bool _internal_has_altitude() const;
1337 public:
1338 void clear_altitude();
1339 double altitude() const;
1340 void set_altitude(double value);
1341 private:
1342 double _internal_altitude() const;
1343 void _internal_set_altitude(double value);
1344 public:
1345
1346 // optional double track = 6 [(.dccl.field) = {
1347 bool has_track() const;
1348 private:
1349 bool _internal_has_track() const;
1350 public:
1351 void clear_track();
1352 double track() const;
1353 void set_track(double value);
1354 private:
1355 double _internal_track() const;
1356 void _internal_set_track(double value);
1357 public:
1358
1359 // optional double speed = 7 [(.dccl.field) = {
1360 bool has_speed() const;
1361 private:
1362 bool _internal_has_speed() const;
1363 public:
1364 void clear_speed();
1365 double speed() const;
1366 void set_speed(double value);
1367 private:
1368 double _internal_speed() const;
1369 void _internal_set_speed(double value);
1370 public:
1371
1372 // optional double climb = 8 [(.dccl.field) = {
1373 bool has_climb() const;
1374 private:
1375 bool _internal_has_climb() const;
1376 public:
1377 void clear_climb();
1378 double climb() const;
1379 void set_climb(double value);
1380 private:
1381 double _internal_climb() const;
1382 void _internal_set_climb(double value);
1383 public:
1384
1385 // optional double epc = 10 [(.dccl.field) = {
1386 bool has_epc() const;
1387 private:
1388 bool _internal_has_epc() const;
1389 public:
1390 void clear_epc();
1391 double epc() const;
1392 void set_epc(double value);
1393 private:
1394 double _internal_epc() const;
1395 void _internal_set_epc(double value);
1396 public:
1397
1398 // optional double epd = 11 [(.dccl.field) = {
1399 bool has_epd() const;
1400 private:
1401 bool _internal_has_epd() const;
1402 public:
1403 void clear_epd();
1404 double epd() const;
1405 void set_epd(double value);
1406 private:
1407 double _internal_epd() const;
1408 void _internal_set_epd(double value);
1409 public:
1410
1411 // optional double eps = 12 [(.dccl.field) = {
1412 bool has_eps() const;
1413 private:
1414 bool _internal_has_eps() const;
1415 public:
1416 void clear_eps();
1417 double eps() const;
1418 void set_eps(double value);
1419 private:
1420 double _internal_eps() const;
1421 void _internal_set_eps(double value);
1422 public:
1423
1424 // optional double ept = 13 [(.dccl.field) = {
1425 bool has_ept() const;
1426 private:
1427 bool _internal_has_ept() const;
1428 public:
1429 void clear_ept();
1430 double ept() const;
1431 void set_ept(double value);
1432 private:
1433 double _internal_ept() const;
1434 void _internal_set_ept(double value);
1435 public:
1436
1437 // optional double epv = 14 [(.dccl.field) = {
1438 bool has_epv() const;
1439 private:
1440 bool _internal_has_epv() const;
1441 public:
1442 void clear_epv();
1443 double epv() const;
1444 void set_epv(double value);
1445 private:
1446 double _internal_epv() const;
1447 void _internal_set_epv(double value);
1448 public:
1449
1450 // optional double epx = 15 [(.dccl.field) = {
1451 bool has_epx() const;
1452 private:
1453 bool _internal_has_epx() const;
1454 public:
1455 void clear_epx();
1456 double epx() const;
1457 void set_epx(double value);
1458 private:
1459 double _internal_epx() const;
1460 void _internal_set_epx(double value);
1461 public:
1462
1463 // optional double epy = 16 [(.dccl.field) = {
1464 bool has_epy() const;
1465 private:
1466 bool _internal_has_epy() const;
1467 public:
1468 void clear_epy();
1469 double epy() const;
1470 void set_epy(double value);
1471 private:
1472 double _internal_epy() const;
1473 void _internal_set_epy(double value);
1474 public:
1475
1476 // optional .goby.middleware.protobuf.gpsd.TimePositionVelocity.Mode mode = 3;
1477 bool has_mode() const;
1478 private:
1479 bool _internal_has_mode() const;
1480 public:
1481 void clear_mode();
1484 private:
1487 public:
1488
1489 typedef boost::units::time_dimension time_dimension;
1490
1491 typedef boost::units::unit<time_dimension,boost::units::si::system> time_unit;
1492
1493 template<typename Quantity >
1494 void set_time_with_units(Quantity value_w_units)
1495 { set_time(boost::units::quantity<time_unit,double >(value_w_units).value() ); };
1496
1497 template<typename Quantity >
1498 Quantity time_with_units() const
1499 { return Quantity(time() * time_unit()); };
1500
1501 boost::units::quantity< time_unit,double > time_with_units() const
1502 { return time_with_units<boost::units::quantity< time_unit,double > >(); };
1503
1504 typedef boost::units::length_dimension altitude_dimension;
1505
1506 typedef boost::units::unit<altitude_dimension,boost::units::si::system> altitude_unit;
1507
1508 template<typename Quantity >
1509 void set_altitude_with_units(Quantity value_w_units)
1510 { set_altitude(boost::units::quantity<altitude_unit,double >(value_w_units).value() ); };
1511
1512 template<typename Quantity >
1513 Quantity altitude_with_units() const
1514 { return Quantity(altitude() * altitude_unit()); };
1515
1516 boost::units::quantity< altitude_unit,double > altitude_with_units() const
1517 { return altitude_with_units<boost::units::quantity< altitude_unit,double > >(); };
1518
1519 typedef boost::units::plane_angle_dimension track_dimension;
1520
1521 typedef boost::units::unit<track_dimension,boost::units::degree::system> track_unit;
1522
1523 template<typename Quantity >
1524 void set_track_with_units(Quantity value_w_units)
1525 { set_track(boost::units::quantity<track_unit,double >(value_w_units).value() ); };
1526
1527 template<typename Quantity >
1528 Quantity track_with_units() const
1529 { return Quantity(track() * track_unit()); };
1530
1531 boost::units::quantity< track_unit,double > track_with_units() const
1532 { return track_with_units<boost::units::quantity< track_unit,double > >(); };
1533
1534 typedef boost::mpl::divides<boost::units::length_dimension,boost::units::time_dimension>::type speed_dimension;
1535
1536 typedef boost::units::unit<speed_dimension,boost::units::si::system> speed_unit;
1537
1538 template<typename Quantity >
1539 void set_speed_with_units(Quantity value_w_units)
1540 { set_speed(boost::units::quantity<speed_unit,double >(value_w_units).value() ); };
1541
1542 template<typename Quantity >
1543 Quantity speed_with_units() const
1544 { return Quantity(speed() * speed_unit()); };
1545
1546 boost::units::quantity< speed_unit,double > speed_with_units() const
1547 { return speed_with_units<boost::units::quantity< speed_unit,double > >(); };
1548
1549 typedef boost::mpl::divides<boost::units::length_dimension,boost::units::time_dimension>::type climb_dimension;
1550
1551 typedef boost::units::unit<climb_dimension,boost::units::si::system> climb_unit;
1552
1553 template<typename Quantity >
1554 void set_climb_with_units(Quantity value_w_units)
1555 { set_climb(boost::units::quantity<climb_unit,double >(value_w_units).value() ); };
1556
1557 template<typename Quantity >
1558 Quantity climb_with_units() const
1559 { return Quantity(climb() * climb_unit()); };
1560
1561 boost::units::quantity< climb_unit,double > climb_with_units() const
1562 { return climb_with_units<boost::units::quantity< climb_unit,double > >(); };
1563
1564 typedef boost::mpl::divides<boost::units::length_dimension,boost::units::time_dimension>::type epc_dimension;
1565
1566 typedef boost::units::unit<epc_dimension,boost::units::si::system> epc_unit;
1567
1568 template<typename Quantity >
1569 void set_epc_with_units(Quantity value_w_units)
1570 { set_epc(boost::units::quantity<epc_unit,double >(value_w_units).value() ); };
1571
1572 template<typename Quantity >
1573 Quantity epc_with_units() const
1574 { return Quantity(epc() * epc_unit()); };
1575
1576 boost::units::quantity< epc_unit,double > epc_with_units() const
1577 { return epc_with_units<boost::units::quantity< epc_unit,double > >(); };
1578
1579 typedef boost::units::plane_angle_dimension epd_dimension;
1580
1581 typedef boost::units::unit<epd_dimension,boost::units::degree::system> epd_unit;
1582
1583 template<typename Quantity >
1584 void set_epd_with_units(Quantity value_w_units)
1585 { set_epd(boost::units::quantity<epd_unit,double >(value_w_units).value() ); };
1586
1587 template<typename Quantity >
1588 Quantity epd_with_units() const
1589 { return Quantity(epd() * epd_unit()); };
1590
1591 boost::units::quantity< epd_unit,double > epd_with_units() const
1592 { return epd_with_units<boost::units::quantity< epd_unit,double > >(); };
1593
1594 typedef boost::mpl::divides<boost::units::length_dimension,boost::units::time_dimension>::type eps_dimension;
1595
1596 typedef boost::units::unit<eps_dimension,boost::units::si::system> eps_unit;
1597
1598 template<typename Quantity >
1599 void set_eps_with_units(Quantity value_w_units)
1600 { set_eps(boost::units::quantity<eps_unit,double >(value_w_units).value() ); };
1601
1602 template<typename Quantity >
1603 Quantity eps_with_units() const
1604 { return Quantity(eps() * eps_unit()); };
1605
1606 boost::units::quantity< eps_unit,double > eps_with_units() const
1607 { return eps_with_units<boost::units::quantity< eps_unit,double > >(); };
1608
1609 typedef boost::units::time_dimension ept_dimension;
1610
1611 typedef boost::units::unit<ept_dimension,boost::units::si::system> ept_unit;
1612
1613 template<typename Quantity >
1614 void set_ept_with_units(Quantity value_w_units)
1615 { set_ept(boost::units::quantity<ept_unit,double >(value_w_units).value() ); };
1616
1617 template<typename Quantity >
1618 Quantity ept_with_units() const
1619 { return Quantity(ept() * ept_unit()); };
1620
1621 boost::units::quantity< ept_unit,double > ept_with_units() const
1622 { return ept_with_units<boost::units::quantity< ept_unit,double > >(); };
1623
1624 typedef boost::units::length_dimension epv_dimension;
1625
1626 typedef boost::units::unit<epv_dimension,boost::units::si::system> epv_unit;
1627
1628 template<typename Quantity >
1629 void set_epv_with_units(Quantity value_w_units)
1630 { set_epv(boost::units::quantity<epv_unit,double >(value_w_units).value() ); };
1631
1632 template<typename Quantity >
1633 Quantity epv_with_units() const
1634 { return Quantity(epv() * epv_unit()); };
1635
1636 boost::units::quantity< epv_unit,double > epv_with_units() const
1637 { return epv_with_units<boost::units::quantity< epv_unit,double > >(); };
1638
1639 typedef boost::units::length_dimension epx_dimension;
1640
1641 typedef boost::units::unit<epx_dimension,boost::units::si::system> epx_unit;
1642
1643 template<typename Quantity >
1644 void set_epx_with_units(Quantity value_w_units)
1645 { set_epx(boost::units::quantity<epx_unit,double >(value_w_units).value() ); };
1646
1647 template<typename Quantity >
1648 Quantity epx_with_units() const
1649 { return Quantity(epx() * epx_unit()); };
1650
1651 boost::units::quantity< epx_unit,double > epx_with_units() const
1652 { return epx_with_units<boost::units::quantity< epx_unit,double > >(); };
1653
1654 typedef boost::units::length_dimension epy_dimension;
1655
1656 typedef boost::units::unit<epy_dimension,boost::units::si::system> epy_unit;
1657
1658 template<typename Quantity >
1659 void set_epy_with_units(Quantity value_w_units)
1660 { set_epy(boost::units::quantity<epy_unit,double >(value_w_units).value() ); };
1661
1662 template<typename Quantity >
1663 Quantity epy_with_units() const
1664 { return Quantity(epy() * epy_unit()); };
1665
1666 boost::units::quantity< epy_unit,double > epy_with_units() const
1667 { return epy_with_units<boost::units::quantity< epy_unit,double > >(); };
1668
1669 // @@protoc_insertion_point(class_scope:goby.middleware.protobuf.gpsd.TimePositionVelocity)
1670 private:
1671 class _Internal;
1672
1673 template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
1674 typedef void InternalArenaConstructable_;
1675 typedef void DestructorSkippable_;
1676 struct Impl_ {
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_;
1681 double time_;
1682 double altitude_;
1683 double track_;
1684 double speed_;
1685 double climb_;
1686 double epc_;
1687 double epd_;
1688 double eps_;
1689 double ept_;
1690 double epv_;
1691 double epx_;
1692 double epy_;
1693 int mode_;
1694 };
1695 union { Impl_ _impl_; };
1696 friend struct ::TableStruct_goby_2fmiddleware_2fprotobuf_2fgpsd_2eproto;
1697};
1698// ===================================================================
1699
1700
1701// ===================================================================
1702
1703#ifdef __GNUC__
1704 #pragma GCC diagnostic push
1705 #pragma GCC diagnostic ignored "-Wstrict-aliasing"
1706#endif // __GNUC__
1707// Satellite
1708
1709// required int32 prn = 1;
1710inline bool Satellite::_internal_has_prn() const {
1711 bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0;
1712 return value;
1713}
1714inline bool Satellite::has_prn() const {
1715 return _internal_has_prn();
1716}
1717inline void Satellite::clear_prn() {
1718 _impl_.prn_ = 0;
1719 _impl_._has_bits_[0] &= ~0x00000004u;
1720}
1721inline int32_t Satellite::_internal_prn() const {
1722 return _impl_.prn_;
1723}
1724inline int32_t Satellite::prn() const {
1725 // @@protoc_insertion_point(field_get:goby.middleware.protobuf.gpsd.Satellite.prn)
1726 return _internal_prn();
1727}
1728inline void Satellite::_internal_set_prn(int32_t value) {
1729 _impl_._has_bits_[0] |= 0x00000004u;
1730 _impl_.prn_ = value;
1731}
1732inline void Satellite::set_prn(int32_t value) {
1733 _internal_set_prn(value);
1734 // @@protoc_insertion_point(field_set:goby.middleware.protobuf.gpsd.Satellite.prn)
1735}
1736
1737// optional double az = 2 [(.dccl.field) = {
1738inline bool Satellite::_internal_has_az() const {
1739 bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0;
1740 return value;
1741}
1742inline bool Satellite::has_az() const {
1743 return _internal_has_az();
1744}
1745inline void Satellite::clear_az() {
1746 _impl_.az_ = 0;
1747 _impl_._has_bits_[0] &= ~0x00000001u;
1748}
1749inline double Satellite::_internal_az() const {
1750 return _impl_.az_;
1751}
1752inline double Satellite::az() const {
1753 // @@protoc_insertion_point(field_get:goby.middleware.protobuf.gpsd.Satellite.az)
1754 return _internal_az();
1755}
1756inline void Satellite::_internal_set_az(double value) {
1757 _impl_._has_bits_[0] |= 0x00000001u;
1758 _impl_.az_ = value;
1759}
1760inline void Satellite::set_az(double value) {
1761 _internal_set_az(value);
1762 // @@protoc_insertion_point(field_set:goby.middleware.protobuf.gpsd.Satellite.az)
1763}
1764
1765// optional double el = 3 [(.dccl.field) = {
1766inline bool Satellite::_internal_has_el() const {
1767 bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0;
1768 return value;
1769}
1770inline bool Satellite::has_el() const {
1771 return _internal_has_el();
1772}
1773inline void Satellite::clear_el() {
1774 _impl_.el_ = 0;
1775 _impl_._has_bits_[0] &= ~0x00000002u;
1776}
1777inline double Satellite::_internal_el() const {
1778 return _impl_.el_;
1779}
1780inline double Satellite::el() const {
1781 // @@protoc_insertion_point(field_get:goby.middleware.protobuf.gpsd.Satellite.el)
1782 return _internal_el();
1783}
1784inline void Satellite::_internal_set_el(double value) {
1785 _impl_._has_bits_[0] |= 0x00000002u;
1786 _impl_.el_ = value;
1787}
1788inline void Satellite::set_el(double value) {
1789 _internal_set_el(value);
1790 // @@protoc_insertion_point(field_set:goby.middleware.protobuf.gpsd.Satellite.el)
1791}
1792
1793// optional double ss = 4;
1794inline bool Satellite::_internal_has_ss() const {
1795 bool value = (_impl_._has_bits_[0] & 0x00000010u) != 0;
1796 return value;
1797}
1798inline bool Satellite::has_ss() const {
1799 return _internal_has_ss();
1800}
1801inline void Satellite::clear_ss() {
1802 _impl_.ss_ = 0;
1803 _impl_._has_bits_[0] &= ~0x00000010u;
1804}
1805inline double Satellite::_internal_ss() const {
1806 return _impl_.ss_;
1807}
1808inline double Satellite::ss() const {
1809 // @@protoc_insertion_point(field_get:goby.middleware.protobuf.gpsd.Satellite.ss)
1810 return _internal_ss();
1811}
1812inline void Satellite::_internal_set_ss(double value) {
1813 _impl_._has_bits_[0] |= 0x00000010u;
1814 _impl_.ss_ = value;
1815}
1816inline void Satellite::set_ss(double value) {
1817 _internal_set_ss(value);
1818 // @@protoc_insertion_point(field_set:goby.middleware.protobuf.gpsd.Satellite.ss)
1819}
1820
1821// optional bool used = 5;
1822inline bool Satellite::_internal_has_used() const {
1823 bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0;
1824 return value;
1825}
1826inline bool Satellite::has_used() const {
1827 return _internal_has_used();
1828}
1829inline void Satellite::clear_used() {
1830 _impl_.used_ = false;
1831 _impl_._has_bits_[0] &= ~0x00000008u;
1832}
1833inline bool Satellite::_internal_used() const {
1834 return _impl_.used_;
1835}
1836inline bool Satellite::used() const {
1837 // @@protoc_insertion_point(field_get:goby.middleware.protobuf.gpsd.Satellite.used)
1838 return _internal_used();
1839}
1840inline void Satellite::_internal_set_used(bool value) {
1841 _impl_._has_bits_[0] |= 0x00000008u;
1842 _impl_.used_ = value;
1843}
1844inline void Satellite::set_used(bool value) {
1845 _internal_set_used(value);
1846 // @@protoc_insertion_point(field_set:goby.middleware.protobuf.gpsd.Satellite.used)
1847}
1848
1849// optional int32 gnssid = 6;
1850inline bool Satellite::_internal_has_gnssid() const {
1851 bool value = (_impl_._has_bits_[0] & 0x00000020u) != 0;
1852 return value;
1853}
1854inline bool Satellite::has_gnssid() const {
1855 return _internal_has_gnssid();
1856}
1857inline void Satellite::clear_gnssid() {
1858 _impl_.gnssid_ = 0;
1859 _impl_._has_bits_[0] &= ~0x00000020u;
1860}
1861inline int32_t Satellite::_internal_gnssid() const {
1862 return _impl_.gnssid_;
1863}
1864inline int32_t Satellite::gnssid() const {
1865 // @@protoc_insertion_point(field_get:goby.middleware.protobuf.gpsd.Satellite.gnssid)
1866 return _internal_gnssid();
1867}
1868inline void Satellite::_internal_set_gnssid(int32_t value) {
1869 _impl_._has_bits_[0] |= 0x00000020u;
1870 _impl_.gnssid_ = value;
1871}
1872inline void Satellite::set_gnssid(int32_t value) {
1873 _internal_set_gnssid(value);
1874 // @@protoc_insertion_point(field_set:goby.middleware.protobuf.gpsd.Satellite.gnssid)
1875}
1876
1877// optional int32 svid = 7;
1878inline bool Satellite::_internal_has_svid() const {
1879 bool value = (_impl_._has_bits_[0] & 0x00000040u) != 0;
1880 return value;
1881}
1882inline bool Satellite::has_svid() const {
1883 return _internal_has_svid();
1884}
1885inline void Satellite::clear_svid() {
1886 _impl_.svid_ = 0;
1887 _impl_._has_bits_[0] &= ~0x00000040u;
1888}
1889inline int32_t Satellite::_internal_svid() const {
1890 return _impl_.svid_;
1891}
1892inline int32_t Satellite::svid() const {
1893 // @@protoc_insertion_point(field_get:goby.middleware.protobuf.gpsd.Satellite.svid)
1894 return _internal_svid();
1895}
1896inline void Satellite::_internal_set_svid(int32_t value) {
1897 _impl_._has_bits_[0] |= 0x00000040u;
1898 _impl_.svid_ = value;
1899}
1900inline void Satellite::set_svid(int32_t value) {
1901 _internal_set_svid(value);
1902 // @@protoc_insertion_point(field_set:goby.middleware.protobuf.gpsd.Satellite.svid)
1903}
1904
1905// optional int32 sigid = 8;
1906inline bool Satellite::_internal_has_sigid() const {
1907 bool value = (_impl_._has_bits_[0] & 0x00000080u) != 0;
1908 return value;
1909}
1910inline bool Satellite::has_sigid() const {
1911 return _internal_has_sigid();
1912}
1913inline void Satellite::clear_sigid() {
1914 _impl_.sigid_ = 0;
1915 _impl_._has_bits_[0] &= ~0x00000080u;
1916}
1917inline int32_t Satellite::_internal_sigid() const {
1918 return _impl_.sigid_;
1919}
1920inline int32_t Satellite::sigid() const {
1921 // @@protoc_insertion_point(field_get:goby.middleware.protobuf.gpsd.Satellite.sigid)
1922 return _internal_sigid();
1923}
1924inline void Satellite::_internal_set_sigid(int32_t value) {
1925 _impl_._has_bits_[0] |= 0x00000080u;
1926 _impl_.sigid_ = value;
1927}
1928inline void Satellite::set_sigid(int32_t value) {
1929 _internal_set_sigid(value);
1930 // @@protoc_insertion_point(field_set:goby.middleware.protobuf.gpsd.Satellite.sigid)
1931}
1932
1933// optional int32 freqid = 9;
1934inline bool Satellite::_internal_has_freqid() const {
1935 bool value = (_impl_._has_bits_[0] & 0x00000100u) != 0;
1936 return value;
1937}
1938inline bool Satellite::has_freqid() const {
1939 return _internal_has_freqid();
1940}
1941inline void Satellite::clear_freqid() {
1942 _impl_.freqid_ = 0;
1943 _impl_._has_bits_[0] &= ~0x00000100u;
1944}
1945inline int32_t Satellite::_internal_freqid() const {
1946 return _impl_.freqid_;
1947}
1948inline int32_t Satellite::freqid() const {
1949 // @@protoc_insertion_point(field_get:goby.middleware.protobuf.gpsd.Satellite.freqid)
1950 return _internal_freqid();
1951}
1952inline void Satellite::_internal_set_freqid(int32_t value) {
1953 _impl_._has_bits_[0] |= 0x00000100u;
1954 _impl_.freqid_ = value;
1955}
1956inline void Satellite::set_freqid(int32_t value) {
1957 _internal_set_freqid(value);
1958 // @@protoc_insertion_point(field_set:goby.middleware.protobuf.gpsd.Satellite.freqid)
1959}
1960
1961// optional int32 health = 10;
1962inline bool Satellite::_internal_has_health() const {
1963 bool value = (_impl_._has_bits_[0] & 0x00000200u) != 0;
1964 return value;
1965}
1966inline bool Satellite::has_health() const {
1967 return _internal_has_health();
1968}
1969inline void Satellite::clear_health() {
1970 _impl_.health_ = 0;
1971 _impl_._has_bits_[0] &= ~0x00000200u;
1972}
1973inline int32_t Satellite::_internal_health() const {
1974 return _impl_.health_;
1975}
1976inline int32_t Satellite::health() const {
1977 // @@protoc_insertion_point(field_get:goby.middleware.protobuf.gpsd.Satellite.health)
1978 return _internal_health();
1979}
1980inline void Satellite::_internal_set_health(int32_t value) {
1981 _impl_._has_bits_[0] |= 0x00000200u;
1982 _impl_.health_ = value;
1983}
1984inline void Satellite::set_health(int32_t value) {
1985 _internal_set_health(value);
1986 // @@protoc_insertion_point(field_set:goby.middleware.protobuf.gpsd.Satellite.health)
1987}
1988
1989// -------------------------------------------------------------------
1990
1991// SkyView
1992
1993// optional string device = 1;
1994inline bool SkyView::_internal_has_device() const {
1995 bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0;
1996 return value;
1997}
1998inline bool SkyView::has_device() const {
1999 return _internal_has_device();
2000}
2001inline void SkyView::clear_device() {
2002 _impl_.device_.ClearToEmpty();
2003 _impl_._has_bits_[0] &= ~0x00000001u;
2004}
2005inline const std::string& SkyView::device() const {
2006 // @@protoc_insertion_point(field_get:goby.middleware.protobuf.gpsd.SkyView.device)
2007 return _internal_device();
2008}
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());
2014 // @@protoc_insertion_point(field_set:goby.middleware.protobuf.gpsd.SkyView.device)
2015}
2016inline std::string* SkyView::mutable_device() {
2017 std::string* _s = _internal_mutable_device();
2018 // @@protoc_insertion_point(field_mutable:goby.middleware.protobuf.gpsd.SkyView.device)
2019 return _s;
2020}
2021inline const std::string& SkyView::_internal_device() const {
2022 return _impl_.device_.Get();
2023}
2024inline void SkyView::_internal_set_device(const std::string& value) {
2025 _impl_._has_bits_[0] |= 0x00000001u;
2026 _impl_.device_.Set(value, GetArenaForAllocation());
2027}
2028inline std::string* SkyView::_internal_mutable_device() {
2029 _impl_._has_bits_[0] |= 0x00000001u;
2030 return _impl_.device_.Mutable(GetArenaForAllocation());
2031}
2032inline std::string* SkyView::release_device() {
2033 // @@protoc_insertion_point(field_release:goby.middleware.protobuf.gpsd.SkyView.device)
2034 if (!_internal_has_device()) {
2035 return nullptr;
2036 }
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());
2042 }
2043#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
2044 return p;
2045}
2046inline void SkyView::set_allocated_device(std::string* device) {
2047 if (device != nullptr) {
2048 _impl_._has_bits_[0] |= 0x00000001u;
2049 } else {
2050 _impl_._has_bits_[0] &= ~0x00000001u;
2051 }
2052 _impl_.device_.SetAllocated(device, GetArenaForAllocation());
2053#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
2054 if (_impl_.device_.IsDefault()) {
2055 _impl_.device_.Set("", GetArenaForAllocation());
2056 }
2057#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
2058 // @@protoc_insertion_point(field_set_allocated:goby.middleware.protobuf.gpsd.SkyView.device)
2059}
2060
2061// optional double time = 2 [(.dccl.field) = {
2062inline bool SkyView::_internal_has_time() const {
2063 bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0;
2064 return value;
2065}
2066inline bool SkyView::has_time() const {
2067 return _internal_has_time();
2068}
2069inline void SkyView::clear_time() {
2070 _impl_.time_ = 0;
2071 _impl_._has_bits_[0] &= ~0x00000002u;
2072}
2073inline double SkyView::_internal_time() const {
2074 return _impl_.time_;
2075}
2076inline double SkyView::time() const {
2077 // @@protoc_insertion_point(field_get:goby.middleware.protobuf.gpsd.SkyView.time)
2078 return _internal_time();
2079}
2080inline void SkyView::_internal_set_time(double value) {
2081 _impl_._has_bits_[0] |= 0x00000002u;
2082 _impl_.time_ = value;
2083}
2084inline void SkyView::set_time(double value) {
2085 _internal_set_time(value);
2086 // @@protoc_insertion_point(field_set:goby.middleware.protobuf.gpsd.SkyView.time)
2087}
2088
2089// optional double gdop = 3;
2090inline bool SkyView::_internal_has_gdop() const {
2091 bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0;
2092 return value;
2093}
2094inline bool SkyView::has_gdop() const {
2095 return _internal_has_gdop();
2096}
2097inline void SkyView::clear_gdop() {
2098 _impl_.gdop_ = 0;
2099 _impl_._has_bits_[0] &= ~0x00000004u;
2100}
2101inline double SkyView::_internal_gdop() const {
2102 return _impl_.gdop_;
2103}
2104inline double SkyView::gdop() const {
2105 // @@protoc_insertion_point(field_get:goby.middleware.protobuf.gpsd.SkyView.gdop)
2106 return _internal_gdop();
2107}
2108inline void SkyView::_internal_set_gdop(double value) {
2109 _impl_._has_bits_[0] |= 0x00000004u;
2110 _impl_.gdop_ = value;
2111}
2112inline void SkyView::set_gdop(double value) {
2113 _internal_set_gdop(value);
2114 // @@protoc_insertion_point(field_set:goby.middleware.protobuf.gpsd.SkyView.gdop)
2115}
2116
2117// optional double hdop = 4;
2118inline bool SkyView::_internal_has_hdop() const {
2119 bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0;
2120 return value;
2121}
2122inline bool SkyView::has_hdop() const {
2123 return _internal_has_hdop();
2124}
2125inline void SkyView::clear_hdop() {
2126 _impl_.hdop_ = 0;
2127 _impl_._has_bits_[0] &= ~0x00000008u;
2128}
2129inline double SkyView::_internal_hdop() const {
2130 return _impl_.hdop_;
2131}
2132inline double SkyView::hdop() const {
2133 // @@protoc_insertion_point(field_get:goby.middleware.protobuf.gpsd.SkyView.hdop)
2134 return _internal_hdop();
2135}
2136inline void SkyView::_internal_set_hdop(double value) {
2137 _impl_._has_bits_[0] |= 0x00000008u;
2138 _impl_.hdop_ = value;
2139}
2140inline void SkyView::set_hdop(double value) {
2141 _internal_set_hdop(value);
2142 // @@protoc_insertion_point(field_set:goby.middleware.protobuf.gpsd.SkyView.hdop)
2143}
2144
2145// optional double pdop = 5;
2146inline bool SkyView::_internal_has_pdop() const {
2147 bool value = (_impl_._has_bits_[0] & 0x00000010u) != 0;
2148 return value;
2149}
2150inline bool SkyView::has_pdop() const {
2151 return _internal_has_pdop();
2152}
2153inline void SkyView::clear_pdop() {
2154 _impl_.pdop_ = 0;
2155 _impl_._has_bits_[0] &= ~0x00000010u;
2156}
2157inline double SkyView::_internal_pdop() const {
2158 return _impl_.pdop_;
2159}
2160inline double SkyView::pdop() const {
2161 // @@protoc_insertion_point(field_get:goby.middleware.protobuf.gpsd.SkyView.pdop)
2162 return _internal_pdop();
2163}
2164inline void SkyView::_internal_set_pdop(double value) {
2165 _impl_._has_bits_[0] |= 0x00000010u;
2166 _impl_.pdop_ = value;
2167}
2168inline void SkyView::set_pdop(double value) {
2169 _internal_set_pdop(value);
2170 // @@protoc_insertion_point(field_set:goby.middleware.protobuf.gpsd.SkyView.pdop)
2171}
2172
2173// optional double tdop = 6;
2174inline bool SkyView::_internal_has_tdop() const {
2175 bool value = (_impl_._has_bits_[0] & 0x00000020u) != 0;
2176 return value;
2177}
2178inline bool SkyView::has_tdop() const {
2179 return _internal_has_tdop();
2180}
2181inline void SkyView::clear_tdop() {
2182 _impl_.tdop_ = 0;
2183 _impl_._has_bits_[0] &= ~0x00000020u;
2184}
2185inline double SkyView::_internal_tdop() const {
2186 return _impl_.tdop_;
2187}
2188inline double SkyView::tdop() const {
2189 // @@protoc_insertion_point(field_get:goby.middleware.protobuf.gpsd.SkyView.tdop)
2190 return _internal_tdop();
2191}
2192inline void SkyView::_internal_set_tdop(double value) {
2193 _impl_._has_bits_[0] |= 0x00000020u;
2194 _impl_.tdop_ = value;
2195}
2196inline void SkyView::set_tdop(double value) {
2197 _internal_set_tdop(value);
2198 // @@protoc_insertion_point(field_set:goby.middleware.protobuf.gpsd.SkyView.tdop)
2199}
2200
2201// optional double vdop = 7;
2202inline bool SkyView::_internal_has_vdop() const {
2203 bool value = (_impl_._has_bits_[0] & 0x00000040u) != 0;
2204 return value;
2205}
2206inline bool SkyView::has_vdop() const {
2207 return _internal_has_vdop();
2208}
2209inline void SkyView::clear_vdop() {
2210 _impl_.vdop_ = 0;
2211 _impl_._has_bits_[0] &= ~0x00000040u;
2212}
2213inline double SkyView::_internal_vdop() const {
2214 return _impl_.vdop_;
2215}
2216inline double SkyView::vdop() const {
2217 // @@protoc_insertion_point(field_get:goby.middleware.protobuf.gpsd.SkyView.vdop)
2218 return _internal_vdop();
2219}
2220inline void SkyView::_internal_set_vdop(double value) {
2221 _impl_._has_bits_[0] |= 0x00000040u;
2222 _impl_.vdop_ = value;
2223}
2224inline void SkyView::set_vdop(double value) {
2225 _internal_set_vdop(value);
2226 // @@protoc_insertion_point(field_set:goby.middleware.protobuf.gpsd.SkyView.vdop)
2227}
2228
2229// optional double xdop = 8;
2230inline bool SkyView::_internal_has_xdop() const {
2231 bool value = (_impl_._has_bits_[0] & 0x00000080u) != 0;
2232 return value;
2233}
2234inline bool SkyView::has_xdop() const {
2235 return _internal_has_xdop();
2236}
2237inline void SkyView::clear_xdop() {
2238 _impl_.xdop_ = 0;
2239 _impl_._has_bits_[0] &= ~0x00000080u;
2240}
2241inline double SkyView::_internal_xdop() const {
2242 return _impl_.xdop_;
2243}
2244inline double SkyView::xdop() const {
2245 // @@protoc_insertion_point(field_get:goby.middleware.protobuf.gpsd.SkyView.xdop)
2246 return _internal_xdop();
2247}
2248inline void SkyView::_internal_set_xdop(double value) {
2249 _impl_._has_bits_[0] |= 0x00000080u;
2250 _impl_.xdop_ = value;
2251}
2252inline void SkyView::set_xdop(double value) {
2253 _internal_set_xdop(value);
2254 // @@protoc_insertion_point(field_set:goby.middleware.protobuf.gpsd.SkyView.xdop)
2255}
2256
2257// optional double ydop = 9;
2258inline bool SkyView::_internal_has_ydop() const {
2259 bool value = (_impl_._has_bits_[0] & 0x00000100u) != 0;
2260 return value;
2261}
2262inline bool SkyView::has_ydop() const {
2263 return _internal_has_ydop();
2264}
2265inline void SkyView::clear_ydop() {
2266 _impl_.ydop_ = 0;
2267 _impl_._has_bits_[0] &= ~0x00000100u;
2268}
2269inline double SkyView::_internal_ydop() const {
2270 return _impl_.ydop_;
2271}
2272inline double SkyView::ydop() const {
2273 // @@protoc_insertion_point(field_get:goby.middleware.protobuf.gpsd.SkyView.ydop)
2274 return _internal_ydop();
2275}
2276inline void SkyView::_internal_set_ydop(double value) {
2277 _impl_._has_bits_[0] |= 0x00000100u;
2278 _impl_.ydop_ = value;
2279}
2280inline void SkyView::set_ydop(double value) {
2281 _internal_set_ydop(value);
2282 // @@protoc_insertion_point(field_set:goby.middleware.protobuf.gpsd.SkyView.ydop)
2283}
2284
2285// optional double nsat = 10;
2286inline bool SkyView::_internal_has_nsat() const {
2287 bool value = (_impl_._has_bits_[0] & 0x00000200u) != 0;
2288 return value;
2289}
2290inline bool SkyView::has_nsat() const {
2291 return _internal_has_nsat();
2292}
2293inline void SkyView::clear_nsat() {
2294 _impl_.nsat_ = 0;
2295 _impl_._has_bits_[0] &= ~0x00000200u;
2296}
2297inline double SkyView::_internal_nsat() const {
2298 return _impl_.nsat_;
2299}
2300inline double SkyView::nsat() const {
2301 // @@protoc_insertion_point(field_get:goby.middleware.protobuf.gpsd.SkyView.nsat)
2302 return _internal_nsat();
2303}
2304inline void SkyView::_internal_set_nsat(double value) {
2305 _impl_._has_bits_[0] |= 0x00000200u;
2306 _impl_.nsat_ = value;
2307}
2308inline void SkyView::set_nsat(double value) {
2309 _internal_set_nsat(value);
2310 // @@protoc_insertion_point(field_set:goby.middleware.protobuf.gpsd.SkyView.nsat)
2311}
2312
2313// optional double usat = 11;
2314inline bool SkyView::_internal_has_usat() const {
2315 bool value = (_impl_._has_bits_[0] & 0x00000400u) != 0;
2316 return value;
2317}
2318inline bool SkyView::has_usat() const {
2319 return _internal_has_usat();
2320}
2321inline void SkyView::clear_usat() {
2322 _impl_.usat_ = 0;
2323 _impl_._has_bits_[0] &= ~0x00000400u;
2324}
2325inline double SkyView::_internal_usat() const {
2326 return _impl_.usat_;
2327}
2328inline double SkyView::usat() const {
2329 // @@protoc_insertion_point(field_get:goby.middleware.protobuf.gpsd.SkyView.usat)
2330 return _internal_usat();
2331}
2332inline void SkyView::_internal_set_usat(double value) {
2333 _impl_._has_bits_[0] |= 0x00000400u;
2334 _impl_.usat_ = value;
2335}
2336inline void SkyView::set_usat(double value) {
2337 _internal_set_usat(value);
2338 // @@protoc_insertion_point(field_set:goby.middleware.protobuf.gpsd.SkyView.usat)
2339}
2340
2341// repeated .goby.middleware.protobuf.gpsd.Satellite satellite = 12;
2342inline int SkyView::_internal_satellite_size() const {
2343 return _impl_.satellite_.size();
2344}
2345inline int SkyView::satellite_size() const {
2346 return _internal_satellite_size();
2347}
2348inline void SkyView::clear_satellite() {
2349 _impl_.satellite_.Clear();
2350}
2351inline ::goby::middleware::protobuf::gpsd::Satellite* SkyView::mutable_satellite(int index) {
2352 // @@protoc_insertion_point(field_mutable:goby.middleware.protobuf.gpsd.SkyView.satellite)
2353 return _impl_.satellite_.Mutable(index);
2354}
2355inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::goby::middleware::protobuf::gpsd::Satellite >*
2356SkyView::mutable_satellite() {
2357 // @@protoc_insertion_point(field_mutable_list:goby.middleware.protobuf.gpsd.SkyView.satellite)
2358 return &_impl_.satellite_;
2359}
2360inline const ::goby::middleware::protobuf::gpsd::Satellite& SkyView::_internal_satellite(int index) const {
2361 return _impl_.satellite_.Get(index);
2362}
2363inline const ::goby::middleware::protobuf::gpsd::Satellite& SkyView::satellite(int index) const {
2364 // @@protoc_insertion_point(field_get:goby.middleware.protobuf.gpsd.SkyView.satellite)
2365 return _internal_satellite(index);
2366}
2367inline ::goby::middleware::protobuf::gpsd::Satellite* SkyView::_internal_add_satellite() {
2368 return _impl_.satellite_.Add();
2369}
2370inline ::goby::middleware::protobuf::gpsd::Satellite* SkyView::add_satellite() {
2371 ::goby::middleware::protobuf::gpsd::Satellite* _add = _internal_add_satellite();
2372 // @@protoc_insertion_point(field_add:goby.middleware.protobuf.gpsd.SkyView.satellite)
2373 return _add;
2374}
2375inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::goby::middleware::protobuf::gpsd::Satellite >&
2376SkyView::satellite() const {
2377 // @@protoc_insertion_point(field_list:goby.middleware.protobuf.gpsd.SkyView.satellite)
2378 return _impl_.satellite_;
2379}
2380
2381// -------------------------------------------------------------------
2382
2383// Attitude
2384
2385// optional string device = 1;
2386inline bool Attitude::_internal_has_device() const {
2387 bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0;
2388 return value;
2389}
2390inline bool Attitude::has_device() const {
2391 return _internal_has_device();
2392}
2393inline void Attitude::clear_device() {
2394 _impl_.device_.ClearToEmpty();
2395 _impl_._has_bits_[0] &= ~0x00000001u;
2396}
2397inline const std::string& Attitude::device() const {
2398 // @@protoc_insertion_point(field_get:goby.middleware.protobuf.gpsd.Attitude.device)
2399 return _internal_device();
2400}
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());
2406 // @@protoc_insertion_point(field_set:goby.middleware.protobuf.gpsd.Attitude.device)
2407}
2408inline std::string* Attitude::mutable_device() {
2409 std::string* _s = _internal_mutable_device();
2410 // @@protoc_insertion_point(field_mutable:goby.middleware.protobuf.gpsd.Attitude.device)
2411 return _s;
2412}
2413inline const std::string& Attitude::_internal_device() const {
2414 return _impl_.device_.Get();
2415}
2416inline void Attitude::_internal_set_device(const std::string& value) {
2417 _impl_._has_bits_[0] |= 0x00000001u;
2418 _impl_.device_.Set(value, GetArenaForAllocation());
2419}
2420inline std::string* Attitude::_internal_mutable_device() {
2421 _impl_._has_bits_[0] |= 0x00000001u;
2422 return _impl_.device_.Mutable(GetArenaForAllocation());
2423}
2424inline std::string* Attitude::release_device() {
2425 // @@protoc_insertion_point(field_release:goby.middleware.protobuf.gpsd.Attitude.device)
2426 if (!_internal_has_device()) {
2427 return nullptr;
2428 }
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());
2434 }
2435#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
2436 return p;
2437}
2438inline void Attitude::set_allocated_device(std::string* device) {
2439 if (device != nullptr) {
2440 _impl_._has_bits_[0] |= 0x00000001u;
2441 } else {
2442 _impl_._has_bits_[0] &= ~0x00000001u;
2443 }
2444 _impl_.device_.SetAllocated(device, GetArenaForAllocation());
2445#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
2446 if (_impl_.device_.IsDefault()) {
2447 _impl_.device_.Set("", GetArenaForAllocation());
2448 }
2449#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
2450 // @@protoc_insertion_point(field_set_allocated:goby.middleware.protobuf.gpsd.Attitude.device)
2451}
2452
2453// optional double time = 2 [(.dccl.field) = {
2454inline bool Attitude::_internal_has_time() const {
2455 bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0;
2456 return value;
2457}
2458inline bool Attitude::has_time() const {
2459 return _internal_has_time();
2460}
2461inline void Attitude::clear_time() {
2462 _impl_.time_ = 0;
2463 _impl_._has_bits_[0] &= ~0x00000002u;
2464}
2465inline double Attitude::_internal_time() const {
2466 return _impl_.time_;
2467}
2468inline double Attitude::time() const {
2469 // @@protoc_insertion_point(field_get:goby.middleware.protobuf.gpsd.Attitude.time)
2470 return _internal_time();
2471}
2472inline void Attitude::_internal_set_time(double value) {
2473 _impl_._has_bits_[0] |= 0x00000002u;
2474 _impl_.time_ = value;
2475}
2476inline void Attitude::set_time(double value) {
2477 _internal_set_time(value);
2478 // @@protoc_insertion_point(field_set:goby.middleware.protobuf.gpsd.Attitude.time)
2479}
2480
2481// optional double heading = 3 [(.dccl.field) = {
2482inline bool Attitude::_internal_has_heading() const {
2483 bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0;
2484 return value;
2485}
2486inline bool Attitude::has_heading() const {
2487 return _internal_has_heading();
2488}
2489inline void Attitude::clear_heading() {
2490 _impl_.heading_ = 0;
2491 _impl_._has_bits_[0] &= ~0x00000004u;
2492}
2493inline double Attitude::_internal_heading() const {
2494 return _impl_.heading_;
2495}
2496inline double Attitude::heading() const {
2497 // @@protoc_insertion_point(field_get:goby.middleware.protobuf.gpsd.Attitude.heading)
2498 return _internal_heading();
2499}
2500inline void Attitude::_internal_set_heading(double value) {
2501 _impl_._has_bits_[0] |= 0x00000004u;
2502 _impl_.heading_ = value;
2503}
2504inline void Attitude::set_heading(double value) {
2505 _internal_set_heading(value);
2506 // @@protoc_insertion_point(field_set:goby.middleware.protobuf.gpsd.Attitude.heading)
2507}
2508
2509// optional double pitch = 4 [(.dccl.field) = {
2510inline bool Attitude::_internal_has_pitch() const {
2511 bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0;
2512 return value;
2513}
2514inline bool Attitude::has_pitch() const {
2515 return _internal_has_pitch();
2516}
2517inline void Attitude::clear_pitch() {
2518 _impl_.pitch_ = 0;
2519 _impl_._has_bits_[0] &= ~0x00000008u;
2520}
2521inline double Attitude::_internal_pitch() const {
2522 return _impl_.pitch_;
2523}
2524inline double Attitude::pitch() const {
2525 // @@protoc_insertion_point(field_get:goby.middleware.protobuf.gpsd.Attitude.pitch)
2526 return _internal_pitch();
2527}
2528inline void Attitude::_internal_set_pitch(double value) {
2529 _impl_._has_bits_[0] |= 0x00000008u;
2530 _impl_.pitch_ = value;
2531}
2532inline void Attitude::set_pitch(double value) {
2533 _internal_set_pitch(value);
2534 // @@protoc_insertion_point(field_set:goby.middleware.protobuf.gpsd.Attitude.pitch)
2535}
2536
2537// optional double yaw = 5 [(.dccl.field) = {
2538inline bool Attitude::_internal_has_yaw() const {
2539 bool value = (_impl_._has_bits_[0] & 0x00000010u) != 0;
2540 return value;
2541}
2542inline bool Attitude::has_yaw() const {
2543 return _internal_has_yaw();
2544}
2545inline void Attitude::clear_yaw() {
2546 _impl_.yaw_ = 0;
2547 _impl_._has_bits_[0] &= ~0x00000010u;
2548}
2549inline double Attitude::_internal_yaw() const {
2550 return _impl_.yaw_;
2551}
2552inline double Attitude::yaw() const {
2553 // @@protoc_insertion_point(field_get:goby.middleware.protobuf.gpsd.Attitude.yaw)
2554 return _internal_yaw();
2555}
2556inline void Attitude::_internal_set_yaw(double value) {
2557 _impl_._has_bits_[0] |= 0x00000010u;
2558 _impl_.yaw_ = value;
2559}
2560inline void Attitude::set_yaw(double value) {
2561 _internal_set_yaw(value);
2562 // @@protoc_insertion_point(field_set:goby.middleware.protobuf.gpsd.Attitude.yaw)
2563}
2564
2565// optional double roll = 6 [(.dccl.field) = {
2566inline bool Attitude::_internal_has_roll() const {
2567 bool value = (_impl_._has_bits_[0] & 0x00000020u) != 0;
2568 return value;
2569}
2570inline bool Attitude::has_roll() const {
2571 return _internal_has_roll();
2572}
2573inline void Attitude::clear_roll() {
2574 _impl_.roll_ = 0;
2575 _impl_._has_bits_[0] &= ~0x00000020u;
2576}
2577inline double Attitude::_internal_roll() const {
2578 return _impl_.roll_;
2579}
2580inline double Attitude::roll() const {
2581 // @@protoc_insertion_point(field_get:goby.middleware.protobuf.gpsd.Attitude.roll)
2582 return _internal_roll();
2583}
2584inline void Attitude::_internal_set_roll(double value) {
2585 _impl_._has_bits_[0] |= 0x00000020u;
2586 _impl_.roll_ = value;
2587}
2588inline void Attitude::set_roll(double value) {
2589 _internal_set_roll(value);
2590 // @@protoc_insertion_point(field_set:goby.middleware.protobuf.gpsd.Attitude.roll)
2591}
2592
2593// -------------------------------------------------------------------
2594
2595// TimePositionVelocity
2596
2597// optional string device = 1;
2598inline bool TimePositionVelocity::_internal_has_device() const {
2599 bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0;
2600 return value;
2601}
2602inline bool TimePositionVelocity::has_device() const {
2603 return _internal_has_device();
2604}
2605inline void TimePositionVelocity::clear_device() {
2606 _impl_.device_.ClearToEmpty();
2607 _impl_._has_bits_[0] &= ~0x00000001u;
2608}
2609inline const std::string& TimePositionVelocity::device() const {
2610 // @@protoc_insertion_point(field_get:goby.middleware.protobuf.gpsd.TimePositionVelocity.device)
2611 return _internal_device();
2612}
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());
2618 // @@protoc_insertion_point(field_set:goby.middleware.protobuf.gpsd.TimePositionVelocity.device)
2619}
2620inline std::string* TimePositionVelocity::mutable_device() {
2621 std::string* _s = _internal_mutable_device();
2622 // @@protoc_insertion_point(field_mutable:goby.middleware.protobuf.gpsd.TimePositionVelocity.device)
2623 return _s;
2624}
2625inline const std::string& TimePositionVelocity::_internal_device() const {
2626 return _impl_.device_.Get();
2627}
2628inline void TimePositionVelocity::_internal_set_device(const std::string& value) {
2629 _impl_._has_bits_[0] |= 0x00000001u;
2630 _impl_.device_.Set(value, GetArenaForAllocation());
2631}
2632inline std::string* TimePositionVelocity::_internal_mutable_device() {
2633 _impl_._has_bits_[0] |= 0x00000001u;
2634 return _impl_.device_.Mutable(GetArenaForAllocation());
2635}
2636inline std::string* TimePositionVelocity::release_device() {
2637 // @@protoc_insertion_point(field_release:goby.middleware.protobuf.gpsd.TimePositionVelocity.device)
2638 if (!_internal_has_device()) {
2639 return nullptr;
2640 }
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());
2646 }
2647#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
2648 return p;
2649}
2650inline void TimePositionVelocity::set_allocated_device(std::string* device) {
2651 if (device != nullptr) {
2652 _impl_._has_bits_[0] |= 0x00000001u;
2653 } else {
2654 _impl_._has_bits_[0] &= ~0x00000001u;
2655 }
2656 _impl_.device_.SetAllocated(device, GetArenaForAllocation());
2657#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
2658 if (_impl_.device_.IsDefault()) {
2659 _impl_.device_.Set("", GetArenaForAllocation());
2660 }
2661#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
2662 // @@protoc_insertion_point(field_set_allocated:goby.middleware.protobuf.gpsd.TimePositionVelocity.device)
2663}
2664
2665// optional double time = 2 [(.dccl.field) = {
2666inline bool TimePositionVelocity::_internal_has_time() const {
2667 bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0;
2668 return value;
2669}
2670inline bool TimePositionVelocity::has_time() const {
2671 return _internal_has_time();
2672}
2673inline void TimePositionVelocity::clear_time() {
2674 _impl_.time_ = 0;
2675 _impl_._has_bits_[0] &= ~0x00000004u;
2676}
2677inline double TimePositionVelocity::_internal_time() const {
2678 return _impl_.time_;
2679}
2680inline double TimePositionVelocity::time() const {
2681 // @@protoc_insertion_point(field_get:goby.middleware.protobuf.gpsd.TimePositionVelocity.time)
2682 return _internal_time();
2683}
2684inline void TimePositionVelocity::_internal_set_time(double value) {
2685 _impl_._has_bits_[0] |= 0x00000004u;
2686 _impl_.time_ = value;
2687}
2688inline void TimePositionVelocity::set_time(double value) {
2689 _internal_set_time(value);
2690 // @@protoc_insertion_point(field_set:goby.middleware.protobuf.gpsd.TimePositionVelocity.time)
2691}
2692
2693// optional .goby.middleware.protobuf.gpsd.TimePositionVelocity.Mode mode = 3;
2694inline bool TimePositionVelocity::_internal_has_mode() const {
2695 bool value = (_impl_._has_bits_[0] & 0x00004000u) != 0;
2696 return value;
2697}
2698inline bool TimePositionVelocity::has_mode() const {
2699 return _internal_has_mode();
2700}
2701inline void TimePositionVelocity::clear_mode() {
2702 _impl_.mode_ = 0;
2703 _impl_._has_bits_[0] &= ~0x00004000u;
2704}
2705inline ::goby::middleware::protobuf::gpsd::TimePositionVelocity_Mode TimePositionVelocity::_internal_mode() const {
2706 return static_cast< ::goby::middleware::protobuf::gpsd::TimePositionVelocity_Mode >(_impl_.mode_);
2707}
2708inline ::goby::middleware::protobuf::gpsd::TimePositionVelocity_Mode TimePositionVelocity::mode() const {
2709 // @@protoc_insertion_point(field_get:goby.middleware.protobuf.gpsd.TimePositionVelocity.mode)
2710 return _internal_mode();
2711}
2712inline void TimePositionVelocity::_internal_set_mode(::goby::middleware::protobuf::gpsd::TimePositionVelocity_Mode value) {
2714 _impl_._has_bits_[0] |= 0x00004000u;
2715 _impl_.mode_ = value;
2716}
2717inline void TimePositionVelocity::set_mode(::goby::middleware::protobuf::gpsd::TimePositionVelocity_Mode value) {
2718 _internal_set_mode(value);
2719 // @@protoc_insertion_point(field_set:goby.middleware.protobuf.gpsd.TimePositionVelocity.mode)
2720}
2721
2722// optional .goby.middleware.protobuf.LatLonPoint location = 4;
2723inline bool TimePositionVelocity::_internal_has_location() const {
2724 bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0;
2725 PROTOBUF_ASSUME(!value || _impl_.location_ != nullptr);
2726 return value;
2727}
2728inline bool TimePositionVelocity::has_location() const {
2729 return _internal_has_location();
2730}
2731inline const ::goby::middleware::protobuf::LatLonPoint& TimePositionVelocity::_internal_location() const {
2732 const ::goby::middleware::protobuf::LatLonPoint* p = _impl_.location_;
2733 return p != nullptr ? *p : reinterpret_cast<const ::goby::middleware::protobuf::LatLonPoint&>(
2735}
2736inline const ::goby::middleware::protobuf::LatLonPoint& TimePositionVelocity::location() const {
2737 // @@protoc_insertion_point(field_get:goby.middleware.protobuf.gpsd.TimePositionVelocity.location)
2738 return _internal_location();
2739}
2740inline void TimePositionVelocity::unsafe_arena_set_allocated_location(
2742 if (GetArenaForAllocation() == nullptr) {
2743 delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.location_);
2744 }
2745 _impl_.location_ = location;
2746 if (location) {
2747 _impl_._has_bits_[0] |= 0x00000002u;
2748 } else {
2749 _impl_._has_bits_[0] &= ~0x00000002u;
2750 }
2751 // @@protoc_insertion_point(field_unsafe_arena_set_allocated:goby.middleware.protobuf.gpsd.TimePositionVelocity.location)
2752}
2753inline ::goby::middleware::protobuf::LatLonPoint* TimePositionVelocity::release_location() {
2754 _impl_._has_bits_[0] &= ~0x00000002u;
2755 ::goby::middleware::protobuf::LatLonPoint* temp = _impl_.location_;
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; }
2761#else // PROTOBUF_FORCE_COPY_IN_RELEASE
2762 if (GetArenaForAllocation() != nullptr) {
2763 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
2764 }
2765#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE
2766 return temp;
2767}
2768inline ::goby::middleware::protobuf::LatLonPoint* TimePositionVelocity::unsafe_arena_release_location() {
2769 // @@protoc_insertion_point(field_release:goby.middleware.protobuf.gpsd.TimePositionVelocity.location)
2770 _impl_._has_bits_[0] &= ~0x00000002u;
2771 ::goby::middleware::protobuf::LatLonPoint* temp = _impl_.location_;
2772 _impl_.location_ = nullptr;
2773 return temp;
2774}
2775inline ::goby::middleware::protobuf::LatLonPoint* TimePositionVelocity::_internal_mutable_location() {
2776 _impl_._has_bits_[0] |= 0x00000002u;
2777 if (_impl_.location_ == nullptr) {
2778 auto* p = CreateMaybeMessage<::goby::middleware::protobuf::LatLonPoint>(GetArenaForAllocation());
2779 _impl_.location_ = p;
2780 }
2781 return _impl_.location_;
2782}
2783inline ::goby::middleware::protobuf::LatLonPoint* TimePositionVelocity::mutable_location() {
2784 ::goby::middleware::protobuf::LatLonPoint* _msg = _internal_mutable_location();
2785 // @@protoc_insertion_point(field_mutable:goby.middleware.protobuf.gpsd.TimePositionVelocity.location)
2786 return _msg;
2787}
2788inline void TimePositionVelocity::set_allocated_location(::goby::middleware::protobuf::LatLonPoint* location) {
2789 ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
2790 if (message_arena == nullptr) {
2791 delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.location_);
2792 }
2793 if (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);
2800 }
2801 _impl_._has_bits_[0] |= 0x00000002u;
2802 } else {
2803 _impl_._has_bits_[0] &= ~0x00000002u;
2804 }
2805 _impl_.location_ = location;
2806 // @@protoc_insertion_point(field_set_allocated:goby.middleware.protobuf.gpsd.TimePositionVelocity.location)
2807}
2808
2809// optional double altitude = 5 [(.dccl.field) = {
2810inline bool TimePositionVelocity::_internal_has_altitude() const {
2811 bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0;
2812 return value;
2813}
2814inline bool TimePositionVelocity::has_altitude() const {
2815 return _internal_has_altitude();
2816}
2817inline void TimePositionVelocity::clear_altitude() {
2818 _impl_.altitude_ = 0;
2819 _impl_._has_bits_[0] &= ~0x00000008u;
2820}
2821inline double TimePositionVelocity::_internal_altitude() const {
2822 return _impl_.altitude_;
2823}
2824inline double TimePositionVelocity::altitude() const {
2825 // @@protoc_insertion_point(field_get:goby.middleware.protobuf.gpsd.TimePositionVelocity.altitude)
2826 return _internal_altitude();
2827}
2828inline void TimePositionVelocity::_internal_set_altitude(double value) {
2829 _impl_._has_bits_[0] |= 0x00000008u;
2830 _impl_.altitude_ = value;
2831}
2832inline void TimePositionVelocity::set_altitude(double value) {
2833 _internal_set_altitude(value);
2834 // @@protoc_insertion_point(field_set:goby.middleware.protobuf.gpsd.TimePositionVelocity.altitude)
2835}
2836
2837// optional double track = 6 [(.dccl.field) = {
2838inline bool TimePositionVelocity::_internal_has_track() const {
2839 bool value = (_impl_._has_bits_[0] & 0x00000010u) != 0;
2840 return value;
2841}
2842inline bool TimePositionVelocity::has_track() const {
2843 return _internal_has_track();
2844}
2845inline void TimePositionVelocity::clear_track() {
2846 _impl_.track_ = 0;
2847 _impl_._has_bits_[0] &= ~0x00000010u;
2848}
2849inline double TimePositionVelocity::_internal_track() const {
2850 return _impl_.track_;
2851}
2852inline double TimePositionVelocity::track() const {
2853 // @@protoc_insertion_point(field_get:goby.middleware.protobuf.gpsd.TimePositionVelocity.track)
2854 return _internal_track();
2855}
2856inline void TimePositionVelocity::_internal_set_track(double value) {
2857 _impl_._has_bits_[0] |= 0x00000010u;
2858 _impl_.track_ = value;
2859}
2860inline void TimePositionVelocity::set_track(double value) {
2861 _internal_set_track(value);
2862 // @@protoc_insertion_point(field_set:goby.middleware.protobuf.gpsd.TimePositionVelocity.track)
2863}
2864
2865// optional double speed = 7 [(.dccl.field) = {
2866inline bool TimePositionVelocity::_internal_has_speed() const {
2867 bool value = (_impl_._has_bits_[0] & 0x00000020u) != 0;
2868 return value;
2869}
2870inline bool TimePositionVelocity::has_speed() const {
2871 return _internal_has_speed();
2872}
2873inline void TimePositionVelocity::clear_speed() {
2874 _impl_.speed_ = 0;
2875 _impl_._has_bits_[0] &= ~0x00000020u;
2876}
2877inline double TimePositionVelocity::_internal_speed() const {
2878 return _impl_.speed_;
2879}
2880inline double TimePositionVelocity::speed() const {
2881 // @@protoc_insertion_point(field_get:goby.middleware.protobuf.gpsd.TimePositionVelocity.speed)
2882 return _internal_speed();
2883}
2884inline void TimePositionVelocity::_internal_set_speed(double value) {
2885 _impl_._has_bits_[0] |= 0x00000020u;
2886 _impl_.speed_ = value;
2887}
2888inline void TimePositionVelocity::set_speed(double value) {
2889 _internal_set_speed(value);
2890 // @@protoc_insertion_point(field_set:goby.middleware.protobuf.gpsd.TimePositionVelocity.speed)
2891}
2892
2893// optional double climb = 8 [(.dccl.field) = {
2894inline bool TimePositionVelocity::_internal_has_climb() const {
2895 bool value = (_impl_._has_bits_[0] & 0x00000040u) != 0;
2896 return value;
2897}
2898inline bool TimePositionVelocity::has_climb() const {
2899 return _internal_has_climb();
2900}
2901inline void TimePositionVelocity::clear_climb() {
2902 _impl_.climb_ = 0;
2903 _impl_._has_bits_[0] &= ~0x00000040u;
2904}
2905inline double TimePositionVelocity::_internal_climb() const {
2906 return _impl_.climb_;
2907}
2908inline double TimePositionVelocity::climb() const {
2909 // @@protoc_insertion_point(field_get:goby.middleware.protobuf.gpsd.TimePositionVelocity.climb)
2910 return _internal_climb();
2911}
2912inline void TimePositionVelocity::_internal_set_climb(double value) {
2913 _impl_._has_bits_[0] |= 0x00000040u;
2914 _impl_.climb_ = value;
2915}
2916inline void TimePositionVelocity::set_climb(double value) {
2917 _internal_set_climb(value);
2918 // @@protoc_insertion_point(field_set:goby.middleware.protobuf.gpsd.TimePositionVelocity.climb)
2919}
2920
2921// optional double epc = 10 [(.dccl.field) = {
2922inline bool TimePositionVelocity::_internal_has_epc() const {
2923 bool value = (_impl_._has_bits_[0] & 0x00000080u) != 0;
2924 return value;
2925}
2926inline bool TimePositionVelocity::has_epc() const {
2927 return _internal_has_epc();
2928}
2929inline void TimePositionVelocity::clear_epc() {
2930 _impl_.epc_ = 0;
2931 _impl_._has_bits_[0] &= ~0x00000080u;
2932}
2933inline double TimePositionVelocity::_internal_epc() const {
2934 return _impl_.epc_;
2935}
2936inline double TimePositionVelocity::epc() const {
2937 // @@protoc_insertion_point(field_get:goby.middleware.protobuf.gpsd.TimePositionVelocity.epc)
2938 return _internal_epc();
2939}
2940inline void TimePositionVelocity::_internal_set_epc(double value) {
2941 _impl_._has_bits_[0] |= 0x00000080u;
2942 _impl_.epc_ = value;
2943}
2944inline void TimePositionVelocity::set_epc(double value) {
2945 _internal_set_epc(value);
2946 // @@protoc_insertion_point(field_set:goby.middleware.protobuf.gpsd.TimePositionVelocity.epc)
2947}
2948
2949// optional double epd = 11 [(.dccl.field) = {
2950inline bool TimePositionVelocity::_internal_has_epd() const {
2951 bool value = (_impl_._has_bits_[0] & 0x00000100u) != 0;
2952 return value;
2953}
2954inline bool TimePositionVelocity::has_epd() const {
2955 return _internal_has_epd();
2956}
2957inline void TimePositionVelocity::clear_epd() {
2958 _impl_.epd_ = 0;
2959 _impl_._has_bits_[0] &= ~0x00000100u;
2960}
2961inline double TimePositionVelocity::_internal_epd() const {
2962 return _impl_.epd_;
2963}
2964inline double TimePositionVelocity::epd() const {
2965 // @@protoc_insertion_point(field_get:goby.middleware.protobuf.gpsd.TimePositionVelocity.epd)
2966 return _internal_epd();
2967}
2968inline void TimePositionVelocity::_internal_set_epd(double value) {
2969 _impl_._has_bits_[0] |= 0x00000100u;
2970 _impl_.epd_ = value;
2971}
2972inline void TimePositionVelocity::set_epd(double value) {
2973 _internal_set_epd(value);
2974 // @@protoc_insertion_point(field_set:goby.middleware.protobuf.gpsd.TimePositionVelocity.epd)
2975}
2976
2977// optional double eps = 12 [(.dccl.field) = {
2978inline bool TimePositionVelocity::_internal_has_eps() const {
2979 bool value = (_impl_._has_bits_[0] & 0x00000200u) != 0;
2980 return value;
2981}
2982inline bool TimePositionVelocity::has_eps() const {
2983 return _internal_has_eps();
2984}
2985inline void TimePositionVelocity::clear_eps() {
2986 _impl_.eps_ = 0;
2987 _impl_._has_bits_[0] &= ~0x00000200u;
2988}
2989inline double TimePositionVelocity::_internal_eps() const {
2990 return _impl_.eps_;
2991}
2992inline double TimePositionVelocity::eps() const {
2993 // @@protoc_insertion_point(field_get:goby.middleware.protobuf.gpsd.TimePositionVelocity.eps)
2994 return _internal_eps();
2995}
2996inline void TimePositionVelocity::_internal_set_eps(double value) {
2997 _impl_._has_bits_[0] |= 0x00000200u;
2998 _impl_.eps_ = value;
2999}
3000inline void TimePositionVelocity::set_eps(double value) {
3001 _internal_set_eps(value);
3002 // @@protoc_insertion_point(field_set:goby.middleware.protobuf.gpsd.TimePositionVelocity.eps)
3003}
3004
3005// optional double ept = 13 [(.dccl.field) = {
3006inline bool TimePositionVelocity::_internal_has_ept() const {
3007 bool value = (_impl_._has_bits_[0] & 0x00000400u) != 0;
3008 return value;
3009}
3010inline bool TimePositionVelocity::has_ept() const {
3011 return _internal_has_ept();
3012}
3013inline void TimePositionVelocity::clear_ept() {
3014 _impl_.ept_ = 0;
3015 _impl_._has_bits_[0] &= ~0x00000400u;
3016}
3017inline double TimePositionVelocity::_internal_ept() const {
3018 return _impl_.ept_;
3019}
3020inline double TimePositionVelocity::ept() const {
3021 // @@protoc_insertion_point(field_get:goby.middleware.protobuf.gpsd.TimePositionVelocity.ept)
3022 return _internal_ept();
3023}
3024inline void TimePositionVelocity::_internal_set_ept(double value) {
3025 _impl_._has_bits_[0] |= 0x00000400u;
3026 _impl_.ept_ = value;
3027}
3028inline void TimePositionVelocity::set_ept(double value) {
3029 _internal_set_ept(value);
3030 // @@protoc_insertion_point(field_set:goby.middleware.protobuf.gpsd.TimePositionVelocity.ept)
3031}
3032
3033// optional double epv = 14 [(.dccl.field) = {
3034inline bool TimePositionVelocity::_internal_has_epv() const {
3035 bool value = (_impl_._has_bits_[0] & 0x00000800u) != 0;
3036 return value;
3037}
3038inline bool TimePositionVelocity::has_epv() const {
3039 return _internal_has_epv();
3040}
3041inline void TimePositionVelocity::clear_epv() {
3042 _impl_.epv_ = 0;
3043 _impl_._has_bits_[0] &= ~0x00000800u;
3044}
3045inline double TimePositionVelocity::_internal_epv() const {
3046 return _impl_.epv_;
3047}
3048inline double TimePositionVelocity::epv() const {
3049 // @@protoc_insertion_point(field_get:goby.middleware.protobuf.gpsd.TimePositionVelocity.epv)
3050 return _internal_epv();
3051}
3052inline void TimePositionVelocity::_internal_set_epv(double value) {
3053 _impl_._has_bits_[0] |= 0x00000800u;
3054 _impl_.epv_ = value;
3055}
3056inline void TimePositionVelocity::set_epv(double value) {
3057 _internal_set_epv(value);
3058 // @@protoc_insertion_point(field_set:goby.middleware.protobuf.gpsd.TimePositionVelocity.epv)
3059}
3060
3061// optional double epx = 15 [(.dccl.field) = {
3062inline bool TimePositionVelocity::_internal_has_epx() const {
3063 bool value = (_impl_._has_bits_[0] & 0x00001000u) != 0;
3064 return value;
3065}
3066inline bool TimePositionVelocity::has_epx() const {
3067 return _internal_has_epx();
3068}
3069inline void TimePositionVelocity::clear_epx() {
3070 _impl_.epx_ = 0;
3071 _impl_._has_bits_[0] &= ~0x00001000u;
3072}
3073inline double TimePositionVelocity::_internal_epx() const {
3074 return _impl_.epx_;
3075}
3076inline double TimePositionVelocity::epx() const {
3077 // @@protoc_insertion_point(field_get:goby.middleware.protobuf.gpsd.TimePositionVelocity.epx)
3078 return _internal_epx();
3079}
3080inline void TimePositionVelocity::_internal_set_epx(double value) {
3081 _impl_._has_bits_[0] |= 0x00001000u;
3082 _impl_.epx_ = value;
3083}
3084inline void TimePositionVelocity::set_epx(double value) {
3085 _internal_set_epx(value);
3086 // @@protoc_insertion_point(field_set:goby.middleware.protobuf.gpsd.TimePositionVelocity.epx)
3087}
3088
3089// optional double epy = 16 [(.dccl.field) = {
3090inline bool TimePositionVelocity::_internal_has_epy() const {
3091 bool value = (_impl_._has_bits_[0] & 0x00002000u) != 0;
3092 return value;
3093}
3094inline bool TimePositionVelocity::has_epy() const {
3095 return _internal_has_epy();
3096}
3097inline void TimePositionVelocity::clear_epy() {
3098 _impl_.epy_ = 0;
3099 _impl_._has_bits_[0] &= ~0x00002000u;
3100}
3101inline double TimePositionVelocity::_internal_epy() const {
3102 return _impl_.epy_;
3103}
3104inline double TimePositionVelocity::epy() const {
3105 // @@protoc_insertion_point(field_get:goby.middleware.protobuf.gpsd.TimePositionVelocity.epy)
3106 return _internal_epy();
3107}
3108inline void TimePositionVelocity::_internal_set_epy(double value) {
3109 _impl_._has_bits_[0] |= 0x00002000u;
3110 _impl_.epy_ = value;
3111}
3112inline void TimePositionVelocity::set_epy(double value) {
3113 _internal_set_epy(value);
3114 // @@protoc_insertion_point(field_set:goby.middleware.protobuf.gpsd.TimePositionVelocity.epy)
3115}
3116
3117#ifdef __GNUC__
3118 #pragma GCC diagnostic pop
3119#endif // __GNUC__
3120// -------------------------------------------------------------------
3121
3122// -------------------------------------------------------------------
3123
3124// -------------------------------------------------------------------
3125
3126
3127// @@protoc_insertion_point(namespace_scope)
3128
3129} // namespace gpsd
3130} // namespace protobuf
3131} // namespace middleware
3132} // namespace goby
3133
3134PROTOBUF_NAMESPACE_OPEN
3135
3136template <> struct is_proto_enum< ::goby::middleware::protobuf::gpsd::TimePositionVelocity_Mode> : ::std::true_type {};
3137template <>
3139 return ::goby::middleware::protobuf::gpsd::TimePositionVelocity_Mode_descriptor();
3140}
3141
3142PROTOBUF_NAMESPACE_CLOSE
3143
3144// @@protoc_insertion_point(global_scope)
3145
3146#include <google/protobuf/port_undef.inc>
3147#endif // GOOGLE_PROTOBUF_INCLUDED_GOOGLE_PROTOBUF_INCLUDED_goby_2fmiddleware_2fprotobuf_2fgpsd_2eproto
void CopyFrom(const Attitude &from)
boost::units::plane_angle_dimension heading_dimension
Definition gpsd.pb.h:1024
boost::units::plane_angle_dimension yaw_dimension
Definition gpsd.pb.h:1054
void set_device(ArgT0 &&arg0, ArgT... args)
void set_heading_with_units(Quantity value_w_units)
Definition gpsd.pb.h:1029
void set_pitch_with_units(Quantity value_w_units)
Definition gpsd.pb.h:1044
const ::PROTOBUF_NAMESPACE_ID::Message::ClassData * GetClassData() const final
boost::units::unit< yaw_dimension, boost::units::degree::system > yaw_unit
Definition gpsd.pb.h:1056
static const ::PROTOBUF_NAMESPACE_ID::Reflection * GetReflection()
Definition gpsd.pb.h:835
boost::units::unit< heading_dimension, boost::units::degree::system > heading_unit
Definition gpsd.pb.h:1026
boost::units::unit< pitch_dimension, boost::units::degree::system > pitch_unit
Definition gpsd.pb.h:1041
PROTOBUF_CONSTEXPR Attitude(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized)
Attitude * New(::PROTOBUF_NAMESPACE_ID::Arena *arena=nullptr) const final
Definition gpsd.pb.h:872
const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet & unknown_fields() const
Definition gpsd.pb.h:822
friend void swap(Attitude &a, Attitude &b)
Definition gpsd.pb.h:848
Attitude(Attitude &&from) noexcept
Definition gpsd.pb.h:799
boost::units::plane_angle_dimension roll_dimension
Definition gpsd.pb.h:1069
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * GetDescriptor()
Definition gpsd.pb.h:832
static const ClassData _class_data_
Definition gpsd.pb.h:909
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * descriptor()
Definition gpsd.pb.h:829
boost::units::unit< time_dimension, boost::units::si::system > time_unit
Definition gpsd.pb.h:1011
inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet * mutable_unknown_fields()
Definition gpsd.pb.h:825
void UnsafeArenaSwap(Attitude *other)
Definition gpsd.pb.h:864
boost::units::plane_angle_dimension pitch_dimension
Definition gpsd.pb.h:1039
void set_yaw_with_units(Quantity value_w_units)
Definition gpsd.pb.h:1059
Attitude & operator=(Attitude &&from) noexcept
Definition gpsd.pb.h:808
void set_roll_with_units(Quantity value_w_units)
Definition gpsd.pb.h:1074
boost::units::quantity< time_unit, double > time_with_units() const
Definition gpsd.pb.h:1021
Attitude & operator=(const Attitude &from)
Definition gpsd.pb.h:804
static const Attitude * internal_default_instance()
Definition gpsd.pb.h:841
boost::units::quantity< pitch_unit, double > pitch_with_units() const
Definition gpsd.pb.h:1051
boost::units::quantity< roll_unit, double > roll_with_units() const
Definition gpsd.pb.h:1081
boost::units::quantity< yaw_unit, double > yaw_with_units() const
Definition gpsd.pb.h:1066
static const Attitude & default_instance()
Definition gpsd.pb.h:838
void set_time_with_units(Quantity value_w_units)
Definition gpsd.pb.h:1014
boost::units::time_dimension time_dimension
Definition gpsd.pb.h:1009
boost::units::quantity< heading_unit, double > heading_with_units() const
Definition gpsd.pb.h:1036
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final
boost::units::unit< roll_dimension, boost::units::degree::system > roll_unit
Definition gpsd.pb.h:1071
void MergeFrom(const Attitude &from)
Definition gpsd.pb.h:878
Attitude(::PROTOBUF_NAMESPACE_ID::Arena *arena, bool is_message_owned=false)
boost::units::plane_angle_dimension az_dimension
Definition gpsd.pb.h:385
static constexpr int kIndexInFileMessages
Definition gpsd.pb.h:170
static const Satellite * internal_default_instance()
Definition gpsd.pb.h:166
void CopyFrom(const Satellite &from)
boost::units::unit< el_dimension, boost::units::degree::system > el_unit
Definition gpsd.pb.h:402
void UnsafeArenaSwap(Satellite *other)
Definition gpsd.pb.h:189
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final
Satellite * New(::PROTOBUF_NAMESPACE_ID::Arena *arena=nullptr) const final
Definition gpsd.pb.h:197
Satellite(::PROTOBUF_NAMESPACE_ID::Arena *arena, bool is_message_owned=false)
Satellite & operator=(Satellite &&from) noexcept
Definition gpsd.pb.h:133
static const Satellite & default_instance()
Definition gpsd.pb.h:163
void set_el_with_units(Quantity value_w_units)
Definition gpsd.pb.h:405
PROTOBUF_CONSTEXPR Satellite(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized)
void MergeFrom(const Satellite &from)
Definition gpsd.pb.h:203
boost::units::quantity< az_unit, double > az_with_units() const
Definition gpsd.pb.h:397
const ::PROTOBUF_NAMESPACE_ID::Message::ClassData * GetClassData() const final
inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet * mutable_unknown_fields()
Definition gpsd.pb.h:150
Satellite(Satellite &&from) noexcept
Definition gpsd.pb.h:124
void set_az_with_units(Quantity value_w_units)
Definition gpsd.pb.h:390
boost::units::plane_angle_dimension el_dimension
Definition gpsd.pb.h:400
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * descriptor()
Definition gpsd.pb.h:154
boost::units::unit< az_dimension, boost::units::degree::system > az_unit
Definition gpsd.pb.h:387
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
Definition gpsd.pb.h:147
static const ::PROTOBUF_NAMESPACE_ID::Reflection * GetReflection()
Definition gpsd.pb.h:160
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * GetDescriptor()
Definition gpsd.pb.h:157
boost::units::quantity< el_unit, double > el_with_units() const
Definition gpsd.pb.h:412
friend void swap(Satellite &a, Satellite &b)
Definition gpsd.pb.h:173
::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final
Satellite & operator=(const Satellite &from)
Definition gpsd.pb.h:129
SkyView * New(::PROTOBUF_NAMESPACE_ID::Arena *arena=nullptr) const final
Definition gpsd.pb.h:522
SkyView & operator=(SkyView &&from) noexcept
Definition gpsd.pb.h:458
void CopyFrom(const SkyView &from)
boost::units::time_dimension time_dimension
Definition gpsd.pb.h:748
PROTOBUF_CONSTEXPR SkyView(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized)
SkyView(::PROTOBUF_NAMESPACE_ID::Arena *arena, bool is_message_owned=false)
static const ClassData _class_data_
Definition gpsd.pb.h:559
const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet & unknown_fields() const
Definition gpsd.pb.h:472
static const ::PROTOBUF_NAMESPACE_ID::Reflection * GetReflection()
Definition gpsd.pb.h:485
void MergeFrom(const SkyView &from)
Definition gpsd.pb.h:528
SkyView & operator=(const SkyView &from)
Definition gpsd.pb.h:454
inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet * mutable_unknown_fields()
Definition gpsd.pb.h:475
friend void swap(SkyView &a, SkyView &b)
Definition gpsd.pb.h:498
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final
static const SkyView & default_instance()
Definition gpsd.pb.h:488
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * descriptor()
Definition gpsd.pb.h:479
SkyView(SkyView &&from) noexcept
Definition gpsd.pb.h:449
boost::units::quantity< time_unit, double > time_with_units() const
Definition gpsd.pb.h:760
boost::units::unit< time_dimension, boost::units::si::system > time_unit
Definition gpsd.pb.h:750
void set_device(ArgT0 &&arg0, ArgT... args)
void set_time_with_units(Quantity value_w_units)
Definition gpsd.pb.h:753
const ::PROTOBUF_NAMESPACE_ID::Message::ClassData * GetClassData() const final
static const SkyView * internal_default_instance()
Definition gpsd.pb.h:491
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * GetDescriptor()
Definition gpsd.pb.h:482
boost::units::quantity< climb_unit, double > climb_with_units() const
Definition gpsd.pb.h:1561
boost::units::quantity< epd_unit, double > epd_with_units() const
Definition gpsd.pb.h:1591
boost::mpl::divides< boost::units::length_dimension, boost::units::time_dimension >::type speed_dimension
Definition gpsd.pb.h:1534
boost::units::plane_angle_dimension epd_dimension
Definition gpsd.pb.h:1579
const ::PROTOBUF_NAMESPACE_ID::Message::ClassData * GetClassData() const final
boost::units::unit< altitude_dimension, boost::units::si::system > altitude_unit
Definition gpsd.pb.h:1506
boost::mpl::divides< boost::units::length_dimension, boost::units::time_dimension >::type climb_dimension
Definition gpsd.pb.h:1549
inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet * mutable_unknown_fields()
Definition gpsd.pb.h:1140
void CopyFrom(const TimePositionVelocity &from)
boost::units::quantity< epv_unit, double > epv_with_units() const
Definition gpsd.pb.h:1636
PROTOBUF_CONSTEXPR TimePositionVelocity(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized)
void set_speed_with_units(Quantity value_w_units)
Definition gpsd.pb.h:1539
boost::units::quantity< ept_unit, double > ept_with_units() const
Definition gpsd.pb.h:1621
boost::units::unit< time_dimension, boost::units::si::system > time_unit
Definition gpsd.pb.h:1491
const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet & unknown_fields() const
Definition gpsd.pb.h:1137
TimePositionVelocity & operator=(const TimePositionVelocity &from)
Definition gpsd.pb.h:1119
boost::units::quantity< altitude_unit, double > altitude_with_units() const
Definition gpsd.pb.h:1516
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * descriptor()
Definition gpsd.pb.h:1144
boost::units::quantity< epy_unit, double > epy_with_units() const
Definition gpsd.pb.h:1666
void UnsafeArenaSwap(TimePositionVelocity *other)
Definition gpsd.pb.h:1179
static const TimePositionVelocity & default_instance()
Definition gpsd.pb.h:1153
boost::units::quantity< epx_unit, double > epx_with_units() const
Definition gpsd.pb.h:1651
boost::units::length_dimension altitude_dimension
Definition gpsd.pb.h:1504
boost::units::quantity< speed_unit, double > speed_with_units() const
Definition gpsd.pb.h:1546
boost::units::unit< epc_dimension, boost::units::si::system > epc_unit
Definition gpsd.pb.h:1566
TimePositionVelocity(::PROTOBUF_NAMESPACE_ID::Arena *arena, bool is_message_owned=false)
boost::units::unit< eps_dimension, boost::units::si::system > eps_unit
Definition gpsd.pb.h:1596
static const std::string & Mode_Name(T enum_t_value)
Definition gpsd.pb.h:1254
TimePositionVelocity(TimePositionVelocity &&from) noexcept
Definition gpsd.pb.h:1114
boost::units::quantity< eps_unit, double > eps_with_units() const
Definition gpsd.pb.h:1606
friend void swap(TimePositionVelocity &a, TimePositionVelocity &b)
Definition gpsd.pb.h:1163
TimePositionVelocity & operator=(TimePositionVelocity &&from) noexcept
Definition gpsd.pb.h:1123
boost::units::unit< epv_dimension, boost::units::si::system > epv_unit
Definition gpsd.pb.h:1626
boost::units::unit< epy_dimension, boost::units::si::system > epy_unit
Definition gpsd.pb.h:1656
boost::mpl::divides< boost::units::length_dimension, boost::units::time_dimension >::type eps_dimension
Definition gpsd.pb.h:1594
static bool Mode_Parse(::PROTOBUF_NAMESPACE_ID::ConstStringParam name, Mode *value)
Definition gpsd.pb.h:1260
boost::units::quantity< epc_unit, double > epc_with_units() const
Definition gpsd.pb.h:1576
static const TimePositionVelocity * internal_default_instance()
Definition gpsd.pb.h:1156
boost::units::unit< climb_dimension, boost::units::si::system > climb_unit
Definition gpsd.pb.h:1551
void set_altitude_with_units(Quantity value_w_units)
Definition gpsd.pb.h:1509
boost::units::plane_angle_dimension track_dimension
Definition gpsd.pb.h:1519
boost::units::quantity< time_unit, double > time_with_units() const
Definition gpsd.pb.h:1501
void set_track_with_units(Quantity value_w_units)
Definition gpsd.pb.h:1524
boost::mpl::divides< boost::units::length_dimension, boost::units::time_dimension >::type epc_dimension
Definition gpsd.pb.h:1564
void MergeFrom(const TimePositionVelocity &from)
Definition gpsd.pb.h:1193
TimePositionVelocity * New(::PROTOBUF_NAMESPACE_ID::Arena *arena=nullptr) const final
Definition gpsd.pb.h:1187
TimePositionVelocity(const TimePositionVelocity &from)
boost::units::unit< epd_dimension, boost::units::degree::system > epd_unit
Definition gpsd.pb.h:1581
boost::units::quantity< track_unit, double > track_with_units() const
Definition gpsd.pb.h:1531
boost::units::unit< track_dimension, boost::units::degree::system > track_unit
Definition gpsd.pb.h:1521
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * GetDescriptor()
Definition gpsd.pb.h:1147
static const ::PROTOBUF_NAMESPACE_ID::Reflection * GetReflection()
Definition gpsd.pb.h:1150
boost::units::unit< speed_dimension, boost::units::si::system > speed_unit
Definition gpsd.pb.h:1536
static const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor * Mode_descriptor()
Definition gpsd.pb.h:1250
void set_climb_with_units(Quantity value_w_units)
Definition gpsd.pb.h:1554
boost::units::unit< ept_dimension, boost::units::si::system > ept_unit
Definition gpsd.pb.h:1611
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final
boost::units::unit< epx_dimension, boost::units::si::system > epx_unit
Definition gpsd.pb.h:1641
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 >()
Definition gpsd.pb.h:3138
AttitudeDefaultTypeInternal _Attitude_default_instance_
constexpr TimePositionVelocity_Mode TimePositionVelocity_Mode_Mode_MIN
Definition gpsd.pb.h:96
SatelliteDefaultTypeInternal _Satellite_default_instance_
TimePositionVelocityDefaultTypeInternal _TimePositionVelocity_default_instance_
bool TimePositionVelocity_Mode_Parse(::PROTOBUF_NAMESPACE_ID::ConstStringParam name, TimePositionVelocity_Mode *value)
Definition gpsd.pb.h:109
constexpr TimePositionVelocity_Mode TimePositionVelocity_Mode_Mode_MAX
Definition gpsd.pb.h:97
SkyViewDefaultTypeInternal _SkyView_default_instance_
const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor * TimePositionVelocity_Mode_descriptor()
bool TimePositionVelocity_Mode_IsValid(int value)
constexpr int TimePositionVelocity_Mode_Mode_ARRAYSIZE
Definition gpsd.pb.h:98
const std::string & TimePositionVelocity_Mode_Name(T enum_t_value)
Definition gpsd.pb.h:102
LatLonPointDefaultTypeInternal _LatLonPoint_default_instance_
The global namespace for the Goby project.
#define ByteSizeLong