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