Goby3  3.1.5a
2024.05.23
navigation.pb.h
Go to the documentation of this file.
1 // Generated by the protocol buffer compiler. DO NOT EDIT!
2 // source: goby/middleware/protobuf/navigation.proto
3 
4 #ifndef PROTOBUF_INCLUDED_goby_2fmiddleware_2fprotobuf_2fnavigation_2eproto
5 #define PROTOBUF_INCLUDED_goby_2fmiddleware_2fprotobuf_2fnavigation_2eproto
6 
7 #include <string>
8 
9 #include <google/protobuf/stubs/common.h>
10 
11 #if GOOGLE_PROTOBUF_VERSION < 3006001
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 3006001 < GOOGLE_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/io/coded_stream.h>
23 #include <google/protobuf/arena.h>
24 #include <google/protobuf/arenastring.h>
25 #include <google/protobuf/generated_message_table_driven.h>
26 #include <google/protobuf/generated_message_util.h>
27 #include <google/protobuf/inlined_string_field.h>
28 #include <google/protobuf/metadata.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"
35 #include <boost/units/quantity.hpp>
36 #include <boost/units/absolute.hpp>
37 #include <boost/units/dimensionless_type.hpp>
38 #include <boost/units/make_scaled_unit.hpp>
39 
40 #include <boost/units/systems/si.hpp>
41 // @@protoc_insertion_point(includes)
42 #define PROTOBUF_INTERNAL_EXPORT_protobuf_goby_2fmiddleware_2fprotobuf_2fnavigation_2eproto
43 
45 // Internal implementation detail -- do not use these members.
46 struct TableStruct {
47  static const ::google::protobuf::internal::ParseTableField entries[];
48  static const ::google::protobuf::internal::AuxillaryParseTableField aux[];
49  static const ::google::protobuf::internal::ParseTable schema[1];
50  static const ::google::protobuf::internal::FieldMetadata field_metadata[];
51  static const ::google::protobuf::internal::SerializationTable serialization_table[];
53 };
54 void AddDescriptors();
55 } // namespace protobuf_goby_2fmiddleware_2fprotobuf_2fnavigation_2eproto
56 namespace goby {
57 namespace middleware {
58 namespace protobuf {
59 class DatumUpdate;
60 class DatumUpdateDefaultTypeInternal;
61 extern DatumUpdateDefaultTypeInternal _DatumUpdate_default_instance_;
62 } // namespace protobuf
63 } // namespace middleware
64 } // namespace goby
65 namespace google {
66 namespace protobuf {
67 template<> ::goby::middleware::protobuf::DatumUpdate* Arena::CreateMaybeMessage<::goby::middleware::protobuf::DatumUpdate>(Arena*);
68 } // namespace protobuf
69 } // namespace google
70 namespace goby {
71 namespace middleware {
72 namespace protobuf {
73 
74 // ===================================================================
75 
76 class DatumUpdate : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:goby.middleware.protobuf.DatumUpdate) */ {
77  public:
78  DatumUpdate();
79  virtual ~DatumUpdate();
80 
81  DatumUpdate(const DatumUpdate& from);
82 
83  inline DatumUpdate& operator=(const DatumUpdate& from) {
84  CopyFrom(from);
85  return *this;
86  }
87  #if LANG_CXX11
88  DatumUpdate(DatumUpdate&& from) noexcept
89  : DatumUpdate() {
90  *this = ::std::move(from);
91  }
92 
93  inline DatumUpdate& operator=(DatumUpdate&& from) noexcept {
94  if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
95  if (this != &from) InternalSwap(&from);
96  } else {
97  CopyFrom(from);
98  }
99  return *this;
100  }
101  #endif
102  inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
103  return _internal_metadata_.unknown_fields();
104  }
105  inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
106  return _internal_metadata_.mutable_unknown_fields();
107  }
108 
109  static const ::google::protobuf::Descriptor* descriptor();
110  static const DatumUpdate& default_instance();
111 
112  static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
113  static inline const DatumUpdate* internal_default_instance() {
114  return reinterpret_cast<const DatumUpdate*>(
116  }
117  static constexpr int kIndexInFileMessages =
118  0;
119 
120  void Swap(DatumUpdate* other);
121  friend void swap(DatumUpdate& a, DatumUpdate& b) {
122  a.Swap(&b);
123  }
124 
125  // implements Message ----------------------------------------------
126 
127  inline DatumUpdate* New() const final {
128  return CreateMaybeMessage<DatumUpdate>(NULL);
129  }
130 
131  DatumUpdate* New(::google::protobuf::Arena* arena) const final {
132  return CreateMaybeMessage<DatumUpdate>(arena);
133  }
134  void CopyFrom(const ::google::protobuf::Message& from) final;
135  void MergeFrom(const ::google::protobuf::Message& from) final;
136  void CopyFrom(const DatumUpdate& from);
137  void MergeFrom(const DatumUpdate& from);
138  void Clear() final;
139  bool IsInitialized() const final;
140 
141  size_t ByteSizeLong() const final;
143  ::google::protobuf::io::CodedInputStream* input) final;
145  ::google::protobuf::io::CodedOutputStream* output) const final;
147  bool deterministic, ::google::protobuf::uint8* target) const final;
148  int GetCachedSize() const final { return _cached_size_.Get(); }
149 
150  private:
151  void SharedCtor();
152  void SharedDtor();
153  void SetCachedSize(int size) const final;
154  void InternalSwap(DatumUpdate* other);
155  private:
156  inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
157  return NULL;
158  }
159  inline void* MaybeArenaPtr() const {
160  return NULL;
161  }
162  public:
163 
165 
166  // nested types ----------------------------------------------------
167 
168  // accessors -------------------------------------------------------
169 
170  // required .goby.middleware.protobuf.LatLonPoint datum = 1;
171  bool has_datum() const;
172  void clear_datum();
173  static const int kDatumFieldNumber = 1;
174  private:
175  const ::goby::middleware::protobuf::LatLonPoint& _internal_datum() const;
176  public:
177  const ::goby::middleware::protobuf::LatLonPoint& datum() const;
178  ::goby::middleware::protobuf::LatLonPoint* release_datum();
179  ::goby::middleware::protobuf::LatLonPoint* mutable_datum();
180  void set_allocated_datum(::goby::middleware::protobuf::LatLonPoint* datum);
181 
182  // @@protoc_insertion_point(class_scope:goby.middleware.protobuf.DatumUpdate)
183  private:
184  void set_has_datum();
185  void clear_has_datum();
186 
187  ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
188  ::google::protobuf::internal::HasBits<1> _has_bits_;
189  mutable ::google::protobuf::internal::CachedSize _cached_size_;
190  ::goby::middleware::protobuf::LatLonPoint* datum_;
192 };
193 // ===================================================================
194 
195 
196 // ===================================================================
197 
198 #ifdef __GNUC__
199  #pragma GCC diagnostic push
200  #pragma GCC diagnostic ignored "-Wstrict-aliasing"
201 #endif // __GNUC__
202 // DatumUpdate
203 
204 // required .goby.middleware.protobuf.LatLonPoint datum = 1;
205 inline bool DatumUpdate::has_datum() const {
206  return (_has_bits_[0] & 0x00000001u) != 0;
207 }
208 inline void DatumUpdate::set_has_datum() {
209  _has_bits_[0] |= 0x00000001u;
210 }
211 inline void DatumUpdate::clear_has_datum() {
212  _has_bits_[0] &= ~0x00000001u;
213 }
214 inline const ::goby::middleware::protobuf::LatLonPoint& DatumUpdate::_internal_datum() const {
215  return *datum_;
216 }
217 inline const ::goby::middleware::protobuf::LatLonPoint& DatumUpdate::datum() const {
218  const ::goby::middleware::protobuf::LatLonPoint* p = datum_;
219  // @@protoc_insertion_point(field_get:goby.middleware.protobuf.DatumUpdate.datum)
220  return p != NULL ? *p : *reinterpret_cast<const ::goby::middleware::protobuf::LatLonPoint*>(
222 }
223 inline ::goby::middleware::protobuf::LatLonPoint* DatumUpdate::release_datum() {
224  // @@protoc_insertion_point(field_release:goby.middleware.protobuf.DatumUpdate.datum)
225  clear_has_datum();
227  datum_ = NULL;
228  return temp;
229 }
230 inline ::goby::middleware::protobuf::LatLonPoint* DatumUpdate::mutable_datum() {
231  set_has_datum();
232  if (datum_ == NULL) {
233  auto* p = CreateMaybeMessage<::goby::middleware::protobuf::LatLonPoint>(GetArenaNoVirtual());
234  datum_ = p;
235  }
236  // @@protoc_insertion_point(field_mutable:goby.middleware.protobuf.DatumUpdate.datum)
237  return datum_;
238 }
240  ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
241  if (message_arena == NULL) {
242  delete reinterpret_cast< ::google::protobuf::MessageLite*>(datum_);
243  }
244  if (datum) {
245  ::google::protobuf::Arena* submessage_arena = NULL;
246  if (message_arena != submessage_arena) {
247  datum = ::google::protobuf::internal::GetOwnedMessage(
248  message_arena, datum, submessage_arena);
249  }
250  set_has_datum();
251  } else {
252  clear_has_datum();
253  }
254  datum_ = datum;
255  // @@protoc_insertion_point(field_set_allocated:goby.middleware.protobuf.DatumUpdate.datum)
256 }
257 
258 #ifdef __GNUC__
259  #pragma GCC diagnostic pop
260 #endif // __GNUC__
261 
262 // @@protoc_insertion_point(namespace_scope)
263 
264 } // namespace protobuf
265 } // namespace middleware
266 } // namespace goby
267 
268 // @@protoc_insertion_point(global_scope)
269 
270 #endif // PROTOBUF_INCLUDED_goby_2fmiddleware_2fprotobuf_2fnavigation_2eproto
protobuf_goby_2fmiddleware_2fprotobuf_2fnavigation_2eproto::AddDescriptors
void AddDescriptors()
goby::middleware::protobuf::DatumUpdate::kDatumFieldNumber
static const int kDatumFieldNumber
Definition: navigation.pb.h:173
goby::middleware::protobuf::DatumUpdate::MergeFrom
void MergeFrom(const ::google::protobuf::Message &from) final
goby::middleware::protobuf::DatumUpdate::release_datum
::goby::middleware::protobuf::LatLonPoint * release_datum()
Definition: navigation.pb.h:223
goby::middleware::protobuf::DatumUpdate::clear_datum
void clear_datum()
goby
The global namespace for the Goby project.
Definition: acomms_constants.h:33
goby::middleware::protobuf::DatumUpdate::New
DatumUpdate * New() const final
Definition: navigation.pb.h:127
goby::middleware::protobuf::DatumUpdate::kIndexInFileMessages
static constexpr int kIndexInFileMessages
Definition: navigation.pb.h:117
goby::middleware::protobuf::_LatLonPoint_default_instance_
LatLonPointDefaultTypeInternal _LatLonPoint_default_instance_
protobuf_goby_2fmiddleware_2fprotobuf_2fnavigation_2eproto::TableStruct
Definition: navigation.pb.h:46
goby::middleware::protobuf::DatumUpdate::InternalSerializeWithCachedSizesToArray
::google::protobuf::uint8 * InternalSerializeWithCachedSizesToArray(bool deterministic, ::google::protobuf::uint8 *target) const final
goby::middleware::protobuf::DatumUpdate::set_allocated_datum
void set_allocated_datum(::goby::middleware::protobuf::LatLonPoint *datum)
Definition: navigation.pb.h:239
google::protobuf::MessageLite
Definition: message_lite.h:164
goby::middleware::protobuf::DatumUpdate::SerializeWithCachedSizes
void SerializeWithCachedSizes(::google::protobuf::io::CodedOutputStream *output) const final
google::protobuf::Arena
Definition: arena.h:244
goby::middleware::protobuf::DatumUpdate::descriptor
static const ::google::protobuf::Descriptor * descriptor()
goby::middleware::protobuf::DatumUpdate::~DatumUpdate
virtual ~DatumUpdate()
protobuf_goby_2fmiddleware_2fprotobuf_2fnavigation_2eproto::TableStruct::offsets
static const ::google::protobuf::uint32 offsets[]
Definition: navigation.pb.h:52
geographic.pb.h
goby::middleware::protobuf::DatumUpdate::mutable_datum
::goby::middleware::protobuf::LatLonPoint * mutable_datum()
Definition: navigation.pb.h:230
goby::middleware::protobuf::DatumUpdate::mutable_unknown_fields
inline ::google::protobuf::UnknownFieldSet * mutable_unknown_fields()
Definition: navigation.pb.h:105
message.h
goby::middleware::protobuf::DatumUpdate::CopyFrom
void CopyFrom(const ::google::protobuf::Message &from) final
goby::middleware::protobuf::DatumUpdate::Clear
void Clear() final
goby::uint32
std::uint32_t uint32
Definition: primitive_types.h:32
goby::middleware::protobuf::DatumUpdate::InitAsDefaultInstance
static void InitAsDefaultInstance()
goby::middleware::protobuf::DatumUpdate::ByteSizeLong
size_t ByteSizeLong() const final
goby::middleware::protobuf::DatumUpdate::swap
friend void swap(DatumUpdate &a, DatumUpdate &b)
Definition: navigation.pb.h:121
goby::middleware::protobuf::DatumUpdate::Swap
void Swap(DatumUpdate *other)
protobuf_goby_2fmiddleware_2fprotobuf_2fnavigation_2eproto::TableStruct::aux
static const ::google::protobuf::internal::AuxillaryParseTableField aux[]
Definition: navigation.pb.h:48
protobuf_goby_2fmiddleware_2fprotobuf_2fnavigation_2eproto::TableStruct::serialization_table
static const ::google::protobuf::internal::SerializationTable serialization_table[]
Definition: navigation.pb.h:51
google::protobuf::Metadata
Definition: message.h:174
goby::middleware::protobuf::DatumUpdate::operator=
DatumUpdate & operator=(const DatumUpdate &from)
Definition: navigation.pb.h:83
goby::middleware::protobuf::DatumUpdate::MergePartialFromCodedStream
bool MergePartialFromCodedStream(::google::protobuf::io::CodedInputStream *input) final
google::protobuf::Message
Definition: message.h:189
goby::middleware::protobuf::DatumUpdate::default_instance
static const DatumUpdate & default_instance()
arena.h
goby::middleware::protobuf::DatumUpdate::datum
const ::goby::middleware::protobuf::LatLonPoint & datum() const
Definition: navigation.pb.h:217
protobuf_goby_2fmiddleware_2fprotobuf_2fnavigation_2eproto::TableStruct::schema
static const ::google::protobuf::internal::ParseTable schema[1]
Definition: navigation.pb.h:49
protobuf_goby_2fmiddleware_2fprotobuf_2fnavigation_2eproto::TableStruct::field_metadata
static const ::google::protobuf::internal::FieldMetadata field_metadata[]
Definition: navigation.pb.h:50
goby::middleware::protobuf::_DatumUpdate_default_instance_
DatumUpdateDefaultTypeInternal _DatumUpdate_default_instance_
protobuf_goby_2fmiddleware_2fprotobuf_2fnavigation_2eproto::TableStruct::entries
static const ::google::protobuf::internal::ParseTableField entries[]
Definition: navigation.pb.h:47
goby::middleware::protobuf::DatumUpdate
Definition: navigation.pb.h:76
goby::middleware::protobuf::DatumUpdate::GetMetadata
::google::protobuf::Metadata GetMetadata() const final
goby::middleware::protobuf::DatumUpdate::IsInitialized
bool IsInitialized() const final
goby::middleware::protobuf::DatumUpdate::has_datum
bool has_datum() const
Definition: navigation.pb.h:205
protobuf_goby_2fmiddleware_2fprotobuf_2fnavigation_2eproto
Definition: navigation.pb.h:44
goby::middleware::protobuf::LatLonPoint
Definition: geographic.pb.h:85
friend
goby::middleware::protobuf::DatumUpdate::unknown_fields
const ::google::protobuf::UnknownFieldSet & unknown_fields() const
Definition: navigation.pb.h:102
goby::middleware::protobuf::DatumUpdate::internal_default_instance
static const DatumUpdate * internal_default_instance()
Definition: navigation.pb.h:113
goby::middleware::protobuf::DatumUpdate::New
DatumUpdate * New(::google::protobuf::Arena *arena) const final
Definition: navigation.pb.h:131
google
Definition: dccl.h:57
goby::middleware::protobuf::DatumUpdate::DatumUpdate
DatumUpdate()
goby::middleware::protobuf::DatumUpdate::GetCachedSize
int GetCachedSize() const final
Definition: navigation.pb.h:148