Goby3 3.4.0
2026.04.13
Loading...
Searching...
No Matches
frontseat_data.pb.h
Go to the documentation of this file.
1// Generated by the protocol buffer compiler. DO NOT EDIT!
2// source: goby/middleware/protobuf/frontseat_data.proto
3
4#ifndef GOOGLE_PROTOBUF_INCLUDED_goby_2fmiddleware_2fprotobuf_2ffrontseat_5fdata_2eproto
5#define GOOGLE_PROTOBUF_INCLUDED_goby_2fmiddleware_2fprotobuf_2ffrontseat_5fdata_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>
34#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/temperature/celsius.hpp>
44
45#include <boost/units/systems/si.hpp>
46
47#include "dccl/units/degrees.h"
48// @@protoc_insertion_point(includes)
49#include <google/protobuf/port_def.inc>
50#define PROTOBUF_INTERNAL_EXPORT_goby_2fmiddleware_2fprotobuf_2ffrontseat_5fdata_2eproto
51PROTOBUF_NAMESPACE_OPEN
52namespace internal {
53class AnyMetadata;
54} // namespace internal
55PROTOBUF_NAMESPACE_CLOSE
56
57// Internal implementation detail -- do not use these members.
61extern const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable descriptor_table_goby_2fmiddleware_2fprotobuf_2ffrontseat_5fdata_2eproto;
62namespace goby {
63namespace middleware {
64namespace frontseat {
65namespace protobuf {
66class CTDSample;
67struct CTDSampleDefaultTypeInternal;
68extern CTDSampleDefaultTypeInternal _CTDSample_default_instance_;
69class CartesianCoordinate;
70struct CartesianCoordinateDefaultTypeInternal;
71extern CartesianCoordinateDefaultTypeInternal _CartesianCoordinate_default_instance_;
72class DatumUpdate;
73struct DatumUpdateDefaultTypeInternal;
74extern DatumUpdateDefaultTypeInternal _DatumUpdate_default_instance_;
75class DesiredCourse;
76struct DesiredCourseDefaultTypeInternal;
77extern DesiredCourseDefaultTypeInternal _DesiredCourse_default_instance_;
78class EulerAngles;
79struct EulerAnglesDefaultTypeInternal;
80extern EulerAnglesDefaultTypeInternal _EulerAngles_default_instance_;
81class NodeStatus;
82struct NodeStatusDefaultTypeInternal;
83extern NodeStatusDefaultTypeInternal _NodeStatus_default_instance_;
84class Source;
85struct SourceDefaultTypeInternal;
86extern SourceDefaultTypeInternal _Source_default_instance_;
87class Speed;
88struct SpeedDefaultTypeInternal;
89extern SpeedDefaultTypeInternal _Speed_default_instance_;
90} // namespace protobuf
91} // namespace frontseat
92} // namespace middleware
93} // namespace goby
94PROTOBUF_NAMESPACE_OPEN
95template<> ::goby::middleware::frontseat::protobuf::CTDSample* Arena::CreateMaybeMessage<::goby::middleware::frontseat::protobuf::CTDSample>(Arena*);
96template<> ::goby::middleware::frontseat::protobuf::CartesianCoordinate* Arena::CreateMaybeMessage<::goby::middleware::frontseat::protobuf::CartesianCoordinate>(Arena*);
97template<> ::goby::middleware::frontseat::protobuf::DatumUpdate* Arena::CreateMaybeMessage<::goby::middleware::frontseat::protobuf::DatumUpdate>(Arena*);
98template<> ::goby::middleware::frontseat::protobuf::DesiredCourse* Arena::CreateMaybeMessage<::goby::middleware::frontseat::protobuf::DesiredCourse>(Arena*);
99template<> ::goby::middleware::frontseat::protobuf::EulerAngles* Arena::CreateMaybeMessage<::goby::middleware::frontseat::protobuf::EulerAngles>(Arena*);
100template<> ::goby::middleware::frontseat::protobuf::NodeStatus* Arena::CreateMaybeMessage<::goby::middleware::frontseat::protobuf::NodeStatus>(Arena*);
101template<> ::goby::middleware::frontseat::protobuf::Source* Arena::CreateMaybeMessage<::goby::middleware::frontseat::protobuf::Source>(Arena*);
102template<> ::goby::middleware::frontseat::protobuf::Speed* Arena::CreateMaybeMessage<::goby::middleware::frontseat::protobuf::Speed>(Arena*);
103PROTOBUF_NAMESPACE_CLOSE
104namespace goby {
105namespace middleware {
106namespace frontseat {
107namespace protobuf {
108
119bool Source_Sensor_IsValid(int value);
123
124const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* Source_Sensor_descriptor();
125template<typename T>
126inline const std::string& Source_Sensor_Name(T enum_t_value) {
127 static_assert(::std::is_same<T, Source_Sensor>::value ||
128 ::std::is_integral<T>::value,
129 "Incorrect type passed to function Source_Sensor_Name.");
130 return ::PROTOBUF_NAMESPACE_ID::internal::NameOfEnum(
131 Source_Sensor_descriptor(), enum_t_value);
132}
134 ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, Source_Sensor* value) {
135 return ::PROTOBUF_NAMESPACE_ID::internal::ParseNamedEnum<Source_Sensor>(
136 Source_Sensor_descriptor(), name, value);
137}
146
147const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* CTDSample_SalinityAlgorithm_descriptor();
148template<typename T>
149inline const std::string& CTDSample_SalinityAlgorithm_Name(T enum_t_value) {
150 static_assert(::std::is_same<T, CTDSample_SalinityAlgorithm>::value ||
151 ::std::is_integral<T>::value,
152 "Incorrect type passed to function CTDSample_SalinityAlgorithm_Name.");
153 return ::PROTOBUF_NAMESPACE_ID::internal::NameOfEnum(
155}
157 ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, CTDSample_SalinityAlgorithm* value) {
158 return ::PROTOBUF_NAMESPACE_ID::internal::ParseNamedEnum<CTDSample_SalinityAlgorithm>(
160}
171
172const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* CTDSample_SoundSpeedAlgorithm_descriptor();
173template<typename T>
174inline const std::string& CTDSample_SoundSpeedAlgorithm_Name(T enum_t_value) {
175 static_assert(::std::is_same<T, CTDSample_SoundSpeedAlgorithm>::value ||
176 ::std::is_integral<T>::value,
177 "Incorrect type passed to function CTDSample_SoundSpeedAlgorithm_Name.");
178 return ::PROTOBUF_NAMESPACE_ID::internal::NameOfEnum(
180}
182 ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, CTDSample_SoundSpeedAlgorithm* value) {
183 return ::PROTOBUF_NAMESPACE_ID::internal::ParseNamedEnum<CTDSample_SoundSpeedAlgorithm>(
185}
194
195const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* CTDSample_DensityAlgorithm_descriptor();
196template<typename T>
197inline const std::string& CTDSample_DensityAlgorithm_Name(T enum_t_value) {
198 static_assert(::std::is_same<T, CTDSample_DensityAlgorithm>::value ||
199 ::std::is_integral<T>::value,
200 "Incorrect type passed to function CTDSample_DensityAlgorithm_Name.");
201 return ::PROTOBUF_NAMESPACE_ID::internal::NameOfEnum(
203}
205 ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, CTDSample_DensityAlgorithm* value) {
206 return ::PROTOBUF_NAMESPACE_ID::internal::ParseNamedEnum<CTDSample_DensityAlgorithm>(
208}
209enum VehicleType : int {
211 AUV = 10,
212 GLIDER = 11,
213 USV = 20,
216 ROV = 30,
217 TARGET = 50,
218 BUOY = 60,
222 SHIP = 100,
223 OTHER = -1
225bool VehicleType_IsValid(int value);
229
230const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* VehicleType_descriptor();
231template<typename T>
232inline const std::string& VehicleType_Name(T enum_t_value) {
233 static_assert(::std::is_same<T, VehicleType>::value ||
234 ::std::is_integral<T>::value,
235 "Incorrect type passed to function VehicleType_Name.");
236 return ::PROTOBUF_NAMESPACE_ID::internal::NameOfEnum(
237 VehicleType_descriptor(), enum_t_value);
238}
240 ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, VehicleType* value) {
241 return ::PROTOBUF_NAMESPACE_ID::internal::ParseNamedEnum<VehicleType>(
242 VehicleType_descriptor(), name, value);
243}
244// ===================================================================
245
246class NodeStatus final :
247 public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:goby.middleware.frontseat.protobuf.NodeStatus) */ {
248 public:
249 inline NodeStatus() : NodeStatus(nullptr) {}
250 ~NodeStatus() override;
251 explicit PROTOBUF_CONSTEXPR NodeStatus(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
252
253 NodeStatus(const NodeStatus& from);
254 NodeStatus(NodeStatus&& from) noexcept
255 : NodeStatus() {
256 *this = ::std::move(from);
257 }
258
259 inline NodeStatus& operator=(const NodeStatus& from) {
260 CopyFrom(from);
261 return *this;
262 }
263 inline NodeStatus& operator=(NodeStatus&& from) noexcept {
264 if (this == &from) return *this;
265 if (GetOwningArena() == from.GetOwningArena()
266 #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
267 && GetOwningArena() != nullptr
268 #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
269 ) {
270 InternalSwap(&from);
271 } else {
272 CopyFrom(from);
273 }
274 return *this;
275 }
276
277 inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const {
278 return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance);
279 }
280 inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() {
281 return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
282 }
283
284 static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
285 return GetDescriptor();
286 }
287 static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
288 return default_instance().GetMetadata().descriptor;
289 }
290 static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
291 return default_instance().GetMetadata().reflection;
292 }
293 static const NodeStatus& default_instance() {
295 }
296 static inline const NodeStatus* internal_default_instance() {
297 return reinterpret_cast<const NodeStatus*>(
299 }
300 static constexpr int kIndexInFileMessages =
301 0;
302
303 friend void swap(NodeStatus& a, NodeStatus& b) {
304 a.Swap(&b);
305 }
306 inline void Swap(NodeStatus* other) {
307 if (other == this) return;
308 #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
309 if (GetOwningArena() != nullptr &&
310 GetOwningArena() == other->GetOwningArena()) {
311 #else // PROTOBUF_FORCE_COPY_IN_SWAP
312 if (GetOwningArena() == other->GetOwningArena()) {
313 #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
314 InternalSwap(other);
315 } else {
316 ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
317 }
318 }
320 if (other == this) return;
321 GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
322 InternalSwap(other);
323 }
324
325 // implements Message ----------------------------------------------
326
327 NodeStatus* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
328 return CreateMaybeMessage<NodeStatus>(arena);
329 }
330 using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
331 void CopyFrom(const NodeStatus& from);
332 using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
333 void MergeFrom( const NodeStatus& from) {
334 NodeStatus::MergeImpl(*this, from);
335 }
336 private:
337 static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg);
338 public:
339 PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
340 bool IsInitialized() const final;
341
342 size_t ByteSizeLong() const final;
343 const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
345 uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
346 int GetCachedSize() const final { return _impl_._cached_size_.Get(); }
347
348 private:
349 void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned);
350 void SharedDtor();
351 void SetCachedSize(int size) const final;
352 void InternalSwap(NodeStatus* other);
353
354 private:
355 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
356 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
357 return "goby.middleware.frontseat.protobuf.NodeStatus";
358 }
359 protected:
360 explicit NodeStatus(::PROTOBUF_NAMESPACE_ID::Arena* arena,
361 bool is_message_owned = false);
362 public:
363
364 static const ClassData _class_data_;
365 const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
366
367 ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
368
369 // nested types ----------------------------------------------------
370
371 // accessors -------------------------------------------------------
372
373 enum : int {
382 };
383 // optional string name = 2;
384 bool has_name() const;
385 private:
386 bool _internal_has_name() const;
387 public:
388 void clear_name();
389 const std::string& name() const;
390 template <typename ArgT0 = const std::string&, typename... ArgT>
391 void set_name(ArgT0&& arg0, ArgT... args);
392 std::string* mutable_name();
393 PROTOBUF_NODISCARD std::string* release_name();
394 void set_allocated_name(std::string* name);
395 private:
396 const std::string& _internal_name() const;
397 inline PROTOBUF_ALWAYS_INLINE void _internal_set_name(const std::string& value);
398 std::string* _internal_mutable_name();
399 public:
400
401 // required .goby.middleware.protobuf.LatLonPoint global_fix = 10;
402 bool has_global_fix() const;
403 private:
404 bool _internal_has_global_fix() const;
405 public:
407 const ::goby::middleware::protobuf::LatLonPoint& global_fix() const;
408 PROTOBUF_NODISCARD ::goby::middleware::protobuf::LatLonPoint* release_global_fix();
411 private:
412 const ::goby::middleware::protobuf::LatLonPoint& _internal_global_fix() const;
413 ::goby::middleware::protobuf::LatLonPoint* _internal_mutable_global_fix();
414 public:
418
419 // optional .goby.middleware.frontseat.protobuf.CartesianCoordinate local_fix = 11;
420 bool has_local_fix() const;
421 private:
422 bool _internal_has_local_fix() const;
423 public:
424 void clear_local_fix();
425 const ::goby::middleware::frontseat::protobuf::CartesianCoordinate& local_fix() const;
426 PROTOBUF_NODISCARD ::goby::middleware::frontseat::protobuf::CartesianCoordinate* release_local_fix();
429 private:
430 const ::goby::middleware::frontseat::protobuf::CartesianCoordinate& _internal_local_fix() const;
432 public:
436
437 // required .goby.middleware.frontseat.protobuf.EulerAngles pose = 20;
438 bool has_pose() const;
439 private:
440 bool _internal_has_pose() const;
441 public:
442 void clear_pose();
443 const ::goby::middleware::frontseat::protobuf::EulerAngles& pose() const;
444 PROTOBUF_NODISCARD ::goby::middleware::frontseat::protobuf::EulerAngles* release_pose();
447 private:
448 const ::goby::middleware::frontseat::protobuf::EulerAngles& _internal_pose() const;
450 public:
454
455 // required .goby.middleware.frontseat.protobuf.Speed speed = 30;
456 bool has_speed() const;
457 private:
458 bool _internal_has_speed() const;
459 public:
460 void clear_speed();
461 const ::goby::middleware::frontseat::protobuf::Speed& speed() const;
462 PROTOBUF_NODISCARD ::goby::middleware::frontseat::protobuf::Speed* release_speed();
465 private:
466 const ::goby::middleware::frontseat::protobuf::Speed& _internal_speed() const;
467 ::goby::middleware::frontseat::protobuf::Speed* _internal_mutable_speed();
468 public:
472
473 // optional .goby.middleware.frontseat.protobuf.Source source = 40;
474 bool has_source() const;
475 private:
476 bool _internal_has_source() const;
477 public:
478 void clear_source();
479 const ::goby::middleware::frontseat::protobuf::Source& source() const;
480 PROTOBUF_NODISCARD ::goby::middleware::frontseat::protobuf::Source* release_source();
483 private:
484 const ::goby::middleware::frontseat::protobuf::Source& _internal_source() const;
485 ::goby::middleware::frontseat::protobuf::Source* _internal_mutable_source();
486 public:
490
491 // required double time = 1 [(.dccl.field) = {
492 bool has_time() const;
493 private:
494 bool _internal_has_time() const;
495 public:
496 void clear_time();
497 double time() const;
498 void set_time(double value);
499 private:
500 double _internal_time() const;
501 void _internal_set_time(double value);
502 public:
503
504 // optional .goby.middleware.frontseat.protobuf.VehicleType type = 3;
505 bool has_type() const;
506 private:
507 bool _internal_has_type() const;
508 public:
509 void clear_type();
512 private:
514 void _internal_set_type(::goby::middleware::frontseat::protobuf::VehicleType value);
515 public:
516
517
518 template <typename _proto_TypeTraits,
519 ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type,
520 bool _is_packed>
521 inline bool HasExtension(
522 const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier<
523 NodeStatus, _proto_TypeTraits, _field_type, _is_packed>& id) const {
524
525 return _impl_._extensions_.Has(id.number());
526 }
527
528 template <typename _proto_TypeTraits,
529 ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type,
530 bool _is_packed>
531 inline void ClearExtension(
532 const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier<
533 NodeStatus, _proto_TypeTraits, _field_type, _is_packed>& id) {
534 _impl_._extensions_.ClearExtension(id.number());
535
536 }
537
538 template <typename _proto_TypeTraits,
539 ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type,
540 bool _is_packed>
541 inline int ExtensionSize(
542 const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier<
543 NodeStatus, _proto_TypeTraits, _field_type, _is_packed>& id) const {
544
545 return _impl_._extensions_.ExtensionSize(id.number());
546 }
547
548 template <typename _proto_TypeTraits,
549 ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type,
550 bool _is_packed>
551 inline typename _proto_TypeTraits::Singular::ConstType GetExtension(
552 const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier<
553 NodeStatus, _proto_TypeTraits, _field_type, _is_packed>& id) const {
554
555 return _proto_TypeTraits::Get(id.number(), _impl_._extensions_,
556 id.default_value());
557 }
558
559 template <typename _proto_TypeTraits,
560 ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type,
561 bool _is_packed>
562 inline typename _proto_TypeTraits::Singular::MutableType MutableExtension(
563 const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier<
564 NodeStatus, _proto_TypeTraits, _field_type, _is_packed>& id) {
565
566 return _proto_TypeTraits::Mutable(id.number(), _field_type,
567 &_impl_._extensions_);
568 }
569
570 template <typename _proto_TypeTraits,
571 ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type,
572 bool _is_packed>
573 inline void SetExtension(
574 const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier<
575 NodeStatus, _proto_TypeTraits, _field_type, _is_packed>& id,
576 typename _proto_TypeTraits::Singular::ConstType value) {
577 _proto_TypeTraits::Set(id.number(), _field_type, value, &_impl_._extensions_);
578
579 }
580
581 template <typename _proto_TypeTraits,
582 ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type,
583 bool _is_packed>
585 const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier<
586 NodeStatus, _proto_TypeTraits, _field_type, _is_packed>& id,
587 typename _proto_TypeTraits::Singular::MutableType value) {
588 _proto_TypeTraits::SetAllocated(id.number(), _field_type, value,
589 &_impl_._extensions_);
590
591 }
592 template <typename _proto_TypeTraits,
593 ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type,
594 bool _is_packed>
596 const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier<
597 NodeStatus, _proto_TypeTraits, _field_type, _is_packed>& id,
598 typename _proto_TypeTraits::Singular::MutableType value) {
599 _proto_TypeTraits::UnsafeArenaSetAllocated(id.number(), _field_type,
600 value, &_impl_._extensions_);
601
602 }
603 template <typename _proto_TypeTraits,
604 ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type,
605 bool _is_packed>
606 PROTOBUF_NODISCARD inline
607 typename _proto_TypeTraits::Singular::MutableType
609 const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier<
610 NodeStatus, _proto_TypeTraits, _field_type, _is_packed>& id) {
611
612 return _proto_TypeTraits::Release(id.number(), _field_type,
613 &_impl_._extensions_);
614 }
615 template <typename _proto_TypeTraits,
616 ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type,
617 bool _is_packed>
618 inline typename _proto_TypeTraits::Singular::MutableType
620 const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier<
621 NodeStatus, _proto_TypeTraits, _field_type, _is_packed>& id) {
622
623 return _proto_TypeTraits::UnsafeArenaRelease(id.number(), _field_type,
624 &_impl_._extensions_);
625 }
626
627 template <typename _proto_TypeTraits,
628 ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type,
629 bool _is_packed>
630 inline typename _proto_TypeTraits::Repeated::ConstType GetExtension(
631 const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier<
632 NodeStatus, _proto_TypeTraits, _field_type, _is_packed>& id,
633 int index) const {
634
635 return _proto_TypeTraits::Get(id.number(), _impl_._extensions_, index);
636 }
637
638 template <typename _proto_TypeTraits,
639 ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type,
640 bool _is_packed>
641 inline typename _proto_TypeTraits::Repeated::MutableType MutableExtension(
642 const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier<
643 NodeStatus, _proto_TypeTraits, _field_type, _is_packed>& id,
644 int index) {
645
646 return _proto_TypeTraits::Mutable(id.number(), index, &_impl_._extensions_);
647 }
648
649 template <typename _proto_TypeTraits,
650 ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type,
651 bool _is_packed>
652 inline void SetExtension(
653 const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier<
654 NodeStatus, _proto_TypeTraits, _field_type, _is_packed>& id,
655 int index, typename _proto_TypeTraits::Repeated::ConstType value) {
656 _proto_TypeTraits::Set(id.number(), index, value, &_impl_._extensions_);
657
658 }
659
660 template <typename _proto_TypeTraits,
661 ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type,
662 bool _is_packed>
663 inline typename _proto_TypeTraits::Repeated::MutableType AddExtension(
664 const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier<
665 NodeStatus, _proto_TypeTraits, _field_type, _is_packed>& id) {
666 typename _proto_TypeTraits::Repeated::MutableType to_add =
667 _proto_TypeTraits::Add(id.number(), _field_type, &_impl_._extensions_);
668
669 return to_add;
670 }
671
672 template <typename _proto_TypeTraits,
673 ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type,
674 bool _is_packed>
675 inline void AddExtension(
676 const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier<
677 NodeStatus, _proto_TypeTraits, _field_type, _is_packed>& id,
678 typename _proto_TypeTraits::Repeated::ConstType value) {
679 _proto_TypeTraits::Add(id.number(), _field_type, _is_packed, value,
680 &_impl_._extensions_);
681
682 }
683
684 template <typename _proto_TypeTraits,
685 ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type,
686 bool _is_packed>
687 inline const typename _proto_TypeTraits::Repeated::RepeatedFieldType&
689 const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier<
690 NodeStatus, _proto_TypeTraits, _field_type, _is_packed>& id) const {
691
692 return _proto_TypeTraits::GetRepeated(id.number(), _impl_._extensions_);
693 }
694
695 template <typename _proto_TypeTraits,
696 ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type,
697 bool _is_packed>
698 inline typename _proto_TypeTraits::Repeated::RepeatedFieldType*
700 const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier<
701 NodeStatus, _proto_TypeTraits, _field_type, _is_packed>& id) {
702
703 return _proto_TypeTraits::MutableRepeated(id.number(), _field_type,
704 _is_packed, &_impl_._extensions_);
705 }
706
707 typedef boost::units::time_dimension time_dimension;
708
709 typedef boost::units::unit<time_dimension,boost::units::si::system> time_unit;
710
711 template<typename Quantity >
712 void set_time_with_units(Quantity value_w_units)
713 { set_time(boost::units::quantity<time_unit,double >(value_w_units).value() ); };
714
715 template<typename Quantity >
716 Quantity time_with_units() const
717 { return Quantity(time() * time_unit()); };
718
719 boost::units::quantity< time_unit,double > time_with_units() const
720 { return time_with_units<boost::units::quantity< time_unit,double > >(); };
721
722 // @@protoc_insertion_point(class_scope:goby.middleware.frontseat.protobuf.NodeStatus)
723 private:
724 class _Internal;
725
726 // helper for ByteSizeLong()
727 size_t RequiredFieldsByteSizeFallback() const;
728
729 template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
730 typedef void InternalArenaConstructable_;
731 typedef void DestructorSkippable_;
732 struct Impl_ {
733 ::PROTOBUF_NAMESPACE_ID::internal::ExtensionSet _extensions_;
734
735 ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
736 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
737 ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr name_;
743 double time_;
744 int type_;
745 };
746 union { Impl_ _impl_; };
747 friend struct ::TableStruct_goby_2fmiddleware_2fprotobuf_2ffrontseat_5fdata_2eproto;
748};
749// -------------------------------------------------------------------
750
751class DesiredCourse final :
752 public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:goby.middleware.frontseat.protobuf.DesiredCourse) */ {
753 public:
754 inline DesiredCourse() : DesiredCourse(nullptr) {}
755 ~DesiredCourse() override;
756 explicit PROTOBUF_CONSTEXPR DesiredCourse(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
757
760 : DesiredCourse() {
761 *this = ::std::move(from);
762 }
763
764 inline DesiredCourse& operator=(const DesiredCourse& from) {
765 CopyFrom(from);
766 return *this;
767 }
768 inline DesiredCourse& operator=(DesiredCourse&& from) noexcept {
769 if (this == &from) return *this;
770 if (GetOwningArena() == from.GetOwningArena()
771 #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
772 && GetOwningArena() != nullptr
773 #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
774 ) {
775 InternalSwap(&from);
776 } else {
777 CopyFrom(from);
778 }
779 return *this;
780 }
781
782 inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const {
783 return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance);
784 }
785 inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() {
786 return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
787 }
788
789 static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
790 return GetDescriptor();
791 }
792 static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
793 return default_instance().GetMetadata().descriptor;
794 }
795 static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
796 return default_instance().GetMetadata().reflection;
797 }
799 return *internal_default_instance();
800 }
802 return reinterpret_cast<const DesiredCourse*>(
804 }
805 static constexpr int kIndexInFileMessages =
806 1;
807
808 friend void swap(DesiredCourse& a, DesiredCourse& b) {
809 a.Swap(&b);
810 }
811 inline void Swap(DesiredCourse* other) {
812 if (other == this) return;
813 #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
814 if (GetOwningArena() != nullptr &&
815 GetOwningArena() == other->GetOwningArena()) {
816 #else // PROTOBUF_FORCE_COPY_IN_SWAP
817 if (GetOwningArena() == other->GetOwningArena()) {
818 #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
819 InternalSwap(other);
820 } else {
821 ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
822 }
823 }
825 if (other == this) return;
826 GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
827 InternalSwap(other);
828 }
829
830 // implements Message ----------------------------------------------
831
832 DesiredCourse* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
833 return CreateMaybeMessage<DesiredCourse>(arena);
834 }
835 using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
836 void CopyFrom(const DesiredCourse& from);
837 using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
838 void MergeFrom( const DesiredCourse& from) {
839 DesiredCourse::MergeImpl(*this, from);
840 }
841 private:
842 static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg);
843 public:
844 PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
845 bool IsInitialized() const final;
846
847 size_t ByteSizeLong() const final;
848 const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
849 uint8_t* _InternalSerialize(
850 uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
851 int GetCachedSize() const final { return _impl_._cached_size_.Get(); }
852
853 private:
854 void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned);
855 void SharedDtor();
856 void SetCachedSize(int size) const final;
857 void InternalSwap(DesiredCourse* other);
858
859 private:
860 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
861 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
862 return "goby.middleware.frontseat.protobuf.DesiredCourse";
863 }
864 protected:
865 explicit DesiredCourse(::PROTOBUF_NAMESPACE_ID::Arena* arena,
866 bool is_message_owned = false);
867 public:
868
869 static const ClassData _class_data_;
870 const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
871
872 ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
873
874 // nested types ----------------------------------------------------
875
876 // accessors -------------------------------------------------------
877
878 enum : int {
879 kTimeFieldNumber = 1,
880 kHeadingFieldNumber = 2,
881 kSpeedFieldNumber = 3,
882 kDepthFieldNumber = 4,
883 kPitchFieldNumber = 5,
884 kRollFieldNumber = 6,
885 kZRateFieldNumber = 7,
886 kAltitudeFieldNumber = 8,
887 };
888 // required double time = 1 [(.dccl.field) = {
889 bool has_time() const;
890 private:
891 bool _internal_has_time() const;
892 public:
893 void clear_time();
894 double time() const;
895 void set_time(double value);
896 private:
897 double _internal_time() const;
898 void _internal_set_time(double value);
899 public:
900
901 // optional double heading = 2 [default = 0, (.dccl.field) = {
902 bool has_heading() const;
903 private:
904 bool _internal_has_heading() const;
905 public:
906 void clear_heading();
907 double heading() const;
908 void set_heading(double value);
909 private:
910 double _internal_heading() const;
911 void _internal_set_heading(double value);
912 public:
913
914 // optional double speed = 3 [default = 0, (.dccl.field) = {
915 bool has_speed() const;
916 private:
917 bool _internal_has_speed() const;
918 public:
919 void clear_speed();
920 double speed() const;
921 void set_speed(double value);
922 private:
923 double _internal_speed() const;
924 void _internal_set_speed(double value);
925 public:
926
927 // optional double depth = 4 [default = 0, (.dccl.field) = {
928 bool has_depth() const;
929 private:
930 bool _internal_has_depth() const;
931 public:
932 void clear_depth();
933 double depth() const;
934 void set_depth(double value);
935 private:
936 double _internal_depth() const;
937 void _internal_set_depth(double value);
938 public:
939
940 // optional double pitch = 5 [default = 0, (.dccl.field) = {
941 bool has_pitch() const;
942 private:
943 bool _internal_has_pitch() const;
944 public:
945 void clear_pitch();
946 double pitch() const;
947 void set_pitch(double value);
948 private:
949 double _internal_pitch() const;
950 void _internal_set_pitch(double value);
951 public:
952
953 // optional double roll = 6 [default = 0, (.dccl.field) = {
954 bool has_roll() const;
955 private:
956 bool _internal_has_roll() const;
957 public:
958 void clear_roll();
959 double roll() const;
960 void set_roll(double value);
961 private:
962 double _internal_roll() const;
963 void _internal_set_roll(double value);
964 public:
965
966 // optional double z_rate = 7 [default = 0, (.dccl.field) = {
967 bool has_z_rate() const;
968 private:
969 bool _internal_has_z_rate() const;
970 public:
971 void clear_z_rate();
972 double z_rate() const;
973 void set_z_rate(double value);
974 private:
975 double _internal_z_rate() const;
976 void _internal_set_z_rate(double value);
977 public:
978
979 // optional double altitude = 8 [default = 10, (.dccl.field) = {
980 bool has_altitude() const;
981 private:
982 bool _internal_has_altitude() const;
983 public:
984 void clear_altitude();
985 double altitude() const;
986 void set_altitude(double value);
987 private:
988 double _internal_altitude() const;
989 void _internal_set_altitude(double value);
990 public:
991
992
993 template <typename _proto_TypeTraits,
994 ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type,
995 bool _is_packed>
996 inline bool HasExtension(
997 const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier<
998 DesiredCourse, _proto_TypeTraits, _field_type, _is_packed>& id) const {
999
1000 return _impl_._extensions_.Has(id.number());
1001 }
1002
1003 template <typename _proto_TypeTraits,
1004 ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type,
1005 bool _is_packed>
1006 inline void ClearExtension(
1007 const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier<
1008 DesiredCourse, _proto_TypeTraits, _field_type, _is_packed>& id) {
1009 _impl_._extensions_.ClearExtension(id.number());
1010
1011 }
1012
1013 template <typename _proto_TypeTraits,
1014 ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type,
1015 bool _is_packed>
1016 inline int ExtensionSize(
1017 const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier<
1018 DesiredCourse, _proto_TypeTraits, _field_type, _is_packed>& id) const {
1019
1020 return _impl_._extensions_.ExtensionSize(id.number());
1021 }
1022
1023 template <typename _proto_TypeTraits,
1024 ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type,
1025 bool _is_packed>
1026 inline typename _proto_TypeTraits::Singular::ConstType GetExtension(
1027 const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier<
1028 DesiredCourse, _proto_TypeTraits, _field_type, _is_packed>& id) const {
1029
1030 return _proto_TypeTraits::Get(id.number(), _impl_._extensions_,
1031 id.default_value());
1032 }
1033
1034 template <typename _proto_TypeTraits,
1035 ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type,
1036 bool _is_packed>
1037 inline typename _proto_TypeTraits::Singular::MutableType MutableExtension(
1038 const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier<
1039 DesiredCourse, _proto_TypeTraits, _field_type, _is_packed>& id) {
1040
1041 return _proto_TypeTraits::Mutable(id.number(), _field_type,
1042 &_impl_._extensions_);
1043 }
1044
1045 template <typename _proto_TypeTraits,
1046 ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type,
1047 bool _is_packed>
1048 inline void SetExtension(
1049 const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier<
1050 DesiredCourse, _proto_TypeTraits, _field_type, _is_packed>& id,
1051 typename _proto_TypeTraits::Singular::ConstType value) {
1052 _proto_TypeTraits::Set(id.number(), _field_type, value, &_impl_._extensions_);
1053
1054 }
1055
1056 template <typename _proto_TypeTraits,
1057 ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type,
1058 bool _is_packed>
1060 const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier<
1061 DesiredCourse, _proto_TypeTraits, _field_type, _is_packed>& id,
1062 typename _proto_TypeTraits::Singular::MutableType value) {
1063 _proto_TypeTraits::SetAllocated(id.number(), _field_type, value,
1064 &_impl_._extensions_);
1065
1066 }
1067 template <typename _proto_TypeTraits,
1068 ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type,
1069 bool _is_packed>
1071 const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier<
1072 DesiredCourse, _proto_TypeTraits, _field_type, _is_packed>& id,
1073 typename _proto_TypeTraits::Singular::MutableType value) {
1074 _proto_TypeTraits::UnsafeArenaSetAllocated(id.number(), _field_type,
1075 value, &_impl_._extensions_);
1076
1077 }
1078 template <typename _proto_TypeTraits,
1079 ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type,
1080 bool _is_packed>
1081 PROTOBUF_NODISCARD inline
1082 typename _proto_TypeTraits::Singular::MutableType
1084 const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier<
1085 DesiredCourse, _proto_TypeTraits, _field_type, _is_packed>& id) {
1086
1087 return _proto_TypeTraits::Release(id.number(), _field_type,
1088 &_impl_._extensions_);
1089 }
1090 template <typename _proto_TypeTraits,
1091 ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type,
1092 bool _is_packed>
1093 inline typename _proto_TypeTraits::Singular::MutableType
1095 const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier<
1096 DesiredCourse, _proto_TypeTraits, _field_type, _is_packed>& id) {
1097
1098 return _proto_TypeTraits::UnsafeArenaRelease(id.number(), _field_type,
1099 &_impl_._extensions_);
1100 }
1101
1102 template <typename _proto_TypeTraits,
1103 ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type,
1104 bool _is_packed>
1105 inline typename _proto_TypeTraits::Repeated::ConstType GetExtension(
1106 const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier<
1107 DesiredCourse, _proto_TypeTraits, _field_type, _is_packed>& id,
1108 int index) const {
1109
1110 return _proto_TypeTraits::Get(id.number(), _impl_._extensions_, index);
1111 }
1112
1113 template <typename _proto_TypeTraits,
1114 ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type,
1115 bool _is_packed>
1116 inline typename _proto_TypeTraits::Repeated::MutableType MutableExtension(
1117 const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier<
1118 DesiredCourse, _proto_TypeTraits, _field_type, _is_packed>& id,
1119 int index) {
1120
1121 return _proto_TypeTraits::Mutable(id.number(), index, &_impl_._extensions_);
1122 }
1123
1124 template <typename _proto_TypeTraits,
1125 ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type,
1126 bool _is_packed>
1127 inline void SetExtension(
1128 const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier<
1129 DesiredCourse, _proto_TypeTraits, _field_type, _is_packed>& id,
1130 int index, typename _proto_TypeTraits::Repeated::ConstType value) {
1131 _proto_TypeTraits::Set(id.number(), index, value, &_impl_._extensions_);
1132
1133 }
1134
1135 template <typename _proto_TypeTraits,
1136 ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type,
1137 bool _is_packed>
1138 inline typename _proto_TypeTraits::Repeated::MutableType AddExtension(
1139 const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier<
1140 DesiredCourse, _proto_TypeTraits, _field_type, _is_packed>& id) {
1141 typename _proto_TypeTraits::Repeated::MutableType to_add =
1142 _proto_TypeTraits::Add(id.number(), _field_type, &_impl_._extensions_);
1143
1144 return to_add;
1145 }
1146
1147 template <typename _proto_TypeTraits,
1148 ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type,
1149 bool _is_packed>
1150 inline void AddExtension(
1151 const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier<
1152 DesiredCourse, _proto_TypeTraits, _field_type, _is_packed>& id,
1153 typename _proto_TypeTraits::Repeated::ConstType value) {
1154 _proto_TypeTraits::Add(id.number(), _field_type, _is_packed, value,
1155 &_impl_._extensions_);
1156
1157 }
1158
1159 template <typename _proto_TypeTraits,
1160 ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type,
1161 bool _is_packed>
1162 inline const typename _proto_TypeTraits::Repeated::RepeatedFieldType&
1164 const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier<
1165 DesiredCourse, _proto_TypeTraits, _field_type, _is_packed>& id) const {
1166
1167 return _proto_TypeTraits::GetRepeated(id.number(), _impl_._extensions_);
1168 }
1169
1170 template <typename _proto_TypeTraits,
1171 ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type,
1172 bool _is_packed>
1173 inline typename _proto_TypeTraits::Repeated::RepeatedFieldType*
1175 const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier<
1176 DesiredCourse, _proto_TypeTraits, _field_type, _is_packed>& id) {
1177
1178 return _proto_TypeTraits::MutableRepeated(id.number(), _field_type,
1179 _is_packed, &_impl_._extensions_);
1180 }
1181
1182 typedef boost::units::time_dimension time_dimension;
1183
1184 typedef boost::units::unit<time_dimension,boost::units::si::system> time_unit;
1185
1186 template<typename Quantity >
1187 void set_time_with_units(Quantity value_w_units)
1188 { set_time(boost::units::quantity<time_unit,double >(value_w_units).value() ); };
1189
1190 template<typename Quantity >
1191 Quantity time_with_units() const
1192 { return Quantity(time() * time_unit()); };
1193
1194 boost::units::quantity< time_unit,double > time_with_units() const
1195 { return time_with_units<boost::units::quantity< time_unit,double > >(); };
1196
1197 typedef boost::units::plane_angle_dimension heading_dimension;
1198
1199 typedef boost::units::unit<heading_dimension,boost::units::degree::system> heading_unit;
1200
1201 template<typename Quantity >
1202 void set_heading_with_units(Quantity value_w_units)
1203 { set_heading(boost::units::quantity<heading_unit,double >(value_w_units).value() ); };
1204
1205 template<typename Quantity >
1206 Quantity heading_with_units() const
1207 { return Quantity(heading() * heading_unit()); };
1208
1209 boost::units::quantity< heading_unit,double > heading_with_units() const
1210 { return heading_with_units<boost::units::quantity< heading_unit,double > >(); };
1211
1212 typedef boost::mpl::divides<boost::units::length_dimension,boost::units::time_dimension>::type speed_dimension;
1213
1214 typedef boost::units::unit<speed_dimension,boost::units::si::system> speed_unit;
1215
1216 template<typename Quantity >
1217 void set_speed_with_units(Quantity value_w_units)
1218 { set_speed(boost::units::quantity<speed_unit,double >(value_w_units).value() ); };
1219
1220 template<typename Quantity >
1221 Quantity speed_with_units() const
1222 { return Quantity(speed() * speed_unit()); };
1223
1224 boost::units::quantity< speed_unit,double > speed_with_units() const
1225 { return speed_with_units<boost::units::quantity< speed_unit,double > >(); };
1226
1227 typedef boost::units::length_dimension depth_dimension;
1228
1229 typedef boost::units::unit<depth_dimension,boost::units::si::system> depth_unit;
1230
1231 template<typename Quantity >
1232 void set_depth_with_units(Quantity value_w_units)
1233 { set_depth(boost::units::quantity<depth_unit,double >(value_w_units).value() ); };
1234
1235 template<typename Quantity >
1236 Quantity depth_with_units() const
1237 { return Quantity(depth() * depth_unit()); };
1238
1239 boost::units::quantity< depth_unit,double > depth_with_units() const
1240 { return depth_with_units<boost::units::quantity< depth_unit,double > >(); };
1241
1242 typedef boost::units::plane_angle_dimension pitch_dimension;
1243
1244 typedef boost::units::unit<pitch_dimension,boost::units::degree::system> pitch_unit;
1245
1246 template<typename Quantity >
1247 void set_pitch_with_units(Quantity value_w_units)
1248 { set_pitch(boost::units::quantity<pitch_unit,double >(value_w_units).value() ); };
1249
1250 template<typename Quantity >
1251 Quantity pitch_with_units() const
1252 { return Quantity(pitch() * pitch_unit()); };
1253
1254 boost::units::quantity< pitch_unit,double > pitch_with_units() const
1255 { return pitch_with_units<boost::units::quantity< pitch_unit,double > >(); };
1256
1257 typedef boost::units::plane_angle_dimension roll_dimension;
1258
1259 typedef boost::units::unit<roll_dimension,boost::units::degree::system> roll_unit;
1260
1261 template<typename Quantity >
1262 void set_roll_with_units(Quantity value_w_units)
1263 { set_roll(boost::units::quantity<roll_unit,double >(value_w_units).value() ); };
1264
1265 template<typename Quantity >
1266 Quantity roll_with_units() const
1267 { return Quantity(roll() * roll_unit()); };
1268
1269 boost::units::quantity< roll_unit,double > roll_with_units() const
1270 { return roll_with_units<boost::units::quantity< roll_unit,double > >(); };
1271
1272 typedef boost::mpl::divides<boost::units::length_dimension,boost::units::time_dimension>::type z_rate_dimension;
1273
1274 typedef boost::units::unit<z_rate_dimension,boost::units::si::system> z_rate_unit;
1275
1276 template<typename Quantity >
1277 void set_z_rate_with_units(Quantity value_w_units)
1278 { set_z_rate(boost::units::quantity<z_rate_unit,double >(value_w_units).value() ); };
1279
1280 template<typename Quantity >
1281 Quantity z_rate_with_units() const
1282 { return Quantity(z_rate() * z_rate_unit()); };
1283
1284 boost::units::quantity< z_rate_unit,double > z_rate_with_units() const
1285 { return z_rate_with_units<boost::units::quantity< z_rate_unit,double > >(); };
1286
1287 typedef boost::units::length_dimension altitude_dimension;
1288
1289 typedef boost::units::unit<altitude_dimension,boost::units::si::system> altitude_unit;
1290
1291 template<typename Quantity >
1292 void set_altitude_with_units(Quantity value_w_units)
1293 { set_altitude(boost::units::quantity<altitude_unit,double >(value_w_units).value() ); };
1294
1295 template<typename Quantity >
1296 Quantity altitude_with_units() const
1297 { return Quantity(altitude() * altitude_unit()); };
1298
1299 boost::units::quantity< altitude_unit,double > altitude_with_units() const
1300 { return altitude_with_units<boost::units::quantity< altitude_unit,double > >(); };
1301
1302 // @@protoc_insertion_point(class_scope:goby.middleware.frontseat.protobuf.DesiredCourse)
1303 private:
1304 class _Internal;
1305
1306 template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
1307 typedef void InternalArenaConstructable_;
1308 typedef void DestructorSkippable_;
1309 struct Impl_ {
1310 ::PROTOBUF_NAMESPACE_ID::internal::ExtensionSet _extensions_;
1311
1312 ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
1313 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
1314 double time_;
1315 double heading_;
1316 double speed_;
1317 double depth_;
1318 double pitch_;
1319 double roll_;
1320 double z_rate_;
1321 double altitude_;
1322 };
1323 union { Impl_ _impl_; };
1324 friend struct ::TableStruct_goby_2fmiddleware_2fprotobuf_2ffrontseat_5fdata_2eproto;
1325};
1326// -------------------------------------------------------------------
1327
1328class Source final :
1329 public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:goby.middleware.frontseat.protobuf.Source) */ {
1330 public:
1331 inline Source() : Source(nullptr) {}
1332 ~Source() override;
1333 explicit PROTOBUF_CONSTEXPR Source(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
1334
1335 Source(const Source& from);
1336 Source(Source&& from) noexcept
1337 : Source() {
1338 *this = ::std::move(from);
1339 }
1340
1341 inline Source& operator=(const Source& from) {
1342 CopyFrom(from);
1343 return *this;
1344 }
1345 inline Source& operator=(Source&& from) noexcept {
1346 if (this == &from) return *this;
1347 if (GetOwningArena() == from.GetOwningArena()
1348 #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
1349 && GetOwningArena() != nullptr
1350 #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
1351 ) {
1352 InternalSwap(&from);
1353 } else {
1354 CopyFrom(from);
1355 }
1356 return *this;
1357 }
1358
1359 inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const {
1360 return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance);
1361 }
1362 inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() {
1363 return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
1364 }
1365
1366 static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
1367 return GetDescriptor();
1368 }
1369 static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
1370 return default_instance().GetMetadata().descriptor;
1371 }
1372 static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
1373 return default_instance().GetMetadata().reflection;
1374 }
1375 static const Source& default_instance() {
1376 return *internal_default_instance();
1377 }
1378 static inline const Source* internal_default_instance() {
1379 return reinterpret_cast<const Source*>(
1381 }
1382 static constexpr int kIndexInFileMessages =
1383 2;
1384
1385 friend void swap(Source& a, Source& b) {
1386 a.Swap(&b);
1387 }
1388 inline void Swap(Source* other) {
1389 if (other == this) return;
1390 #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
1391 if (GetOwningArena() != nullptr &&
1392 GetOwningArena() == other->GetOwningArena()) {
1393 #else // PROTOBUF_FORCE_COPY_IN_SWAP
1394 if (GetOwningArena() == other->GetOwningArena()) {
1395 #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
1396 InternalSwap(other);
1397 } else {
1398 ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
1399 }
1400 }
1402 if (other == this) return;
1403 GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
1404 InternalSwap(other);
1405 }
1406
1407 // implements Message ----------------------------------------------
1408
1409 Source* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
1410 return CreateMaybeMessage<Source>(arena);
1411 }
1412 using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
1413 void CopyFrom(const Source& from);
1414 using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
1415 void MergeFrom( const Source& from) {
1416 Source::MergeImpl(*this, from);
1417 }
1418 private:
1419 static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg);
1420 public:
1421 PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
1422 bool IsInitialized() const final;
1423
1424 size_t ByteSizeLong() const final;
1425 const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
1426 uint8_t* _InternalSerialize(
1427 uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
1428 int GetCachedSize() const final { return _impl_._cached_size_.Get(); }
1429
1430 private:
1431 void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned);
1432 void SharedDtor();
1433 void SetCachedSize(int size) const final;
1434 void InternalSwap(Source* other);
1435
1436 private:
1437 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
1438 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
1439 return "goby.middleware.frontseat.protobuf.Source";
1440 }
1441 protected:
1442 explicit Source(::PROTOBUF_NAMESPACE_ID::Arena* arena,
1443 bool is_message_owned = false);
1444 public:
1445
1446 static const ClassData _class_data_;
1447 const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
1448
1449 ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
1450
1451 // nested types ----------------------------------------------------
1452
1454 static constexpr Sensor GPS =
1455 Source_Sensor_GPS;
1456 static constexpr Sensor USBL =
1457 Source_Sensor_USBL;
1458 static constexpr Sensor LBL =
1459 Source_Sensor_LBL;
1460 static constexpr Sensor INERTIAL_NAVIGATION_SYSTEM =
1461 Source_Sensor_INERTIAL_NAVIGATION_SYSTEM;
1462 static constexpr Sensor PRESSURE =
1463 Source_Sensor_PRESSURE;
1464 static constexpr Sensor DVL =
1465 Source_Sensor_DVL;
1466 static constexpr Sensor RPM_LOOKUP =
1467 Source_Sensor_RPM_LOOKUP;
1468 static constexpr Sensor MAGNETIC_COMPASS =
1469 Source_Sensor_MAGNETIC_COMPASS;
1470 static inline bool Sensor_IsValid(int value) {
1471 return Source_Sensor_IsValid(value);
1472 }
1473 static constexpr Sensor Sensor_MIN =
1475 static constexpr Sensor Sensor_MAX =
1477 static constexpr int Sensor_ARRAYSIZE =
1479 static inline const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor*
1483 template<typename T>
1484 static inline const std::string& Sensor_Name(T enum_t_value) {
1485 static_assert(::std::is_same<T, Sensor>::value ||
1486 ::std::is_integral<T>::value,
1487 "Incorrect type passed to function Sensor_Name.");
1488 return Source_Sensor_Name(enum_t_value);
1489 }
1490 static inline bool Sensor_Parse(::PROTOBUF_NAMESPACE_ID::ConstStringParam name,
1491 Sensor* value) {
1492 return Source_Sensor_Parse(name, value);
1493 }
1494
1495 // accessors -------------------------------------------------------
1496
1497 enum : int {
1498 kPositionFieldNumber = 1,
1499 kDepthFieldNumber = 2,
1500 kSpeedFieldNumber = 3,
1501 kHeadingFieldNumber = 4,
1502 };
1503 // optional .goby.middleware.frontseat.protobuf.Source.Sensor position = 1;
1504 bool has_position() const;
1505 private:
1506 bool _internal_has_position() const;
1507 public:
1508 void clear_position();
1511 private:
1513 void _internal_set_position(::goby::middleware::frontseat::protobuf::Source_Sensor value);
1514 public:
1515
1516 // optional .goby.middleware.frontseat.protobuf.Source.Sensor depth = 2;
1517 bool has_depth() const;
1518 private:
1519 bool _internal_has_depth() const;
1520 public:
1521 void clear_depth();
1524 private:
1526 void _internal_set_depth(::goby::middleware::frontseat::protobuf::Source_Sensor value);
1527 public:
1528
1529 // optional .goby.middleware.frontseat.protobuf.Source.Sensor speed = 3;
1530 bool has_speed() const;
1531 private:
1532 bool _internal_has_speed() const;
1533 public:
1534 void clear_speed();
1537 private:
1539 void _internal_set_speed(::goby::middleware::frontseat::protobuf::Source_Sensor value);
1540 public:
1541
1542 // optional .goby.middleware.frontseat.protobuf.Source.Sensor heading = 4;
1543 bool has_heading() const;
1544 private:
1545 bool _internal_has_heading() const;
1546 public:
1547 void clear_heading();
1550 private:
1552 void _internal_set_heading(::goby::middleware::frontseat::protobuf::Source_Sensor value);
1553 public:
1554
1555
1556 template <typename _proto_TypeTraits,
1557 ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type,
1558 bool _is_packed>
1559 inline bool HasExtension(
1560 const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier<
1561 Source, _proto_TypeTraits, _field_type, _is_packed>& id) const {
1562
1563 return _impl_._extensions_.Has(id.number());
1564 }
1565
1566 template <typename _proto_TypeTraits,
1567 ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type,
1568 bool _is_packed>
1569 inline void ClearExtension(
1570 const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier<
1571 Source, _proto_TypeTraits, _field_type, _is_packed>& id) {
1572 _impl_._extensions_.ClearExtension(id.number());
1573
1574 }
1575
1576 template <typename _proto_TypeTraits,
1577 ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type,
1578 bool _is_packed>
1579 inline int ExtensionSize(
1580 const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier<
1581 Source, _proto_TypeTraits, _field_type, _is_packed>& id) const {
1582
1583 return _impl_._extensions_.ExtensionSize(id.number());
1584 }
1585
1586 template <typename _proto_TypeTraits,
1587 ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type,
1588 bool _is_packed>
1589 inline typename _proto_TypeTraits::Singular::ConstType GetExtension(
1590 const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier<
1591 Source, _proto_TypeTraits, _field_type, _is_packed>& id) const {
1592
1593 return _proto_TypeTraits::Get(id.number(), _impl_._extensions_,
1594 id.default_value());
1595 }
1596
1597 template <typename _proto_TypeTraits,
1598 ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type,
1599 bool _is_packed>
1600 inline typename _proto_TypeTraits::Singular::MutableType MutableExtension(
1601 const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier<
1602 Source, _proto_TypeTraits, _field_type, _is_packed>& id) {
1603
1604 return _proto_TypeTraits::Mutable(id.number(), _field_type,
1605 &_impl_._extensions_);
1606 }
1607
1608 template <typename _proto_TypeTraits,
1609 ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type,
1610 bool _is_packed>
1611 inline void SetExtension(
1612 const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier<
1613 Source, _proto_TypeTraits, _field_type, _is_packed>& id,
1614 typename _proto_TypeTraits::Singular::ConstType value) {
1615 _proto_TypeTraits::Set(id.number(), _field_type, value, &_impl_._extensions_);
1616
1617 }
1618
1619 template <typename _proto_TypeTraits,
1620 ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type,
1621 bool _is_packed>
1623 const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier<
1624 Source, _proto_TypeTraits, _field_type, _is_packed>& id,
1625 typename _proto_TypeTraits::Singular::MutableType value) {
1626 _proto_TypeTraits::SetAllocated(id.number(), _field_type, value,
1627 &_impl_._extensions_);
1628
1629 }
1630 template <typename _proto_TypeTraits,
1631 ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type,
1632 bool _is_packed>
1634 const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier<
1635 Source, _proto_TypeTraits, _field_type, _is_packed>& id,
1636 typename _proto_TypeTraits::Singular::MutableType value) {
1637 _proto_TypeTraits::UnsafeArenaSetAllocated(id.number(), _field_type,
1638 value, &_impl_._extensions_);
1639
1640 }
1641 template <typename _proto_TypeTraits,
1642 ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type,
1643 bool _is_packed>
1644 PROTOBUF_NODISCARD inline
1645 typename _proto_TypeTraits::Singular::MutableType
1647 const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier<
1648 Source, _proto_TypeTraits, _field_type, _is_packed>& id) {
1649
1650 return _proto_TypeTraits::Release(id.number(), _field_type,
1651 &_impl_._extensions_);
1652 }
1653 template <typename _proto_TypeTraits,
1654 ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type,
1655 bool _is_packed>
1656 inline typename _proto_TypeTraits::Singular::MutableType
1658 const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier<
1659 Source, _proto_TypeTraits, _field_type, _is_packed>& id) {
1660
1661 return _proto_TypeTraits::UnsafeArenaRelease(id.number(), _field_type,
1662 &_impl_._extensions_);
1663 }
1664
1665 template <typename _proto_TypeTraits,
1666 ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type,
1667 bool _is_packed>
1668 inline typename _proto_TypeTraits::Repeated::ConstType GetExtension(
1669 const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier<
1670 Source, _proto_TypeTraits, _field_type, _is_packed>& id,
1671 int index) const {
1672
1673 return _proto_TypeTraits::Get(id.number(), _impl_._extensions_, index);
1674 }
1675
1676 template <typename _proto_TypeTraits,
1677 ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type,
1678 bool _is_packed>
1679 inline typename _proto_TypeTraits::Repeated::MutableType MutableExtension(
1680 const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier<
1681 Source, _proto_TypeTraits, _field_type, _is_packed>& id,
1682 int index) {
1683
1684 return _proto_TypeTraits::Mutable(id.number(), index, &_impl_._extensions_);
1685 }
1686
1687 template <typename _proto_TypeTraits,
1688 ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type,
1689 bool _is_packed>
1690 inline void SetExtension(
1691 const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier<
1692 Source, _proto_TypeTraits, _field_type, _is_packed>& id,
1693 int index, typename _proto_TypeTraits::Repeated::ConstType value) {
1694 _proto_TypeTraits::Set(id.number(), index, value, &_impl_._extensions_);
1695
1696 }
1697
1698 template <typename _proto_TypeTraits,
1699 ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type,
1700 bool _is_packed>
1701 inline typename _proto_TypeTraits::Repeated::MutableType AddExtension(
1702 const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier<
1703 Source, _proto_TypeTraits, _field_type, _is_packed>& id) {
1704 typename _proto_TypeTraits::Repeated::MutableType to_add =
1705 _proto_TypeTraits::Add(id.number(), _field_type, &_impl_._extensions_);
1706
1707 return to_add;
1708 }
1709
1710 template <typename _proto_TypeTraits,
1711 ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type,
1712 bool _is_packed>
1713 inline void AddExtension(
1714 const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier<
1715 Source, _proto_TypeTraits, _field_type, _is_packed>& id,
1716 typename _proto_TypeTraits::Repeated::ConstType value) {
1717 _proto_TypeTraits::Add(id.number(), _field_type, _is_packed, value,
1718 &_impl_._extensions_);
1719
1720 }
1721
1722 template <typename _proto_TypeTraits,
1723 ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type,
1724 bool _is_packed>
1725 inline const typename _proto_TypeTraits::Repeated::RepeatedFieldType&
1727 const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier<
1728 Source, _proto_TypeTraits, _field_type, _is_packed>& id) const {
1729
1730 return _proto_TypeTraits::GetRepeated(id.number(), _impl_._extensions_);
1731 }
1732
1733 template <typename _proto_TypeTraits,
1734 ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type,
1735 bool _is_packed>
1736 inline typename _proto_TypeTraits::Repeated::RepeatedFieldType*
1738 const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier<
1739 Source, _proto_TypeTraits, _field_type, _is_packed>& id) {
1740
1741 return _proto_TypeTraits::MutableRepeated(id.number(), _field_type,
1742 _is_packed, &_impl_._extensions_);
1743 }
1744
1745 // @@protoc_insertion_point(class_scope:goby.middleware.frontseat.protobuf.Source)
1746 private:
1747 class _Internal;
1748
1749 template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
1750 typedef void InternalArenaConstructable_;
1751 typedef void DestructorSkippable_;
1752 struct Impl_ {
1753 ::PROTOBUF_NAMESPACE_ID::internal::ExtensionSet _extensions_;
1754
1755 ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
1756 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
1757 int position_;
1758 int depth_;
1759 int speed_;
1760 int heading_;
1761 };
1762 union { Impl_ _impl_; };
1763 friend struct ::TableStruct_goby_2fmiddleware_2fprotobuf_2ffrontseat_5fdata_2eproto;
1764};
1765// -------------------------------------------------------------------
1766
1768 public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:goby.middleware.frontseat.protobuf.CartesianCoordinate) */ {
1769 public:
1772 explicit PROTOBUF_CONSTEXPR CartesianCoordinate(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
1773
1777 *this = ::std::move(from);
1778 }
1779
1781 CopyFrom(from);
1782 return *this;
1783 }
1785 if (this == &from) return *this;
1786 if (GetOwningArena() == from.GetOwningArena()
1787 #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
1788 && GetOwningArena() != nullptr
1789 #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
1790 ) {
1791 InternalSwap(&from);
1792 } else {
1793 CopyFrom(from);
1794 }
1795 return *this;
1796 }
1797
1798 inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const {
1799 return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance);
1800 }
1801 inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() {
1802 return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
1803 }
1804
1805 static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
1806 return GetDescriptor();
1807 }
1808 static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
1809 return default_instance().GetMetadata().descriptor;
1810 }
1811 static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
1812 return default_instance().GetMetadata().reflection;
1813 }
1815 return *internal_default_instance();
1816 }
1818 return reinterpret_cast<const CartesianCoordinate*>(
1820 }
1821 static constexpr int kIndexInFileMessages =
1822 3;
1823
1825 a.Swap(&b);
1826 }
1827 inline void Swap(CartesianCoordinate* other) {
1828 if (other == this) return;
1829 #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
1830 if (GetOwningArena() != nullptr &&
1831 GetOwningArena() == other->GetOwningArena()) {
1832 #else // PROTOBUF_FORCE_COPY_IN_SWAP
1833 if (GetOwningArena() == other->GetOwningArena()) {
1834 #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
1835 InternalSwap(other);
1836 } else {
1837 ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
1838 }
1839 }
1841 if (other == this) return;
1842 GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
1843 InternalSwap(other);
1844 }
1845
1846 // implements Message ----------------------------------------------
1847
1848 CartesianCoordinate* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
1849 return CreateMaybeMessage<CartesianCoordinate>(arena);
1850 }
1851 using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
1853 using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
1854 void MergeFrom( const CartesianCoordinate& from) {
1855 CartesianCoordinate::MergeImpl(*this, from);
1856 }
1857 private:
1858 static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg);
1859 public:
1860 PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
1861 bool IsInitialized() const final;
1862
1863 size_t ByteSizeLong() const final;
1864 const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
1865 uint8_t* _InternalSerialize(
1866 uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
1867 int GetCachedSize() const final { return _impl_._cached_size_.Get(); }
1868
1869 private:
1870 void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned);
1871 void SharedDtor();
1872 void SetCachedSize(int size) const final;
1873 void InternalSwap(CartesianCoordinate* other);
1874
1875 private:
1876 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
1877 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
1878 return "goby.middleware.frontseat.protobuf.CartesianCoordinate";
1879 }
1880 protected:
1881 explicit CartesianCoordinate(::PROTOBUF_NAMESPACE_ID::Arena* arena,
1882 bool is_message_owned = false);
1883 public:
1884
1885 static const ClassData _class_data_;
1886 const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
1887
1888 ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
1889
1890 // nested types ----------------------------------------------------
1891
1892 // accessors -------------------------------------------------------
1893
1894 enum : int {
1895 kXFieldNumber = 1,
1896 kYFieldNumber = 2,
1897 kZFieldNumber = 3,
1898 };
1899 // required double x = 1 [(.dccl.field) = {
1900 bool has_x() const;
1901 private:
1902 bool _internal_has_x() const;
1903 public:
1904 void clear_x();
1905 double x() const;
1906 void set_x(double value);
1907 private:
1908 double _internal_x() const;
1909 void _internal_set_x(double value);
1910 public:
1911
1912 // required double y = 2 [(.dccl.field) = {
1913 bool has_y() const;
1914 private:
1915 bool _internal_has_y() const;
1916 public:
1917 void clear_y();
1918 double y() const;
1919 void set_y(double value);
1920 private:
1921 double _internal_y() const;
1922 void _internal_set_y(double value);
1923 public:
1924
1925 // optional double z = 3 [default = 0, (.dccl.field) = {
1926 bool has_z() const;
1927 private:
1928 bool _internal_has_z() const;
1929 public:
1930 void clear_z();
1931 double z() const;
1932 void set_z(double value);
1933 private:
1934 double _internal_z() const;
1935 void _internal_set_z(double value);
1936 public:
1937
1938
1939 template <typename _proto_TypeTraits,
1940 ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type,
1941 bool _is_packed>
1942 inline bool HasExtension(
1943 const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier<
1944 CartesianCoordinate, _proto_TypeTraits, _field_type, _is_packed>& id) const {
1945
1946 return _impl_._extensions_.Has(id.number());
1947 }
1948
1949 template <typename _proto_TypeTraits,
1950 ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type,
1951 bool _is_packed>
1952 inline void ClearExtension(
1953 const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier<
1954 CartesianCoordinate, _proto_TypeTraits, _field_type, _is_packed>& id) {
1955 _impl_._extensions_.ClearExtension(id.number());
1956
1957 }
1958
1959 template <typename _proto_TypeTraits,
1960 ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type,
1961 bool _is_packed>
1962 inline int ExtensionSize(
1963 const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier<
1964 CartesianCoordinate, _proto_TypeTraits, _field_type, _is_packed>& id) const {
1965
1966 return _impl_._extensions_.ExtensionSize(id.number());
1967 }
1968
1969 template <typename _proto_TypeTraits,
1970 ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type,
1971 bool _is_packed>
1972 inline typename _proto_TypeTraits::Singular::ConstType GetExtension(
1973 const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier<
1974 CartesianCoordinate, _proto_TypeTraits, _field_type, _is_packed>& id) const {
1975
1976 return _proto_TypeTraits::Get(id.number(), _impl_._extensions_,
1977 id.default_value());
1978 }
1979
1980 template <typename _proto_TypeTraits,
1981 ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type,
1982 bool _is_packed>
1983 inline typename _proto_TypeTraits::Singular::MutableType MutableExtension(
1984 const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier<
1985 CartesianCoordinate, _proto_TypeTraits, _field_type, _is_packed>& id) {
1986
1987 return _proto_TypeTraits::Mutable(id.number(), _field_type,
1988 &_impl_._extensions_);
1989 }
1990
1991 template <typename _proto_TypeTraits,
1992 ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type,
1993 bool _is_packed>
1994 inline void SetExtension(
1995 const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier<
1996 CartesianCoordinate, _proto_TypeTraits, _field_type, _is_packed>& id,
1997 typename _proto_TypeTraits::Singular::ConstType value) {
1998 _proto_TypeTraits::Set(id.number(), _field_type, value, &_impl_._extensions_);
1999
2000 }
2001
2002 template <typename _proto_TypeTraits,
2003 ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type,
2004 bool _is_packed>
2006 const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier<
2007 CartesianCoordinate, _proto_TypeTraits, _field_type, _is_packed>& id,
2008 typename _proto_TypeTraits::Singular::MutableType value) {
2009 _proto_TypeTraits::SetAllocated(id.number(), _field_type, value,
2010 &_impl_._extensions_);
2011
2012 }
2013 template <typename _proto_TypeTraits,
2014 ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type,
2015 bool _is_packed>
2017 const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier<
2018 CartesianCoordinate, _proto_TypeTraits, _field_type, _is_packed>& id,
2019 typename _proto_TypeTraits::Singular::MutableType value) {
2020 _proto_TypeTraits::UnsafeArenaSetAllocated(id.number(), _field_type,
2021 value, &_impl_._extensions_);
2022
2023 }
2024 template <typename _proto_TypeTraits,
2025 ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type,
2026 bool _is_packed>
2027 PROTOBUF_NODISCARD inline
2028 typename _proto_TypeTraits::Singular::MutableType
2030 const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier<
2031 CartesianCoordinate, _proto_TypeTraits, _field_type, _is_packed>& id) {
2032
2033 return _proto_TypeTraits::Release(id.number(), _field_type,
2034 &_impl_._extensions_);
2035 }
2036 template <typename _proto_TypeTraits,
2037 ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type,
2038 bool _is_packed>
2039 inline typename _proto_TypeTraits::Singular::MutableType
2041 const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier<
2042 CartesianCoordinate, _proto_TypeTraits, _field_type, _is_packed>& id) {
2043
2044 return _proto_TypeTraits::UnsafeArenaRelease(id.number(), _field_type,
2045 &_impl_._extensions_);
2046 }
2047
2048 template <typename _proto_TypeTraits,
2049 ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type,
2050 bool _is_packed>
2051 inline typename _proto_TypeTraits::Repeated::ConstType GetExtension(
2052 const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier<
2053 CartesianCoordinate, _proto_TypeTraits, _field_type, _is_packed>& id,
2054 int index) const {
2055
2056 return _proto_TypeTraits::Get(id.number(), _impl_._extensions_, index);
2057 }
2058
2059 template <typename _proto_TypeTraits,
2060 ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type,
2061 bool _is_packed>
2062 inline typename _proto_TypeTraits::Repeated::MutableType MutableExtension(
2063 const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier<
2064 CartesianCoordinate, _proto_TypeTraits, _field_type, _is_packed>& id,
2065 int index) {
2066
2067 return _proto_TypeTraits::Mutable(id.number(), index, &_impl_._extensions_);
2068 }
2069
2070 template <typename _proto_TypeTraits,
2071 ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type,
2072 bool _is_packed>
2073 inline void SetExtension(
2074 const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier<
2075 CartesianCoordinate, _proto_TypeTraits, _field_type, _is_packed>& id,
2076 int index, typename _proto_TypeTraits::Repeated::ConstType value) {
2077 _proto_TypeTraits::Set(id.number(), index, value, &_impl_._extensions_);
2078
2079 }
2080
2081 template <typename _proto_TypeTraits,
2082 ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type,
2083 bool _is_packed>
2084 inline typename _proto_TypeTraits::Repeated::MutableType AddExtension(
2085 const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier<
2086 CartesianCoordinate, _proto_TypeTraits, _field_type, _is_packed>& id) {
2087 typename _proto_TypeTraits::Repeated::MutableType to_add =
2088 _proto_TypeTraits::Add(id.number(), _field_type, &_impl_._extensions_);
2089
2090 return to_add;
2091 }
2092
2093 template <typename _proto_TypeTraits,
2094 ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type,
2095 bool _is_packed>
2096 inline void AddExtension(
2097 const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier<
2098 CartesianCoordinate, _proto_TypeTraits, _field_type, _is_packed>& id,
2099 typename _proto_TypeTraits::Repeated::ConstType value) {
2100 _proto_TypeTraits::Add(id.number(), _field_type, _is_packed, value,
2101 &_impl_._extensions_);
2102
2103 }
2104
2105 template <typename _proto_TypeTraits,
2106 ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type,
2107 bool _is_packed>
2108 inline const typename _proto_TypeTraits::Repeated::RepeatedFieldType&
2110 const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier<
2111 CartesianCoordinate, _proto_TypeTraits, _field_type, _is_packed>& id) const {
2112
2113 return _proto_TypeTraits::GetRepeated(id.number(), _impl_._extensions_);
2114 }
2115
2116 template <typename _proto_TypeTraits,
2117 ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type,
2118 bool _is_packed>
2119 inline typename _proto_TypeTraits::Repeated::RepeatedFieldType*
2121 const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier<
2122 CartesianCoordinate, _proto_TypeTraits, _field_type, _is_packed>& id) {
2123
2124 return _proto_TypeTraits::MutableRepeated(id.number(), _field_type,
2125 _is_packed, &_impl_._extensions_);
2126 }
2127
2128 typedef boost::units::length_dimension x_dimension;
2129
2130 typedef boost::units::unit<x_dimension,boost::units::si::system> x_unit;
2131
2132 template<typename Quantity >
2133 void set_x_with_units(Quantity value_w_units)
2134 { set_x(boost::units::quantity<x_unit,double >(value_w_units).value() ); };
2135
2136 template<typename Quantity >
2137 Quantity x_with_units() const
2138 { return Quantity(x() * x_unit()); };
2139
2140 boost::units::quantity< x_unit,double > x_with_units() const
2141 { return x_with_units<boost::units::quantity< x_unit,double > >(); };
2142
2143 typedef boost::units::length_dimension y_dimension;
2144
2145 typedef boost::units::unit<y_dimension,boost::units::si::system> y_unit;
2146
2147 template<typename Quantity >
2148 void set_y_with_units(Quantity value_w_units)
2149 { set_y(boost::units::quantity<y_unit,double >(value_w_units).value() ); };
2150
2151 template<typename Quantity >
2152 Quantity y_with_units() const
2153 { return Quantity(y() * y_unit()); };
2154
2155 boost::units::quantity< y_unit,double > y_with_units() const
2156 { return y_with_units<boost::units::quantity< y_unit,double > >(); };
2157
2158 typedef boost::units::length_dimension z_dimension;
2159
2160 typedef boost::units::unit<z_dimension,boost::units::si::system> z_unit;
2161
2162 template<typename Quantity >
2163 void set_z_with_units(Quantity value_w_units)
2164 { set_z(boost::units::quantity<z_unit,double >(value_w_units).value() ); };
2165
2166 template<typename Quantity >
2167 Quantity z_with_units() const
2168 { return Quantity(z() * z_unit()); };
2169
2170 boost::units::quantity< z_unit,double > z_with_units() const
2171 { return z_with_units<boost::units::quantity< z_unit,double > >(); };
2172
2173 // @@protoc_insertion_point(class_scope:goby.middleware.frontseat.protobuf.CartesianCoordinate)
2174 private:
2175 class _Internal;
2176
2177 // helper for ByteSizeLong()
2178 size_t RequiredFieldsByteSizeFallback() const;
2179
2180 template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
2181 typedef void InternalArenaConstructable_;
2182 typedef void DestructorSkippable_;
2183 struct Impl_ {
2184 ::PROTOBUF_NAMESPACE_ID::internal::ExtensionSet _extensions_;
2185
2186 ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
2187 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
2188 double x_;
2189 double y_;
2190 double z_;
2191 };
2192 union { Impl_ _impl_; };
2193 friend struct ::TableStruct_goby_2fmiddleware_2fprotobuf_2ffrontseat_5fdata_2eproto;
2194};
2195// -------------------------------------------------------------------
2196
2197class EulerAngles final :
2198 public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:goby.middleware.frontseat.protobuf.EulerAngles) */ {
2199 public:
2200 inline EulerAngles() : EulerAngles(nullptr) {}
2201 ~EulerAngles() override;
2202 explicit PROTOBUF_CONSTEXPR EulerAngles(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
2203
2205 EulerAngles(EulerAngles&& from) noexcept
2206 : EulerAngles() {
2207 *this = ::std::move(from);
2208 }
2209
2210 inline EulerAngles& operator=(const EulerAngles& from) {
2211 CopyFrom(from);
2212 return *this;
2213 }
2214 inline EulerAngles& operator=(EulerAngles&& from) noexcept {
2215 if (this == &from) return *this;
2216 if (GetOwningArena() == from.GetOwningArena()
2217 #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
2218 && GetOwningArena() != nullptr
2219 #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
2220 ) {
2221 InternalSwap(&from);
2222 } else {
2223 CopyFrom(from);
2224 }
2225 return *this;
2226 }
2227
2228 inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const {
2229 return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance);
2230 }
2231 inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() {
2232 return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
2233 }
2234
2235 static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
2236 return GetDescriptor();
2237 }
2238 static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
2239 return default_instance().GetMetadata().descriptor;
2240 }
2241 static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
2242 return default_instance().GetMetadata().reflection;
2243 }
2245 return *internal_default_instance();
2246 }
2248 return reinterpret_cast<const EulerAngles*>(
2250 }
2251 static constexpr int kIndexInFileMessages =
2252 4;
2253
2254 friend void swap(EulerAngles& a, EulerAngles& b) {
2255 a.Swap(&b);
2256 }
2257 inline void Swap(EulerAngles* other) {
2258 if (other == this) return;
2259 #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
2260 if (GetOwningArena() != nullptr &&
2261 GetOwningArena() == other->GetOwningArena()) {
2262 #else // PROTOBUF_FORCE_COPY_IN_SWAP
2263 if (GetOwningArena() == other->GetOwningArena()) {
2264 #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
2265 InternalSwap(other);
2266 } else {
2267 ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
2268 }
2269 }
2271 if (other == this) return;
2272 GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
2273 InternalSwap(other);
2274 }
2275
2276 // implements Message ----------------------------------------------
2277
2278 EulerAngles* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
2279 return CreateMaybeMessage<EulerAngles>(arena);
2280 }
2281 using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
2282 void CopyFrom(const EulerAngles& from);
2283 using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
2284 void MergeFrom( const EulerAngles& from) {
2285 EulerAngles::MergeImpl(*this, from);
2286 }
2287 private:
2288 static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg);
2289 public:
2290 PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
2291 bool IsInitialized() const final;
2292
2293 size_t ByteSizeLong() const final;
2294 const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
2295 uint8_t* _InternalSerialize(
2296 uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
2297 int GetCachedSize() const final { return _impl_._cached_size_.Get(); }
2298
2299 private:
2300 void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned);
2301 void SharedDtor();
2302 void SetCachedSize(int size) const final;
2303 void InternalSwap(EulerAngles* other);
2304
2305 private:
2306 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
2307 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
2308 return "goby.middleware.frontseat.protobuf.EulerAngles";
2309 }
2310 protected:
2311 explicit EulerAngles(::PROTOBUF_NAMESPACE_ID::Arena* arena,
2312 bool is_message_owned = false);
2313 public:
2314
2315 static const ClassData _class_data_;
2316 const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
2317
2318 ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
2319
2320 // nested types ----------------------------------------------------
2321
2322 // accessors -------------------------------------------------------
2323
2324 enum : int {
2325 kRollFieldNumber = 1,
2326 kPitchFieldNumber = 2,
2327 kHeadingFieldNumber = 3,
2328 kCourseOverGroundFieldNumber = 4,
2329 kRollRateFieldNumber = 10,
2330 kPitchRateFieldNumber = 11,
2331 kHeadingRateFieldNumber = 12,
2332 };
2333 // optional double roll = 1 [(.dccl.field) = {
2334 bool has_roll() const;
2335 private:
2336 bool _internal_has_roll() const;
2337 public:
2338 void clear_roll();
2339 double roll() const;
2340 void set_roll(double value);
2341 private:
2342 double _internal_roll() const;
2343 void _internal_set_roll(double value);
2344 public:
2345
2346 // optional double pitch = 2 [(.dccl.field) = {
2347 bool has_pitch() const;
2348 private:
2349 bool _internal_has_pitch() const;
2350 public:
2351 void clear_pitch();
2352 double pitch() const;
2353 void set_pitch(double value);
2354 private:
2355 double _internal_pitch() const;
2356 void _internal_set_pitch(double value);
2357 public:
2358
2359 // optional double heading = 3 [(.dccl.field) = {
2360 bool has_heading() const;
2361 private:
2362 bool _internal_has_heading() const;
2363 public:
2364 void clear_heading();
2365 double heading() const;
2366 void set_heading(double value);
2367 private:
2368 double _internal_heading() const;
2369 void _internal_set_heading(double value);
2370 public:
2371
2372 // optional double course_over_ground = 4 [(.dccl.field) = {
2373 bool has_course_over_ground() const;
2374 private:
2375 bool _internal_has_course_over_ground() const;
2376 public:
2377 void clear_course_over_ground();
2378 double course_over_ground() const;
2379 void set_course_over_ground(double value);
2380 private:
2381 double _internal_course_over_ground() const;
2382 void _internal_set_course_over_ground(double value);
2383 public:
2384
2385 // optional double roll_rate = 10 [(.dccl.field) = {
2386 bool has_roll_rate() const;
2387 private:
2388 bool _internal_has_roll_rate() const;
2389 public:
2390 void clear_roll_rate();
2391 double roll_rate() const;
2392 void set_roll_rate(double value);
2393 private:
2394 double _internal_roll_rate() const;
2395 void _internal_set_roll_rate(double value);
2396 public:
2397
2398 // optional double pitch_rate = 11 [(.dccl.field) = {
2399 bool has_pitch_rate() const;
2400 private:
2401 bool _internal_has_pitch_rate() const;
2402 public:
2403 void clear_pitch_rate();
2404 double pitch_rate() const;
2405 void set_pitch_rate(double value);
2406 private:
2407 double _internal_pitch_rate() const;
2408 void _internal_set_pitch_rate(double value);
2409 public:
2410
2411 // optional double heading_rate = 12 [(.dccl.field) = {
2412 bool has_heading_rate() const;
2413 private:
2414 bool _internal_has_heading_rate() const;
2415 public:
2416 void clear_heading_rate();
2417 double heading_rate() const;
2418 void set_heading_rate(double value);
2419 private:
2420 double _internal_heading_rate() const;
2421 void _internal_set_heading_rate(double value);
2422 public:
2423
2424
2425 template <typename _proto_TypeTraits,
2426 ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type,
2427 bool _is_packed>
2428 inline bool HasExtension(
2429 const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier<
2430 EulerAngles, _proto_TypeTraits, _field_type, _is_packed>& id) const {
2431
2432 return _impl_._extensions_.Has(id.number());
2433 }
2434
2435 template <typename _proto_TypeTraits,
2436 ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type,
2437 bool _is_packed>
2438 inline void ClearExtension(
2439 const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier<
2440 EulerAngles, _proto_TypeTraits, _field_type, _is_packed>& id) {
2441 _impl_._extensions_.ClearExtension(id.number());
2442
2443 }
2444
2445 template <typename _proto_TypeTraits,
2446 ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type,
2447 bool _is_packed>
2448 inline int ExtensionSize(
2449 const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier<
2450 EulerAngles, _proto_TypeTraits, _field_type, _is_packed>& id) const {
2451
2452 return _impl_._extensions_.ExtensionSize(id.number());
2453 }
2454
2455 template <typename _proto_TypeTraits,
2456 ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type,
2457 bool _is_packed>
2458 inline typename _proto_TypeTraits::Singular::ConstType GetExtension(
2459 const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier<
2460 EulerAngles, _proto_TypeTraits, _field_type, _is_packed>& id) const {
2461
2462 return _proto_TypeTraits::Get(id.number(), _impl_._extensions_,
2463 id.default_value());
2464 }
2465
2466 template <typename _proto_TypeTraits,
2467 ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type,
2468 bool _is_packed>
2469 inline typename _proto_TypeTraits::Singular::MutableType MutableExtension(
2470 const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier<
2471 EulerAngles, _proto_TypeTraits, _field_type, _is_packed>& id) {
2472
2473 return _proto_TypeTraits::Mutable(id.number(), _field_type,
2474 &_impl_._extensions_);
2475 }
2476
2477 template <typename _proto_TypeTraits,
2478 ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type,
2479 bool _is_packed>
2480 inline void SetExtension(
2481 const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier<
2482 EulerAngles, _proto_TypeTraits, _field_type, _is_packed>& id,
2483 typename _proto_TypeTraits::Singular::ConstType value) {
2484 _proto_TypeTraits::Set(id.number(), _field_type, value, &_impl_._extensions_);
2485
2486 }
2487
2488 template <typename _proto_TypeTraits,
2489 ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type,
2490 bool _is_packed>
2492 const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier<
2493 EulerAngles, _proto_TypeTraits, _field_type, _is_packed>& id,
2494 typename _proto_TypeTraits::Singular::MutableType value) {
2495 _proto_TypeTraits::SetAllocated(id.number(), _field_type, value,
2496 &_impl_._extensions_);
2497
2498 }
2499 template <typename _proto_TypeTraits,
2500 ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type,
2501 bool _is_packed>
2503 const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier<
2504 EulerAngles, _proto_TypeTraits, _field_type, _is_packed>& id,
2505 typename _proto_TypeTraits::Singular::MutableType value) {
2506 _proto_TypeTraits::UnsafeArenaSetAllocated(id.number(), _field_type,
2507 value, &_impl_._extensions_);
2508
2509 }
2510 template <typename _proto_TypeTraits,
2511 ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type,
2512 bool _is_packed>
2513 PROTOBUF_NODISCARD inline
2514 typename _proto_TypeTraits::Singular::MutableType
2516 const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier<
2517 EulerAngles, _proto_TypeTraits, _field_type, _is_packed>& id) {
2518
2519 return _proto_TypeTraits::Release(id.number(), _field_type,
2520 &_impl_._extensions_);
2521 }
2522 template <typename _proto_TypeTraits,
2523 ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type,
2524 bool _is_packed>
2525 inline typename _proto_TypeTraits::Singular::MutableType
2527 const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier<
2528 EulerAngles, _proto_TypeTraits, _field_type, _is_packed>& id) {
2529
2530 return _proto_TypeTraits::UnsafeArenaRelease(id.number(), _field_type,
2531 &_impl_._extensions_);
2532 }
2533
2534 template <typename _proto_TypeTraits,
2535 ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type,
2536 bool _is_packed>
2537 inline typename _proto_TypeTraits::Repeated::ConstType GetExtension(
2538 const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier<
2539 EulerAngles, _proto_TypeTraits, _field_type, _is_packed>& id,
2540 int index) const {
2541
2542 return _proto_TypeTraits::Get(id.number(), _impl_._extensions_, index);
2543 }
2544
2545 template <typename _proto_TypeTraits,
2546 ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type,
2547 bool _is_packed>
2548 inline typename _proto_TypeTraits::Repeated::MutableType MutableExtension(
2549 const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier<
2550 EulerAngles, _proto_TypeTraits, _field_type, _is_packed>& id,
2551 int index) {
2552
2553 return _proto_TypeTraits::Mutable(id.number(), index, &_impl_._extensions_);
2554 }
2555
2556 template <typename _proto_TypeTraits,
2557 ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type,
2558 bool _is_packed>
2559 inline void SetExtension(
2560 const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier<
2561 EulerAngles, _proto_TypeTraits, _field_type, _is_packed>& id,
2562 int index, typename _proto_TypeTraits::Repeated::ConstType value) {
2563 _proto_TypeTraits::Set(id.number(), index, value, &_impl_._extensions_);
2564
2565 }
2566
2567 template <typename _proto_TypeTraits,
2568 ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type,
2569 bool _is_packed>
2570 inline typename _proto_TypeTraits::Repeated::MutableType AddExtension(
2571 const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier<
2572 EulerAngles, _proto_TypeTraits, _field_type, _is_packed>& id) {
2573 typename _proto_TypeTraits::Repeated::MutableType to_add =
2574 _proto_TypeTraits::Add(id.number(), _field_type, &_impl_._extensions_);
2575
2576 return to_add;
2577 }
2578
2579 template <typename _proto_TypeTraits,
2580 ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type,
2581 bool _is_packed>
2582 inline void AddExtension(
2583 const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier<
2584 EulerAngles, _proto_TypeTraits, _field_type, _is_packed>& id,
2585 typename _proto_TypeTraits::Repeated::ConstType value) {
2586 _proto_TypeTraits::Add(id.number(), _field_type, _is_packed, value,
2587 &_impl_._extensions_);
2588
2589 }
2590
2591 template <typename _proto_TypeTraits,
2592 ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type,
2593 bool _is_packed>
2594 inline const typename _proto_TypeTraits::Repeated::RepeatedFieldType&
2596 const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier<
2597 EulerAngles, _proto_TypeTraits, _field_type, _is_packed>& id) const {
2598
2599 return _proto_TypeTraits::GetRepeated(id.number(), _impl_._extensions_);
2600 }
2601
2602 template <typename _proto_TypeTraits,
2603 ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type,
2604 bool _is_packed>
2605 inline typename _proto_TypeTraits::Repeated::RepeatedFieldType*
2607 const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier<
2608 EulerAngles, _proto_TypeTraits, _field_type, _is_packed>& id) {
2609
2610 return _proto_TypeTraits::MutableRepeated(id.number(), _field_type,
2611 _is_packed, &_impl_._extensions_);
2612 }
2613
2614 typedef boost::units::plane_angle_dimension roll_dimension;
2615
2616 typedef boost::units::unit<roll_dimension,boost::units::degree::system> roll_unit;
2617
2618 template<typename Quantity >
2619 void set_roll_with_units(Quantity value_w_units)
2620 { set_roll(boost::units::quantity<roll_unit,double >(value_w_units).value() ); };
2621
2622 template<typename Quantity >
2623 Quantity roll_with_units() const
2624 { return Quantity(roll() * roll_unit()); };
2625
2626 boost::units::quantity< roll_unit,double > roll_with_units() const
2627 { return roll_with_units<boost::units::quantity< roll_unit,double > >(); };
2628
2629 typedef boost::units::plane_angle_dimension pitch_dimension;
2630
2631 typedef boost::units::unit<pitch_dimension,boost::units::degree::system> pitch_unit;
2632
2633 template<typename Quantity >
2634 void set_pitch_with_units(Quantity value_w_units)
2635 { set_pitch(boost::units::quantity<pitch_unit,double >(value_w_units).value() ); };
2636
2637 template<typename Quantity >
2638 Quantity pitch_with_units() const
2639 { return Quantity(pitch() * pitch_unit()); };
2640
2641 boost::units::quantity< pitch_unit,double > pitch_with_units() const
2642 { return pitch_with_units<boost::units::quantity< pitch_unit,double > >(); };
2643
2644 typedef boost::units::plane_angle_dimension heading_dimension;
2645
2646 typedef boost::units::unit<heading_dimension,boost::units::degree::system> heading_unit;
2647
2648 template<typename Quantity >
2649 void set_heading_with_units(Quantity value_w_units)
2650 { set_heading(boost::units::quantity<heading_unit,double >(value_w_units).value() ); };
2651
2652 template<typename Quantity >
2653 Quantity heading_with_units() const
2654 { return Quantity(heading() * heading_unit()); };
2655
2656 boost::units::quantity< heading_unit,double > heading_with_units() const
2657 { return heading_with_units<boost::units::quantity< heading_unit,double > >(); };
2658
2659 typedef boost::units::plane_angle_dimension course_over_ground_dimension;
2660
2661 typedef boost::units::unit<course_over_ground_dimension,boost::units::degree::system> course_over_ground_unit;
2662
2663 template<typename Quantity >
2664 void set_course_over_ground_with_units(Quantity value_w_units)
2665 { set_course_over_ground(boost::units::quantity<course_over_ground_unit,double >(value_w_units).value() ); };
2666
2667 template<typename Quantity >
2669 { return Quantity(course_over_ground() * course_over_ground_unit()); };
2670
2671 boost::units::quantity< course_over_ground_unit,double > course_over_ground_with_units() const
2672 { return course_over_ground_with_units<boost::units::quantity< course_over_ground_unit,double > >(); };
2673
2674 typedef dccl::units::degrees_per_second_unit roll_rate_unit;
2675
2676 template<typename Quantity >
2677 void set_roll_rate_with_units(Quantity value_w_units)
2678 { set_roll_rate(boost::units::quantity<roll_rate_unit,double >(value_w_units).value() ); };
2679
2680 template<typename Quantity >
2681 Quantity roll_rate_with_units() const
2682 { return Quantity(roll_rate() * roll_rate_unit()); };
2683
2684 boost::units::quantity< roll_rate_unit,double > roll_rate_with_units() const
2685 { return roll_rate_with_units<boost::units::quantity< roll_rate_unit,double > >(); };
2686
2687 typedef dccl::units::degrees_per_second_unit pitch_rate_unit;
2688
2689 template<typename Quantity >
2690 void set_pitch_rate_with_units(Quantity value_w_units)
2691 { set_pitch_rate(boost::units::quantity<pitch_rate_unit,double >(value_w_units).value() ); };
2692
2693 template<typename Quantity >
2694 Quantity pitch_rate_with_units() const
2695 { return Quantity(pitch_rate() * pitch_rate_unit()); };
2696
2697 boost::units::quantity< pitch_rate_unit,double > pitch_rate_with_units() const
2698 { return pitch_rate_with_units<boost::units::quantity< pitch_rate_unit,double > >(); };
2699
2700 typedef dccl::units::degrees_per_second_unit heading_rate_unit;
2701
2702 template<typename Quantity >
2703 void set_heading_rate_with_units(Quantity value_w_units)
2704 { set_heading_rate(boost::units::quantity<heading_rate_unit,double >(value_w_units).value() ); };
2705
2706 template<typename Quantity >
2708 { return Quantity(heading_rate() * heading_rate_unit()); };
2709
2710 boost::units::quantity< heading_rate_unit,double > heading_rate_with_units() const
2711 { return heading_rate_with_units<boost::units::quantity< heading_rate_unit,double > >(); };
2712
2713 // @@protoc_insertion_point(class_scope:goby.middleware.frontseat.protobuf.EulerAngles)
2714 private:
2715 class _Internal;
2716
2717 template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
2718 typedef void InternalArenaConstructable_;
2719 typedef void DestructorSkippable_;
2720 struct Impl_ {
2721 ::PROTOBUF_NAMESPACE_ID::internal::ExtensionSet _extensions_;
2722
2723 ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
2724 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
2725 double roll_;
2726 double pitch_;
2727 double heading_;
2728 double course_over_ground_;
2729 double roll_rate_;
2730 double pitch_rate_;
2731 double heading_rate_;
2732 };
2733 union { Impl_ _impl_; };
2734 friend struct ::TableStruct_goby_2fmiddleware_2fprotobuf_2ffrontseat_5fdata_2eproto;
2735};
2736// -------------------------------------------------------------------
2737
2738class Speed final :
2739 public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:goby.middleware.frontseat.protobuf.Speed) */ {
2740 public:
2741 inline Speed() : Speed(nullptr) {}
2742 ~Speed() override;
2743 explicit PROTOBUF_CONSTEXPR Speed(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
2744
2745 Speed(const Speed& from);
2746 Speed(Speed&& from) noexcept
2747 : Speed() {
2748 *this = ::std::move(from);
2749 }
2750
2751 inline Speed& operator=(const Speed& from) {
2752 CopyFrom(from);
2753 return *this;
2754 }
2755 inline Speed& operator=(Speed&& from) noexcept {
2756 if (this == &from) return *this;
2757 if (GetOwningArena() == from.GetOwningArena()
2758 #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
2759 && GetOwningArena() != nullptr
2760 #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
2761 ) {
2762 InternalSwap(&from);
2763 } else {
2764 CopyFrom(from);
2765 }
2766 return *this;
2767 }
2768
2769 inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const {
2770 return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance);
2771 }
2772 inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() {
2773 return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
2774 }
2775
2776 static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
2777 return GetDescriptor();
2778 }
2779 static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
2780 return default_instance().GetMetadata().descriptor;
2781 }
2782 static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
2783 return default_instance().GetMetadata().reflection;
2784 }
2785 static const Speed& default_instance() {
2786 return *internal_default_instance();
2787 }
2788 static inline const Speed* internal_default_instance() {
2789 return reinterpret_cast<const Speed*>(
2791 }
2792 static constexpr int kIndexInFileMessages =
2793 5;
2794
2795 friend void swap(Speed& a, Speed& b) {
2796 a.Swap(&b);
2797 }
2798 inline void Swap(Speed* other) {
2799 if (other == this) return;
2800 #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
2801 if (GetOwningArena() != nullptr &&
2802 GetOwningArena() == other->GetOwningArena()) {
2803 #else // PROTOBUF_FORCE_COPY_IN_SWAP
2804 if (GetOwningArena() == other->GetOwningArena()) {
2805 #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
2806 InternalSwap(other);
2807 } else {
2808 ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
2809 }
2810 }
2811 void UnsafeArenaSwap(Speed* other) {
2812 if (other == this) return;
2813 GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
2814 InternalSwap(other);
2815 }
2816
2817 // implements Message ----------------------------------------------
2818
2819 Speed* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
2820 return CreateMaybeMessage<Speed>(arena);
2821 }
2822 using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
2823 void CopyFrom(const Speed& from);
2824 using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
2825 void MergeFrom( const Speed& from) {
2826 Speed::MergeImpl(*this, from);
2827 }
2828 private:
2829 static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg);
2830 public:
2831 PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
2832 bool IsInitialized() const final;
2833
2834 size_t ByteSizeLong() const final;
2835 const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
2836 uint8_t* _InternalSerialize(
2837 uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
2838 int GetCachedSize() const final { return _impl_._cached_size_.Get(); }
2839
2840 private:
2841 void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned);
2842 void SharedDtor();
2843 void SetCachedSize(int size) const final;
2844 void InternalSwap(Speed* other);
2845
2846 private:
2847 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
2848 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
2849 return "goby.middleware.frontseat.protobuf.Speed";
2850 }
2851 protected:
2852 explicit Speed(::PROTOBUF_NAMESPACE_ID::Arena* arena,
2853 bool is_message_owned = false);
2854 public:
2855
2856 static const ClassData _class_data_;
2857 const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
2858
2859 ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
2860
2861 // nested types ----------------------------------------------------
2862
2863 // accessors -------------------------------------------------------
2864
2865 enum : int {
2866 kOverGroundFieldNumber = 1,
2867 kOverWaterFieldNumber = 2,
2868 };
2869 // required double over_ground = 1 [(.dccl.field) = {
2870 bool has_over_ground() const;
2871 private:
2872 bool _internal_has_over_ground() const;
2873 public:
2874 void clear_over_ground();
2875 double over_ground() const;
2876 void set_over_ground(double value);
2877 private:
2878 double _internal_over_ground() const;
2879 void _internal_set_over_ground(double value);
2880 public:
2881
2882 // optional double over_water = 2 [(.dccl.field) = {
2883 bool has_over_water() const;
2884 private:
2885 bool _internal_has_over_water() const;
2886 public:
2887 void clear_over_water();
2888 double over_water() const;
2889 void set_over_water(double value);
2890 private:
2891 double _internal_over_water() const;
2892 void _internal_set_over_water(double value);
2893 public:
2894
2895
2896 template <typename _proto_TypeTraits,
2897 ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type,
2898 bool _is_packed>
2899 inline bool HasExtension(
2900 const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier<
2901 Speed, _proto_TypeTraits, _field_type, _is_packed>& id) const {
2902
2903 return _impl_._extensions_.Has(id.number());
2904 }
2905
2906 template <typename _proto_TypeTraits,
2907 ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type,
2908 bool _is_packed>
2909 inline void ClearExtension(
2910 const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier<
2911 Speed, _proto_TypeTraits, _field_type, _is_packed>& id) {
2912 _impl_._extensions_.ClearExtension(id.number());
2913
2914 }
2915
2916 template <typename _proto_TypeTraits,
2917 ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type,
2918 bool _is_packed>
2919 inline int ExtensionSize(
2920 const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier<
2921 Speed, _proto_TypeTraits, _field_type, _is_packed>& id) const {
2922
2923 return _impl_._extensions_.ExtensionSize(id.number());
2924 }
2925
2926 template <typename _proto_TypeTraits,
2927 ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type,
2928 bool _is_packed>
2929 inline typename _proto_TypeTraits::Singular::ConstType GetExtension(
2930 const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier<
2931 Speed, _proto_TypeTraits, _field_type, _is_packed>& id) const {
2932
2933 return _proto_TypeTraits::Get(id.number(), _impl_._extensions_,
2934 id.default_value());
2935 }
2936
2937 template <typename _proto_TypeTraits,
2938 ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type,
2939 bool _is_packed>
2940 inline typename _proto_TypeTraits::Singular::MutableType MutableExtension(
2941 const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier<
2942 Speed, _proto_TypeTraits, _field_type, _is_packed>& id) {
2943
2944 return _proto_TypeTraits::Mutable(id.number(), _field_type,
2945 &_impl_._extensions_);
2946 }
2947
2948 template <typename _proto_TypeTraits,
2949 ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type,
2950 bool _is_packed>
2951 inline void SetExtension(
2952 const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier<
2953 Speed, _proto_TypeTraits, _field_type, _is_packed>& id,
2954 typename _proto_TypeTraits::Singular::ConstType value) {
2955 _proto_TypeTraits::Set(id.number(), _field_type, value, &_impl_._extensions_);
2956
2957 }
2958
2959 template <typename _proto_TypeTraits,
2960 ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type,
2961 bool _is_packed>
2963 const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier<
2964 Speed, _proto_TypeTraits, _field_type, _is_packed>& id,
2965 typename _proto_TypeTraits::Singular::MutableType value) {
2966 _proto_TypeTraits::SetAllocated(id.number(), _field_type, value,
2967 &_impl_._extensions_);
2968
2969 }
2970 template <typename _proto_TypeTraits,
2971 ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type,
2972 bool _is_packed>
2974 const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier<
2975 Speed, _proto_TypeTraits, _field_type, _is_packed>& id,
2976 typename _proto_TypeTraits::Singular::MutableType value) {
2977 _proto_TypeTraits::UnsafeArenaSetAllocated(id.number(), _field_type,
2978 value, &_impl_._extensions_);
2979
2980 }
2981 template <typename _proto_TypeTraits,
2982 ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type,
2983 bool _is_packed>
2984 PROTOBUF_NODISCARD inline
2985 typename _proto_TypeTraits::Singular::MutableType
2987 const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier<
2988 Speed, _proto_TypeTraits, _field_type, _is_packed>& id) {
2989
2990 return _proto_TypeTraits::Release(id.number(), _field_type,
2991 &_impl_._extensions_);
2992 }
2993 template <typename _proto_TypeTraits,
2994 ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type,
2995 bool _is_packed>
2996 inline typename _proto_TypeTraits::Singular::MutableType
2998 const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier<
2999 Speed, _proto_TypeTraits, _field_type, _is_packed>& id) {
3000
3001 return _proto_TypeTraits::UnsafeArenaRelease(id.number(), _field_type,
3002 &_impl_._extensions_);
3003 }
3004
3005 template <typename _proto_TypeTraits,
3006 ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type,
3007 bool _is_packed>
3008 inline typename _proto_TypeTraits::Repeated::ConstType GetExtension(
3009 const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier<
3010 Speed, _proto_TypeTraits, _field_type, _is_packed>& id,
3011 int index) const {
3012
3013 return _proto_TypeTraits::Get(id.number(), _impl_._extensions_, index);
3014 }
3015
3016 template <typename _proto_TypeTraits,
3017 ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type,
3018 bool _is_packed>
3019 inline typename _proto_TypeTraits::Repeated::MutableType MutableExtension(
3020 const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier<
3021 Speed, _proto_TypeTraits, _field_type, _is_packed>& id,
3022 int index) {
3023
3024 return _proto_TypeTraits::Mutable(id.number(), index, &_impl_._extensions_);
3025 }
3026
3027 template <typename _proto_TypeTraits,
3028 ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type,
3029 bool _is_packed>
3030 inline void SetExtension(
3031 const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier<
3032 Speed, _proto_TypeTraits, _field_type, _is_packed>& id,
3033 int index, typename _proto_TypeTraits::Repeated::ConstType value) {
3034 _proto_TypeTraits::Set(id.number(), index, value, &_impl_._extensions_);
3035
3036 }
3037
3038 template <typename _proto_TypeTraits,
3039 ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type,
3040 bool _is_packed>
3041 inline typename _proto_TypeTraits::Repeated::MutableType AddExtension(
3042 const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier<
3043 Speed, _proto_TypeTraits, _field_type, _is_packed>& id) {
3044 typename _proto_TypeTraits::Repeated::MutableType to_add =
3045 _proto_TypeTraits::Add(id.number(), _field_type, &_impl_._extensions_);
3046
3047 return to_add;
3048 }
3049
3050 template <typename _proto_TypeTraits,
3051 ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type,
3052 bool _is_packed>
3053 inline void AddExtension(
3054 const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier<
3055 Speed, _proto_TypeTraits, _field_type, _is_packed>& id,
3056 typename _proto_TypeTraits::Repeated::ConstType value) {
3057 _proto_TypeTraits::Add(id.number(), _field_type, _is_packed, value,
3058 &_impl_._extensions_);
3059
3060 }
3061
3062 template <typename _proto_TypeTraits,
3063 ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type,
3064 bool _is_packed>
3065 inline const typename _proto_TypeTraits::Repeated::RepeatedFieldType&
3067 const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier<
3068 Speed, _proto_TypeTraits, _field_type, _is_packed>& id) const {
3069
3070 return _proto_TypeTraits::GetRepeated(id.number(), _impl_._extensions_);
3071 }
3072
3073 template <typename _proto_TypeTraits,
3074 ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type,
3075 bool _is_packed>
3076 inline typename _proto_TypeTraits::Repeated::RepeatedFieldType*
3078 const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier<
3079 Speed, _proto_TypeTraits, _field_type, _is_packed>& id) {
3080
3081 return _proto_TypeTraits::MutableRepeated(id.number(), _field_type,
3082 _is_packed, &_impl_._extensions_);
3083 }
3084
3085 typedef boost::mpl::divides<boost::units::length_dimension,boost::units::time_dimension>::type over_ground_dimension;
3086
3087 typedef boost::units::unit<over_ground_dimension,boost::units::si::system> over_ground_unit;
3088
3089 template<typename Quantity >
3090 void set_over_ground_with_units(Quantity value_w_units)
3091 { set_over_ground(boost::units::quantity<over_ground_unit,double >(value_w_units).value() ); };
3092
3093 template<typename Quantity >
3094 Quantity over_ground_with_units() const
3095 { return Quantity(over_ground() * over_ground_unit()); };
3096
3097 boost::units::quantity< over_ground_unit,double > over_ground_with_units() const
3098 { return over_ground_with_units<boost::units::quantity< over_ground_unit,double > >(); };
3099
3100 typedef boost::mpl::divides<boost::units::length_dimension,boost::units::time_dimension>::type over_water_dimension;
3101
3102 typedef boost::units::unit<over_water_dimension,boost::units::si::system> over_water_unit;
3103
3104 template<typename Quantity >
3105 void set_over_water_with_units(Quantity value_w_units)
3106 { set_over_water(boost::units::quantity<over_water_unit,double >(value_w_units).value() ); };
3107
3108 template<typename Quantity >
3109 Quantity over_water_with_units() const
3110 { return Quantity(over_water() * over_water_unit()); };
3111
3112 boost::units::quantity< over_water_unit,double > over_water_with_units() const
3113 { return over_water_with_units<boost::units::quantity< over_water_unit,double > >(); };
3114
3115 // @@protoc_insertion_point(class_scope:goby.middleware.frontseat.protobuf.Speed)
3116 private:
3117 class _Internal;
3118
3119 template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
3120 typedef void InternalArenaConstructable_;
3121 typedef void DestructorSkippable_;
3122 struct Impl_ {
3123 ::PROTOBUF_NAMESPACE_ID::internal::ExtensionSet _extensions_;
3124
3125 ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
3126 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
3127 double over_ground_;
3128 double over_water_;
3129 };
3130 union { Impl_ _impl_; };
3131 friend struct ::TableStruct_goby_2fmiddleware_2fprotobuf_2ffrontseat_5fdata_2eproto;
3132};
3133// -------------------------------------------------------------------
3134
3135class CTDSample final :
3136 public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:goby.middleware.frontseat.protobuf.CTDSample) */ {
3137 public:
3138 inline CTDSample() : CTDSample(nullptr) {}
3139 ~CTDSample() override;
3140 explicit PROTOBUF_CONSTEXPR CTDSample(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
3141
3142 CTDSample(const CTDSample& from);
3143 CTDSample(CTDSample&& from) noexcept
3144 : CTDSample() {
3145 *this = ::std::move(from);
3146 }
3147
3148 inline CTDSample& operator=(const CTDSample& from) {
3149 CopyFrom(from);
3150 return *this;
3151 }
3152 inline CTDSample& operator=(CTDSample&& from) noexcept {
3153 if (this == &from) return *this;
3154 if (GetOwningArena() == from.GetOwningArena()
3155 #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
3156 && GetOwningArena() != nullptr
3157 #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
3158 ) {
3159 InternalSwap(&from);
3160 } else {
3161 CopyFrom(from);
3162 }
3163 return *this;
3164 }
3165
3166 inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const {
3167 return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance);
3168 }
3169 inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() {
3170 return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
3171 }
3172
3173 static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
3174 return GetDescriptor();
3175 }
3176 static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
3177 return default_instance().GetMetadata().descriptor;
3178 }
3179 static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
3180 return default_instance().GetMetadata().reflection;
3181 }
3182 static const CTDSample& default_instance() {
3183 return *internal_default_instance();
3184 }
3185 static inline const CTDSample* internal_default_instance() {
3186 return reinterpret_cast<const CTDSample*>(
3188 }
3189 static constexpr int kIndexInFileMessages =
3190 6;
3191
3192 friend void swap(CTDSample& a, CTDSample& b) {
3193 a.Swap(&b);
3194 }
3195 inline void Swap(CTDSample* other) {
3196 if (other == this) return;
3197 #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
3198 if (GetOwningArena() != nullptr &&
3199 GetOwningArena() == other->GetOwningArena()) {
3200 #else // PROTOBUF_FORCE_COPY_IN_SWAP
3201 if (GetOwningArena() == other->GetOwningArena()) {
3202 #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
3203 InternalSwap(other);
3204 } else {
3205 ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
3206 }
3207 }
3209 if (other == this) return;
3210 GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
3211 InternalSwap(other);
3212 }
3213
3214 // implements Message ----------------------------------------------
3215
3216 CTDSample* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
3217 return CreateMaybeMessage<CTDSample>(arena);
3218 }
3219 using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
3220 void CopyFrom(const CTDSample& from);
3221 using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
3222 void MergeFrom( const CTDSample& from) {
3223 CTDSample::MergeImpl(*this, from);
3224 }
3225 private:
3226 static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg);
3227 public:
3228 PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
3229 bool IsInitialized() const final;
3230
3231 size_t ByteSizeLong() const final;
3232 const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
3233 uint8_t* _InternalSerialize(
3234 uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
3235 int GetCachedSize() const final { return _impl_._cached_size_.Get(); }
3236
3237 private:
3238 void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned);
3239 void SharedDtor();
3240 void SetCachedSize(int size) const final;
3241 void InternalSwap(CTDSample* other);
3242
3243 private:
3244 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
3245 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
3246 return "goby.middleware.frontseat.protobuf.CTDSample";
3247 }
3248 protected:
3249 explicit CTDSample(::PROTOBUF_NAMESPACE_ID::Arena* arena,
3250 bool is_message_owned = false);
3251 public:
3252
3253 static const ClassData _class_data_;
3254 const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
3255
3256 ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
3257
3258 // nested types ----------------------------------------------------
3259
3261 static constexpr SalinityAlgorithm SAL_ALGORITHM_UNKNOWN =
3262 CTDSample_SalinityAlgorithm_SAL_ALGORITHM_UNKNOWN;
3263 static constexpr SalinityAlgorithm UNESCO_44_PREKIN_AND_LEWIS_1980 =
3264 CTDSample_SalinityAlgorithm_UNESCO_44_PREKIN_AND_LEWIS_1980;
3265 static inline bool SalinityAlgorithm_IsValid(int value) {
3267 }
3268 static constexpr SalinityAlgorithm SalinityAlgorithm_MIN =
3270 static constexpr SalinityAlgorithm SalinityAlgorithm_MAX =
3272 static constexpr int SalinityAlgorithm_ARRAYSIZE =
3274 static inline const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor*
3278 template<typename T>
3279 static inline const std::string& SalinityAlgorithm_Name(T enum_t_value) {
3280 static_assert(::std::is_same<T, SalinityAlgorithm>::value ||
3281 ::std::is_integral<T>::value,
3282 "Incorrect type passed to function SalinityAlgorithm_Name.");
3283 return CTDSample_SalinityAlgorithm_Name(enum_t_value);
3284 }
3285 static inline bool SalinityAlgorithm_Parse(::PROTOBUF_NAMESPACE_ID::ConstStringParam name,
3286 SalinityAlgorithm* value) {
3287 return CTDSample_SalinityAlgorithm_Parse(name, value);
3288 }
3289
3291 static constexpr SoundSpeedAlgorithm SS_ALGORITHM_UNKNOWN =
3293 static constexpr SoundSpeedAlgorithm UNESCO_44_CHEN_AND_MILLERO_1977 =
3295 static constexpr SoundSpeedAlgorithm MACKENZIE_1981 =
3297 static constexpr SoundSpeedAlgorithm DEL_GROSSO_1974 =
3299 static inline bool SoundSpeedAlgorithm_IsValid(int value) {
3301 }
3302 static constexpr SoundSpeedAlgorithm SoundSpeedAlgorithm_MIN =
3304 static constexpr SoundSpeedAlgorithm SoundSpeedAlgorithm_MAX =
3306 static constexpr int SoundSpeedAlgorithm_ARRAYSIZE =
3308 static inline const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor*
3312 template<typename T>
3313 static inline const std::string& SoundSpeedAlgorithm_Name(T enum_t_value) {
3314 static_assert(::std::is_same<T, SoundSpeedAlgorithm>::value ||
3315 ::std::is_integral<T>::value,
3316 "Incorrect type passed to function SoundSpeedAlgorithm_Name.");
3317 return CTDSample_SoundSpeedAlgorithm_Name(enum_t_value);
3318 }
3319 static inline bool SoundSpeedAlgorithm_Parse(::PROTOBUF_NAMESPACE_ID::ConstStringParam name,
3320 SoundSpeedAlgorithm* value) {
3321 return CTDSample_SoundSpeedAlgorithm_Parse(name, value);
3322 }
3323
3325 static constexpr DensityAlgorithm DENSITY_ALGORITHM_UNKNOWN =
3327 static constexpr DensityAlgorithm UNESCO_38_MILLERO_AND_POISSON_1981 =
3329 static inline bool DensityAlgorithm_IsValid(int value) {
3331 }
3332 static constexpr DensityAlgorithm DensityAlgorithm_MIN =
3334 static constexpr DensityAlgorithm DensityAlgorithm_MAX =
3336 static constexpr int DensityAlgorithm_ARRAYSIZE =
3338 static inline const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor*
3342 template<typename T>
3343 static inline const std::string& DensityAlgorithm_Name(T enum_t_value) {
3344 static_assert(::std::is_same<T, DensityAlgorithm>::value ||
3345 ::std::is_integral<T>::value,
3346 "Incorrect type passed to function DensityAlgorithm_Name.");
3347 return CTDSample_DensityAlgorithm_Name(enum_t_value);
3348 }
3349 static inline bool DensityAlgorithm_Parse(::PROTOBUF_NAMESPACE_ID::ConstStringParam name,
3350 DensityAlgorithm* value) {
3351 return CTDSample_DensityAlgorithm_Parse(name, value);
3352 }
3353
3354 // accessors -------------------------------------------------------
3355
3356 enum : int {
3357 kGlobalFixFieldNumber = 23,
3358 kTimeFieldNumber = 2,
3359 kConductivityFieldNumber = 10,
3360 kTemperatureFieldNumber = 11,
3361 kPressureFieldNumber = 12,
3362 kSalinityFieldNumber = 20,
3363 kSoundSpeedFieldNumber = 21,
3364 kDensityFieldNumber = 22,
3365 kSalinityAlgorithmFieldNumber = 30,
3366 kSoundSpeedAlgorithmFieldNumber = 31,
3367 kDensityAlgorithmFieldNumber = 32,
3368 };
3369 // required .goby.middleware.protobuf.LatLonPoint global_fix = 23;
3370 bool has_global_fix() const;
3371 private:
3372 bool _internal_has_global_fix() const;
3373 public:
3375 const ::goby::middleware::protobuf::LatLonPoint& global_fix() const;
3376 PROTOBUF_NODISCARD ::goby::middleware::protobuf::LatLonPoint* release_global_fix();
3377 ::goby::middleware::protobuf::LatLonPoint* mutable_global_fix();
3378 void set_allocated_global_fix(::goby::middleware::protobuf::LatLonPoint* global_fix);
3379 private:
3380 const ::goby::middleware::protobuf::LatLonPoint& _internal_global_fix() const;
3381 ::goby::middleware::protobuf::LatLonPoint* _internal_mutable_global_fix();
3382 public:
3383 void unsafe_arena_set_allocated_global_fix(
3385 ::goby::middleware::protobuf::LatLonPoint* unsafe_arena_release_global_fix();
3386
3387 // required double time = 2 [(.dccl.field) = {
3388 bool has_time() const;
3389 private:
3390 bool _internal_has_time() const;
3391 public:
3392 void clear_time();
3393 double time() const;
3394 void set_time(double value);
3395 private:
3396 double _internal_time() const;
3397 void _internal_set_time(double value);
3398 public:
3399
3400 // optional double conductivity = 10 [(.dccl.field) = {
3401 bool has_conductivity() const;
3402 private:
3403 bool _internal_has_conductivity() const;
3404 public:
3405 void clear_conductivity();
3406 double conductivity() const;
3407 void set_conductivity(double value);
3408 private:
3409 double _internal_conductivity() const;
3410 void _internal_set_conductivity(double value);
3411 public:
3412
3413 // required double temperature = 11 [(.dccl.field) = {
3414 bool has_temperature() const;
3415 private:
3416 bool _internal_has_temperature() const;
3417 public:
3418 void clear_temperature();
3419 double temperature() const;
3420 void set_temperature(double value);
3421 private:
3422 double _internal_temperature() const;
3423 void _internal_set_temperature(double value);
3424 public:
3425
3426 // required double pressure = 12 [(.dccl.field) = {
3427 bool has_pressure() const;
3428 private:
3429 bool _internal_has_pressure() const;
3430 public:
3431 void clear_pressure();
3432 double pressure() const;
3433 void set_pressure(double value);
3434 private:
3435 double _internal_pressure() const;
3436 void _internal_set_pressure(double value);
3437 public:
3438
3439 // required double salinity = 20 [(.dccl.field) = {
3440 bool has_salinity() const;
3441 private:
3442 bool _internal_has_salinity() const;
3443 public:
3444 void clear_salinity();
3445 double salinity() const;
3446 void set_salinity(double value);
3447 private:
3448 double _internal_salinity() const;
3449 void _internal_set_salinity(double value);
3450 public:
3451
3452 // required double sound_speed = 21 [(.dccl.field) = {
3453 bool has_sound_speed() const;
3454 private:
3455 bool _internal_has_sound_speed() const;
3456 public:
3457 void clear_sound_speed();
3458 double sound_speed() const;
3459 void set_sound_speed(double value);
3460 private:
3461 double _internal_sound_speed() const;
3462 void _internal_set_sound_speed(double value);
3463 public:
3464
3465 // required double density = 22 [(.dccl.field) = {
3466 bool has_density() const;
3467 private:
3468 bool _internal_has_density() const;
3469 public:
3470 void clear_density();
3471 double density() const;
3472 void set_density(double value);
3473 private:
3474 double _internal_density() const;
3475 void _internal_set_density(double value);
3476 public:
3477
3478 // optional .goby.middleware.frontseat.protobuf.CTDSample.SalinityAlgorithm salinity_algorithm = 30 [default = SAL_ALGORITHM_UNKNOWN];
3479 bool has_salinity_algorithm() const;
3480 private:
3481 bool _internal_has_salinity_algorithm() const;
3482 public:
3483 void clear_salinity_algorithm();
3486 private:
3488 void _internal_set_salinity_algorithm(::goby::middleware::frontseat::protobuf::CTDSample_SalinityAlgorithm value);
3489 public:
3490
3491 // optional .goby.middleware.frontseat.protobuf.CTDSample.SoundSpeedAlgorithm sound_speed_algorithm = 31 [default = SS_ALGORITHM_UNKNOWN];
3492 bool has_sound_speed_algorithm() const;
3493 private:
3494 bool _internal_has_sound_speed_algorithm() const;
3495 public:
3496 void clear_sound_speed_algorithm();
3499 private:
3500 ::goby::middleware::frontseat::protobuf::CTDSample_SoundSpeedAlgorithm _internal_sound_speed_algorithm() const;
3501 void _internal_set_sound_speed_algorithm(::goby::middleware::frontseat::protobuf::CTDSample_SoundSpeedAlgorithm value);
3502 public:
3503
3504 // optional .goby.middleware.frontseat.protobuf.CTDSample.DensityAlgorithm density_algorithm = 32 [default = DENSITY_ALGORITHM_UNKNOWN];
3505 bool has_density_algorithm() const;
3506 private:
3507 bool _internal_has_density_algorithm() const;
3508 public:
3509 void clear_density_algorithm();
3512 private:
3514 void _internal_set_density_algorithm(::goby::middleware::frontseat::protobuf::CTDSample_DensityAlgorithm value);
3515 public:
3516
3517
3518 template <typename _proto_TypeTraits,
3519 ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type,
3520 bool _is_packed>
3521 inline bool HasExtension(
3522 const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier<
3523 CTDSample, _proto_TypeTraits, _field_type, _is_packed>& id) const {
3524
3525 return _impl_._extensions_.Has(id.number());
3526 }
3527
3528 template <typename _proto_TypeTraits,
3529 ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type,
3530 bool _is_packed>
3531 inline void ClearExtension(
3532 const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier<
3533 CTDSample, _proto_TypeTraits, _field_type, _is_packed>& id) {
3534 _impl_._extensions_.ClearExtension(id.number());
3535
3536 }
3537
3538 template <typename _proto_TypeTraits,
3539 ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type,
3540 bool _is_packed>
3541 inline int ExtensionSize(
3542 const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier<
3543 CTDSample, _proto_TypeTraits, _field_type, _is_packed>& id) const {
3544
3545 return _impl_._extensions_.ExtensionSize(id.number());
3546 }
3547
3548 template <typename _proto_TypeTraits,
3549 ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type,
3550 bool _is_packed>
3551 inline typename _proto_TypeTraits::Singular::ConstType GetExtension(
3552 const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier<
3553 CTDSample, _proto_TypeTraits, _field_type, _is_packed>& id) const {
3554
3555 return _proto_TypeTraits::Get(id.number(), _impl_._extensions_,
3556 id.default_value());
3557 }
3558
3559 template <typename _proto_TypeTraits,
3560 ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type,
3561 bool _is_packed>
3562 inline typename _proto_TypeTraits::Singular::MutableType MutableExtension(
3563 const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier<
3564 CTDSample, _proto_TypeTraits, _field_type, _is_packed>& id) {
3565
3566 return _proto_TypeTraits::Mutable(id.number(), _field_type,
3567 &_impl_._extensions_);
3568 }
3569
3570 template <typename _proto_TypeTraits,
3571 ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type,
3572 bool _is_packed>
3573 inline void SetExtension(
3574 const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier<
3575 CTDSample, _proto_TypeTraits, _field_type, _is_packed>& id,
3576 typename _proto_TypeTraits::Singular::ConstType value) {
3577 _proto_TypeTraits::Set(id.number(), _field_type, value, &_impl_._extensions_);
3578
3579 }
3580
3581 template <typename _proto_TypeTraits,
3582 ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type,
3583 bool _is_packed>
3585 const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier<
3586 CTDSample, _proto_TypeTraits, _field_type, _is_packed>& id,
3587 typename _proto_TypeTraits::Singular::MutableType value) {
3588 _proto_TypeTraits::SetAllocated(id.number(), _field_type, value,
3589 &_impl_._extensions_);
3590
3591 }
3592 template <typename _proto_TypeTraits,
3593 ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type,
3594 bool _is_packed>
3596 const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier<
3597 CTDSample, _proto_TypeTraits, _field_type, _is_packed>& id,
3598 typename _proto_TypeTraits::Singular::MutableType value) {
3599 _proto_TypeTraits::UnsafeArenaSetAllocated(id.number(), _field_type,
3600 value, &_impl_._extensions_);
3601
3602 }
3603 template <typename _proto_TypeTraits,
3604 ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type,
3605 bool _is_packed>
3606 PROTOBUF_NODISCARD inline
3607 typename _proto_TypeTraits::Singular::MutableType
3609 const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier<
3610 CTDSample, _proto_TypeTraits, _field_type, _is_packed>& id) {
3611
3612 return _proto_TypeTraits::Release(id.number(), _field_type,
3613 &_impl_._extensions_);
3614 }
3615 template <typename _proto_TypeTraits,
3616 ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type,
3617 bool _is_packed>
3618 inline typename _proto_TypeTraits::Singular::MutableType
3620 const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier<
3621 CTDSample, _proto_TypeTraits, _field_type, _is_packed>& id) {
3622
3623 return _proto_TypeTraits::UnsafeArenaRelease(id.number(), _field_type,
3624 &_impl_._extensions_);
3625 }
3626
3627 template <typename _proto_TypeTraits,
3628 ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type,
3629 bool _is_packed>
3630 inline typename _proto_TypeTraits::Repeated::ConstType GetExtension(
3631 const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier<
3632 CTDSample, _proto_TypeTraits, _field_type, _is_packed>& id,
3633 int index) const {
3634
3635 return _proto_TypeTraits::Get(id.number(), _impl_._extensions_, index);
3636 }
3637
3638 template <typename _proto_TypeTraits,
3639 ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type,
3640 bool _is_packed>
3641 inline typename _proto_TypeTraits::Repeated::MutableType MutableExtension(
3642 const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier<
3643 CTDSample, _proto_TypeTraits, _field_type, _is_packed>& id,
3644 int index) {
3645
3646 return _proto_TypeTraits::Mutable(id.number(), index, &_impl_._extensions_);
3647 }
3648
3649 template <typename _proto_TypeTraits,
3650 ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type,
3651 bool _is_packed>
3652 inline void SetExtension(
3653 const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier<
3654 CTDSample, _proto_TypeTraits, _field_type, _is_packed>& id,
3655 int index, typename _proto_TypeTraits::Repeated::ConstType value) {
3656 _proto_TypeTraits::Set(id.number(), index, value, &_impl_._extensions_);
3657
3658 }
3659
3660 template <typename _proto_TypeTraits,
3661 ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type,
3662 bool _is_packed>
3663 inline typename _proto_TypeTraits::Repeated::MutableType AddExtension(
3664 const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier<
3665 CTDSample, _proto_TypeTraits, _field_type, _is_packed>& id) {
3666 typename _proto_TypeTraits::Repeated::MutableType to_add =
3667 _proto_TypeTraits::Add(id.number(), _field_type, &_impl_._extensions_);
3668
3669 return to_add;
3670 }
3671
3672 template <typename _proto_TypeTraits,
3673 ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type,
3674 bool _is_packed>
3675 inline void AddExtension(
3676 const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier<
3677 CTDSample, _proto_TypeTraits, _field_type, _is_packed>& id,
3678 typename _proto_TypeTraits::Repeated::ConstType value) {
3679 _proto_TypeTraits::Add(id.number(), _field_type, _is_packed, value,
3680 &_impl_._extensions_);
3681
3682 }
3683
3684 template <typename _proto_TypeTraits,
3685 ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type,
3686 bool _is_packed>
3687 inline const typename _proto_TypeTraits::Repeated::RepeatedFieldType&
3689 const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier<
3690 CTDSample, _proto_TypeTraits, _field_type, _is_packed>& id) const {
3691
3692 return _proto_TypeTraits::GetRepeated(id.number(), _impl_._extensions_);
3693 }
3694
3695 template <typename _proto_TypeTraits,
3696 ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type,
3697 bool _is_packed>
3698 inline typename _proto_TypeTraits::Repeated::RepeatedFieldType*
3700 const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier<
3701 CTDSample, _proto_TypeTraits, _field_type, _is_packed>& id) {
3702
3703 return _proto_TypeTraits::MutableRepeated(id.number(), _field_type,
3704 _is_packed, &_impl_._extensions_);
3705 }
3706
3707 typedef boost::units::derived_dimension< boost::units::time_base_dimension,1 >::type time_dimension;
3708
3709 typedef boost::units::unit<time_dimension,boost::units::si::system> time_unit;
3710
3711 template<typename Quantity >
3712 void set_time_with_units(Quantity value_w_units)
3713 { set_time(boost::units::quantity<time_unit,double >(value_w_units).value() ); };
3714
3715 template<typename Quantity >
3716 Quantity time_with_units() const
3717 { return Quantity(time() * time_unit()); };
3718
3719 boost::units::quantity< time_unit,double > time_with_units() const
3720 { return time_with_units<boost::units::quantity< time_unit,double > >(); };
3721
3722 typedef boost::units::conductivity_dimension conductivity_dimension;
3723
3724 typedef boost::units::unit<conductivity_dimension,boost::units::si::system> conductivity_unit;
3725
3726 template<typename Quantity >
3727 void set_conductivity_with_units(Quantity value_w_units)
3728 { set_conductivity(boost::units::quantity<conductivity_unit,double >(value_w_units).value() ); };
3729
3730 template<typename Quantity >
3732 { return Quantity(conductivity() * conductivity_unit()); };
3733
3734 boost::units::quantity< conductivity_unit,double > conductivity_with_units() const
3735 { return conductivity_with_units<boost::units::quantity< conductivity_unit,double > >(); };
3736
3737 typedef boost::units::temperature_dimension temperature_dimension;
3738
3739 typedef boost::units::absolute<boost::units::unit<temperature_dimension,boost::units::celsius::system> > temperature_unit;
3740
3741 template<typename Quantity >
3742 void set_temperature_with_units(Quantity value_w_units)
3743 { set_temperature(boost::units::quantity<temperature_unit,double >(value_w_units).value() ); };
3744
3745 template<typename Quantity >
3746 Quantity temperature_with_units() const
3747 { return Quantity(temperature() * temperature_unit()); };
3748
3749 boost::units::quantity< temperature_unit,double > temperature_with_units() const
3750 { return temperature_with_units<boost::units::quantity< temperature_unit,double > >(); };
3751
3752 typedef boost::units::derived_dimension< boost::units::mass_base_dimension,1, boost::units::length_base_dimension,-1, boost::units::time_base_dimension,-2 >::type pressure_dimension;
3753
3754 typedef boost::units::unit<pressure_dimension,boost::units::si::system> pressure_unit;
3755
3756 template<typename Quantity >
3757 void set_pressure_with_units(Quantity value_w_units)
3758 { set_pressure(boost::units::quantity<pressure_unit,double >(value_w_units).value() ); };
3759
3760 template<typename Quantity >
3761 Quantity pressure_with_units() const
3762 { return Quantity(pressure() * pressure_unit()); };
3763
3764 boost::units::quantity< pressure_unit,double > pressure_with_units() const
3765 { return pressure_with_units<boost::units::quantity< pressure_unit,double > >(); };
3766
3767 typedef boost::units::dimensionless_type salinity_dimension;
3768
3769 typedef boost::units::unit<salinity_dimension,boost::units::si::system> salinity_unit;
3770
3771 template<typename Quantity >
3772 void set_salinity_with_units(Quantity value_w_units)
3773 { set_salinity(boost::units::quantity<salinity_unit,double >(value_w_units).value() ); };
3774
3775 template<typename Quantity >
3776 Quantity salinity_with_units() const
3777 { return Quantity(salinity() * salinity_unit()); };
3778
3779 boost::units::quantity< salinity_unit,double > salinity_with_units() const
3780 { return salinity_with_units<boost::units::quantity< salinity_unit,double > >(); };
3781
3782 typedef boost::units::derived_dimension< boost::units::length_base_dimension,1, boost::units::time_base_dimension,-1 >::type sound_speed_dimension;
3783
3784 typedef boost::units::unit<sound_speed_dimension,boost::units::si::system> sound_speed_unit;
3785
3786 template<typename Quantity >
3787 void set_sound_speed_with_units(Quantity value_w_units)
3788 { set_sound_speed(boost::units::quantity<sound_speed_unit,double >(value_w_units).value() ); };
3789
3790 template<typename Quantity >
3791 Quantity sound_speed_with_units() const
3792 { return Quantity(sound_speed() * sound_speed_unit()); };
3793
3794 boost::units::quantity< sound_speed_unit,double > sound_speed_with_units() const
3795 { return sound_speed_with_units<boost::units::quantity< sound_speed_unit,double > >(); };
3796
3797 typedef boost::units::derived_dimension< boost::units::mass_base_dimension,1, boost::units::length_base_dimension,-3 >::type density_dimension;
3798
3799 typedef boost::units::unit<density_dimension,boost::units::si::system> density_unit;
3800
3801 template<typename Quantity >
3802 void set_density_with_units(Quantity value_w_units)
3803 { set_density(boost::units::quantity<density_unit,double >(value_w_units).value() ); };
3804
3805 template<typename Quantity >
3806 Quantity density_with_units() const
3807 { return Quantity(density() * density_unit()); };
3808
3809 boost::units::quantity< density_unit,double > density_with_units() const
3810 { return density_with_units<boost::units::quantity< density_unit,double > >(); };
3811
3812 // @@protoc_insertion_point(class_scope:goby.middleware.frontseat.protobuf.CTDSample)
3813 private:
3814 class _Internal;
3815
3816 // helper for ByteSizeLong()
3817 size_t RequiredFieldsByteSizeFallback() const;
3818
3819 template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
3820 typedef void InternalArenaConstructable_;
3821 typedef void DestructorSkippable_;
3822 struct Impl_ {
3823 ::PROTOBUF_NAMESPACE_ID::internal::ExtensionSet _extensions_;
3824
3825 ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
3826 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
3828 double time_;
3829 double conductivity_;
3830 double temperature_;
3831 double pressure_;
3832 double salinity_;
3833 double sound_speed_;
3834 double density_;
3835 int salinity_algorithm_;
3836 int sound_speed_algorithm_;
3837 int density_algorithm_;
3838 };
3839 union { Impl_ _impl_; };
3840 friend struct ::TableStruct_goby_2fmiddleware_2fprotobuf_2ffrontseat_5fdata_2eproto;
3841};
3842// -------------------------------------------------------------------
3843
3844class DatumUpdate final :
3845 public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:goby.middleware.frontseat.protobuf.DatumUpdate) */ {
3846 public:
3847 inline DatumUpdate() : DatumUpdate(nullptr) {}
3848 ~DatumUpdate() override;
3849 explicit PROTOBUF_CONSTEXPR DatumUpdate(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
3850
3852 DatumUpdate(DatumUpdate&& from) noexcept
3853 : DatumUpdate() {
3854 *this = ::std::move(from);
3855 }
3856
3857 inline DatumUpdate& operator=(const DatumUpdate& from) {
3858 CopyFrom(from);
3859 return *this;
3860 }
3861 inline DatumUpdate& operator=(DatumUpdate&& from) noexcept {
3862 if (this == &from) return *this;
3863 if (GetOwningArena() == from.GetOwningArena()
3864 #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
3865 && GetOwningArena() != nullptr
3866 #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
3867 ) {
3868 InternalSwap(&from);
3869 } else {
3870 CopyFrom(from);
3871 }
3872 return *this;
3873 }
3874
3875 inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const {
3876 return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance);
3877 }
3878 inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() {
3879 return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
3880 }
3881
3882 static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
3883 return GetDescriptor();
3884 }
3885 static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
3886 return default_instance().GetMetadata().descriptor;
3887 }
3888 static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
3889 return default_instance().GetMetadata().reflection;
3890 }
3892 return *internal_default_instance();
3893 }
3895 return reinterpret_cast<const DatumUpdate*>(
3897 }
3898 static constexpr int kIndexInFileMessages =
3899 7;
3900
3901 friend void swap(DatumUpdate& a, DatumUpdate& b) {
3902 a.Swap(&b);
3903 }
3904 inline void Swap(DatumUpdate* other) {
3905 if (other == this) return;
3906 #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
3907 if (GetOwningArena() != nullptr &&
3908 GetOwningArena() == other->GetOwningArena()) {
3909 #else // PROTOBUF_FORCE_COPY_IN_SWAP
3910 if (GetOwningArena() == other->GetOwningArena()) {
3911 #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
3912 InternalSwap(other);
3913 } else {
3914 ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
3915 }
3916 }
3918 if (other == this) return;
3919 GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
3920 InternalSwap(other);
3921 }
3922
3923 // implements Message ----------------------------------------------
3924
3925 DatumUpdate* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
3926 return CreateMaybeMessage<DatumUpdate>(arena);
3927 }
3928 using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
3929 void CopyFrom(const DatumUpdate& from);
3930 using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
3931 void MergeFrom( const DatumUpdate& from) {
3932 DatumUpdate::MergeImpl(*this, from);
3933 }
3934 private:
3935 static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg);
3936 public:
3937 PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
3938 bool IsInitialized() const final;
3939
3940 size_t ByteSizeLong() const final;
3941 const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
3942 uint8_t* _InternalSerialize(
3943 uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
3944 int GetCachedSize() const final { return _impl_._cached_size_.Get(); }
3945
3946 private:
3947 void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned);
3948 void SharedDtor();
3949 void SetCachedSize(int size) const final;
3950 void InternalSwap(DatumUpdate* other);
3951
3952 private:
3953 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
3954 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
3955 return "goby.middleware.frontseat.protobuf.DatumUpdate";
3956 }
3957 protected:
3958 explicit DatumUpdate(::PROTOBUF_NAMESPACE_ID::Arena* arena,
3959 bool is_message_owned = false);
3960 public:
3961
3962 static const ClassData _class_data_;
3963 const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
3964
3965 ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
3966
3967 // nested types ----------------------------------------------------
3968
3969 // accessors -------------------------------------------------------
3970
3971 enum : int {
3972 kDatumFieldNumber = 1,
3973 };
3974 // required .goby.middleware.protobuf.LatLonPoint datum = 1;
3975 bool has_datum() const;
3976 private:
3977 bool _internal_has_datum() const;
3978 public:
3980 const ::goby::middleware::protobuf::LatLonPoint& datum() const;
3981 PROTOBUF_NODISCARD ::goby::middleware::protobuf::LatLonPoint* release_datum();
3983 void set_allocated_datum(::goby::middleware::protobuf::LatLonPoint* datum);
3984 private:
3985 const ::goby::middleware::protobuf::LatLonPoint& _internal_datum() const;
3986 ::goby::middleware::protobuf::LatLonPoint* _internal_mutable_datum();
3987 public:
3988 void unsafe_arena_set_allocated_datum(
3990 ::goby::middleware::protobuf::LatLonPoint* unsafe_arena_release_datum();
3991
3992 // @@protoc_insertion_point(class_scope:goby.middleware.frontseat.protobuf.DatumUpdate)
3993 private:
3994 class _Internal;
3995
3996 template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
3997 typedef void InternalArenaConstructable_;
3998 typedef void DestructorSkippable_;
3999 struct Impl_ {
4000 ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
4001 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
4003 };
4004 union { Impl_ _impl_; };
4005 friend struct ::TableStruct_goby_2fmiddleware_2fprotobuf_2ffrontseat_5fdata_2eproto;
4006};
4007// ===================================================================
4008
4009
4010// ===================================================================
4011
4012#ifdef __GNUC__
4013 #pragma GCC diagnostic push
4014 #pragma GCC diagnostic ignored "-Wstrict-aliasing"
4015#endif // __GNUC__
4016// NodeStatus
4017
4018// required double time = 1 [(.dccl.field) = {
4019inline bool NodeStatus::_internal_has_time() const {
4020 bool value = (_impl_._has_bits_[0] & 0x00000040u) != 0;
4021 return value;
4022}
4023inline bool NodeStatus::has_time() const {
4024 return _internal_has_time();
4025}
4026inline void NodeStatus::clear_time() {
4027 _impl_.time_ = 0;
4028 _impl_._has_bits_[0] &= ~0x00000040u;
4029}
4030inline double NodeStatus::_internal_time() const {
4031 return _impl_.time_;
4032}
4033inline double NodeStatus::time() const {
4034 // @@protoc_insertion_point(field_get:goby.middleware.frontseat.protobuf.NodeStatus.time)
4035 return _internal_time();
4036}
4037inline void NodeStatus::_internal_set_time(double value) {
4038 _impl_._has_bits_[0] |= 0x00000040u;
4039 _impl_.time_ = value;
4040}
4041inline void NodeStatus::set_time(double value) {
4042 _internal_set_time(value);
4043 // @@protoc_insertion_point(field_set:goby.middleware.frontseat.protobuf.NodeStatus.time)
4044}
4045
4046// optional string name = 2;
4047inline bool NodeStatus::_internal_has_name() const {
4048 bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0;
4049 return value;
4050}
4051inline bool NodeStatus::has_name() const {
4052 return _internal_has_name();
4053}
4054inline void NodeStatus::clear_name() {
4055 _impl_.name_.ClearToEmpty();
4056 _impl_._has_bits_[0] &= ~0x00000001u;
4057}
4058inline const std::string& NodeStatus::name() const {
4059 // @@protoc_insertion_point(field_get:goby.middleware.frontseat.protobuf.NodeStatus.name)
4060 return _internal_name();
4061}
4062template <typename ArgT0, typename... ArgT>
4063inline PROTOBUF_ALWAYS_INLINE
4064void NodeStatus::set_name(ArgT0&& arg0, ArgT... args) {
4065 _impl_._has_bits_[0] |= 0x00000001u;
4066 _impl_.name_.Set(static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
4067 // @@protoc_insertion_point(field_set:goby.middleware.frontseat.protobuf.NodeStatus.name)
4068}
4069inline std::string* NodeStatus::mutable_name() {
4070 std::string* _s = _internal_mutable_name();
4071 // @@protoc_insertion_point(field_mutable:goby.middleware.frontseat.protobuf.NodeStatus.name)
4072 return _s;
4073}
4074inline const std::string& NodeStatus::_internal_name() const {
4075 return _impl_.name_.Get();
4076}
4077inline void NodeStatus::_internal_set_name(const std::string& value) {
4078 _impl_._has_bits_[0] |= 0x00000001u;
4079 _impl_.name_.Set(value, GetArenaForAllocation());
4080}
4081inline std::string* NodeStatus::_internal_mutable_name() {
4082 _impl_._has_bits_[0] |= 0x00000001u;
4083 return _impl_.name_.Mutable(GetArenaForAllocation());
4084}
4085inline std::string* NodeStatus::release_name() {
4086 // @@protoc_insertion_point(field_release:goby.middleware.frontseat.protobuf.NodeStatus.name)
4087 if (!_internal_has_name()) {
4088 return nullptr;
4089 }
4090 _impl_._has_bits_[0] &= ~0x00000001u;
4091 auto* p = _impl_.name_.Release();
4092#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
4093 if (_impl_.name_.IsDefault()) {
4094 _impl_.name_.Set("", GetArenaForAllocation());
4095 }
4096#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
4097 return p;
4098}
4099inline void NodeStatus::set_allocated_name(std::string* name) {
4100 if (name != nullptr) {
4101 _impl_._has_bits_[0] |= 0x00000001u;
4102 } else {
4103 _impl_._has_bits_[0] &= ~0x00000001u;
4104 }
4105 _impl_.name_.SetAllocated(name, GetArenaForAllocation());
4106#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
4107 if (_impl_.name_.IsDefault()) {
4108 _impl_.name_.Set("", GetArenaForAllocation());
4109 }
4110#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
4111 // @@protoc_insertion_point(field_set_allocated:goby.middleware.frontseat.protobuf.NodeStatus.name)
4112}
4113
4114// optional .goby.middleware.frontseat.protobuf.VehicleType type = 3;
4115inline bool NodeStatus::_internal_has_type() const {
4116 bool value = (_impl_._has_bits_[0] & 0x00000080u) != 0;
4117 return value;
4118}
4119inline bool NodeStatus::has_type() const {
4120 return _internal_has_type();
4121}
4122inline void NodeStatus::clear_type() {
4123 _impl_.type_ = 0;
4124 _impl_._has_bits_[0] &= ~0x00000080u;
4125}
4126inline ::goby::middleware::frontseat::protobuf::VehicleType NodeStatus::_internal_type() const {
4127 return static_cast< ::goby::middleware::frontseat::protobuf::VehicleType >(_impl_.type_);
4128}
4129inline ::goby::middleware::frontseat::protobuf::VehicleType NodeStatus::type() const {
4130 // @@protoc_insertion_point(field_get:goby.middleware.frontseat.protobuf.NodeStatus.type)
4131 return _internal_type();
4132}
4133inline void NodeStatus::_internal_set_type(::goby::middleware::frontseat::protobuf::VehicleType value) {
4135 _impl_._has_bits_[0] |= 0x00000080u;
4136 _impl_.type_ = value;
4137}
4138inline void NodeStatus::set_type(::goby::middleware::frontseat::protobuf::VehicleType value) {
4139 _internal_set_type(value);
4140 // @@protoc_insertion_point(field_set:goby.middleware.frontseat.protobuf.NodeStatus.type)
4141}
4142
4143// required .goby.middleware.protobuf.LatLonPoint global_fix = 10;
4144inline bool NodeStatus::_internal_has_global_fix() const {
4145 bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0;
4146 PROTOBUF_ASSUME(!value || _impl_.global_fix_ != nullptr);
4147 return value;
4148}
4149inline bool NodeStatus::has_global_fix() const {
4150 return _internal_has_global_fix();
4151}
4152inline const ::goby::middleware::protobuf::LatLonPoint& NodeStatus::_internal_global_fix() const {
4153 const ::goby::middleware::protobuf::LatLonPoint* p = _impl_.global_fix_;
4154 return p != nullptr ? *p : reinterpret_cast<const ::goby::middleware::protobuf::LatLonPoint&>(
4156}
4157inline const ::goby::middleware::protobuf::LatLonPoint& NodeStatus::global_fix() const {
4158 // @@protoc_insertion_point(field_get:goby.middleware.frontseat.protobuf.NodeStatus.global_fix)
4159 return _internal_global_fix();
4160}
4161inline void NodeStatus::unsafe_arena_set_allocated_global_fix(
4163 if (GetArenaForAllocation() == nullptr) {
4164 delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.global_fix_);
4165 }
4166 _impl_.global_fix_ = global_fix;
4167 if (global_fix) {
4168 _impl_._has_bits_[0] |= 0x00000002u;
4169 } else {
4170 _impl_._has_bits_[0] &= ~0x00000002u;
4171 }
4172 // @@protoc_insertion_point(field_unsafe_arena_set_allocated:goby.middleware.frontseat.protobuf.NodeStatus.global_fix)
4173}
4174inline ::goby::middleware::protobuf::LatLonPoint* NodeStatus::release_global_fix() {
4175 _impl_._has_bits_[0] &= ~0x00000002u;
4176 ::goby::middleware::protobuf::LatLonPoint* temp = _impl_.global_fix_;
4177 _impl_.global_fix_ = nullptr;
4178#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
4179 auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp);
4180 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
4181 if (GetArenaForAllocation() == nullptr) { delete old; }
4182#else // PROTOBUF_FORCE_COPY_IN_RELEASE
4183 if (GetArenaForAllocation() != nullptr) {
4184 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
4185 }
4186#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE
4187 return temp;
4188}
4189inline ::goby::middleware::protobuf::LatLonPoint* NodeStatus::unsafe_arena_release_global_fix() {
4190 // @@protoc_insertion_point(field_release:goby.middleware.frontseat.protobuf.NodeStatus.global_fix)
4191 _impl_._has_bits_[0] &= ~0x00000002u;
4192 ::goby::middleware::protobuf::LatLonPoint* temp = _impl_.global_fix_;
4193 _impl_.global_fix_ = nullptr;
4194 return temp;
4195}
4196inline ::goby::middleware::protobuf::LatLonPoint* NodeStatus::_internal_mutable_global_fix() {
4197 _impl_._has_bits_[0] |= 0x00000002u;
4198 if (_impl_.global_fix_ == nullptr) {
4199 auto* p = CreateMaybeMessage<::goby::middleware::protobuf::LatLonPoint>(GetArenaForAllocation());
4200 _impl_.global_fix_ = p;
4201 }
4202 return _impl_.global_fix_;
4203}
4204inline ::goby::middleware::protobuf::LatLonPoint* NodeStatus::mutable_global_fix() {
4205 ::goby::middleware::protobuf::LatLonPoint* _msg = _internal_mutable_global_fix();
4206 // @@protoc_insertion_point(field_mutable:goby.middleware.frontseat.protobuf.NodeStatus.global_fix)
4207 return _msg;
4208}
4209inline void NodeStatus::set_allocated_global_fix(::goby::middleware::protobuf::LatLonPoint* global_fix) {
4210 ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
4211 if (message_arena == nullptr) {
4212 delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.global_fix_);
4213 }
4214 if (global_fix) {
4215 ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
4216 ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(
4217 reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(global_fix));
4218 if (message_arena != submessage_arena) {
4219 global_fix = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
4220 message_arena, global_fix, submessage_arena);
4221 }
4222 _impl_._has_bits_[0] |= 0x00000002u;
4223 } else {
4224 _impl_._has_bits_[0] &= ~0x00000002u;
4225 }
4226 _impl_.global_fix_ = global_fix;
4227 // @@protoc_insertion_point(field_set_allocated:goby.middleware.frontseat.protobuf.NodeStatus.global_fix)
4228}
4229
4230// optional .goby.middleware.frontseat.protobuf.CartesianCoordinate local_fix = 11;
4231inline bool NodeStatus::_internal_has_local_fix() const {
4232 bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0;
4233 PROTOBUF_ASSUME(!value || _impl_.local_fix_ != nullptr);
4234 return value;
4235}
4236inline bool NodeStatus::has_local_fix() const {
4237 return _internal_has_local_fix();
4238}
4239inline void NodeStatus::clear_local_fix() {
4240 if (_impl_.local_fix_ != nullptr) _impl_.local_fix_->Clear();
4241 _impl_._has_bits_[0] &= ~0x00000004u;
4242}
4243inline const ::goby::middleware::frontseat::protobuf::CartesianCoordinate& NodeStatus::_internal_local_fix() const {
4244 const ::goby::middleware::frontseat::protobuf::CartesianCoordinate* p = _impl_.local_fix_;
4245 return p != nullptr ? *p : reinterpret_cast<const ::goby::middleware::frontseat::protobuf::CartesianCoordinate&>(
4247}
4248inline const ::goby::middleware::frontseat::protobuf::CartesianCoordinate& NodeStatus::local_fix() const {
4249 // @@protoc_insertion_point(field_get:goby.middleware.frontseat.protobuf.NodeStatus.local_fix)
4250 return _internal_local_fix();
4251}
4252inline void NodeStatus::unsafe_arena_set_allocated_local_fix(
4254 if (GetArenaForAllocation() == nullptr) {
4255 delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.local_fix_);
4256 }
4257 _impl_.local_fix_ = local_fix;
4258 if (local_fix) {
4259 _impl_._has_bits_[0] |= 0x00000004u;
4260 } else {
4261 _impl_._has_bits_[0] &= ~0x00000004u;
4262 }
4263 // @@protoc_insertion_point(field_unsafe_arena_set_allocated:goby.middleware.frontseat.protobuf.NodeStatus.local_fix)
4264}
4265inline ::goby::middleware::frontseat::protobuf::CartesianCoordinate* NodeStatus::release_local_fix() {
4266 _impl_._has_bits_[0] &= ~0x00000004u;
4268 _impl_.local_fix_ = nullptr;
4269#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
4270 auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp);
4271 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
4272 if (GetArenaForAllocation() == nullptr) { delete old; }
4273#else // PROTOBUF_FORCE_COPY_IN_RELEASE
4274 if (GetArenaForAllocation() != nullptr) {
4275 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
4276 }
4277#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE
4278 return temp;
4279}
4280inline ::goby::middleware::frontseat::protobuf::CartesianCoordinate* NodeStatus::unsafe_arena_release_local_fix() {
4281 // @@protoc_insertion_point(field_release:goby.middleware.frontseat.protobuf.NodeStatus.local_fix)
4282 _impl_._has_bits_[0] &= ~0x00000004u;
4284 _impl_.local_fix_ = nullptr;
4285 return temp;
4286}
4287inline ::goby::middleware::frontseat::protobuf::CartesianCoordinate* NodeStatus::_internal_mutable_local_fix() {
4288 _impl_._has_bits_[0] |= 0x00000004u;
4289 if (_impl_.local_fix_ == nullptr) {
4291 _impl_.local_fix_ = p;
4292 }
4293 return _impl_.local_fix_;
4294}
4295inline ::goby::middleware::frontseat::protobuf::CartesianCoordinate* NodeStatus::mutable_local_fix() {
4296 ::goby::middleware::frontseat::protobuf::CartesianCoordinate* _msg = _internal_mutable_local_fix();
4297 // @@protoc_insertion_point(field_mutable:goby.middleware.frontseat.protobuf.NodeStatus.local_fix)
4298 return _msg;
4299}
4300inline void NodeStatus::set_allocated_local_fix(::goby::middleware::frontseat::protobuf::CartesianCoordinate* local_fix) {
4301 ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
4302 if (message_arena == nullptr) {
4303 delete _impl_.local_fix_;
4304 }
4305 if (local_fix) {
4306 ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
4307 ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(local_fix);
4308 if (message_arena != submessage_arena) {
4309 local_fix = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
4310 message_arena, local_fix, submessage_arena);
4311 }
4312 _impl_._has_bits_[0] |= 0x00000004u;
4313 } else {
4314 _impl_._has_bits_[0] &= ~0x00000004u;
4315 }
4316 _impl_.local_fix_ = local_fix;
4317 // @@protoc_insertion_point(field_set_allocated:goby.middleware.frontseat.protobuf.NodeStatus.local_fix)
4318}
4319
4320// required .goby.middleware.frontseat.protobuf.EulerAngles pose = 20;
4321inline bool NodeStatus::_internal_has_pose() const {
4322 bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0;
4323 PROTOBUF_ASSUME(!value || _impl_.pose_ != nullptr);
4324 return value;
4325}
4326inline bool NodeStatus::has_pose() const {
4327 return _internal_has_pose();
4328}
4329inline void NodeStatus::clear_pose() {
4330 if (_impl_.pose_ != nullptr) _impl_.pose_->Clear();
4331 _impl_._has_bits_[0] &= ~0x00000008u;
4332}
4333inline const ::goby::middleware::frontseat::protobuf::EulerAngles& NodeStatus::_internal_pose() const {
4334 const ::goby::middleware::frontseat::protobuf::EulerAngles* p = _impl_.pose_;
4335 return p != nullptr ? *p : reinterpret_cast<const ::goby::middleware::frontseat::protobuf::EulerAngles&>(
4337}
4338inline const ::goby::middleware::frontseat::protobuf::EulerAngles& NodeStatus::pose() const {
4339 // @@protoc_insertion_point(field_get:goby.middleware.frontseat.protobuf.NodeStatus.pose)
4340 return _internal_pose();
4341}
4342inline void NodeStatus::unsafe_arena_set_allocated_pose(
4344 if (GetArenaForAllocation() == nullptr) {
4345 delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.pose_);
4346 }
4347 _impl_.pose_ = pose;
4348 if (pose) {
4349 _impl_._has_bits_[0] |= 0x00000008u;
4350 } else {
4351 _impl_._has_bits_[0] &= ~0x00000008u;
4352 }
4353 // @@protoc_insertion_point(field_unsafe_arena_set_allocated:goby.middleware.frontseat.protobuf.NodeStatus.pose)
4354}
4355inline ::goby::middleware::frontseat::protobuf::EulerAngles* NodeStatus::release_pose() {
4356 _impl_._has_bits_[0] &= ~0x00000008u;
4358 _impl_.pose_ = nullptr;
4359#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
4360 auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp);
4361 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
4362 if (GetArenaForAllocation() == nullptr) { delete old; }
4363#else // PROTOBUF_FORCE_COPY_IN_RELEASE
4364 if (GetArenaForAllocation() != nullptr) {
4365 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
4366 }
4367#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE
4368 return temp;
4369}
4370inline ::goby::middleware::frontseat::protobuf::EulerAngles* NodeStatus::unsafe_arena_release_pose() {
4371 // @@protoc_insertion_point(field_release:goby.middleware.frontseat.protobuf.NodeStatus.pose)
4372 _impl_._has_bits_[0] &= ~0x00000008u;
4374 _impl_.pose_ = nullptr;
4375 return temp;
4376}
4377inline ::goby::middleware::frontseat::protobuf::EulerAngles* NodeStatus::_internal_mutable_pose() {
4378 _impl_._has_bits_[0] |= 0x00000008u;
4379 if (_impl_.pose_ == nullptr) {
4381 _impl_.pose_ = p;
4382 }
4383 return _impl_.pose_;
4384}
4385inline ::goby::middleware::frontseat::protobuf::EulerAngles* NodeStatus::mutable_pose() {
4386 ::goby::middleware::frontseat::protobuf::EulerAngles* _msg = _internal_mutable_pose();
4387 // @@protoc_insertion_point(field_mutable:goby.middleware.frontseat.protobuf.NodeStatus.pose)
4388 return _msg;
4389}
4390inline void NodeStatus::set_allocated_pose(::goby::middleware::frontseat::protobuf::EulerAngles* pose) {
4391 ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
4392 if (message_arena == nullptr) {
4393 delete _impl_.pose_;
4394 }
4395 if (pose) {
4396 ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
4397 ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(pose);
4398 if (message_arena != submessage_arena) {
4399 pose = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
4400 message_arena, pose, submessage_arena);
4401 }
4402 _impl_._has_bits_[0] |= 0x00000008u;
4403 } else {
4404 _impl_._has_bits_[0] &= ~0x00000008u;
4405 }
4406 _impl_.pose_ = pose;
4407 // @@protoc_insertion_point(field_set_allocated:goby.middleware.frontseat.protobuf.NodeStatus.pose)
4408}
4409
4410// required .goby.middleware.frontseat.protobuf.Speed speed = 30;
4411inline bool NodeStatus::_internal_has_speed() const {
4412 bool value = (_impl_._has_bits_[0] & 0x00000010u) != 0;
4413 PROTOBUF_ASSUME(!value || _impl_.speed_ != nullptr);
4414 return value;
4415}
4416inline bool NodeStatus::has_speed() const {
4417 return _internal_has_speed();
4418}
4419inline void NodeStatus::clear_speed() {
4420 if (_impl_.speed_ != nullptr) _impl_.speed_->Clear();
4421 _impl_._has_bits_[0] &= ~0x00000010u;
4422}
4423inline const ::goby::middleware::frontseat::protobuf::Speed& NodeStatus::_internal_speed() const {
4424 const ::goby::middleware::frontseat::protobuf::Speed* p = _impl_.speed_;
4425 return p != nullptr ? *p : reinterpret_cast<const ::goby::middleware::frontseat::protobuf::Speed&>(
4427}
4428inline const ::goby::middleware::frontseat::protobuf::Speed& NodeStatus::speed() const {
4429 // @@protoc_insertion_point(field_get:goby.middleware.frontseat.protobuf.NodeStatus.speed)
4430 return _internal_speed();
4431}
4432inline void NodeStatus::unsafe_arena_set_allocated_speed(
4434 if (GetArenaForAllocation() == nullptr) {
4435 delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.speed_);
4436 }
4437 _impl_.speed_ = speed;
4438 if (speed) {
4439 _impl_._has_bits_[0] |= 0x00000010u;
4440 } else {
4441 _impl_._has_bits_[0] &= ~0x00000010u;
4442 }
4443 // @@protoc_insertion_point(field_unsafe_arena_set_allocated:goby.middleware.frontseat.protobuf.NodeStatus.speed)
4444}
4445inline ::goby::middleware::frontseat::protobuf::Speed* NodeStatus::release_speed() {
4446 _impl_._has_bits_[0] &= ~0x00000010u;
4448 _impl_.speed_ = nullptr;
4449#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
4450 auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp);
4451 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
4452 if (GetArenaForAllocation() == nullptr) { delete old; }
4453#else // PROTOBUF_FORCE_COPY_IN_RELEASE
4454 if (GetArenaForAllocation() != nullptr) {
4455 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
4456 }
4457#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE
4458 return temp;
4459}
4460inline ::goby::middleware::frontseat::protobuf::Speed* NodeStatus::unsafe_arena_release_speed() {
4461 // @@protoc_insertion_point(field_release:goby.middleware.frontseat.protobuf.NodeStatus.speed)
4462 _impl_._has_bits_[0] &= ~0x00000010u;
4464 _impl_.speed_ = nullptr;
4465 return temp;
4466}
4467inline ::goby::middleware::frontseat::protobuf::Speed* NodeStatus::_internal_mutable_speed() {
4468 _impl_._has_bits_[0] |= 0x00000010u;
4469 if (_impl_.speed_ == nullptr) {
4471 _impl_.speed_ = p;
4472 }
4473 return _impl_.speed_;
4474}
4475inline ::goby::middleware::frontseat::protobuf::Speed* NodeStatus::mutable_speed() {
4476 ::goby::middleware::frontseat::protobuf::Speed* _msg = _internal_mutable_speed();
4477 // @@protoc_insertion_point(field_mutable:goby.middleware.frontseat.protobuf.NodeStatus.speed)
4478 return _msg;
4479}
4480inline void NodeStatus::set_allocated_speed(::goby::middleware::frontseat::protobuf::Speed* speed) {
4481 ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
4482 if (message_arena == nullptr) {
4483 delete _impl_.speed_;
4484 }
4485 if (speed) {
4486 ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
4487 ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(speed);
4488 if (message_arena != submessage_arena) {
4489 speed = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
4490 message_arena, speed, submessage_arena);
4491 }
4492 _impl_._has_bits_[0] |= 0x00000010u;
4493 } else {
4494 _impl_._has_bits_[0] &= ~0x00000010u;
4495 }
4496 _impl_.speed_ = speed;
4497 // @@protoc_insertion_point(field_set_allocated:goby.middleware.frontseat.protobuf.NodeStatus.speed)
4498}
4499
4500// optional .goby.middleware.frontseat.protobuf.Source source = 40;
4501inline bool NodeStatus::_internal_has_source() const {
4502 bool value = (_impl_._has_bits_[0] & 0x00000020u) != 0;
4503 PROTOBUF_ASSUME(!value || _impl_.source_ != nullptr);
4504 return value;
4505}
4506inline bool NodeStatus::has_source() const {
4507 return _internal_has_source();
4508}
4509inline void NodeStatus::clear_source() {
4510 if (_impl_.source_ != nullptr) _impl_.source_->Clear();
4511 _impl_._has_bits_[0] &= ~0x00000020u;
4512}
4513inline const ::goby::middleware::frontseat::protobuf::Source& NodeStatus::_internal_source() const {
4514 const ::goby::middleware::frontseat::protobuf::Source* p = _impl_.source_;
4515 return p != nullptr ? *p : reinterpret_cast<const ::goby::middleware::frontseat::protobuf::Source&>(
4517}
4518inline const ::goby::middleware::frontseat::protobuf::Source& NodeStatus::source() const {
4519 // @@protoc_insertion_point(field_get:goby.middleware.frontseat.protobuf.NodeStatus.source)
4520 return _internal_source();
4521}
4522inline void NodeStatus::unsafe_arena_set_allocated_source(
4524 if (GetArenaForAllocation() == nullptr) {
4525 delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.source_);
4526 }
4527 _impl_.source_ = source;
4528 if (source) {
4529 _impl_._has_bits_[0] |= 0x00000020u;
4530 } else {
4531 _impl_._has_bits_[0] &= ~0x00000020u;
4532 }
4533 // @@protoc_insertion_point(field_unsafe_arena_set_allocated:goby.middleware.frontseat.protobuf.NodeStatus.source)
4534}
4535inline ::goby::middleware::frontseat::protobuf::Source* NodeStatus::release_source() {
4536 _impl_._has_bits_[0] &= ~0x00000020u;
4538 _impl_.source_ = nullptr;
4539#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
4540 auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp);
4541 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
4542 if (GetArenaForAllocation() == nullptr) { delete old; }
4543#else // PROTOBUF_FORCE_COPY_IN_RELEASE
4544 if (GetArenaForAllocation() != nullptr) {
4545 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
4546 }
4547#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE
4548 return temp;
4549}
4550inline ::goby::middleware::frontseat::protobuf::Source* NodeStatus::unsafe_arena_release_source() {
4551 // @@protoc_insertion_point(field_release:goby.middleware.frontseat.protobuf.NodeStatus.source)
4552 _impl_._has_bits_[0] &= ~0x00000020u;
4554 _impl_.source_ = nullptr;
4555 return temp;
4556}
4557inline ::goby::middleware::frontseat::protobuf::Source* NodeStatus::_internal_mutable_source() {
4558 _impl_._has_bits_[0] |= 0x00000020u;
4559 if (_impl_.source_ == nullptr) {
4561 _impl_.source_ = p;
4562 }
4563 return _impl_.source_;
4564}
4565inline ::goby::middleware::frontseat::protobuf::Source* NodeStatus::mutable_source() {
4566 ::goby::middleware::frontseat::protobuf::Source* _msg = _internal_mutable_source();
4567 // @@protoc_insertion_point(field_mutable:goby.middleware.frontseat.protobuf.NodeStatus.source)
4568 return _msg;
4569}
4570inline void NodeStatus::set_allocated_source(::goby::middleware::frontseat::protobuf::Source* source) {
4571 ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
4572 if (message_arena == nullptr) {
4573 delete _impl_.source_;
4574 }
4575 if (source) {
4576 ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
4577 ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(source);
4578 if (message_arena != submessage_arena) {
4579 source = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
4580 message_arena, source, submessage_arena);
4581 }
4582 _impl_._has_bits_[0] |= 0x00000020u;
4583 } else {
4584 _impl_._has_bits_[0] &= ~0x00000020u;
4585 }
4586 _impl_.source_ = source;
4587 // @@protoc_insertion_point(field_set_allocated:goby.middleware.frontseat.protobuf.NodeStatus.source)
4588}
4589
4590// -------------------------------------------------------------------
4591
4592// DesiredCourse
4593
4594// required double time = 1 [(.dccl.field) = {
4595inline bool DesiredCourse::_internal_has_time() const {
4596 bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0;
4597 return value;
4598}
4599inline bool DesiredCourse::has_time() const {
4600 return _internal_has_time();
4601}
4602inline void DesiredCourse::clear_time() {
4603 _impl_.time_ = 0;
4604 _impl_._has_bits_[0] &= ~0x00000001u;
4605}
4606inline double DesiredCourse::_internal_time() const {
4607 return _impl_.time_;
4608}
4609inline double DesiredCourse::time() const {
4610 // @@protoc_insertion_point(field_get:goby.middleware.frontseat.protobuf.DesiredCourse.time)
4611 return _internal_time();
4612}
4613inline void DesiredCourse::_internal_set_time(double value) {
4614 _impl_._has_bits_[0] |= 0x00000001u;
4615 _impl_.time_ = value;
4616}
4617inline void DesiredCourse::set_time(double value) {
4618 _internal_set_time(value);
4619 // @@protoc_insertion_point(field_set:goby.middleware.frontseat.protobuf.DesiredCourse.time)
4620}
4621
4622// optional double heading = 2 [default = 0, (.dccl.field) = {
4623inline bool DesiredCourse::_internal_has_heading() const {
4624 bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0;
4625 return value;
4626}
4627inline bool DesiredCourse::has_heading() const {
4628 return _internal_has_heading();
4629}
4630inline void DesiredCourse::clear_heading() {
4631 _impl_.heading_ = 0;
4632 _impl_._has_bits_[0] &= ~0x00000002u;
4633}
4634inline double DesiredCourse::_internal_heading() const {
4635 return _impl_.heading_;
4636}
4637inline double DesiredCourse::heading() const {
4638 // @@protoc_insertion_point(field_get:goby.middleware.frontseat.protobuf.DesiredCourse.heading)
4639 return _internal_heading();
4640}
4641inline void DesiredCourse::_internal_set_heading(double value) {
4642 _impl_._has_bits_[0] |= 0x00000002u;
4643 _impl_.heading_ = value;
4644}
4645inline void DesiredCourse::set_heading(double value) {
4646 _internal_set_heading(value);
4647 // @@protoc_insertion_point(field_set:goby.middleware.frontseat.protobuf.DesiredCourse.heading)
4648}
4649
4650// optional double speed = 3 [default = 0, (.dccl.field) = {
4651inline bool DesiredCourse::_internal_has_speed() const {
4652 bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0;
4653 return value;
4654}
4655inline bool DesiredCourse::has_speed() const {
4656 return _internal_has_speed();
4657}
4658inline void DesiredCourse::clear_speed() {
4659 _impl_.speed_ = 0;
4660 _impl_._has_bits_[0] &= ~0x00000004u;
4661}
4662inline double DesiredCourse::_internal_speed() const {
4663 return _impl_.speed_;
4664}
4665inline double DesiredCourse::speed() const {
4666 // @@protoc_insertion_point(field_get:goby.middleware.frontseat.protobuf.DesiredCourse.speed)
4667 return _internal_speed();
4668}
4669inline void DesiredCourse::_internal_set_speed(double value) {
4670 _impl_._has_bits_[0] |= 0x00000004u;
4671 _impl_.speed_ = value;
4672}
4673inline void DesiredCourse::set_speed(double value) {
4674 _internal_set_speed(value);
4675 // @@protoc_insertion_point(field_set:goby.middleware.frontseat.protobuf.DesiredCourse.speed)
4676}
4677
4678// optional double depth = 4 [default = 0, (.dccl.field) = {
4679inline bool DesiredCourse::_internal_has_depth() const {
4680 bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0;
4681 return value;
4682}
4683inline bool DesiredCourse::has_depth() const {
4684 return _internal_has_depth();
4685}
4686inline void DesiredCourse::clear_depth() {
4687 _impl_.depth_ = 0;
4688 _impl_._has_bits_[0] &= ~0x00000008u;
4689}
4690inline double DesiredCourse::_internal_depth() const {
4691 return _impl_.depth_;
4692}
4693inline double DesiredCourse::depth() const {
4694 // @@protoc_insertion_point(field_get:goby.middleware.frontseat.protobuf.DesiredCourse.depth)
4695 return _internal_depth();
4696}
4697inline void DesiredCourse::_internal_set_depth(double value) {
4698 _impl_._has_bits_[0] |= 0x00000008u;
4699 _impl_.depth_ = value;
4700}
4701inline void DesiredCourse::set_depth(double value) {
4702 _internal_set_depth(value);
4703 // @@protoc_insertion_point(field_set:goby.middleware.frontseat.protobuf.DesiredCourse.depth)
4704}
4705
4706// optional double pitch = 5 [default = 0, (.dccl.field) = {
4707inline bool DesiredCourse::_internal_has_pitch() const {
4708 bool value = (_impl_._has_bits_[0] & 0x00000010u) != 0;
4709 return value;
4710}
4711inline bool DesiredCourse::has_pitch() const {
4712 return _internal_has_pitch();
4713}
4714inline void DesiredCourse::clear_pitch() {
4715 _impl_.pitch_ = 0;
4716 _impl_._has_bits_[0] &= ~0x00000010u;
4717}
4718inline double DesiredCourse::_internal_pitch() const {
4719 return _impl_.pitch_;
4720}
4721inline double DesiredCourse::pitch() const {
4722 // @@protoc_insertion_point(field_get:goby.middleware.frontseat.protobuf.DesiredCourse.pitch)
4723 return _internal_pitch();
4724}
4725inline void DesiredCourse::_internal_set_pitch(double value) {
4726 _impl_._has_bits_[0] |= 0x00000010u;
4727 _impl_.pitch_ = value;
4728}
4729inline void DesiredCourse::set_pitch(double value) {
4730 _internal_set_pitch(value);
4731 // @@protoc_insertion_point(field_set:goby.middleware.frontseat.protobuf.DesiredCourse.pitch)
4732}
4733
4734// optional double roll = 6 [default = 0, (.dccl.field) = {
4735inline bool DesiredCourse::_internal_has_roll() const {
4736 bool value = (_impl_._has_bits_[0] & 0x00000020u) != 0;
4737 return value;
4738}
4739inline bool DesiredCourse::has_roll() const {
4740 return _internal_has_roll();
4741}
4742inline void DesiredCourse::clear_roll() {
4743 _impl_.roll_ = 0;
4744 _impl_._has_bits_[0] &= ~0x00000020u;
4745}
4746inline double DesiredCourse::_internal_roll() const {
4747 return _impl_.roll_;
4748}
4749inline double DesiredCourse::roll() const {
4750 // @@protoc_insertion_point(field_get:goby.middleware.frontseat.protobuf.DesiredCourse.roll)
4751 return _internal_roll();
4752}
4753inline void DesiredCourse::_internal_set_roll(double value) {
4754 _impl_._has_bits_[0] |= 0x00000020u;
4755 _impl_.roll_ = value;
4756}
4757inline void DesiredCourse::set_roll(double value) {
4758 _internal_set_roll(value);
4759 // @@protoc_insertion_point(field_set:goby.middleware.frontseat.protobuf.DesiredCourse.roll)
4760}
4761
4762// optional double z_rate = 7 [default = 0, (.dccl.field) = {
4763inline bool DesiredCourse::_internal_has_z_rate() const {
4764 bool value = (_impl_._has_bits_[0] & 0x00000040u) != 0;
4765 return value;
4766}
4767inline bool DesiredCourse::has_z_rate() const {
4768 return _internal_has_z_rate();
4769}
4770inline void DesiredCourse::clear_z_rate() {
4771 _impl_.z_rate_ = 0;
4772 _impl_._has_bits_[0] &= ~0x00000040u;
4773}
4774inline double DesiredCourse::_internal_z_rate() const {
4775 return _impl_.z_rate_;
4776}
4777inline double DesiredCourse::z_rate() const {
4778 // @@protoc_insertion_point(field_get:goby.middleware.frontseat.protobuf.DesiredCourse.z_rate)
4779 return _internal_z_rate();
4780}
4781inline void DesiredCourse::_internal_set_z_rate(double value) {
4782 _impl_._has_bits_[0] |= 0x00000040u;
4783 _impl_.z_rate_ = value;
4784}
4785inline void DesiredCourse::set_z_rate(double value) {
4786 _internal_set_z_rate(value);
4787 // @@protoc_insertion_point(field_set:goby.middleware.frontseat.protobuf.DesiredCourse.z_rate)
4788}
4789
4790// optional double altitude = 8 [default = 10, (.dccl.field) = {
4791inline bool DesiredCourse::_internal_has_altitude() const {
4792 bool value = (_impl_._has_bits_[0] & 0x00000080u) != 0;
4793 return value;
4794}
4795inline bool DesiredCourse::has_altitude() const {
4796 return _internal_has_altitude();
4797}
4798inline void DesiredCourse::clear_altitude() {
4799 _impl_.altitude_ = 10;
4800 _impl_._has_bits_[0] &= ~0x00000080u;
4801}
4802inline double DesiredCourse::_internal_altitude() const {
4803 return _impl_.altitude_;
4804}
4805inline double DesiredCourse::altitude() const {
4806 // @@protoc_insertion_point(field_get:goby.middleware.frontseat.protobuf.DesiredCourse.altitude)
4807 return _internal_altitude();
4808}
4809inline void DesiredCourse::_internal_set_altitude(double value) {
4810 _impl_._has_bits_[0] |= 0x00000080u;
4811 _impl_.altitude_ = value;
4812}
4813inline void DesiredCourse::set_altitude(double value) {
4814 _internal_set_altitude(value);
4815 // @@protoc_insertion_point(field_set:goby.middleware.frontseat.protobuf.DesiredCourse.altitude)
4816}
4817
4818// -------------------------------------------------------------------
4819
4820// Source
4821
4822// optional .goby.middleware.frontseat.protobuf.Source.Sensor position = 1;
4823inline bool Source::_internal_has_position() const {
4824 bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0;
4825 return value;
4826}
4827inline bool Source::has_position() const {
4828 return _internal_has_position();
4829}
4830inline void Source::clear_position() {
4831 _impl_.position_ = 1;
4832 _impl_._has_bits_[0] &= ~0x00000001u;
4833}
4834inline ::goby::middleware::frontseat::protobuf::Source_Sensor Source::_internal_position() const {
4835 return static_cast< ::goby::middleware::frontseat::protobuf::Source_Sensor >(_impl_.position_);
4836}
4837inline ::goby::middleware::frontseat::protobuf::Source_Sensor Source::position() const {
4838 // @@protoc_insertion_point(field_get:goby.middleware.frontseat.protobuf.Source.position)
4839 return _internal_position();
4840}
4841inline void Source::_internal_set_position(::goby::middleware::frontseat::protobuf::Source_Sensor value) {
4843 _impl_._has_bits_[0] |= 0x00000001u;
4844 _impl_.position_ = value;
4845}
4846inline void Source::set_position(::goby::middleware::frontseat::protobuf::Source_Sensor value) {
4847 _internal_set_position(value);
4848 // @@protoc_insertion_point(field_set:goby.middleware.frontseat.protobuf.Source.position)
4849}
4850
4851// optional .goby.middleware.frontseat.protobuf.Source.Sensor depth = 2;
4852inline bool Source::_internal_has_depth() const {
4853 bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0;
4854 return value;
4855}
4856inline bool Source::has_depth() const {
4857 return _internal_has_depth();
4858}
4859inline void Source::clear_depth() {
4860 _impl_.depth_ = 1;
4861 _impl_._has_bits_[0] &= ~0x00000002u;
4862}
4863inline ::goby::middleware::frontseat::protobuf::Source_Sensor Source::_internal_depth() const {
4864 return static_cast< ::goby::middleware::frontseat::protobuf::Source_Sensor >(_impl_.depth_);
4865}
4866inline ::goby::middleware::frontseat::protobuf::Source_Sensor Source::depth() const {
4867 // @@protoc_insertion_point(field_get:goby.middleware.frontseat.protobuf.Source.depth)
4868 return _internal_depth();
4869}
4870inline void Source::_internal_set_depth(::goby::middleware::frontseat::protobuf::Source_Sensor value) {
4872 _impl_._has_bits_[0] |= 0x00000002u;
4873 _impl_.depth_ = value;
4874}
4876 _internal_set_depth(value);
4877 // @@protoc_insertion_point(field_set:goby.middleware.frontseat.protobuf.Source.depth)
4878}
4879
4880// optional .goby.middleware.frontseat.protobuf.Source.Sensor speed = 3;
4881inline bool Source::_internal_has_speed() const {
4882 bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0;
4883 return value;
4884}
4885inline bool Source::has_speed() const {
4886 return _internal_has_speed();
4887}
4888inline void Source::clear_speed() {
4889 _impl_.speed_ = 1;
4890 _impl_._has_bits_[0] &= ~0x00000004u;
4891}
4892inline ::goby::middleware::frontseat::protobuf::Source_Sensor Source::_internal_speed() const {
4893 return static_cast< ::goby::middleware::frontseat::protobuf::Source_Sensor >(_impl_.speed_);
4894}
4895inline ::goby::middleware::frontseat::protobuf::Source_Sensor Source::speed() const {
4896 // @@protoc_insertion_point(field_get:goby.middleware.frontseat.protobuf.Source.speed)
4897 return _internal_speed();
4898}
4899inline void Source::_internal_set_speed(::goby::middleware::frontseat::protobuf::Source_Sensor value) {
4901 _impl_._has_bits_[0] |= 0x00000004u;
4902 _impl_.speed_ = value;
4903}
4905 _internal_set_speed(value);
4906 // @@protoc_insertion_point(field_set:goby.middleware.frontseat.protobuf.Source.speed)
4907}
4908
4909// optional .goby.middleware.frontseat.protobuf.Source.Sensor heading = 4;
4910inline bool Source::_internal_has_heading() const {
4911 bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0;
4912 return value;
4913}
4914inline bool Source::has_heading() const {
4915 return _internal_has_heading();
4916}
4917inline void Source::clear_heading() {
4918 _impl_.heading_ = 1;
4919 _impl_._has_bits_[0] &= ~0x00000008u;
4920}
4921inline ::goby::middleware::frontseat::protobuf::Source_Sensor Source::_internal_heading() const {
4922 return static_cast< ::goby::middleware::frontseat::protobuf::Source_Sensor >(_impl_.heading_);
4923}
4924inline ::goby::middleware::frontseat::protobuf::Source_Sensor Source::heading() const {
4925 // @@protoc_insertion_point(field_get:goby.middleware.frontseat.protobuf.Source.heading)
4926 return _internal_heading();
4927}
4928inline void Source::_internal_set_heading(::goby::middleware::frontseat::protobuf::Source_Sensor value) {
4930 _impl_._has_bits_[0] |= 0x00000008u;
4931 _impl_.heading_ = value;
4932}
4933inline void Source::set_heading(::goby::middleware::frontseat::protobuf::Source_Sensor value) {
4934 _internal_set_heading(value);
4935 // @@protoc_insertion_point(field_set:goby.middleware.frontseat.protobuf.Source.heading)
4936}
4937
4938// -------------------------------------------------------------------
4939
4940// CartesianCoordinate
4941
4942// required double x = 1 [(.dccl.field) = {
4943inline bool CartesianCoordinate::_internal_has_x() const {
4944 bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0;
4945 return value;
4946}
4947inline bool CartesianCoordinate::has_x() const {
4948 return _internal_has_x();
4949}
4950inline void CartesianCoordinate::clear_x() {
4951 _impl_.x_ = 0;
4952 _impl_._has_bits_[0] &= ~0x00000001u;
4953}
4954inline double CartesianCoordinate::_internal_x() const {
4955 return _impl_.x_;
4956}
4957inline double CartesianCoordinate::x() const {
4958 // @@protoc_insertion_point(field_get:goby.middleware.frontseat.protobuf.CartesianCoordinate.x)
4959 return _internal_x();
4960}
4961inline void CartesianCoordinate::_internal_set_x(double value) {
4962 _impl_._has_bits_[0] |= 0x00000001u;
4963 _impl_.x_ = value;
4964}
4965inline void CartesianCoordinate::set_x(double value) {
4966 _internal_set_x(value);
4967 // @@protoc_insertion_point(field_set:goby.middleware.frontseat.protobuf.CartesianCoordinate.x)
4968}
4969
4970// required double y = 2 [(.dccl.field) = {
4971inline bool CartesianCoordinate::_internal_has_y() const {
4972 bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0;
4973 return value;
4974}
4975inline bool CartesianCoordinate::has_y() const {
4976 return _internal_has_y();
4977}
4978inline void CartesianCoordinate::clear_y() {
4979 _impl_.y_ = 0;
4980 _impl_._has_bits_[0] &= ~0x00000002u;
4981}
4982inline double CartesianCoordinate::_internal_y() const {
4983 return _impl_.y_;
4984}
4985inline double CartesianCoordinate::y() const {
4986 // @@protoc_insertion_point(field_get:goby.middleware.frontseat.protobuf.CartesianCoordinate.y)
4987 return _internal_y();
4988}
4989inline void CartesianCoordinate::_internal_set_y(double value) {
4990 _impl_._has_bits_[0] |= 0x00000002u;
4991 _impl_.y_ = value;
4992}
4993inline void CartesianCoordinate::set_y(double value) {
4994 _internal_set_y(value);
4995 // @@protoc_insertion_point(field_set:goby.middleware.frontseat.protobuf.CartesianCoordinate.y)
4996}
4997
4998// optional double z = 3 [default = 0, (.dccl.field) = {
4999inline bool CartesianCoordinate::_internal_has_z() const {
5000 bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0;
5001 return value;
5002}
5003inline bool CartesianCoordinate::has_z() const {
5004 return _internal_has_z();
5005}
5006inline void CartesianCoordinate::clear_z() {
5007 _impl_.z_ = 0;
5008 _impl_._has_bits_[0] &= ~0x00000004u;
5009}
5010inline double CartesianCoordinate::_internal_z() const {
5011 return _impl_.z_;
5012}
5013inline double CartesianCoordinate::z() const {
5014 // @@protoc_insertion_point(field_get:goby.middleware.frontseat.protobuf.CartesianCoordinate.z)
5015 return _internal_z();
5016}
5017inline void CartesianCoordinate::_internal_set_z(double value) {
5018 _impl_._has_bits_[0] |= 0x00000004u;
5019 _impl_.z_ = value;
5020}
5021inline void CartesianCoordinate::set_z(double value) {
5022 _internal_set_z(value);
5023 // @@protoc_insertion_point(field_set:goby.middleware.frontseat.protobuf.CartesianCoordinate.z)
5024}
5025
5026// -------------------------------------------------------------------
5027
5028// EulerAngles
5029
5030// optional double roll = 1 [(.dccl.field) = {
5031inline bool EulerAngles::_internal_has_roll() const {
5032 bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0;
5033 return value;
5034}
5035inline bool EulerAngles::has_roll() const {
5036 return _internal_has_roll();
5037}
5038inline void EulerAngles::clear_roll() {
5039 _impl_.roll_ = 0;
5040 _impl_._has_bits_[0] &= ~0x00000001u;
5041}
5042inline double EulerAngles::_internal_roll() const {
5043 return _impl_.roll_;
5044}
5045inline double EulerAngles::roll() const {
5046 // @@protoc_insertion_point(field_get:goby.middleware.frontseat.protobuf.EulerAngles.roll)
5047 return _internal_roll();
5048}
5049inline void EulerAngles::_internal_set_roll(double value) {
5050 _impl_._has_bits_[0] |= 0x00000001u;
5051 _impl_.roll_ = value;
5052}
5053inline void EulerAngles::set_roll(double value) {
5054 _internal_set_roll(value);
5055 // @@protoc_insertion_point(field_set:goby.middleware.frontseat.protobuf.EulerAngles.roll)
5056}
5057
5058// optional double pitch = 2 [(.dccl.field) = {
5059inline bool EulerAngles::_internal_has_pitch() const {
5060 bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0;
5061 return value;
5062}
5063inline bool EulerAngles::has_pitch() const {
5064 return _internal_has_pitch();
5065}
5066inline void EulerAngles::clear_pitch() {
5067 _impl_.pitch_ = 0;
5068 _impl_._has_bits_[0] &= ~0x00000002u;
5069}
5070inline double EulerAngles::_internal_pitch() const {
5071 return _impl_.pitch_;
5072}
5073inline double EulerAngles::pitch() const {
5074 // @@protoc_insertion_point(field_get:goby.middleware.frontseat.protobuf.EulerAngles.pitch)
5075 return _internal_pitch();
5076}
5077inline void EulerAngles::_internal_set_pitch(double value) {
5078 _impl_._has_bits_[0] |= 0x00000002u;
5079 _impl_.pitch_ = value;
5080}
5081inline void EulerAngles::set_pitch(double value) {
5082 _internal_set_pitch(value);
5083 // @@protoc_insertion_point(field_set:goby.middleware.frontseat.protobuf.EulerAngles.pitch)
5084}
5085
5086// optional double heading = 3 [(.dccl.field) = {
5087inline bool EulerAngles::_internal_has_heading() const {
5088 bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0;
5089 return value;
5090}
5091inline bool EulerAngles::has_heading() const {
5092 return _internal_has_heading();
5093}
5094inline void EulerAngles::clear_heading() {
5095 _impl_.heading_ = 0;
5096 _impl_._has_bits_[0] &= ~0x00000004u;
5097}
5098inline double EulerAngles::_internal_heading() const {
5099 return _impl_.heading_;
5100}
5101inline double EulerAngles::heading() const {
5102 // @@protoc_insertion_point(field_get:goby.middleware.frontseat.protobuf.EulerAngles.heading)
5103 return _internal_heading();
5104}
5105inline void EulerAngles::_internal_set_heading(double value) {
5106 _impl_._has_bits_[0] |= 0x00000004u;
5107 _impl_.heading_ = value;
5108}
5109inline void EulerAngles::set_heading(double value) {
5110 _internal_set_heading(value);
5111 // @@protoc_insertion_point(field_set:goby.middleware.frontseat.protobuf.EulerAngles.heading)
5112}
5113
5114// optional double course_over_ground = 4 [(.dccl.field) = {
5115inline bool EulerAngles::_internal_has_course_over_ground() const {
5116 bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0;
5117 return value;
5118}
5119inline bool EulerAngles::has_course_over_ground() const {
5120 return _internal_has_course_over_ground();
5121}
5122inline void EulerAngles::clear_course_over_ground() {
5123 _impl_.course_over_ground_ = 0;
5124 _impl_._has_bits_[0] &= ~0x00000008u;
5125}
5126inline double EulerAngles::_internal_course_over_ground() const {
5127 return _impl_.course_over_ground_;
5128}
5129inline double EulerAngles::course_over_ground() const {
5130 // @@protoc_insertion_point(field_get:goby.middleware.frontseat.protobuf.EulerAngles.course_over_ground)
5131 return _internal_course_over_ground();
5132}
5133inline void EulerAngles::_internal_set_course_over_ground(double value) {
5134 _impl_._has_bits_[0] |= 0x00000008u;
5135 _impl_.course_over_ground_ = value;
5136}
5137inline void EulerAngles::set_course_over_ground(double value) {
5138 _internal_set_course_over_ground(value);
5139 // @@protoc_insertion_point(field_set:goby.middleware.frontseat.protobuf.EulerAngles.course_over_ground)
5140}
5141
5142// optional double roll_rate = 10 [(.dccl.field) = {
5143inline bool EulerAngles::_internal_has_roll_rate() const {
5144 bool value = (_impl_._has_bits_[0] & 0x00000010u) != 0;
5145 return value;
5146}
5147inline bool EulerAngles::has_roll_rate() const {
5148 return _internal_has_roll_rate();
5149}
5150inline void EulerAngles::clear_roll_rate() {
5151 _impl_.roll_rate_ = 0;
5152 _impl_._has_bits_[0] &= ~0x00000010u;
5153}
5154inline double EulerAngles::_internal_roll_rate() const {
5155 return _impl_.roll_rate_;
5156}
5157inline double EulerAngles::roll_rate() const {
5158 // @@protoc_insertion_point(field_get:goby.middleware.frontseat.protobuf.EulerAngles.roll_rate)
5159 return _internal_roll_rate();
5160}
5161inline void EulerAngles::_internal_set_roll_rate(double value) {
5162 _impl_._has_bits_[0] |= 0x00000010u;
5163 _impl_.roll_rate_ = value;
5164}
5165inline void EulerAngles::set_roll_rate(double value) {
5166 _internal_set_roll_rate(value);
5167 // @@protoc_insertion_point(field_set:goby.middleware.frontseat.protobuf.EulerAngles.roll_rate)
5168}
5169
5170// optional double pitch_rate = 11 [(.dccl.field) = {
5171inline bool EulerAngles::_internal_has_pitch_rate() const {
5172 bool value = (_impl_._has_bits_[0] & 0x00000020u) != 0;
5173 return value;
5174}
5175inline bool EulerAngles::has_pitch_rate() const {
5176 return _internal_has_pitch_rate();
5177}
5178inline void EulerAngles::clear_pitch_rate() {
5179 _impl_.pitch_rate_ = 0;
5180 _impl_._has_bits_[0] &= ~0x00000020u;
5181}
5182inline double EulerAngles::_internal_pitch_rate() const {
5183 return _impl_.pitch_rate_;
5184}
5185inline double EulerAngles::pitch_rate() const {
5186 // @@protoc_insertion_point(field_get:goby.middleware.frontseat.protobuf.EulerAngles.pitch_rate)
5187 return _internal_pitch_rate();
5188}
5189inline void EulerAngles::_internal_set_pitch_rate(double value) {
5190 _impl_._has_bits_[0] |= 0x00000020u;
5191 _impl_.pitch_rate_ = value;
5192}
5193inline void EulerAngles::set_pitch_rate(double value) {
5194 _internal_set_pitch_rate(value);
5195 // @@protoc_insertion_point(field_set:goby.middleware.frontseat.protobuf.EulerAngles.pitch_rate)
5196}
5197
5198// optional double heading_rate = 12 [(.dccl.field) = {
5199inline bool EulerAngles::_internal_has_heading_rate() const {
5200 bool value = (_impl_._has_bits_[0] & 0x00000040u) != 0;
5201 return value;
5202}
5203inline bool EulerAngles::has_heading_rate() const {
5204 return _internal_has_heading_rate();
5205}
5206inline void EulerAngles::clear_heading_rate() {
5207 _impl_.heading_rate_ = 0;
5208 _impl_._has_bits_[0] &= ~0x00000040u;
5209}
5210inline double EulerAngles::_internal_heading_rate() const {
5211 return _impl_.heading_rate_;
5212}
5213inline double EulerAngles::heading_rate() const {
5214 // @@protoc_insertion_point(field_get:goby.middleware.frontseat.protobuf.EulerAngles.heading_rate)
5215 return _internal_heading_rate();
5216}
5217inline void EulerAngles::_internal_set_heading_rate(double value) {
5218 _impl_._has_bits_[0] |= 0x00000040u;
5219 _impl_.heading_rate_ = value;
5220}
5221inline void EulerAngles::set_heading_rate(double value) {
5222 _internal_set_heading_rate(value);
5223 // @@protoc_insertion_point(field_set:goby.middleware.frontseat.protobuf.EulerAngles.heading_rate)
5224}
5225
5226// -------------------------------------------------------------------
5227
5228// Speed
5229
5230// required double over_ground = 1 [(.dccl.field) = {
5231inline bool Speed::_internal_has_over_ground() const {
5232 bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0;
5233 return value;
5234}
5235inline bool Speed::has_over_ground() const {
5236 return _internal_has_over_ground();
5237}
5238inline void Speed::clear_over_ground() {
5239 _impl_.over_ground_ = 0;
5240 _impl_._has_bits_[0] &= ~0x00000001u;
5241}
5242inline double Speed::_internal_over_ground() const {
5243 return _impl_.over_ground_;
5244}
5245inline double Speed::over_ground() const {
5246 // @@protoc_insertion_point(field_get:goby.middleware.frontseat.protobuf.Speed.over_ground)
5247 return _internal_over_ground();
5248}
5249inline void Speed::_internal_set_over_ground(double value) {
5250 _impl_._has_bits_[0] |= 0x00000001u;
5251 _impl_.over_ground_ = value;
5252}
5253inline void Speed::set_over_ground(double value) {
5254 _internal_set_over_ground(value);
5255 // @@protoc_insertion_point(field_set:goby.middleware.frontseat.protobuf.Speed.over_ground)
5256}
5257
5258// optional double over_water = 2 [(.dccl.field) = {
5259inline bool Speed::_internal_has_over_water() const {
5260 bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0;
5261 return value;
5262}
5263inline bool Speed::has_over_water() const {
5264 return _internal_has_over_water();
5265}
5266inline void Speed::clear_over_water() {
5267 _impl_.over_water_ = 0;
5268 _impl_._has_bits_[0] &= ~0x00000002u;
5269}
5270inline double Speed::_internal_over_water() const {
5271 return _impl_.over_water_;
5272}
5273inline double Speed::over_water() const {
5274 // @@protoc_insertion_point(field_get:goby.middleware.frontseat.protobuf.Speed.over_water)
5275 return _internal_over_water();
5276}
5277inline void Speed::_internal_set_over_water(double value) {
5278 _impl_._has_bits_[0] |= 0x00000002u;
5279 _impl_.over_water_ = value;
5280}
5281inline void Speed::set_over_water(double value) {
5282 _internal_set_over_water(value);
5283 // @@protoc_insertion_point(field_set:goby.middleware.frontseat.protobuf.Speed.over_water)
5284}
5285
5286// -------------------------------------------------------------------
5287
5288// CTDSample
5289
5290// required double time = 2 [(.dccl.field) = {
5291inline bool CTDSample::_internal_has_time() const {
5292 bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0;
5293 return value;
5294}
5295inline bool CTDSample::has_time() const {
5296 return _internal_has_time();
5297}
5298inline void CTDSample::clear_time() {
5299 _impl_.time_ = 0;
5300 _impl_._has_bits_[0] &= ~0x00000002u;
5301}
5302inline double CTDSample::_internal_time() const {
5303 return _impl_.time_;
5304}
5305inline double CTDSample::time() const {
5306 // @@protoc_insertion_point(field_get:goby.middleware.frontseat.protobuf.CTDSample.time)
5307 return _internal_time();
5308}
5309inline void CTDSample::_internal_set_time(double value) {
5310 _impl_._has_bits_[0] |= 0x00000002u;
5311 _impl_.time_ = value;
5312}
5313inline void CTDSample::set_time(double value) {
5314 _internal_set_time(value);
5315 // @@protoc_insertion_point(field_set:goby.middleware.frontseat.protobuf.CTDSample.time)
5316}
5317
5318// optional double conductivity = 10 [(.dccl.field) = {
5319inline bool CTDSample::_internal_has_conductivity() const {
5320 bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0;
5321 return value;
5322}
5323inline bool CTDSample::has_conductivity() const {
5324 return _internal_has_conductivity();
5325}
5326inline void CTDSample::clear_conductivity() {
5327 _impl_.conductivity_ = 0;
5328 _impl_._has_bits_[0] &= ~0x00000004u;
5329}
5330inline double CTDSample::_internal_conductivity() const {
5331 return _impl_.conductivity_;
5332}
5333inline double CTDSample::conductivity() const {
5334 // @@protoc_insertion_point(field_get:goby.middleware.frontseat.protobuf.CTDSample.conductivity)
5335 return _internal_conductivity();
5336}
5337inline void CTDSample::_internal_set_conductivity(double value) {
5338 _impl_._has_bits_[0] |= 0x00000004u;
5339 _impl_.conductivity_ = value;
5340}
5341inline void CTDSample::set_conductivity(double value) {
5342 _internal_set_conductivity(value);
5343 // @@protoc_insertion_point(field_set:goby.middleware.frontseat.protobuf.CTDSample.conductivity)
5344}
5345
5346// required double temperature = 11 [(.dccl.field) = {
5347inline bool CTDSample::_internal_has_temperature() const {
5348 bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0;
5349 return value;
5350}
5351inline bool CTDSample::has_temperature() const {
5352 return _internal_has_temperature();
5353}
5354inline void CTDSample::clear_temperature() {
5355 _impl_.temperature_ = 0;
5356 _impl_._has_bits_[0] &= ~0x00000008u;
5357}
5358inline double CTDSample::_internal_temperature() const {
5359 return _impl_.temperature_;
5360}
5361inline double CTDSample::temperature() const {
5362 // @@protoc_insertion_point(field_get:goby.middleware.frontseat.protobuf.CTDSample.temperature)
5363 return _internal_temperature();
5364}
5365inline void CTDSample::_internal_set_temperature(double value) {
5366 _impl_._has_bits_[0] |= 0x00000008u;
5367 _impl_.temperature_ = value;
5368}
5369inline void CTDSample::set_temperature(double value) {
5370 _internal_set_temperature(value);
5371 // @@protoc_insertion_point(field_set:goby.middleware.frontseat.protobuf.CTDSample.temperature)
5372}
5373
5374// required double pressure = 12 [(.dccl.field) = {
5375inline bool CTDSample::_internal_has_pressure() const {
5376 bool value = (_impl_._has_bits_[0] & 0x00000010u) != 0;
5377 return value;
5378}
5379inline bool CTDSample::has_pressure() const {
5380 return _internal_has_pressure();
5381}
5382inline void CTDSample::clear_pressure() {
5383 _impl_.pressure_ = 0;
5384 _impl_._has_bits_[0] &= ~0x00000010u;
5385}
5386inline double CTDSample::_internal_pressure() const {
5387 return _impl_.pressure_;
5388}
5389inline double CTDSample::pressure() const {
5390 // @@protoc_insertion_point(field_get:goby.middleware.frontseat.protobuf.CTDSample.pressure)
5391 return _internal_pressure();
5392}
5393inline void CTDSample::_internal_set_pressure(double value) {
5394 _impl_._has_bits_[0] |= 0x00000010u;
5395 _impl_.pressure_ = value;
5396}
5397inline void CTDSample::set_pressure(double value) {
5398 _internal_set_pressure(value);
5399 // @@protoc_insertion_point(field_set:goby.middleware.frontseat.protobuf.CTDSample.pressure)
5400}
5401
5402// required double salinity = 20 [(.dccl.field) = {
5403inline bool CTDSample::_internal_has_salinity() const {
5404 bool value = (_impl_._has_bits_[0] & 0x00000020u) != 0;
5405 return value;
5406}
5407inline bool CTDSample::has_salinity() const {
5408 return _internal_has_salinity();
5409}
5410inline void CTDSample::clear_salinity() {
5411 _impl_.salinity_ = 0;
5412 _impl_._has_bits_[0] &= ~0x00000020u;
5413}
5414inline double CTDSample::_internal_salinity() const {
5415 return _impl_.salinity_;
5416}
5417inline double CTDSample::salinity() const {
5418 // @@protoc_insertion_point(field_get:goby.middleware.frontseat.protobuf.CTDSample.salinity)
5419 return _internal_salinity();
5420}
5421inline void CTDSample::_internal_set_salinity(double value) {
5422 _impl_._has_bits_[0] |= 0x00000020u;
5423 _impl_.salinity_ = value;
5424}
5425inline void CTDSample::set_salinity(double value) {
5426 _internal_set_salinity(value);
5427 // @@protoc_insertion_point(field_set:goby.middleware.frontseat.protobuf.CTDSample.salinity)
5428}
5429
5430// required double sound_speed = 21 [(.dccl.field) = {
5431inline bool CTDSample::_internal_has_sound_speed() const {
5432 bool value = (_impl_._has_bits_[0] & 0x00000040u) != 0;
5433 return value;
5434}
5435inline bool CTDSample::has_sound_speed() const {
5436 return _internal_has_sound_speed();
5437}
5438inline void CTDSample::clear_sound_speed() {
5439 _impl_.sound_speed_ = 0;
5440 _impl_._has_bits_[0] &= ~0x00000040u;
5441}
5442inline double CTDSample::_internal_sound_speed() const {
5443 return _impl_.sound_speed_;
5444}
5445inline double CTDSample::sound_speed() const {
5446 // @@protoc_insertion_point(field_get:goby.middleware.frontseat.protobuf.CTDSample.sound_speed)
5447 return _internal_sound_speed();
5448}
5449inline void CTDSample::_internal_set_sound_speed(double value) {
5450 _impl_._has_bits_[0] |= 0x00000040u;
5451 _impl_.sound_speed_ = value;
5452}
5453inline void CTDSample::set_sound_speed(double value) {
5454 _internal_set_sound_speed(value);
5455 // @@protoc_insertion_point(field_set:goby.middleware.frontseat.protobuf.CTDSample.sound_speed)
5456}
5457
5458// required double density = 22 [(.dccl.field) = {
5459inline bool CTDSample::_internal_has_density() const {
5460 bool value = (_impl_._has_bits_[0] & 0x00000080u) != 0;
5461 return value;
5462}
5463inline bool CTDSample::has_density() const {
5464 return _internal_has_density();
5465}
5466inline void CTDSample::clear_density() {
5467 _impl_.density_ = 0;
5468 _impl_._has_bits_[0] &= ~0x00000080u;
5469}
5470inline double CTDSample::_internal_density() const {
5471 return _impl_.density_;
5472}
5473inline double CTDSample::density() const {
5474 // @@protoc_insertion_point(field_get:goby.middleware.frontseat.protobuf.CTDSample.density)
5475 return _internal_density();
5476}
5477inline void CTDSample::_internal_set_density(double value) {
5478 _impl_._has_bits_[0] |= 0x00000080u;
5479 _impl_.density_ = value;
5480}
5481inline void CTDSample::set_density(double value) {
5482 _internal_set_density(value);
5483 // @@protoc_insertion_point(field_set:goby.middleware.frontseat.protobuf.CTDSample.density)
5484}
5485
5486// required .goby.middleware.protobuf.LatLonPoint global_fix = 23;
5487inline bool CTDSample::_internal_has_global_fix() const {
5488 bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0;
5489 PROTOBUF_ASSUME(!value || _impl_.global_fix_ != nullptr);
5490 return value;
5491}
5492inline bool CTDSample::has_global_fix() const {
5493 return _internal_has_global_fix();
5494}
5495inline const ::goby::middleware::protobuf::LatLonPoint& CTDSample::_internal_global_fix() const {
5496 const ::goby::middleware::protobuf::LatLonPoint* p = _impl_.global_fix_;
5497 return p != nullptr ? *p : reinterpret_cast<const ::goby::middleware::protobuf::LatLonPoint&>(
5499}
5500inline const ::goby::middleware::protobuf::LatLonPoint& CTDSample::global_fix() const {
5501 // @@protoc_insertion_point(field_get:goby.middleware.frontseat.protobuf.CTDSample.global_fix)
5502 return _internal_global_fix();
5503}
5504inline void CTDSample::unsafe_arena_set_allocated_global_fix(
5506 if (GetArenaForAllocation() == nullptr) {
5507 delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.global_fix_);
5508 }
5509 _impl_.global_fix_ = global_fix;
5510 if (global_fix) {
5511 _impl_._has_bits_[0] |= 0x00000001u;
5512 } else {
5513 _impl_._has_bits_[0] &= ~0x00000001u;
5514 }
5515 // @@protoc_insertion_point(field_unsafe_arena_set_allocated:goby.middleware.frontseat.protobuf.CTDSample.global_fix)
5516}
5517inline ::goby::middleware::protobuf::LatLonPoint* CTDSample::release_global_fix() {
5518 _impl_._has_bits_[0] &= ~0x00000001u;
5519 ::goby::middleware::protobuf::LatLonPoint* temp = _impl_.global_fix_;
5520 _impl_.global_fix_ = nullptr;
5521#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
5522 auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp);
5523 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
5524 if (GetArenaForAllocation() == nullptr) { delete old; }
5525#else // PROTOBUF_FORCE_COPY_IN_RELEASE
5526 if (GetArenaForAllocation() != nullptr) {
5527 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
5528 }
5529#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE
5530 return temp;
5531}
5532inline ::goby::middleware::protobuf::LatLonPoint* CTDSample::unsafe_arena_release_global_fix() {
5533 // @@protoc_insertion_point(field_release:goby.middleware.frontseat.protobuf.CTDSample.global_fix)
5534 _impl_._has_bits_[0] &= ~0x00000001u;
5535 ::goby::middleware::protobuf::LatLonPoint* temp = _impl_.global_fix_;
5536 _impl_.global_fix_ = nullptr;
5537 return temp;
5538}
5539inline ::goby::middleware::protobuf::LatLonPoint* CTDSample::_internal_mutable_global_fix() {
5540 _impl_._has_bits_[0] |= 0x00000001u;
5541 if (_impl_.global_fix_ == nullptr) {
5542 auto* p = CreateMaybeMessage<::goby::middleware::protobuf::LatLonPoint>(GetArenaForAllocation());
5543 _impl_.global_fix_ = p;
5544 }
5545 return _impl_.global_fix_;
5546}
5547inline ::goby::middleware::protobuf::LatLonPoint* CTDSample::mutable_global_fix() {
5548 ::goby::middleware::protobuf::LatLonPoint* _msg = _internal_mutable_global_fix();
5549 // @@protoc_insertion_point(field_mutable:goby.middleware.frontseat.protobuf.CTDSample.global_fix)
5550 return _msg;
5551}
5552inline void CTDSample::set_allocated_global_fix(::goby::middleware::protobuf::LatLonPoint* global_fix) {
5553 ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
5554 if (message_arena == nullptr) {
5555 delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.global_fix_);
5556 }
5557 if (global_fix) {
5558 ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
5559 ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(
5560 reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(global_fix));
5561 if (message_arena != submessage_arena) {
5562 global_fix = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
5563 message_arena, global_fix, submessage_arena);
5564 }
5565 _impl_._has_bits_[0] |= 0x00000001u;
5566 } else {
5567 _impl_._has_bits_[0] &= ~0x00000001u;
5568 }
5569 _impl_.global_fix_ = global_fix;
5570 // @@protoc_insertion_point(field_set_allocated:goby.middleware.frontseat.protobuf.CTDSample.global_fix)
5571}
5572
5573// optional .goby.middleware.frontseat.protobuf.CTDSample.SalinityAlgorithm salinity_algorithm = 30 [default = SAL_ALGORITHM_UNKNOWN];
5574inline bool CTDSample::_internal_has_salinity_algorithm() const {
5575 bool value = (_impl_._has_bits_[0] & 0x00000100u) != 0;
5576 return value;
5577}
5578inline bool CTDSample::has_salinity_algorithm() const {
5579 return _internal_has_salinity_algorithm();
5580}
5581inline void CTDSample::clear_salinity_algorithm() {
5582 _impl_.salinity_algorithm_ = 0;
5583 _impl_._has_bits_[0] &= ~0x00000100u;
5584}
5585inline ::goby::middleware::frontseat::protobuf::CTDSample_SalinityAlgorithm CTDSample::_internal_salinity_algorithm() const {
5586 return static_cast< ::goby::middleware::frontseat::protobuf::CTDSample_SalinityAlgorithm >(_impl_.salinity_algorithm_);
5587}
5588inline ::goby::middleware::frontseat::protobuf::CTDSample_SalinityAlgorithm CTDSample::salinity_algorithm() const {
5589 // @@protoc_insertion_point(field_get:goby.middleware.frontseat.protobuf.CTDSample.salinity_algorithm)
5590 return _internal_salinity_algorithm();
5591}
5592inline void CTDSample::_internal_set_salinity_algorithm(::goby::middleware::frontseat::protobuf::CTDSample_SalinityAlgorithm value) {
5594 _impl_._has_bits_[0] |= 0x00000100u;
5595 _impl_.salinity_algorithm_ = value;
5596}
5597inline void CTDSample::set_salinity_algorithm(::goby::middleware::frontseat::protobuf::CTDSample_SalinityAlgorithm value) {
5598 _internal_set_salinity_algorithm(value);
5599 // @@protoc_insertion_point(field_set:goby.middleware.frontseat.protobuf.CTDSample.salinity_algorithm)
5600}
5601
5602// optional .goby.middleware.frontseat.protobuf.CTDSample.SoundSpeedAlgorithm sound_speed_algorithm = 31 [default = SS_ALGORITHM_UNKNOWN];
5603inline bool CTDSample::_internal_has_sound_speed_algorithm() const {
5604 bool value = (_impl_._has_bits_[0] & 0x00000200u) != 0;
5605 return value;
5606}
5607inline bool CTDSample::has_sound_speed_algorithm() const {
5608 return _internal_has_sound_speed_algorithm();
5609}
5610inline void CTDSample::clear_sound_speed_algorithm() {
5611 _impl_.sound_speed_algorithm_ = 0;
5612 _impl_._has_bits_[0] &= ~0x00000200u;
5613}
5614inline ::goby::middleware::frontseat::protobuf::CTDSample_SoundSpeedAlgorithm CTDSample::_internal_sound_speed_algorithm() const {
5615 return static_cast< ::goby::middleware::frontseat::protobuf::CTDSample_SoundSpeedAlgorithm >(_impl_.sound_speed_algorithm_);
5616}
5617inline ::goby::middleware::frontseat::protobuf::CTDSample_SoundSpeedAlgorithm CTDSample::sound_speed_algorithm() const {
5618 // @@protoc_insertion_point(field_get:goby.middleware.frontseat.protobuf.CTDSample.sound_speed_algorithm)
5619 return _internal_sound_speed_algorithm();
5620}
5621inline void CTDSample::_internal_set_sound_speed_algorithm(::goby::middleware::frontseat::protobuf::CTDSample_SoundSpeedAlgorithm value) {
5623 _impl_._has_bits_[0] |= 0x00000200u;
5624 _impl_.sound_speed_algorithm_ = value;
5625}
5626inline void CTDSample::set_sound_speed_algorithm(::goby::middleware::frontseat::protobuf::CTDSample_SoundSpeedAlgorithm value) {
5627 _internal_set_sound_speed_algorithm(value);
5628 // @@protoc_insertion_point(field_set:goby.middleware.frontseat.protobuf.CTDSample.sound_speed_algorithm)
5629}
5630
5631// optional .goby.middleware.frontseat.protobuf.CTDSample.DensityAlgorithm density_algorithm = 32 [default = DENSITY_ALGORITHM_UNKNOWN];
5632inline bool CTDSample::_internal_has_density_algorithm() const {
5633 bool value = (_impl_._has_bits_[0] & 0x00000400u) != 0;
5634 return value;
5635}
5636inline bool CTDSample::has_density_algorithm() const {
5637 return _internal_has_density_algorithm();
5638}
5639inline void CTDSample::clear_density_algorithm() {
5640 _impl_.density_algorithm_ = 0;
5641 _impl_._has_bits_[0] &= ~0x00000400u;
5642}
5643inline ::goby::middleware::frontseat::protobuf::CTDSample_DensityAlgorithm CTDSample::_internal_density_algorithm() const {
5644 return static_cast< ::goby::middleware::frontseat::protobuf::CTDSample_DensityAlgorithm >(_impl_.density_algorithm_);
5645}
5646inline ::goby::middleware::frontseat::protobuf::CTDSample_DensityAlgorithm CTDSample::density_algorithm() const {
5647 // @@protoc_insertion_point(field_get:goby.middleware.frontseat.protobuf.CTDSample.density_algorithm)
5648 return _internal_density_algorithm();
5649}
5650inline void CTDSample::_internal_set_density_algorithm(::goby::middleware::frontseat::protobuf::CTDSample_DensityAlgorithm value) {
5652 _impl_._has_bits_[0] |= 0x00000400u;
5653 _impl_.density_algorithm_ = value;
5654}
5655inline void CTDSample::set_density_algorithm(::goby::middleware::frontseat::protobuf::CTDSample_DensityAlgorithm value) {
5656 _internal_set_density_algorithm(value);
5657 // @@protoc_insertion_point(field_set:goby.middleware.frontseat.protobuf.CTDSample.density_algorithm)
5658}
5659
5660// -------------------------------------------------------------------
5661
5662// DatumUpdate
5663
5664// required .goby.middleware.protobuf.LatLonPoint datum = 1;
5665inline bool DatumUpdate::_internal_has_datum() const {
5666 bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0;
5667 PROTOBUF_ASSUME(!value || _impl_.datum_ != nullptr);
5668 return value;
5669}
5670inline bool DatumUpdate::has_datum() const {
5671 return _internal_has_datum();
5672}
5673inline const ::goby::middleware::protobuf::LatLonPoint& DatumUpdate::_internal_datum() const {
5674 const ::goby::middleware::protobuf::LatLonPoint* p = _impl_.datum_;
5675 return p != nullptr ? *p : reinterpret_cast<const ::goby::middleware::protobuf::LatLonPoint&>(
5677}
5678inline const ::goby::middleware::protobuf::LatLonPoint& DatumUpdate::datum() const {
5679 // @@protoc_insertion_point(field_get:goby.middleware.frontseat.protobuf.DatumUpdate.datum)
5680 return _internal_datum();
5681}
5682inline void DatumUpdate::unsafe_arena_set_allocated_datum(
5684 if (GetArenaForAllocation() == nullptr) {
5685 delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.datum_);
5686 }
5687 _impl_.datum_ = datum;
5688 if (datum) {
5689 _impl_._has_bits_[0] |= 0x00000001u;
5690 } else {
5691 _impl_._has_bits_[0] &= ~0x00000001u;
5692 }
5693 // @@protoc_insertion_point(field_unsafe_arena_set_allocated:goby.middleware.frontseat.protobuf.DatumUpdate.datum)
5694}
5695inline ::goby::middleware::protobuf::LatLonPoint* DatumUpdate::release_datum() {
5696 _impl_._has_bits_[0] &= ~0x00000001u;
5697 ::goby::middleware::protobuf::LatLonPoint* temp = _impl_.datum_;
5698 _impl_.datum_ = nullptr;
5699#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
5700 auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp);
5701 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
5702 if (GetArenaForAllocation() == nullptr) { delete old; }
5703#else // PROTOBUF_FORCE_COPY_IN_RELEASE
5704 if (GetArenaForAllocation() != nullptr) {
5705 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
5706 }
5707#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE
5708 return temp;
5709}
5710inline ::goby::middleware::protobuf::LatLonPoint* DatumUpdate::unsafe_arena_release_datum() {
5711 // @@protoc_insertion_point(field_release:goby.middleware.frontseat.protobuf.DatumUpdate.datum)
5712 _impl_._has_bits_[0] &= ~0x00000001u;
5713 ::goby::middleware::protobuf::LatLonPoint* temp = _impl_.datum_;
5714 _impl_.datum_ = nullptr;
5715 return temp;
5716}
5717inline ::goby::middleware::protobuf::LatLonPoint* DatumUpdate::_internal_mutable_datum() {
5718 _impl_._has_bits_[0] |= 0x00000001u;
5719 if (_impl_.datum_ == nullptr) {
5720 auto* p = CreateMaybeMessage<::goby::middleware::protobuf::LatLonPoint>(GetArenaForAllocation());
5721 _impl_.datum_ = p;
5722 }
5723 return _impl_.datum_;
5724}
5725inline ::goby::middleware::protobuf::LatLonPoint* DatumUpdate::mutable_datum() {
5726 ::goby::middleware::protobuf::LatLonPoint* _msg = _internal_mutable_datum();
5727 // @@protoc_insertion_point(field_mutable:goby.middleware.frontseat.protobuf.DatumUpdate.datum)
5728 return _msg;
5729}
5730inline void DatumUpdate::set_allocated_datum(::goby::middleware::protobuf::LatLonPoint* datum) {
5731 ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
5732 if (message_arena == nullptr) {
5733 delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.datum_);
5734 }
5735 if (datum) {
5736 ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
5737 ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(
5738 reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(datum));
5739 if (message_arena != submessage_arena) {
5740 datum = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
5741 message_arena, datum, submessage_arena);
5742 }
5743 _impl_._has_bits_[0] |= 0x00000001u;
5744 } else {
5745 _impl_._has_bits_[0] &= ~0x00000001u;
5746 }
5747 _impl_.datum_ = datum;
5748 // @@protoc_insertion_point(field_set_allocated:goby.middleware.frontseat.protobuf.DatumUpdate.datum)
5749}
5750
5751#ifdef __GNUC__
5752 #pragma GCC diagnostic pop
5753#endif // __GNUC__
5754// -------------------------------------------------------------------
5755
5756// -------------------------------------------------------------------
5757
5758// -------------------------------------------------------------------
5759
5760// -------------------------------------------------------------------
5761
5762// -------------------------------------------------------------------
5763
5764// -------------------------------------------------------------------
5765
5766// -------------------------------------------------------------------
5767
5768
5769// @@protoc_insertion_point(namespace_scope)
5770
5771} // namespace protobuf
5772} // namespace frontseat
5773} // namespace middleware
5774} // namespace goby
5775
5776PROTOBUF_NAMESPACE_OPEN
5777
5778template <> struct is_proto_enum< ::goby::middleware::frontseat::protobuf::Source_Sensor> : ::std::true_type {};
5779template <>
5781 return ::goby::middleware::frontseat::protobuf::Source_Sensor_descriptor();
5782}
5783template <> struct is_proto_enum< ::goby::middleware::frontseat::protobuf::CTDSample_SalinityAlgorithm> : ::std::true_type {};
5784template <>
5786 return ::goby::middleware::frontseat::protobuf::CTDSample_SalinityAlgorithm_descriptor();
5787}
5788template <> struct is_proto_enum< ::goby::middleware::frontseat::protobuf::CTDSample_SoundSpeedAlgorithm> : ::std::true_type {};
5789template <>
5791 return ::goby::middleware::frontseat::protobuf::CTDSample_SoundSpeedAlgorithm_descriptor();
5792}
5793template <> struct is_proto_enum< ::goby::middleware::frontseat::protobuf::CTDSample_DensityAlgorithm> : ::std::true_type {};
5794template <>
5796 return ::goby::middleware::frontseat::protobuf::CTDSample_DensityAlgorithm_descriptor();
5797}
5798template <> struct is_proto_enum< ::goby::middleware::frontseat::protobuf::VehicleType> : ::std::true_type {};
5799template <>
5801 return ::goby::middleware::frontseat::protobuf::VehicleType_descriptor();
5802}
5803
5804PROTOBUF_NAMESPACE_CLOSE
5805
5806// @@protoc_insertion_point(global_scope)
5807
5808#include <google/protobuf/port_undef.inc>
5809#endif // GOOGLE_PROTOBUF_INCLUDED_GOOGLE_PROTOBUF_INCLUDED_goby_2fmiddleware_2fprotobuf_2ffrontseat_5fdata_2eproto
int ExtensionSize(const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier< CTDSample, _proto_TypeTraits, _field_type, _is_packed > &id) const
void SetExtension(const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier< CTDSample, _proto_TypeTraits, _field_type, _is_packed > &id, int index, typename _proto_TypeTraits::Repeated::ConstType value)
boost::units::temperature_dimension temperature_dimension
const ::PROTOBUF_NAMESPACE_ID::Message::ClassData * GetClassData() const final
boost::units::quantity< conductivity_unit, double > conductivity_with_units() const
static const std::string & DensityAlgorithm_Name(T enum_t_value)
boost::units::derived_dimension< boost::units::length_base_dimension, 1, boost::units::time_base_dimension,-1 >::type sound_speed_dimension
boost::units::dimensionless_type salinity_dimension
_proto_TypeTraits::Singular::ConstType GetExtension(const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier< CTDSample, _proto_TypeTraits, _field_type, _is_packed > &id) const
static bool SalinityAlgorithm_Parse(::PROTOBUF_NAMESPACE_ID::ConstStringParam name, SalinityAlgorithm *value)
boost::units::quantity< salinity_unit, double > salinity_with_units() const
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * descriptor()
boost::units::derived_dimension< boost::units::mass_base_dimension, 1, boost::units::length_base_dimension,-1, boost::units::time_base_dimension,-2 >::type pressure_dimension
_proto_TypeTraits::Repeated::MutableType MutableExtension(const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier< CTDSample, _proto_TypeTraits, _field_type, _is_packed > &id, int index)
static bool SoundSpeedAlgorithm_Parse(::PROTOBUF_NAMESPACE_ID::ConstStringParam name, SoundSpeedAlgorithm *value)
boost::units::quantity< sound_speed_unit, double > sound_speed_with_units() const
boost::units::quantity< pressure_unit, double > pressure_with_units() const
void ClearExtension(const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier< CTDSample, _proto_TypeTraits, _field_type, _is_packed > &id)
boost::units::derived_dimension< boost::units::time_base_dimension, 1 >::type time_dimension
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final
boost::units::quantity< temperature_unit, double > temperature_with_units() const
CTDSample(::PROTOBUF_NAMESPACE_ID::Arena *arena, bool is_message_owned=false)
_proto_TypeTraits::Singular::MutableType MutableExtension(const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier< CTDSample, _proto_TypeTraits, _field_type, _is_packed > &id)
boost::units::absolute< boost::units::unit< temperature_dimension, boost::units::celsius::system > > temperature_unit
void UnsafeArenaSetAllocatedExtension(const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier< CTDSample, _proto_TypeTraits, _field_type, _is_packed > &id, typename _proto_TypeTraits::Singular::MutableType value)
PROTOBUF_CONSTEXPR CTDSample(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized)
boost::units::unit< pressure_dimension, boost::units::si::system > pressure_unit
static const std::string & SoundSpeedAlgorithm_Name(T enum_t_value)
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * GetDescriptor()
const _proto_TypeTraits::Repeated::RepeatedFieldType & GetRepeatedExtension(const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier< CTDSample, _proto_TypeTraits, _field_type, _is_packed > &id) const
PROTOBUF_NODISCARD _proto_TypeTraits::Singular::MutableType ReleaseExtension(const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier< CTDSample, _proto_TypeTraits, _field_type, _is_packed > &id)
boost::units::quantity< density_unit, double > density_with_units() const
static bool DensityAlgorithm_Parse(::PROTOBUF_NAMESPACE_ID::ConstStringParam name, DensityAlgorithm *value)
boost::units::derived_dimension< boost::units::mass_base_dimension, 1, boost::units::length_base_dimension,-3 >::type density_dimension
bool HasExtension(const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier< CTDSample, _proto_TypeTraits, _field_type, _is_packed > &id) const
boost::units::unit< time_dimension, boost::units::si::system > time_unit
static const ::PROTOBUF_NAMESPACE_ID::Reflection * GetReflection()
boost::units::unit< density_dimension, boost::units::si::system > density_unit
boost::units::unit< sound_speed_dimension, boost::units::si::system > sound_speed_unit
void SetExtension(const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier< CTDSample, _proto_TypeTraits, _field_type, _is_packed > &id, typename _proto_TypeTraits::Singular::ConstType value)
const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet & unknown_fields() const
inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet * mutable_unknown_fields()
CTDSample & operator=(CTDSample &&from) noexcept
_proto_TypeTraits::Repeated::RepeatedFieldType * MutableRepeatedExtension(const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier< CTDSample, _proto_TypeTraits, _field_type, _is_packed > &id)
_proto_TypeTraits::Repeated::ConstType GetExtension(const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier< CTDSample, _proto_TypeTraits, _field_type, _is_packed > &id, int index) const
_proto_TypeTraits::Repeated::MutableType AddExtension(const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier< CTDSample, _proto_TypeTraits, _field_type, _is_packed > &id)
static const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor * SalinityAlgorithm_descriptor()
boost::units::unit< salinity_dimension, boost::units::si::system > salinity_unit
void AddExtension(const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier< CTDSample, _proto_TypeTraits, _field_type, _is_packed > &id, typename _proto_TypeTraits::Repeated::ConstType value)
friend void swap(CTDSample &a, CTDSample &b)
static const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor * SoundSpeedAlgorithm_descriptor()
void SetAllocatedExtension(const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier< CTDSample, _proto_TypeTraits, _field_type, _is_packed > &id, typename _proto_TypeTraits::Singular::MutableType value)
boost::units::unit< conductivity_dimension, boost::units::si::system > conductivity_unit
boost::units::conductivity_dimension conductivity_dimension
static const std::string & SalinityAlgorithm_Name(T enum_t_value)
boost::units::quantity< time_unit, double > time_with_units() const
_proto_TypeTraits::Singular::MutableType UnsafeArenaReleaseExtension(const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier< CTDSample, _proto_TypeTraits, _field_type, _is_packed > &id)
static const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor * DensityAlgorithm_descriptor()
CTDSample * New(::PROTOBUF_NAMESPACE_ID::Arena *arena=nullptr) const final
void UnsafeArenaSetAllocatedExtension(const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier< CartesianCoordinate, _proto_TypeTraits, _field_type, _is_packed > &id, typename _proto_TypeTraits::Singular::MutableType value)
void AddExtension(const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier< CartesianCoordinate, _proto_TypeTraits, _field_type, _is_packed > &id, typename _proto_TypeTraits::Repeated::ConstType value)
void CopyFrom(const CartesianCoordinate &from)
inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet * mutable_unknown_fields()
int ExtensionSize(const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier< CartesianCoordinate, _proto_TypeTraits, _field_type, _is_packed > &id) const
void SetExtension(const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier< CartesianCoordinate, _proto_TypeTraits, _field_type, _is_packed > &id, typename _proto_TypeTraits::Singular::ConstType value)
_proto_TypeTraits::Repeated::MutableType AddExtension(const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier< CartesianCoordinate, _proto_TypeTraits, _field_type, _is_packed > &id)
boost::units::quantity< z_unit, double > z_with_units() const
const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet & unknown_fields() const
void ClearExtension(const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier< CartesianCoordinate, _proto_TypeTraits, _field_type, _is_packed > &id)
void SetExtension(const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier< CartesianCoordinate, _proto_TypeTraits, _field_type, _is_packed > &id, int index, typename _proto_TypeTraits::Repeated::ConstType value)
boost::units::unit< x_dimension, boost::units::si::system > x_unit
boost::units::unit< y_dimension, boost::units::si::system > y_unit
const _proto_TypeTraits::Repeated::RepeatedFieldType & GetRepeatedExtension(const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier< CartesianCoordinate, _proto_TypeTraits, _field_type, _is_packed > &id) const
_proto_TypeTraits::Repeated::MutableType MutableExtension(const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier< CartesianCoordinate, _proto_TypeTraits, _field_type, _is_packed > &id, int index)
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * descriptor()
CartesianCoordinate & operator=(const CartesianCoordinate &from)
CartesianCoordinate * New(::PROTOBUF_NAMESPACE_ID::Arena *arena=nullptr) const final
CartesianCoordinate(::PROTOBUF_NAMESPACE_ID::Arena *arena, bool is_message_owned=false)
boost::units::unit< z_dimension, boost::units::si::system > z_unit
bool HasExtension(const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier< CartesianCoordinate, _proto_TypeTraits, _field_type, _is_packed > &id) const
const ::PROTOBUF_NAMESPACE_ID::Message::ClassData * GetClassData() const final
boost::units::quantity< x_unit, double > x_with_units() const
PROTOBUF_NODISCARD _proto_TypeTraits::Singular::MutableType ReleaseExtension(const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier< CartesianCoordinate, _proto_TypeTraits, _field_type, _is_packed > &id)
_proto_TypeTraits::Repeated::RepeatedFieldType * MutableRepeatedExtension(const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier< CartesianCoordinate, _proto_TypeTraits, _field_type, _is_packed > &id)
boost::units::quantity< y_unit, double > y_with_units() const
_proto_TypeTraits::Singular::MutableType UnsafeArenaReleaseExtension(const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier< CartesianCoordinate, _proto_TypeTraits, _field_type, _is_packed > &id)
static const ::PROTOBUF_NAMESPACE_ID::Reflection * GetReflection()
CartesianCoordinate & operator=(CartesianCoordinate &&from) noexcept
static const CartesianCoordinate * internal_default_instance()
friend void swap(CartesianCoordinate &a, CartesianCoordinate &b)
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * GetDescriptor()
_proto_TypeTraits::Singular::ConstType GetExtension(const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier< CartesianCoordinate, _proto_TypeTraits, _field_type, _is_packed > &id) const
_proto_TypeTraits::Repeated::ConstType GetExtension(const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier< CartesianCoordinate, _proto_TypeTraits, _field_type, _is_packed > &id, int index) const
PROTOBUF_CONSTEXPR CartesianCoordinate(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized)
void SetAllocatedExtension(const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier< CartesianCoordinate, _proto_TypeTraits, _field_type, _is_packed > &id, typename _proto_TypeTraits::Singular::MutableType value)
_proto_TypeTraits::Singular::MutableType MutableExtension(const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier< CartesianCoordinate, _proto_TypeTraits, _field_type, _is_packed > &id)
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * descriptor()
static const ::PROTOBUF_NAMESPACE_ID::Reflection * GetReflection()
DatumUpdate & operator=(DatumUpdate &&from) noexcept
PROTOBUF_CONSTEXPR DatumUpdate(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized)
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * GetDescriptor()
const ::PROTOBUF_NAMESPACE_ID::Message::ClassData * GetClassData() const final
DatumUpdate * New(::PROTOBUF_NAMESPACE_ID::Arena *arena=nullptr) const final
friend void swap(DatumUpdate &a, DatumUpdate &b)
DatumUpdate & operator=(const DatumUpdate &from)
DatumUpdate(::PROTOBUF_NAMESPACE_ID::Arena *arena, bool is_message_owned=false)
inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet * mutable_unknown_fields()
const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet & unknown_fields() const
boost::units::quantity< heading_unit, double > heading_with_units() const
static const ::PROTOBUF_NAMESPACE_ID::Reflection * GetReflection()
DesiredCourse & operator=(DesiredCourse &&from) noexcept
void SetExtension(const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier< DesiredCourse, _proto_TypeTraits, _field_type, _is_packed > &id, int index, typename _proto_TypeTraits::Repeated::ConstType value)
_proto_TypeTraits::Repeated::MutableType AddExtension(const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier< DesiredCourse, _proto_TypeTraits, _field_type, _is_packed > &id)
boost::units::unit< z_rate_dimension, boost::units::si::system > z_rate_unit
_proto_TypeTraits::Singular::MutableType UnsafeArenaReleaseExtension(const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier< DesiredCourse, _proto_TypeTraits, _field_type, _is_packed > &id)
bool HasExtension(const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier< DesiredCourse, _proto_TypeTraits, _field_type, _is_packed > &id) const
const _proto_TypeTraits::Repeated::RepeatedFieldType & GetRepeatedExtension(const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier< DesiredCourse, _proto_TypeTraits, _field_type, _is_packed > &id) const
inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet * mutable_unknown_fields()
_proto_TypeTraits::Singular::MutableType MutableExtension(const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier< DesiredCourse, _proto_TypeTraits, _field_type, _is_packed > &id)
DesiredCourse(::PROTOBUF_NAMESPACE_ID::Arena *arena, bool is_message_owned=false)
boost::units::plane_angle_dimension heading_dimension
_proto_TypeTraits::Repeated::RepeatedFieldType * MutableRepeatedExtension(const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier< DesiredCourse, _proto_TypeTraits, _field_type, _is_packed > &id)
boost::units::quantity< time_unit, double > time_with_units() const
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * descriptor()
boost::units::unit< roll_dimension, boost::units::degree::system > roll_unit
_proto_TypeTraits::Singular::ConstType GetExtension(const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier< DesiredCourse, _proto_TypeTraits, _field_type, _is_packed > &id) const
boost::units::plane_angle_dimension pitch_dimension
void SetExtension(const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier< DesiredCourse, _proto_TypeTraits, _field_type, _is_packed > &id, typename _proto_TypeTraits::Singular::ConstType value)
boost::units::unit< depth_dimension, boost::units::si::system > depth_unit
const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet & unknown_fields() const
boost::units::quantity< roll_unit, double > roll_with_units() const
void SetAllocatedExtension(const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier< DesiredCourse, _proto_TypeTraits, _field_type, _is_packed > &id, typename _proto_TypeTraits::Singular::MutableType value)
boost::units::unit< speed_dimension, boost::units::si::system > speed_unit
DesiredCourse & operator=(const DesiredCourse &from)
PROTOBUF_NODISCARD _proto_TypeTraits::Singular::MutableType ReleaseExtension(const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier< DesiredCourse, _proto_TypeTraits, _field_type, _is_packed > &id)
boost::units::unit< time_dimension, boost::units::si::system > time_unit
PROTOBUF_CONSTEXPR DesiredCourse(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized)
boost::units::unit< altitude_dimension, boost::units::si::system > altitude_unit
boost::units::quantity< speed_unit, double > speed_with_units() const
void AddExtension(const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier< DesiredCourse, _proto_TypeTraits, _field_type, _is_packed > &id, typename _proto_TypeTraits::Repeated::ConstType value)
friend void swap(DesiredCourse &a, DesiredCourse &b)
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final
boost::units::unit< pitch_dimension, boost::units::degree::system > pitch_unit
boost::units::quantity< altitude_unit, double > altitude_with_units() const
void ClearExtension(const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier< DesiredCourse, _proto_TypeTraits, _field_type, _is_packed > &id)
boost::units::quantity< depth_unit, double > depth_with_units() const
DesiredCourse * New(::PROTOBUF_NAMESPACE_ID::Arena *arena=nullptr) const final
_proto_TypeTraits::Repeated::ConstType GetExtension(const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier< DesiredCourse, _proto_TypeTraits, _field_type, _is_packed > &id, int index) const
boost::units::quantity< z_rate_unit, double > z_rate_with_units() const
boost::units::quantity< pitch_unit, double > pitch_with_units() const
_proto_TypeTraits::Repeated::MutableType MutableExtension(const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier< DesiredCourse, _proto_TypeTraits, _field_type, _is_packed > &id, int index)
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * GetDescriptor()
boost::units::unit< heading_dimension, boost::units::degree::system > heading_unit
void UnsafeArenaSetAllocatedExtension(const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier< DesiredCourse, _proto_TypeTraits, _field_type, _is_packed > &id, typename _proto_TypeTraits::Singular::MutableType value)
const ::PROTOBUF_NAMESPACE_ID::Message::ClassData * GetClassData() const final
boost::mpl::divides< boost::units::length_dimension, boost::units::time_dimension >::type speed_dimension
int ExtensionSize(const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier< DesiredCourse, _proto_TypeTraits, _field_type, _is_packed > &id) const
boost::mpl::divides< boost::units::length_dimension, boost::units::time_dimension >::type z_rate_dimension
boost::units::plane_angle_dimension pitch_dimension
boost::units::unit< pitch_dimension, boost::units::degree::system > pitch_unit
static const ::PROTOBUF_NAMESPACE_ID::Reflection * GetReflection()
EulerAngles & operator=(EulerAngles &&from) noexcept
void UnsafeArenaSetAllocatedExtension(const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier< EulerAngles, _proto_TypeTraits, _field_type, _is_packed > &id, typename _proto_TypeTraits::Singular::MutableType value)
inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet * mutable_unknown_fields()
EulerAngles & operator=(const EulerAngles &from)
boost::units::quantity< heading_rate_unit, double > heading_rate_with_units() const
PROTOBUF_NODISCARD _proto_TypeTraits::Singular::MutableType ReleaseExtension(const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier< EulerAngles, _proto_TypeTraits, _field_type, _is_packed > &id)
_proto_TypeTraits::Singular::MutableType MutableExtension(const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier< EulerAngles, _proto_TypeTraits, _field_type, _is_packed > &id)
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * descriptor()
bool HasExtension(const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier< EulerAngles, _proto_TypeTraits, _field_type, _is_packed > &id) const
dccl::units::degrees_per_second_unit pitch_rate_unit
_proto_TypeTraits::Repeated::MutableType AddExtension(const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier< EulerAngles, _proto_TypeTraits, _field_type, _is_packed > &id)
void SetExtension(const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier< EulerAngles, _proto_TypeTraits, _field_type, _is_packed > &id, int index, typename _proto_TypeTraits::Repeated::ConstType value)
void ClearExtension(const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier< EulerAngles, _proto_TypeTraits, _field_type, _is_packed > &id)
boost::units::quantity< heading_unit, double > heading_with_units() const
boost::units::unit< course_over_ground_dimension, boost::units::degree::system > course_over_ground_unit
boost::units::unit< heading_dimension, boost::units::degree::system > heading_unit
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * GetDescriptor()
int ExtensionSize(const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier< EulerAngles, _proto_TypeTraits, _field_type, _is_packed > &id) const
PROTOBUF_CONSTEXPR EulerAngles(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized)
boost::units::unit< roll_dimension, boost::units::degree::system > roll_unit
void set_course_over_ground_with_units(Quantity value_w_units)
void SetAllocatedExtension(const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier< EulerAngles, _proto_TypeTraits, _field_type, _is_packed > &id, typename _proto_TypeTraits::Singular::MutableType value)
boost::units::plane_angle_dimension roll_dimension
const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet & unknown_fields() const
boost::units::quantity< roll_unit, double > roll_with_units() const
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final
dccl::units::degrees_per_second_unit roll_rate_unit
boost::units::plane_angle_dimension heading_dimension
boost::units::quantity< pitch_rate_unit, double > pitch_rate_with_units() const
const ::PROTOBUF_NAMESPACE_ID::Message::ClassData * GetClassData() const final
boost::units::quantity< course_over_ground_unit, double > course_over_ground_with_units() const
void SetExtension(const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier< EulerAngles, _proto_TypeTraits, _field_type, _is_packed > &id, typename _proto_TypeTraits::Singular::ConstType value)
_proto_TypeTraits::Repeated::RepeatedFieldType * MutableRepeatedExtension(const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier< EulerAngles, _proto_TypeTraits, _field_type, _is_packed > &id)
EulerAngles * New(::PROTOBUF_NAMESPACE_ID::Arena *arena=nullptr) const final
boost::units::quantity< pitch_unit, double > pitch_with_units() const
_proto_TypeTraits::Repeated::ConstType GetExtension(const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier< EulerAngles, _proto_TypeTraits, _field_type, _is_packed > &id, int index) const
_proto_TypeTraits::Singular::ConstType GetExtension(const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier< EulerAngles, _proto_TypeTraits, _field_type, _is_packed > &id) const
const _proto_TypeTraits::Repeated::RepeatedFieldType & GetRepeatedExtension(const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier< EulerAngles, _proto_TypeTraits, _field_type, _is_packed > &id) const
boost::units::plane_angle_dimension course_over_ground_dimension
void AddExtension(const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier< EulerAngles, _proto_TypeTraits, _field_type, _is_packed > &id, typename _proto_TypeTraits::Repeated::ConstType value)
EulerAngles(::PROTOBUF_NAMESPACE_ID::Arena *arena, bool is_message_owned=false)
friend void swap(EulerAngles &a, EulerAngles &b)
_proto_TypeTraits::Repeated::MutableType MutableExtension(const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier< EulerAngles, _proto_TypeTraits, _field_type, _is_packed > &id, int index)
dccl::units::degrees_per_second_unit heading_rate_unit
boost::units::quantity< roll_rate_unit, double > roll_rate_with_units() const
_proto_TypeTraits::Singular::MutableType UnsafeArenaReleaseExtension(const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier< EulerAngles, _proto_TypeTraits, _field_type, _is_packed > &id)
::goby::middleware::frontseat::protobuf::Speed * unsafe_arena_release_speed()
_proto_TypeTraits::Repeated::MutableType MutableExtension(const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier< NodeStatus, _proto_TypeTraits, _field_type, _is_packed > &id, int index)
::goby::middleware::frontseat::protobuf::Speed * mutable_speed()
_proto_TypeTraits::Repeated::MutableType AddExtension(const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier< NodeStatus, _proto_TypeTraits, _field_type, _is_packed > &id)
void ClearExtension(const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier< NodeStatus, _proto_TypeTraits, _field_type, _is_packed > &id)
PROTOBUF_NODISCARD::goby::middleware::frontseat::protobuf::Source * release_source()
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * GetDescriptor()
const _proto_TypeTraits::Repeated::RepeatedFieldType & GetRepeatedExtension(const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier< NodeStatus, _proto_TypeTraits, _field_type, _is_packed > &id) const
boost::units::unit< time_dimension, boost::units::si::system > time_unit
boost::units::quantity< time_unit, double > time_with_units() const
void set_name(ArgT0 &&arg0, ArgT... args)
void unsafe_arena_set_allocated_speed(::goby::middleware::frontseat::protobuf::Speed *speed)
::goby::middleware::frontseat::protobuf::EulerAngles * mutable_pose()
void set_allocated_pose(::goby::middleware::frontseat::protobuf::EulerAngles *pose)
void unsafe_arena_set_allocated_pose(::goby::middleware::frontseat::protobuf::EulerAngles *pose)
void set_allocated_speed(::goby::middleware::frontseat::protobuf::Speed *speed)
const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet & unknown_fields() const
NodeStatus * New(::PROTOBUF_NAMESPACE_ID::Arena *arena=nullptr) const final
inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet * mutable_unknown_fields()
NodeStatus & operator=(NodeStatus &&from) noexcept
PROTOBUF_NODISCARD::goby::middleware::protobuf::LatLonPoint * release_global_fix()
void set_type(::goby::middleware::frontseat::protobuf::VehicleType value)
void set_allocated_source(::goby::middleware::frontseat::protobuf::Source *source)
::goby::middleware::frontseat::protobuf::EulerAngles * unsafe_arena_release_pose()
void UnsafeArenaSetAllocatedExtension(const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier< NodeStatus, _proto_TypeTraits, _field_type, _is_packed > &id, typename _proto_TypeTraits::Singular::MutableType value)
void SetExtension(const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier< NodeStatus, _proto_TypeTraits, _field_type, _is_packed > &id, int index, typename _proto_TypeTraits::Repeated::ConstType value)
::goby::middleware::frontseat::protobuf::CartesianCoordinate * unsafe_arena_release_local_fix()
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final
const char * _InternalParse(const char *ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext *ctx) final
void SetAllocatedExtension(const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier< NodeStatus, _proto_TypeTraits, _field_type, _is_packed > &id, typename _proto_TypeTraits::Singular::MutableType value)
_proto_TypeTraits::Singular::MutableType UnsafeArenaReleaseExtension(const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier< NodeStatus, _proto_TypeTraits, _field_type, _is_packed > &id)
friend void swap(NodeStatus &a, NodeStatus &b)
const ::goby::middleware::protobuf::LatLonPoint & global_fix() const
const ::goby::middleware::frontseat::protobuf::Source & source() const
::goby::middleware::protobuf::LatLonPoint * mutable_global_fix()
void unsafe_arena_set_allocated_source(::goby::middleware::frontseat::protobuf::Source *source)
void AddExtension(const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier< NodeStatus, _proto_TypeTraits, _field_type, _is_packed > &id, typename _proto_TypeTraits::Repeated::ConstType value)
const ::goby::middleware::frontseat::protobuf::Speed & speed() const
bool HasExtension(const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier< NodeStatus, _proto_TypeTraits, _field_type, _is_packed > &id) const
static const ::PROTOBUF_NAMESPACE_ID::Reflection * GetReflection()
uint8_t * _InternalSerialize(uint8_t *target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream *stream) const final
int ExtensionSize(const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier< NodeStatus, _proto_TypeTraits, _field_type, _is_packed > &id) const
const ::goby::middleware::frontseat::protobuf::CartesianCoordinate & local_fix() const
_proto_TypeTraits::Repeated::ConstType GetExtension(const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier< NodeStatus, _proto_TypeTraits, _field_type, _is_packed > &id, int index) const
PROTOBUF_NODISCARD::goby::middleware::frontseat::protobuf::Speed * release_speed()
::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final
NodeStatus(::PROTOBUF_NAMESPACE_ID::Arena *arena, bool is_message_owned=false)
_proto_TypeTraits::Repeated::RepeatedFieldType * MutableRepeatedExtension(const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier< NodeStatus, _proto_TypeTraits, _field_type, _is_packed > &id)
PROTOBUF_NODISCARD::goby::middleware::frontseat::protobuf::CartesianCoordinate * release_local_fix()
void set_allocated_global_fix(::goby::middleware::protobuf::LatLonPoint *global_fix)
_proto_TypeTraits::Singular::MutableType MutableExtension(const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier< NodeStatus, _proto_TypeTraits, _field_type, _is_packed > &id)
PROTOBUF_NODISCARD std::string * release_name()
::goby::middleware::frontseat::protobuf::Source * mutable_source()
PROTOBUF_NODISCARD _proto_TypeTraits::Singular::MutableType ReleaseExtension(const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier< NodeStatus, _proto_TypeTraits, _field_type, _is_packed > &id)
void unsafe_arena_set_allocated_local_fix(::goby::middleware::frontseat::protobuf::CartesianCoordinate *local_fix)
NodeStatus & operator=(const NodeStatus &from)
PROTOBUF_CONSTEXPR NodeStatus(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized)
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * descriptor()
void SetExtension(const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier< NodeStatus, _proto_TypeTraits, _field_type, _is_packed > &id, typename _proto_TypeTraits::Singular::ConstType value)
::goby::middleware::frontseat::protobuf::VehicleType type() const
::goby::middleware::frontseat::protobuf::CartesianCoordinate * mutable_local_fix()
void unsafe_arena_set_allocated_global_fix(::goby::middleware::protobuf::LatLonPoint *global_fix)
::goby::middleware::frontseat::protobuf::Source * unsafe_arena_release_source()
const ::PROTOBUF_NAMESPACE_ID::Message::ClassData * GetClassData() const final
void set_allocated_local_fix(::goby::middleware::frontseat::protobuf::CartesianCoordinate *local_fix)
::goby::middleware::protobuf::LatLonPoint * unsafe_arena_release_global_fix()
const ::goby::middleware::frontseat::protobuf::EulerAngles & pose() const
_proto_TypeTraits::Singular::ConstType GetExtension(const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier< NodeStatus, _proto_TypeTraits, _field_type, _is_packed > &id) const
PROTOBUF_NODISCARD::goby::middleware::frontseat::protobuf::EulerAngles * release_pose()
_proto_TypeTraits::Repeated::MutableType AddExtension(const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier< Source, _proto_TypeTraits, _field_type, _is_packed > &id)
bool HasExtension(const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier< Source, _proto_TypeTraits, _field_type, _is_packed > &id) const
inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet * mutable_unknown_fields()
void SetExtension(const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier< Source, _proto_TypeTraits, _field_type, _is_packed > &id, typename _proto_TypeTraits::Singular::ConstType value)
const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet & unknown_fields() const
static const std::string & Sensor_Name(T enum_t_value)
_proto_TypeTraits::Repeated::RepeatedFieldType * MutableRepeatedExtension(const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier< Source, _proto_TypeTraits, _field_type, _is_packed > &id)
Source(::PROTOBUF_NAMESPACE_ID::Arena *arena, bool is_message_owned=false)
_proto_TypeTraits::Repeated::MutableType MutableExtension(const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier< Source, _proto_TypeTraits, _field_type, _is_packed > &id, int index)
_proto_TypeTraits::Singular::ConstType GetExtension(const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier< Source, _proto_TypeTraits, _field_type, _is_packed > &id) const
_proto_TypeTraits::Singular::MutableType UnsafeArenaReleaseExtension(const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier< Source, _proto_TypeTraits, _field_type, _is_packed > &id)
static const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor * Sensor_descriptor()
PROTOBUF_CONSTEXPR Source(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized)
_proto_TypeTraits::Repeated::ConstType GetExtension(const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier< Source, _proto_TypeTraits, _field_type, _is_packed > &id, int index) const
_proto_TypeTraits::Singular::MutableType MutableExtension(const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier< Source, _proto_TypeTraits, _field_type, _is_packed > &id)
static bool Sensor_Parse(::PROTOBUF_NAMESPACE_ID::ConstStringParam name, Sensor *value)
void AddExtension(const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier< Source, _proto_TypeTraits, _field_type, _is_packed > &id, typename _proto_TypeTraits::Repeated::ConstType value)
PROTOBUF_NODISCARD _proto_TypeTraits::Singular::MutableType ReleaseExtension(const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier< Source, _proto_TypeTraits, _field_type, _is_packed > &id)
int ExtensionSize(const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier< Source, _proto_TypeTraits, _field_type, _is_packed > &id) const
Source * New(::PROTOBUF_NAMESPACE_ID::Arena *arena=nullptr) const final
static const ::PROTOBUF_NAMESPACE_ID::Reflection * GetReflection()
const ::PROTOBUF_NAMESPACE_ID::Message::ClassData * GetClassData() const final
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final
void SetExtension(const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier< Source, _proto_TypeTraits, _field_type, _is_packed > &id, int index, typename _proto_TypeTraits::Repeated::ConstType value)
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * GetDescriptor()
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * descriptor()
void UnsafeArenaSetAllocatedExtension(const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier< Source, _proto_TypeTraits, _field_type, _is_packed > &id, typename _proto_TypeTraits::Singular::MutableType value)
void ClearExtension(const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier< Source, _proto_TypeTraits, _field_type, _is_packed > &id)
void SetAllocatedExtension(const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier< Source, _proto_TypeTraits, _field_type, _is_packed > &id, typename _proto_TypeTraits::Singular::MutableType value)
const _proto_TypeTraits::Repeated::RepeatedFieldType & GetRepeatedExtension(const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier< Source, _proto_TypeTraits, _field_type, _is_packed > &id) const
_proto_TypeTraits::Repeated::RepeatedFieldType * MutableRepeatedExtension(const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier< Speed, _proto_TypeTraits, _field_type, _is_packed > &id)
boost::units::unit< over_water_dimension, boost::units::si::system > over_water_unit
void SetAllocatedExtension(const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier< Speed, _proto_TypeTraits, _field_type, _is_packed > &id, typename _proto_TypeTraits::Singular::MutableType value)
void UnsafeArenaSetAllocatedExtension(const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier< Speed, _proto_TypeTraits, _field_type, _is_packed > &id, typename _proto_TypeTraits::Singular::MutableType value)
const _proto_TypeTraits::Repeated::RepeatedFieldType & GetRepeatedExtension(const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier< Speed, _proto_TypeTraits, _field_type, _is_packed > &id) const
void set_over_water_with_units(Quantity value_w_units)
void AddExtension(const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier< Speed, _proto_TypeTraits, _field_type, _is_packed > &id, typename _proto_TypeTraits::Repeated::ConstType value)
boost::mpl::divides< boost::units::length_dimension, boost::units::time_dimension >::type over_water_dimension
void SetExtension(const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier< Speed, _proto_TypeTraits, _field_type, _is_packed > &id, typename _proto_TypeTraits::Singular::ConstType value)
void ClearExtension(const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier< Speed, _proto_TypeTraits, _field_type, _is_packed > &id)
Speed(::PROTOBUF_NAMESPACE_ID::Arena *arena, bool is_message_owned=false)
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final
Speed * New(::PROTOBUF_NAMESPACE_ID::Arena *arena=nullptr) const final
bool HasExtension(const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier< Speed, _proto_TypeTraits, _field_type, _is_packed > &id) const
_proto_TypeTraits::Singular::MutableType UnsafeArenaReleaseExtension(const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier< Speed, _proto_TypeTraits, _field_type, _is_packed > &id)
_proto_TypeTraits::Singular::ConstType GetExtension(const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier< Speed, _proto_TypeTraits, _field_type, _is_packed > &id) const
PROTOBUF_CONSTEXPR Speed(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized)
const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet & unknown_fields() const
static const ::PROTOBUF_NAMESPACE_ID::Reflection * GetReflection()
const ::PROTOBUF_NAMESPACE_ID::Message::ClassData * GetClassData() const final
int ExtensionSize(const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier< Speed, _proto_TypeTraits, _field_type, _is_packed > &id) const
_proto_TypeTraits::Repeated::ConstType GetExtension(const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier< Speed, _proto_TypeTraits, _field_type, _is_packed > &id, int index) const
_proto_TypeTraits::Repeated::MutableType AddExtension(const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier< Speed, _proto_TypeTraits, _field_type, _is_packed > &id)
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * descriptor()
boost::mpl::divides< boost::units::length_dimension, boost::units::time_dimension >::type over_ground_dimension
inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet * mutable_unknown_fields()
_proto_TypeTraits::Repeated::MutableType MutableExtension(const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier< Speed, _proto_TypeTraits, _field_type, _is_packed > &id, int index)
void SetExtension(const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier< Speed, _proto_TypeTraits, _field_type, _is_packed > &id, int index, typename _proto_TypeTraits::Repeated::ConstType value)
_proto_TypeTraits::Singular::MutableType MutableExtension(const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier< Speed, _proto_TypeTraits, _field_type, _is_packed > &id)
boost::units::quantity< over_water_unit, double > over_water_with_units() const
void set_over_ground_with_units(Quantity value_w_units)
boost::units::unit< over_ground_dimension, boost::units::si::system > over_ground_unit
boost::units::quantity< over_ground_unit, double > over_ground_with_units() const
PROTOBUF_NODISCARD _proto_TypeTraits::Singular::MutableType ReleaseExtension(const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier< Speed, _proto_TypeTraits, _field_type, _is_packed > &id)
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * GetDescriptor()
const EnumDescriptor * GetEnumDescriptor< ::goby::middleware::frontseat::protobuf::VehicleType >()
const EnumDescriptor * GetEnumDescriptor< ::goby::middleware::frontseat::protobuf::CTDSample_SoundSpeedAlgorithm >()
::goby::middleware::frontseat::protobuf::CartesianCoordinate * Arena::CreateMaybeMessage<::goby::middleware::frontseat::protobuf::CartesianCoordinate >(Arena *)
const EnumDescriptor * GetEnumDescriptor< ::goby::middleware::frontseat::protobuf::Source_Sensor >()
const EnumDescriptor * GetEnumDescriptor< ::goby::middleware::frontseat::protobuf::CTDSample_SalinityAlgorithm >()
const EnumDescriptor * GetEnumDescriptor< ::goby::middleware::frontseat::protobuf::CTDSample_DensityAlgorithm >()
::goby::middleware::frontseat::protobuf::EulerAngles * Arena::CreateMaybeMessage<::goby::middleware::frontseat::protobuf::EulerAngles >(Arena *)
::goby::middleware::frontseat::protobuf::Source * Arena::CreateMaybeMessage<::goby::middleware::frontseat::protobuf::Source >(Arena *)
::goby::middleware::frontseat::protobuf::Speed * Arena::CreateMaybeMessage<::goby::middleware::frontseat::protobuf::Speed >(Arena *)
const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable descriptor_table_goby_2fmiddleware_2fprotobuf_2ffrontseat_5fdata_2eproto
PROTOBUF_NAMESPACE_OPEN ::goby::middleware::protobuf::LatLonPoint * Arena::CreateMaybeMessage<::goby::middleware::protobuf::LatLonPoint >(Arena *)
bool CTDSample_SoundSpeedAlgorithm_Parse(::PROTOBUF_NAMESPACE_ID::ConstStringParam name, CTDSample_SoundSpeedAlgorithm *value)
const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor * Source_Sensor_descriptor()
constexpr CTDSample_SalinityAlgorithm CTDSample_SalinityAlgorithm_SalinityAlgorithm_MIN
const std::string & VehicleType_Name(T enum_t_value)
bool VehicleType_Parse(::PROTOBUF_NAMESPACE_ID::ConstStringParam name, VehicleType *value)
EulerAnglesDefaultTypeInternal _EulerAngles_default_instance_
CartesianCoordinateDefaultTypeInternal _CartesianCoordinate_default_instance_
constexpr CTDSample_SoundSpeedAlgorithm CTDSample_SoundSpeedAlgorithm_SoundSpeedAlgorithm_MIN
constexpr CTDSample_SalinityAlgorithm CTDSample_SalinityAlgorithm_SalinityAlgorithm_MAX
bool CTDSample_DensityAlgorithm_IsValid(int value)
constexpr Source_Sensor Source_Sensor_Sensor_MIN
const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor * CTDSample_SalinityAlgorithm_descriptor()
SourceDefaultTypeInternal _Source_default_instance_
const std::string & CTDSample_SoundSpeedAlgorithm_Name(T enum_t_value)
bool CTDSample_DensityAlgorithm_Parse(::PROTOBUF_NAMESPACE_ID::ConstStringParam name, CTDSample_DensityAlgorithm *value)
DatumUpdateDefaultTypeInternal _DatumUpdate_default_instance_
constexpr int CTDSample_SoundSpeedAlgorithm_SoundSpeedAlgorithm_ARRAYSIZE
constexpr CTDSample_DensityAlgorithm CTDSample_DensityAlgorithm_DensityAlgorithm_MIN
NodeStatusDefaultTypeInternal _NodeStatus_default_instance_
constexpr int CTDSample_DensityAlgorithm_DensityAlgorithm_ARRAYSIZE
bool Source_Sensor_Parse(::PROTOBUF_NAMESPACE_ID::ConstStringParam name, Source_Sensor *value)
constexpr Source_Sensor Source_Sensor_Sensor_MAX
bool CTDSample_SalinityAlgorithm_IsValid(int value)
constexpr int CTDSample_SalinityAlgorithm_SalinityAlgorithm_ARRAYSIZE
constexpr CTDSample_SoundSpeedAlgorithm CTDSample_SoundSpeedAlgorithm_SoundSpeedAlgorithm_MAX
const std::string & CTDSample_DensityAlgorithm_Name(T enum_t_value)
bool CTDSample_SalinityAlgorithm_Parse(::PROTOBUF_NAMESPACE_ID::ConstStringParam name, CTDSample_SalinityAlgorithm *value)
constexpr CTDSample_DensityAlgorithm CTDSample_DensityAlgorithm_DensityAlgorithm_MAX
SpeedDefaultTypeInternal _Speed_default_instance_
DesiredCourseDefaultTypeInternal _DesiredCourse_default_instance_
bool CTDSample_SoundSpeedAlgorithm_IsValid(int value)
const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor * CTDSample_SoundSpeedAlgorithm_descriptor()
const std::string & Source_Sensor_Name(T enum_t_value)
const std::string & CTDSample_SalinityAlgorithm_Name(T enum_t_value)
const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor * VehicleType_descriptor()
const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor * CTDSample_DensityAlgorithm_descriptor()
CTDSampleDefaultTypeInternal _CTDSample_default_instance_
LatLonPointDefaultTypeInternal _LatLonPoint_default_instance_
The global namespace for the Goby project.
#define ByteSizeLong