Goby3 3.2.3
2025.05.13
Loading...
Searching...
No Matches
geographic.pb.h
Go to the documentation of this file.
1// Generated by the protocol buffer compiler. DO NOT EDIT!
2// source: goby/middleware/protobuf/geographic.proto
3
4#ifndef GOOGLE_PROTOBUF_INCLUDED_goby_2fmiddleware_2fprotobuf_2fgeographic_2eproto
5#define GOOGLE_PROTOBUF_INCLUDED_goby_2fmiddleware_2fprotobuf_2fgeographic_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/unknown_field_set.h>
33#include "dccl/option_extensions.pb.h"
34#include <boost/units/quantity.hpp>
35#include <boost/units/absolute.hpp>
36#include <boost/units/dimensionless_type.hpp>
37#include <boost/units/make_scaled_unit.hpp>
38
39#include <boost/units/systems/angle/degrees.hpp>
40
41#include <boost/units/systems/si.hpp>
42// @@protoc_insertion_point(includes)
43#include <google/protobuf/port_def.inc>
44#define PROTOBUF_INTERNAL_EXPORT_goby_2fmiddleware_2fprotobuf_2fgeographic_2eproto
45PROTOBUF_NAMESPACE_OPEN
46namespace internal {
47class AnyMetadata;
48} // namespace internal
49PROTOBUF_NAMESPACE_CLOSE
50
51// Internal implementation detail -- do not use these members.
55extern const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable descriptor_table_goby_2fmiddleware_2fprotobuf_2fgeographic_2eproto;
56namespace goby {
57namespace middleware {
58namespace protobuf {
59class LatLonPoint;
60struct LatLonPointDefaultTypeInternal;
61extern LatLonPointDefaultTypeInternal _LatLonPoint_default_instance_;
62class Route;
63struct RouteDefaultTypeInternal;
64extern RouteDefaultTypeInternal _Route_default_instance_;
65class Waypoint;
66struct WaypointDefaultTypeInternal;
67extern WaypointDefaultTypeInternal _Waypoint_default_instance_;
68} // namespace protobuf
69} // namespace middleware
70} // namespace goby
71PROTOBUF_NAMESPACE_OPEN
72template<> ::goby::middleware::protobuf::LatLonPoint* Arena::CreateMaybeMessage<::goby::middleware::protobuf::LatLonPoint>(Arena*);
73template<> ::goby::middleware::protobuf::Route* Arena::CreateMaybeMessage<::goby::middleware::protobuf::Route>(Arena*);
74template<> ::goby::middleware::protobuf::Waypoint* Arena::CreateMaybeMessage<::goby::middleware::protobuf::Waypoint>(Arena*);
75PROTOBUF_NAMESPACE_CLOSE
76namespace goby {
77namespace middleware {
78namespace protobuf {
79
80// ===================================================================
81
82class LatLonPoint final :
83 public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:goby.middleware.protobuf.LatLonPoint) */ {
84 public:
85 inline LatLonPoint() : LatLonPoint(nullptr) {}
86 ~LatLonPoint() override;
87 explicit PROTOBUF_CONSTEXPR LatLonPoint(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
88
90 LatLonPoint(LatLonPoint&& from) noexcept
91 : LatLonPoint() {
92 *this = ::std::move(from);
93 }
94
95 inline LatLonPoint& operator=(const LatLonPoint& from) {
96 CopyFrom(from);
97 return *this;
98 }
99 inline LatLonPoint& operator=(LatLonPoint&& from) noexcept {
100 if (this == &from) return *this;
101 if (GetOwningArena() == from.GetOwningArena()
102 #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
103 && GetOwningArena() != nullptr
104 #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
105 ) {
106 InternalSwap(&from);
107 } else {
108 CopyFrom(from);
109 }
110 return *this;
111 }
112
113 inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const {
114 return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance);
115 }
116 inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() {
117 return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
118 }
119
120 static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
121 return GetDescriptor();
122 }
123 static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
124 return default_instance().GetMetadata().descriptor;
125 }
126 static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
127 return default_instance().GetMetadata().reflection;
128 }
131 }
132 static inline const LatLonPoint* internal_default_instance() {
133 return reinterpret_cast<const LatLonPoint*>(
135 }
136 static constexpr int kIndexInFileMessages =
137 0;
138
139 friend void swap(LatLonPoint& a, LatLonPoint& b) {
140 a.Swap(&b);
141 }
142 inline void Swap(LatLonPoint* other) {
143 if (other == this) return;
144 #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
145 if (GetOwningArena() != nullptr &&
146 GetOwningArena() == other->GetOwningArena()) {
147 #else // PROTOBUF_FORCE_COPY_IN_SWAP
148 if (GetOwningArena() == other->GetOwningArena()) {
149 #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
150 InternalSwap(other);
151 } else {
152 ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
153 }
154 }
156 if (other == this) return;
157 GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
158 InternalSwap(other);
159 }
160
161 // implements Message ----------------------------------------------
162
163 LatLonPoint* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
164 return CreateMaybeMessage<LatLonPoint>(arena);
165 }
166 using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
167 void CopyFrom(const LatLonPoint& from);
168 using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
169 void MergeFrom( const LatLonPoint& from) {
170 LatLonPoint::MergeImpl(*this, from);
171 }
172 private:
173 static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg);
174 public:
175 PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
176 bool IsInitialized() const final;
177
178 size_t ByteSizeLong() const final;
179 const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
181 uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
182 int GetCachedSize() const final { return _impl_._cached_size_.Get(); }
183
184 private:
185 void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned);
186 void SharedDtor();
187 void SetCachedSize(int size) const final;
188 void InternalSwap(LatLonPoint* other);
189
190 private:
191 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
192 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
193 return "goby.middleware.protobuf.LatLonPoint";
194 }
195 protected:
196 explicit LatLonPoint(::PROTOBUF_NAMESPACE_ID::Arena* arena,
197 bool is_message_owned = false);
198 public:
199
200 static const ClassData _class_data_;
201 const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
202
203 ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
204
205 // nested types ----------------------------------------------------
206
207 // accessors -------------------------------------------------------
208
209 enum : int {
214 };
215 // required double lat = 1 [(.dccl.field) = {
216 bool has_lat() const;
217 private:
218 bool _internal_has_lat() const;
219 public:
220 void clear_lat();
221 double lat() const;
222 void set_lat(double value);
223 private:
224 double _internal_lat() const;
225 void _internal_set_lat(double value);
226 public:
227
228 // required double lon = 2 [(.dccl.field) = {
229 bool has_lon() const;
230 private:
231 bool _internal_has_lon() const;
232 public:
233 void clear_lon();
234 double lon() const;
235 void set_lon(double value);
236 private:
237 double _internal_lon() const;
238 void _internal_set_lon(double value);
239 public:
240
241 // optional double depth = 3 [default = 0, (.dccl.field) = {
242 bool has_depth() const;
243 private:
244 bool _internal_has_depth() const;
245 public:
246 void clear_depth();
247 double depth() const;
248 void set_depth(double value);
249 private:
250 double _internal_depth() const;
251 void _internal_set_depth(double value);
252 public:
253
254 // optional double altitude = 4 [default = nan, (.dccl.field) = {
255 bool has_altitude() const;
256 private:
257 bool _internal_has_altitude() const;
258 public:
259 void clear_altitude();
260 double altitude() const;
261 void set_altitude(double value);
262 private:
263 double _internal_altitude() const;
264 void _internal_set_altitude(double value);
265 public:
266
267 typedef boost::units::plane_angle_dimension lat_dimension;
268
269 typedef boost::units::unit<lat_dimension,boost::units::degree::system> lat_unit;
270
271 template<typename Quantity >
272 void set_lat_with_units(Quantity value_w_units)
273 { set_lat(boost::units::quantity<lat_unit,double >(value_w_units).value() ); };
274
275 template<typename Quantity >
276 Quantity lat_with_units() const
277 { return Quantity(lat() * lat_unit()); };
278
279 boost::units::quantity< lat_unit,double > lat_with_units() const
280 { return lat_with_units<boost::units::quantity< lat_unit,double > >(); };
281
282 typedef boost::units::plane_angle_dimension lon_dimension;
283
284 typedef boost::units::unit<lon_dimension,boost::units::degree::system> lon_unit;
285
286 template<typename Quantity >
287 void set_lon_with_units(Quantity value_w_units)
288 { set_lon(boost::units::quantity<lon_unit,double >(value_w_units).value() ); };
289
290 template<typename Quantity >
291 Quantity lon_with_units() const
292 { return Quantity(lon() * lon_unit()); };
293
294 boost::units::quantity< lon_unit,double > lon_with_units() const
295 { return lon_with_units<boost::units::quantity< lon_unit,double > >(); };
296
297 typedef boost::units::length_dimension depth_dimension;
298
299 typedef boost::units::unit<depth_dimension,boost::units::si::system> depth_unit;
300
301 template<typename Quantity >
302 void set_depth_with_units(Quantity value_w_units)
303 { set_depth(boost::units::quantity<depth_unit,double >(value_w_units).value() ); };
304
305 template<typename Quantity >
306 Quantity depth_with_units() const
307 { return Quantity(depth() * depth_unit()); };
308
309 boost::units::quantity< depth_unit,double > depth_with_units() const
310 { return depth_with_units<boost::units::quantity< depth_unit,double > >(); };
311
312 typedef boost::units::length_dimension altitude_dimension;
313
314 typedef boost::units::unit<altitude_dimension,boost::units::si::system> altitude_unit;
315
316 template<typename Quantity >
317 void set_altitude_with_units(Quantity value_w_units)
318 { set_altitude(boost::units::quantity<altitude_unit,double >(value_w_units).value() ); };
319
320 template<typename Quantity >
321 Quantity altitude_with_units() const
322 { return Quantity(altitude() * altitude_unit()); };
323
324 boost::units::quantity< altitude_unit,double > altitude_with_units() const
325 { return altitude_with_units<boost::units::quantity< altitude_unit,double > >(); };
326
327 // @@protoc_insertion_point(class_scope:goby.middleware.protobuf.LatLonPoint)
328 private:
329 class _Internal;
330
331 // helper for ByteSizeLong()
332 size_t RequiredFieldsByteSizeFallback() const;
333
334 template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
335 typedef void InternalArenaConstructable_;
336 typedef void DestructorSkippable_;
337 struct Impl_ {
338 ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
339 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
340 double lat_;
341 double lon_;
342 double depth_;
343 double altitude_;
344 };
345 union { Impl_ _impl_; };
346 friend struct ::TableStruct_goby_2fmiddleware_2fprotobuf_2fgeographic_2eproto;
347};
348// -------------------------------------------------------------------
349
350class Waypoint final :
351 public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:goby.middleware.protobuf.Waypoint) */ {
352 public:
353 inline Waypoint() : Waypoint(nullptr) {}
354 ~Waypoint() override;
355 explicit PROTOBUF_CONSTEXPR Waypoint(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
356
357 Waypoint(const Waypoint& from);
358 Waypoint(Waypoint&& from) noexcept
359 : Waypoint() {
360 *this = ::std::move(from);
361 }
362
363 inline Waypoint& operator=(const Waypoint& from) {
364 CopyFrom(from);
365 return *this;
366 }
367 inline Waypoint& operator=(Waypoint&& from) noexcept {
368 if (this == &from) return *this;
369 if (GetOwningArena() == from.GetOwningArena()
370 #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
371 && GetOwningArena() != nullptr
372 #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
373 ) {
374 InternalSwap(&from);
375 } else {
376 CopyFrom(from);
377 }
378 return *this;
379 }
380
381 inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const {
382 return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance);
383 }
384 inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() {
385 return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
386 }
387
388 static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
389 return GetDescriptor();
390 }
391 static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
392 return default_instance().GetMetadata().descriptor;
393 }
394 static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
395 return default_instance().GetMetadata().reflection;
396 }
397 static const Waypoint& default_instance() {
398 return *internal_default_instance();
399 }
400 static inline const Waypoint* internal_default_instance() {
401 return reinterpret_cast<const Waypoint*>(
403 }
404 static constexpr int kIndexInFileMessages =
405 1;
406
407 friend void swap(Waypoint& a, Waypoint& b) {
408 a.Swap(&b);
409 }
410 inline void Swap(Waypoint* other) {
411 if (other == this) return;
412 #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
413 if (GetOwningArena() != nullptr &&
414 GetOwningArena() == other->GetOwningArena()) {
415 #else // PROTOBUF_FORCE_COPY_IN_SWAP
416 if (GetOwningArena() == other->GetOwningArena()) {
417 #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
418 InternalSwap(other);
419 } else {
420 ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
421 }
422 }
424 if (other == this) return;
425 GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
426 InternalSwap(other);
427 }
428
429 // implements Message ----------------------------------------------
430
431 Waypoint* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
432 return CreateMaybeMessage<Waypoint>(arena);
433 }
434 using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
435 void CopyFrom(const Waypoint& from);
436 using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
437 void MergeFrom( const Waypoint& from) {
438 Waypoint::MergeImpl(*this, from);
439 }
440 private:
441 static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg);
442 public:
443 PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
444 bool IsInitialized() const final;
445
446 size_t ByteSizeLong() const final;
447 const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
448 uint8_t* _InternalSerialize(
449 uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
450 int GetCachedSize() const final { return _impl_._cached_size_.Get(); }
451
452 private:
453 void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned);
454 void SharedDtor();
455 void SetCachedSize(int size) const final;
456 void InternalSwap(Waypoint* other);
457
458 private:
459 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
460 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
461 return "goby.middleware.protobuf.Waypoint";
462 }
463 protected:
464 explicit Waypoint(::PROTOBUF_NAMESPACE_ID::Arena* arena,
465 bool is_message_owned = false);
466 public:
467
468 static const ClassData _class_data_;
469 const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
470
471 ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
472
473 // nested types ----------------------------------------------------
474
475 // accessors -------------------------------------------------------
476
477 enum : int {
478 kNameFieldNumber = 1,
479 kLocationFieldNumber = 2,
480 };
481 // optional string name = 1;
482 bool has_name() const;
483 private:
484 bool _internal_has_name() const;
485 public:
486 void clear_name();
487 const std::string& name() const;
488 template <typename ArgT0 = const std::string&, typename... ArgT>
489 void set_name(ArgT0&& arg0, ArgT... args);
490 std::string* mutable_name();
491 PROTOBUF_NODISCARD std::string* release_name();
492 void set_allocated_name(std::string* name);
493 private:
494 const std::string& _internal_name() const;
495 inline PROTOBUF_ALWAYS_INLINE void _internal_set_name(const std::string& value);
496 std::string* _internal_mutable_name();
497 public:
498
499 // required .goby.middleware.protobuf.LatLonPoint location = 2;
500 bool has_location() const;
501 private:
502 bool _internal_has_location() const;
503 public:
504 void clear_location();
505 const ::goby::middleware::protobuf::LatLonPoint& location() const;
506 PROTOBUF_NODISCARD ::goby::middleware::protobuf::LatLonPoint* release_location();
508 void set_allocated_location(::goby::middleware::protobuf::LatLonPoint* location);
509 private:
510 const ::goby::middleware::protobuf::LatLonPoint& _internal_location() const;
511 ::goby::middleware::protobuf::LatLonPoint* _internal_mutable_location();
512 public:
513 void unsafe_arena_set_allocated_location(
515 ::goby::middleware::protobuf::LatLonPoint* unsafe_arena_release_location();
516
517 // @@protoc_insertion_point(class_scope:goby.middleware.protobuf.Waypoint)
518 private:
519 class _Internal;
520
521 template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
522 typedef void InternalArenaConstructable_;
523 typedef void DestructorSkippable_;
524 struct Impl_ {
525 ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
526 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
527 ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr name_;
529 };
530 union { Impl_ _impl_; };
531 friend struct ::TableStruct_goby_2fmiddleware_2fprotobuf_2fgeographic_2eproto;
532};
533// -------------------------------------------------------------------
534
535class Route final :
536 public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:goby.middleware.protobuf.Route) */ {
537 public:
538 inline Route() : Route(nullptr) {}
539 ~Route() override;
540 explicit PROTOBUF_CONSTEXPR Route(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
541
542 Route(const Route& from);
543 Route(Route&& from) noexcept
544 : Route() {
545 *this = ::std::move(from);
546 }
547
548 inline Route& operator=(const Route& from) {
549 CopyFrom(from);
550 return *this;
551 }
552 inline Route& operator=(Route&& from) noexcept {
553 if (this == &from) return *this;
554 if (GetOwningArena() == from.GetOwningArena()
555 #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
556 && GetOwningArena() != nullptr
557 #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
558 ) {
559 InternalSwap(&from);
560 } else {
561 CopyFrom(from);
562 }
563 return *this;
564 }
565
566 inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const {
567 return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance);
568 }
569 inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() {
570 return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
571 }
572
573 static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
574 return GetDescriptor();
575 }
576 static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
577 return default_instance().GetMetadata().descriptor;
578 }
579 static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
580 return default_instance().GetMetadata().reflection;
581 }
582 static const Route& default_instance() {
583 return *internal_default_instance();
584 }
585 static inline const Route* internal_default_instance() {
586 return reinterpret_cast<const Route*>(
588 }
589 static constexpr int kIndexInFileMessages =
590 2;
591
592 friend void swap(Route& a, Route& b) {
593 a.Swap(&b);
594 }
595 inline void Swap(Route* other) {
596 if (other == this) return;
597 #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
598 if (GetOwningArena() != nullptr &&
599 GetOwningArena() == other->GetOwningArena()) {
600 #else // PROTOBUF_FORCE_COPY_IN_SWAP
601 if (GetOwningArena() == other->GetOwningArena()) {
602 #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
603 InternalSwap(other);
604 } else {
605 ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
606 }
607 }
608 void UnsafeArenaSwap(Route* other) {
609 if (other == this) return;
610 GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
611 InternalSwap(other);
612 }
613
614 // implements Message ----------------------------------------------
615
616 Route* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
617 return CreateMaybeMessage<Route>(arena);
618 }
619 using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
620 void CopyFrom(const Route& from);
621 using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
622 void MergeFrom( const Route& from) {
623 Route::MergeImpl(*this, from);
624 }
625 private:
626 static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg);
627 public:
628 PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
629 bool IsInitialized() const final;
630
631 size_t ByteSizeLong() const final;
632 const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
633 uint8_t* _InternalSerialize(
634 uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
635 int GetCachedSize() const final { return _impl_._cached_size_.Get(); }
636
637 private:
638 void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned);
639 void SharedDtor();
640 void SetCachedSize(int size) const final;
641 void InternalSwap(Route* other);
642
643 private:
644 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
645 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
646 return "goby.middleware.protobuf.Route";
647 }
648 protected:
649 explicit Route(::PROTOBUF_NAMESPACE_ID::Arena* arena,
650 bool is_message_owned = false);
651 public:
652
653 static const ClassData _class_data_;
654 const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
655
656 ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
657
658 // nested types ----------------------------------------------------
659
660 // accessors -------------------------------------------------------
661
662 enum : int {
663 kPointFieldNumber = 2,
664 kNameFieldNumber = 1,
665 };
666 // repeated .goby.middleware.protobuf.Waypoint point = 2;
667 int point_size() const;
668 private:
669 int _internal_point_size() const;
670 public:
671 void clear_point();
672 ::goby::middleware::protobuf::Waypoint* mutable_point(int index);
673 ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::goby::middleware::protobuf::Waypoint >*
674 mutable_point();
675 private:
676 const ::goby::middleware::protobuf::Waypoint& _internal_point(int index) const;
677 ::goby::middleware::protobuf::Waypoint* _internal_add_point();
678 public:
679 const ::goby::middleware::protobuf::Waypoint& point(int index) const;
681 const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::goby::middleware::protobuf::Waypoint >&
682 point() const;
683
684 // optional string name = 1;
685 bool has_name() const;
686 private:
687 bool _internal_has_name() const;
688 public:
689 void clear_name();
690 const std::string& name() const;
691 template <typename ArgT0 = const std::string&, typename... ArgT>
692 void set_name(ArgT0&& arg0, ArgT... args);
693 std::string* mutable_name();
694 PROTOBUF_NODISCARD std::string* release_name();
695 void set_allocated_name(std::string* name);
696 private:
697 const std::string& _internal_name() const;
698 inline PROTOBUF_ALWAYS_INLINE void _internal_set_name(const std::string& value);
699 std::string* _internal_mutable_name();
700 public:
701
702 // @@protoc_insertion_point(class_scope:goby.middleware.protobuf.Route)
703 private:
704 class _Internal;
705
706 template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
707 typedef void InternalArenaConstructable_;
708 typedef void DestructorSkippable_;
709 struct Impl_ {
710 ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
711 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
712 ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::goby::middleware::protobuf::Waypoint > point_;
713 ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr name_;
714 };
715 union { Impl_ _impl_; };
716 friend struct ::TableStruct_goby_2fmiddleware_2fprotobuf_2fgeographic_2eproto;
717};
718// ===================================================================
719
720
721// ===================================================================
722
723#ifdef __GNUC__
724 #pragma GCC diagnostic push
725 #pragma GCC diagnostic ignored "-Wstrict-aliasing"
726#endif // __GNUC__
727// LatLonPoint
728
729// required double lat = 1 [(.dccl.field) = {
730inline bool LatLonPoint::_internal_has_lat() const {
731 bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0;
732 return value;
733}
734inline bool LatLonPoint::has_lat() const {
735 return _internal_has_lat();
736}
737inline void LatLonPoint::clear_lat() {
738 _impl_.lat_ = 0;
739 _impl_._has_bits_[0] &= ~0x00000001u;
740}
741inline double LatLonPoint::_internal_lat() const {
742 return _impl_.lat_;
743}
744inline double LatLonPoint::lat() const {
745 // @@protoc_insertion_point(field_get:goby.middleware.protobuf.LatLonPoint.lat)
746 return _internal_lat();
747}
748inline void LatLonPoint::_internal_set_lat(double value) {
749 _impl_._has_bits_[0] |= 0x00000001u;
750 _impl_.lat_ = value;
751}
752inline void LatLonPoint::set_lat(double value) {
753 _internal_set_lat(value);
754 // @@protoc_insertion_point(field_set:goby.middleware.protobuf.LatLonPoint.lat)
755}
756
757// required double lon = 2 [(.dccl.field) = {
758inline bool LatLonPoint::_internal_has_lon() const {
759 bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0;
760 return value;
761}
762inline bool LatLonPoint::has_lon() const {
763 return _internal_has_lon();
764}
765inline void LatLonPoint::clear_lon() {
766 _impl_.lon_ = 0;
767 _impl_._has_bits_[0] &= ~0x00000002u;
768}
769inline double LatLonPoint::_internal_lon() const {
770 return _impl_.lon_;
771}
772inline double LatLonPoint::lon() const {
773 // @@protoc_insertion_point(field_get:goby.middleware.protobuf.LatLonPoint.lon)
774 return _internal_lon();
775}
776inline void LatLonPoint::_internal_set_lon(double value) {
777 _impl_._has_bits_[0] |= 0x00000002u;
778 _impl_.lon_ = value;
779}
780inline void LatLonPoint::set_lon(double value) {
781 _internal_set_lon(value);
782 // @@protoc_insertion_point(field_set:goby.middleware.protobuf.LatLonPoint.lon)
783}
784
785// optional double depth = 3 [default = 0, (.dccl.field) = {
786inline bool LatLonPoint::_internal_has_depth() const {
787 bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0;
788 return value;
789}
790inline bool LatLonPoint::has_depth() const {
791 return _internal_has_depth();
792}
793inline void LatLonPoint::clear_depth() {
794 _impl_.depth_ = 0;
795 _impl_._has_bits_[0] &= ~0x00000004u;
796}
797inline double LatLonPoint::_internal_depth() const {
798 return _impl_.depth_;
799}
800inline double LatLonPoint::depth() const {
801 // @@protoc_insertion_point(field_get:goby.middleware.protobuf.LatLonPoint.depth)
802 return _internal_depth();
803}
804inline void LatLonPoint::_internal_set_depth(double value) {
805 _impl_._has_bits_[0] |= 0x00000004u;
806 _impl_.depth_ = value;
807}
808inline void LatLonPoint::set_depth(double value) {
809 _internal_set_depth(value);
810 // @@protoc_insertion_point(field_set:goby.middleware.protobuf.LatLonPoint.depth)
811}
812
813// optional double altitude = 4 [default = nan, (.dccl.field) = {
814inline bool LatLonPoint::_internal_has_altitude() const {
815 bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0;
816 return value;
817}
818inline bool LatLonPoint::has_altitude() const {
819 return _internal_has_altitude();
820}
821inline void LatLonPoint::clear_altitude() {
822 _impl_.altitude_ = std::numeric_limits<double>::quiet_NaN();
823 _impl_._has_bits_[0] &= ~0x00000008u;
824}
825inline double LatLonPoint::_internal_altitude() const {
826 return _impl_.altitude_;
827}
828inline double LatLonPoint::altitude() const {
829 // @@protoc_insertion_point(field_get:goby.middleware.protobuf.LatLonPoint.altitude)
830 return _internal_altitude();
831}
832inline void LatLonPoint::_internal_set_altitude(double value) {
833 _impl_._has_bits_[0] |= 0x00000008u;
834 _impl_.altitude_ = value;
835}
836inline void LatLonPoint::set_altitude(double value) {
837 _internal_set_altitude(value);
838 // @@protoc_insertion_point(field_set:goby.middleware.protobuf.LatLonPoint.altitude)
839}
840
841// -------------------------------------------------------------------
842
843// Waypoint
844
845// optional string name = 1;
846inline bool Waypoint::_internal_has_name() const {
847 bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0;
848 return value;
849}
850inline bool Waypoint::has_name() const {
851 return _internal_has_name();
852}
853inline void Waypoint::clear_name() {
854 _impl_.name_.ClearToEmpty();
855 _impl_._has_bits_[0] &= ~0x00000001u;
856}
857inline const std::string& Waypoint::name() const {
858 // @@protoc_insertion_point(field_get:goby.middleware.protobuf.Waypoint.name)
859 return _internal_name();
860}
861template <typename ArgT0, typename... ArgT>
862inline PROTOBUF_ALWAYS_INLINE
863void Waypoint::set_name(ArgT0&& arg0, ArgT... args) {
864 _impl_._has_bits_[0] |= 0x00000001u;
865 _impl_.name_.Set(static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
866 // @@protoc_insertion_point(field_set:goby.middleware.protobuf.Waypoint.name)
867}
868inline std::string* Waypoint::mutable_name() {
869 std::string* _s = _internal_mutable_name();
870 // @@protoc_insertion_point(field_mutable:goby.middleware.protobuf.Waypoint.name)
871 return _s;
872}
873inline const std::string& Waypoint::_internal_name() const {
874 return _impl_.name_.Get();
875}
876inline void Waypoint::_internal_set_name(const std::string& value) {
877 _impl_._has_bits_[0] |= 0x00000001u;
878 _impl_.name_.Set(value, GetArenaForAllocation());
879}
880inline std::string* Waypoint::_internal_mutable_name() {
881 _impl_._has_bits_[0] |= 0x00000001u;
882 return _impl_.name_.Mutable(GetArenaForAllocation());
883}
884inline std::string* Waypoint::release_name() {
885 // @@protoc_insertion_point(field_release:goby.middleware.protobuf.Waypoint.name)
886 if (!_internal_has_name()) {
887 return nullptr;
888 }
889 _impl_._has_bits_[0] &= ~0x00000001u;
890 auto* p = _impl_.name_.Release();
891#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
892 if (_impl_.name_.IsDefault()) {
893 _impl_.name_.Set("", GetArenaForAllocation());
894 }
895#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
896 return p;
897}
898inline void Waypoint::set_allocated_name(std::string* name) {
899 if (name != nullptr) {
900 _impl_._has_bits_[0] |= 0x00000001u;
901 } else {
902 _impl_._has_bits_[0] &= ~0x00000001u;
903 }
904 _impl_.name_.SetAllocated(name, GetArenaForAllocation());
905#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
906 if (_impl_.name_.IsDefault()) {
907 _impl_.name_.Set("", GetArenaForAllocation());
908 }
909#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
910 // @@protoc_insertion_point(field_set_allocated:goby.middleware.protobuf.Waypoint.name)
911}
912
913// required .goby.middleware.protobuf.LatLonPoint location = 2;
914inline bool Waypoint::_internal_has_location() const {
915 bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0;
916 PROTOBUF_ASSUME(!value || _impl_.location_ != nullptr);
917 return value;
918}
919inline bool Waypoint::has_location() const {
920 return _internal_has_location();
921}
922inline void Waypoint::clear_location() {
923 if (_impl_.location_ != nullptr) _impl_.location_->Clear();
924 _impl_._has_bits_[0] &= ~0x00000002u;
925}
926inline const ::goby::middleware::protobuf::LatLonPoint& Waypoint::_internal_location() const {
927 const ::goby::middleware::protobuf::LatLonPoint* p = _impl_.location_;
928 return p != nullptr ? *p : reinterpret_cast<const ::goby::middleware::protobuf::LatLonPoint&>(
930}
931inline const ::goby::middleware::protobuf::LatLonPoint& Waypoint::location() const {
932 // @@protoc_insertion_point(field_get:goby.middleware.protobuf.Waypoint.location)
933 return _internal_location();
934}
935inline void Waypoint::unsafe_arena_set_allocated_location(
937 if (GetArenaForAllocation() == nullptr) {
938 delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.location_);
939 }
940 _impl_.location_ = location;
941 if (location) {
942 _impl_._has_bits_[0] |= 0x00000002u;
943 } else {
944 _impl_._has_bits_[0] &= ~0x00000002u;
945 }
946 // @@protoc_insertion_point(field_unsafe_arena_set_allocated:goby.middleware.protobuf.Waypoint.location)
947}
948inline ::goby::middleware::protobuf::LatLonPoint* Waypoint::release_location() {
949 _impl_._has_bits_[0] &= ~0x00000002u;
950 ::goby::middleware::protobuf::LatLonPoint* temp = _impl_.location_;
951 _impl_.location_ = nullptr;
952#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
953 auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp);
954 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
955 if (GetArenaForAllocation() == nullptr) { delete old; }
956#else // PROTOBUF_FORCE_COPY_IN_RELEASE
957 if (GetArenaForAllocation() != nullptr) {
958 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
959 }
960#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE
961 return temp;
962}
963inline ::goby::middleware::protobuf::LatLonPoint* Waypoint::unsafe_arena_release_location() {
964 // @@protoc_insertion_point(field_release:goby.middleware.protobuf.Waypoint.location)
965 _impl_._has_bits_[0] &= ~0x00000002u;
966 ::goby::middleware::protobuf::LatLonPoint* temp = _impl_.location_;
967 _impl_.location_ = nullptr;
968 return temp;
969}
970inline ::goby::middleware::protobuf::LatLonPoint* Waypoint::_internal_mutable_location() {
971 _impl_._has_bits_[0] |= 0x00000002u;
972 if (_impl_.location_ == nullptr) {
973 auto* p = CreateMaybeMessage<::goby::middleware::protobuf::LatLonPoint>(GetArenaForAllocation());
974 _impl_.location_ = p;
975 }
976 return _impl_.location_;
977}
978inline ::goby::middleware::protobuf::LatLonPoint* Waypoint::mutable_location() {
979 ::goby::middleware::protobuf::LatLonPoint* _msg = _internal_mutable_location();
980 // @@protoc_insertion_point(field_mutable:goby.middleware.protobuf.Waypoint.location)
981 return _msg;
982}
983inline void Waypoint::set_allocated_location(::goby::middleware::protobuf::LatLonPoint* location) {
984 ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
985 if (message_arena == nullptr) {
986 delete _impl_.location_;
987 }
988 if (location) {
989 ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
990 ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(location);
991 if (message_arena != submessage_arena) {
992 location = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
993 message_arena, location, submessage_arena);
994 }
995 _impl_._has_bits_[0] |= 0x00000002u;
996 } else {
997 _impl_._has_bits_[0] &= ~0x00000002u;
998 }
999 _impl_.location_ = location;
1000 // @@protoc_insertion_point(field_set_allocated:goby.middleware.protobuf.Waypoint.location)
1001}
1002
1003// -------------------------------------------------------------------
1004
1005// Route
1006
1007// optional string name = 1;
1008inline bool Route::_internal_has_name() const {
1009 bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0;
1010 return value;
1011}
1012inline bool Route::has_name() const {
1013 return _internal_has_name();
1014}
1015inline void Route::clear_name() {
1016 _impl_.name_.ClearToEmpty();
1017 _impl_._has_bits_[0] &= ~0x00000001u;
1018}
1019inline const std::string& Route::name() const {
1020 // @@protoc_insertion_point(field_get:goby.middleware.protobuf.Route.name)
1021 return _internal_name();
1022}
1023template <typename ArgT0, typename... ArgT>
1024inline PROTOBUF_ALWAYS_INLINE
1025void Route::set_name(ArgT0&& arg0, ArgT... args) {
1026 _impl_._has_bits_[0] |= 0x00000001u;
1027 _impl_.name_.Set(static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
1028 // @@protoc_insertion_point(field_set:goby.middleware.protobuf.Route.name)
1029}
1030inline std::string* Route::mutable_name() {
1031 std::string* _s = _internal_mutable_name();
1032 // @@protoc_insertion_point(field_mutable:goby.middleware.protobuf.Route.name)
1033 return _s;
1034}
1035inline const std::string& Route::_internal_name() const {
1036 return _impl_.name_.Get();
1037}
1038inline void Route::_internal_set_name(const std::string& value) {
1039 _impl_._has_bits_[0] |= 0x00000001u;
1040 _impl_.name_.Set(value, GetArenaForAllocation());
1041}
1042inline std::string* Route::_internal_mutable_name() {
1043 _impl_._has_bits_[0] |= 0x00000001u;
1044 return _impl_.name_.Mutable(GetArenaForAllocation());
1045}
1046inline std::string* Route::release_name() {
1047 // @@protoc_insertion_point(field_release:goby.middleware.protobuf.Route.name)
1048 if (!_internal_has_name()) {
1049 return nullptr;
1050 }
1051 _impl_._has_bits_[0] &= ~0x00000001u;
1052 auto* p = _impl_.name_.Release();
1053#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
1054 if (_impl_.name_.IsDefault()) {
1055 _impl_.name_.Set("", GetArenaForAllocation());
1056 }
1057#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
1058 return p;
1059}
1060inline void Route::set_allocated_name(std::string* name) {
1061 if (name != nullptr) {
1062 _impl_._has_bits_[0] |= 0x00000001u;
1063 } else {
1064 _impl_._has_bits_[0] &= ~0x00000001u;
1065 }
1066 _impl_.name_.SetAllocated(name, GetArenaForAllocation());
1067#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
1068 if (_impl_.name_.IsDefault()) {
1069 _impl_.name_.Set("", GetArenaForAllocation());
1070 }
1071#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
1072 // @@protoc_insertion_point(field_set_allocated:goby.middleware.protobuf.Route.name)
1073}
1074
1075// repeated .goby.middleware.protobuf.Waypoint point = 2;
1076inline int Route::_internal_point_size() const {
1077 return _impl_.point_.size();
1078}
1079inline int Route::point_size() const {
1080 return _internal_point_size();
1081}
1082inline void Route::clear_point() {
1083 _impl_.point_.Clear();
1084}
1085inline ::goby::middleware::protobuf::Waypoint* Route::mutable_point(int index) {
1086 // @@protoc_insertion_point(field_mutable:goby.middleware.protobuf.Route.point)
1087 return _impl_.point_.Mutable(index);
1088}
1089inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::goby::middleware::protobuf::Waypoint >*
1090Route::mutable_point() {
1091 // @@protoc_insertion_point(field_mutable_list:goby.middleware.protobuf.Route.point)
1092 return &_impl_.point_;
1093}
1094inline const ::goby::middleware::protobuf::Waypoint& Route::_internal_point(int index) const {
1095 return _impl_.point_.Get(index);
1096}
1097inline const ::goby::middleware::protobuf::Waypoint& Route::point(int index) const {
1098 // @@protoc_insertion_point(field_get:goby.middleware.protobuf.Route.point)
1099 return _internal_point(index);
1100}
1101inline ::goby::middleware::protobuf::Waypoint* Route::_internal_add_point() {
1102 return _impl_.point_.Add();
1103}
1104inline ::goby::middleware::protobuf::Waypoint* Route::add_point() {
1105 ::goby::middleware::protobuf::Waypoint* _add = _internal_add_point();
1106 // @@protoc_insertion_point(field_add:goby.middleware.protobuf.Route.point)
1107 return _add;
1108}
1109inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::goby::middleware::protobuf::Waypoint >&
1110Route::point() const {
1111 // @@protoc_insertion_point(field_list:goby.middleware.protobuf.Route.point)
1112 return _impl_.point_;
1113}
1114
1115#ifdef __GNUC__
1116 #pragma GCC diagnostic pop
1117#endif // __GNUC__
1118// -------------------------------------------------------------------
1119
1120// -------------------------------------------------------------------
1121
1122
1123// @@protoc_insertion_point(namespace_scope)
1124
1125} // namespace protobuf
1126} // namespace middleware
1127} // namespace goby
1128
1129// @@protoc_insertion_point(global_scope)
1130
1131#include <google/protobuf/port_undef.inc>
1132#endif // GOOGLE_PROTOBUF_INCLUDED_GOOGLE_PROTOBUF_INCLUDED_goby_2fmiddleware_2fprotobuf_2fgeographic_2eproto
const char * _InternalParse(const char *ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext *ctx) final
boost::units::length_dimension altitude_dimension
LatLonPoint & operator=(const LatLonPoint &from)
boost::units::quantity< altitude_unit, double > altitude_with_units() const
boost::units::length_dimension depth_dimension
void set_lat_with_units(Quantity value_w_units)
uint8_t * _InternalSerialize(uint8_t *target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream *stream) const final
LatLonPoint(LatLonPoint &&from) noexcept
void UnsafeArenaSwap(LatLonPoint *other)
LatLonPoint & operator=(LatLonPoint &&from) noexcept
void CopyFrom(const LatLonPoint &from)
boost::units::plane_angle_dimension lat_dimension
static const LatLonPoint & default_instance()
boost::units::unit< altitude_dimension, boost::units::si::system > altitude_unit
boost::units::quantity< lon_unit, double > lon_with_units() const
void MergeFrom(const LatLonPoint &from)
::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * descriptor()
LatLonPoint * New(::PROTOBUF_NAMESPACE_ID::Arena *arena=nullptr) const final
void set_lon_with_units(Quantity value_w_units)
LatLonPoint(::PROTOBUF_NAMESPACE_ID::Arena *arena, bool is_message_owned=false)
boost::units::unit< depth_dimension, boost::units::si::system > depth_unit
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final
boost::units::quantity< lat_unit, double > lat_with_units() const
boost::units::quantity< depth_unit, double > depth_with_units() const
friend void swap(LatLonPoint &a, LatLonPoint &b)
boost::units::unit< lat_dimension, boost::units::degree::system > lat_unit
inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet * mutable_unknown_fields()
const ::PROTOBUF_NAMESPACE_ID::Message::ClassData * GetClassData() const final
boost::units::plane_angle_dimension lon_dimension
const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet & unknown_fields() const
PROTOBUF_CONSTEXPR LatLonPoint(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized)
void set_altitude_with_units(Quantity value_w_units)
void set_depth_with_units(Quantity value_w_units)
boost::units::unit< lon_dimension, boost::units::degree::system > lon_unit
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * GetDescriptor()
static const ::PROTOBUF_NAMESPACE_ID::Reflection * GetReflection()
LatLonPoint(const LatLonPoint &from)
static const LatLonPoint * internal_default_instance()
void CopyFrom(const Route &from)
const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet & unknown_fields() const
friend void swap(Route &a, Route &b)
Route(::PROTOBUF_NAMESPACE_ID::Arena *arena, bool is_message_owned=false)
void MergeFrom(const Route &from)
void set_name(ArgT0 &&arg0, ArgT... args)
Route & operator=(Route &&from) noexcept
static const Route * internal_default_instance()
static const ::PROTOBUF_NAMESPACE_ID::Reflection * GetReflection()
inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet * mutable_unknown_fields()
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * descriptor()
PROTOBUF_CONSTEXPR Route(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized)
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * GetDescriptor()
static const Route & default_instance()
Route * New(::PROTOBUF_NAMESPACE_ID::Arena *arena=nullptr) const final
static const ClassData _class_data_
Route & operator=(const Route &from)
const ::PROTOBUF_NAMESPACE_ID::Message::ClassData * GetClassData() const final
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final
static const ::PROTOBUF_NAMESPACE_ID::Reflection * GetReflection()
void CopyFrom(const Waypoint &from)
static const Waypoint * internal_default_instance()
void set_name(ArgT0 &&arg0, ArgT... args)
static const Waypoint & default_instance()
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * GetDescriptor()
const ::PROTOBUF_NAMESPACE_ID::Message::ClassData * GetClassData() const final
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final
const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet & unknown_fields() const
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * descriptor()
Waypoint & operator=(const Waypoint &from)
void MergeFrom(const Waypoint &from)
Waypoint(::PROTOBUF_NAMESPACE_ID::Arena *arena, bool is_message_owned=false)
Waypoint & operator=(Waypoint &&from) noexcept
void UnsafeArenaSwap(Waypoint *other)
PROTOBUF_CONSTEXPR Waypoint(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized)
Waypoint(Waypoint &&from) noexcept
static const ClassData _class_data_
Waypoint * New(::PROTOBUF_NAMESPACE_ID::Arena *arena=nullptr) const final
inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet * mutable_unknown_fields()
friend void swap(Waypoint &a, Waypoint &b)
PROTOBUF_NAMESPACE_OPEN ::goby::middleware::protobuf::LatLonPoint * Arena::CreateMaybeMessage<::goby::middleware::protobuf::LatLonPoint >(Arena *)
const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable descriptor_table_goby_2fmiddleware_2fprotobuf_2fgeographic_2eproto
LatLonPointDefaultTypeInternal _LatLonPoint_default_instance_
RouteDefaultTypeInternal _Route_default_instance_
WaypointDefaultTypeInternal _Waypoint_default_instance_
The global namespace for the Goby project.
#define ByteSizeLong