Gazebo Msgs

API Reference

9.5.1
dvl_velocity_tracking.pb.h
Go to the documentation of this file.
1 // Generated by the protocol buffer compiler. DO NOT EDIT!
2 // source: gz/msgs/dvl_velocity_tracking.proto
3 
4 #ifndef PROTOBUF_INCLUDED_gz_2fmsgs_2fdvl_5fvelocity_5ftracking_2eproto
5 #define PROTOBUF_INCLUDED_gz_2fmsgs_2fdvl_5fvelocity_5ftracking_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>
29 #include <google/protobuf/message.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 "gz/msgs/header.pb.h"
35 #include "gz/msgs/dvl_beam_state.pb.h"
36 #include "gz/msgs/dvl_tracking_target.pb.h"
37 #include "gz/msgs/dvl_kinematic_estimate.pb.h"
38 // @@protoc_insertion_point(includes)
39 #define PROTOBUF_INTERNAL_EXPORT_protobuf_gz_2fmsgs_2fdvl_5fvelocity_5ftracking_2eproto GZ_MSGS_VISIBLE
40 
42 // Internal implementation detail -- do not use these members.
43 struct GZ_MSGS_VISIBLE TableStruct {
44  static const ::google::protobuf::internal::ParseTableField entries[];
45  static const ::google::protobuf::internal::AuxillaryParseTableField aux[];
46  static const ::google::protobuf::internal::ParseTable schema[1];
47  static const ::google::protobuf::internal::FieldMetadata field_metadata[];
48  static const ::google::protobuf::internal::SerializationTable serialization_table[];
49  static const ::google::protobuf::uint32 offsets[];
50 };
51 void GZ_MSGS_VISIBLE AddDescriptors();
52 } // namespace protobuf_gz_2fmsgs_2fdvl_5fvelocity_5ftracking_2eproto
53 namespace gz {
54 namespace msgs {
55 class DVLVelocityTracking;
56 class DVLVelocityTrackingDefaultTypeInternal;
57 GZ_MSGS_VISIBLE extern DVLVelocityTrackingDefaultTypeInternal _DVLVelocityTracking_default_instance_;
58 } // namespace msgs
59 } // namespace gz
60 namespace google {
61 namespace protobuf {
62 template<> GZ_MSGS_VISIBLE ::gz::msgs::DVLVelocityTracking* Arena::CreateMaybeMessage<::gz::msgs::DVLVelocityTracking>(Arena*);
63 } // namespace protobuf
64 } // namespace google
65 namespace gz {
66 namespace msgs {
67 
74 };
75 GZ_MSGS_VISIBLE bool DVLVelocityTracking_DVLType_IsValid(int value);
79 
80 GZ_MSGS_VISIBLE const ::google::protobuf::EnumDescriptor* DVLVelocityTracking_DVLType_descriptor();
82  return ::google::protobuf::internal::NameOfEnum(
84 }
86  const ::std::string& name, DVLVelocityTracking_DVLType* value) {
87  return ::google::protobuf::internal::ParseNamedEnum<DVLVelocityTracking_DVLType>(
89 }
90 // ===================================================================
91 
92 class GZ_MSGS_VISIBLE DVLVelocityTracking : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:gz.msgs.DVLVelocityTracking) */ {
93  public:
95  virtual ~DVLVelocityTracking();
96 
98 
100  CopyFrom(from);
101  return *this;
102  }
103  #if LANG_CXX11
105  : DVLVelocityTracking() {
106  *this = ::std::move(from);
107  }
108 
109  inline DVLVelocityTracking& operator=(DVLVelocityTracking&& from) noexcept {
110  if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
111  if (this != &from) InternalSwap(&from);
112  } else {
113  CopyFrom(from);
114  }
115  return *this;
116  }
117  #endif
118  static const ::google::protobuf::Descriptor* descriptor();
119  static const DVLVelocityTracking& default_instance();
120 
121  static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
123  return reinterpret_cast<const DVLVelocityTracking*>(
125  }
126  static constexpr int kIndexInFileMessages =
127  0;
128 
129  void Swap(DVLVelocityTracking* other);
131  a.Swap(&b);
132  }
133 
134  // implements Message ----------------------------------------------
135 
136  inline DVLVelocityTracking* New() const final {
137  return CreateMaybeMessage<DVLVelocityTracking>(NULL);
138  }
139 
140  DVLVelocityTracking* New(::google::protobuf::Arena* arena) const final {
141  return CreateMaybeMessage<DVLVelocityTracking>(arena);
142  }
143  void CopyFrom(const ::google::protobuf::Message& from) final;
144  void MergeFrom(const ::google::protobuf::Message& from) final;
145  void CopyFrom(const DVLVelocityTracking& from);
146  void MergeFrom(const DVLVelocityTracking& from);
147  void Clear() final;
148  bool IsInitialized() const final;
149 
150  size_t ByteSizeLong() const final;
151  bool MergePartialFromCodedStream(
152  ::google::protobuf::io::CodedInputStream* input) final;
153  void SerializeWithCachedSizes(
154  ::google::protobuf::io::CodedOutputStream* output) const final;
155  ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
156  bool deterministic, ::google::protobuf::uint8* target) const final;
157  int GetCachedSize() const final { return _cached_size_.Get(); }
158 
159  private:
160  void SharedCtor();
161  void SharedDtor();
162  void SetCachedSize(int size) const final;
163  void InternalSwap(DVLVelocityTracking* other);
164  private:
165  inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
166  return NULL;
167  }
168  inline void* MaybeArenaPtr() const {
169  return NULL;
170  }
171  public:
172 
173  ::google::protobuf::Metadata GetMetadata() const final;
174 
175  // nested types ----------------------------------------------------
176 
178  static const DVLType DVL_TYPE_UNSPECIFIED =
180  static const DVLType DVL_TYPE_PISTON =
182  static const DVLType DVL_TYPE_PHASED_ARRAY =
184  static inline bool DVLType_IsValid(int value) {
186  }
187  static const DVLType DVLType_MIN =
189  static const DVLType DVLType_MAX =
191  static const int DVLType_ARRAYSIZE =
193  static inline const ::google::protobuf::EnumDescriptor*
196  }
197  static inline const ::std::string& DVLType_Name(DVLType value) {
198  return DVLVelocityTracking_DVLType_Name(value);
199  }
200  static inline bool DVLType_Parse(const ::std::string& name,
201  DVLType* value) {
202  return DVLVelocityTracking_DVLType_Parse(name, value);
203  }
204 
205  // accessors -------------------------------------------------------
206 
207  // repeated .gz.msgs.DVLBeamState beams = 5;
208  int beams_size() const;
209  void clear_beams();
210  static const int kBeamsFieldNumber = 5;
211  ::gz::msgs::DVLBeamState* mutable_beams(int index);
212  ::google::protobuf::RepeatedPtrField< ::gz::msgs::DVLBeamState >*
213  mutable_beams();
214  const ::gz::msgs::DVLBeamState& beams(int index) const;
215  ::gz::msgs::DVLBeamState* add_beams();
216  const ::google::protobuf::RepeatedPtrField< ::gz::msgs::DVLBeamState >&
217  beams() const;
218 
219  // .gz.msgs.Header header = 1;
220  bool has_header() const;
221  void clear_header();
222  static const int kHeaderFieldNumber = 1;
223  private:
224  const ::gz::msgs::Header& _internal_header() const;
225  public:
226  const ::gz::msgs::Header& header() const;
227  ::gz::msgs::Header* release_header();
228  ::gz::msgs::Header* mutable_header();
229  void set_allocated_header(::gz::msgs::Header* header);
230 
231  // .gz.msgs.DVLTrackingTarget target = 3;
232  bool has_target() const;
233  void clear_target();
234  static const int kTargetFieldNumber = 3;
235  private:
236  const ::gz::msgs::DVLTrackingTarget& _internal_target() const;
237  public:
238  const ::gz::msgs::DVLTrackingTarget& target() const;
239  ::gz::msgs::DVLTrackingTarget* release_target();
240  ::gz::msgs::DVLTrackingTarget* mutable_target();
241  void set_allocated_target(::gz::msgs::DVLTrackingTarget* target);
242 
243  // .gz.msgs.DVLKinematicEstimate velocity = 4;
244  bool has_velocity() const;
245  void clear_velocity();
246  static const int kVelocityFieldNumber = 4;
247  private:
248  const ::gz::msgs::DVLKinematicEstimate& _internal_velocity() const;
249  public:
250  const ::gz::msgs::DVLKinematicEstimate& velocity() const;
251  ::gz::msgs::DVLKinematicEstimate* release_velocity();
252  ::gz::msgs::DVLKinematicEstimate* mutable_velocity();
253  void set_allocated_velocity(::gz::msgs::DVLKinematicEstimate* velocity);
254 
255  // .gz.msgs.DVLVelocityTracking.DVLType type = 2;
256  void clear_type();
257  static const int kTypeFieldNumber = 2;
259  void set_type(::gz::msgs::DVLVelocityTracking_DVLType value);
260 
261  // int32 status = 6;
262  void clear_status();
263  static const int kStatusFieldNumber = 6;
264  ::google::protobuf::int32 status() const;
265  void set_status(::google::protobuf::int32 value);
266 
267  // @@protoc_insertion_point(class_scope:gz.msgs.DVLVelocityTracking)
268  private:
269 
270  ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
271  ::google::protobuf::RepeatedPtrField< ::gz::msgs::DVLBeamState > beams_;
272  ::gz::msgs::Header* header_;
275  int type_;
276  ::google::protobuf::int32 status_;
277  mutable ::google::protobuf::internal::CachedSize _cached_size_;
278  friend struct ::protobuf_gz_2fmsgs_2fdvl_5fvelocity_5ftracking_2eproto::TableStruct;
279 };
280 // ===================================================================
281 
282 
283 // ===================================================================
284 
285 #ifdef __GNUC__
286  #pragma GCC diagnostic push
287  #pragma GCC diagnostic ignored "-Wstrict-aliasing"
288 #endif // __GNUC__
289 // DVLVelocityTracking
290 
291 // .gz.msgs.Header header = 1;
292 inline bool DVLVelocityTracking::has_header() const {
293  return this != internal_default_instance() && header_ != NULL;
294 }
295 inline const ::gz::msgs::Header& DVLVelocityTracking::_internal_header() const {
296  return *header_;
297 }
298 inline const ::gz::msgs::Header& DVLVelocityTracking::header() const {
299  const ::gz::msgs::Header* p = header_;
300  // @@protoc_insertion_point(field_get:gz.msgs.DVLVelocityTracking.header)
301  return p != NULL ? *p : *reinterpret_cast<const ::gz::msgs::Header*>(
303 }
304 inline ::gz::msgs::Header* DVLVelocityTracking::release_header() {
305  // @@protoc_insertion_point(field_release:gz.msgs.DVLVelocityTracking.header)
306 
307  ::gz::msgs::Header* temp = header_;
308  header_ = NULL;
309  return temp;
310 }
311 inline ::gz::msgs::Header* DVLVelocityTracking::mutable_header() {
312 
313  if (header_ == NULL) {
314  auto* p = CreateMaybeMessage<::gz::msgs::Header>(GetArenaNoVirtual());
315  header_ = p;
316  }
317  // @@protoc_insertion_point(field_mutable:gz.msgs.DVLVelocityTracking.header)
318  return header_;
319 }
321  ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
322  if (message_arena == NULL) {
323  delete reinterpret_cast< ::google::protobuf::MessageLite*>(header_);
324  }
325  if (header) {
326  ::google::protobuf::Arena* submessage_arena = NULL;
327  if (message_arena != submessage_arena) {
328  header = ::google::protobuf::internal::GetOwnedMessage(
329  message_arena, header, submessage_arena);
330  }
331 
332  } else {
333 
334  }
335  header_ = header;
336  // @@protoc_insertion_point(field_set_allocated:gz.msgs.DVLVelocityTracking.header)
337 }
338 
339 // .gz.msgs.DVLVelocityTracking.DVLType type = 2;
341  type_ = 0;
342 }
344  // @@protoc_insertion_point(field_get:gz.msgs.DVLVelocityTracking.type)
345  return static_cast< ::gz::msgs::DVLVelocityTracking_DVLType >(type_);
346 }
348 
349  type_ = value;
350  // @@protoc_insertion_point(field_set:gz.msgs.DVLVelocityTracking.type)
351 }
352 
353 // .gz.msgs.DVLTrackingTarget target = 3;
354 inline bool DVLVelocityTracking::has_target() const {
355  return this != internal_default_instance() && target_ != NULL;
356 }
357 inline const ::gz::msgs::DVLTrackingTarget& DVLVelocityTracking::_internal_target() const {
358  return *target_;
359 }
360 inline const ::gz::msgs::DVLTrackingTarget& DVLVelocityTracking::target() const {
361  const ::gz::msgs::DVLTrackingTarget* p = target_;
362  // @@protoc_insertion_point(field_get:gz.msgs.DVLVelocityTracking.target)
363  return p != NULL ? *p : *reinterpret_cast<const ::gz::msgs::DVLTrackingTarget*>(
365 }
366 inline ::gz::msgs::DVLTrackingTarget* DVLVelocityTracking::release_target() {
367  // @@protoc_insertion_point(field_release:gz.msgs.DVLVelocityTracking.target)
368 
369  ::gz::msgs::DVLTrackingTarget* temp = target_;
370  target_ = NULL;
371  return temp;
372 }
373 inline ::gz::msgs::DVLTrackingTarget* DVLVelocityTracking::mutable_target() {
374 
375  if (target_ == NULL) {
376  auto* p = CreateMaybeMessage<::gz::msgs::DVLTrackingTarget>(GetArenaNoVirtual());
377  target_ = p;
378  }
379  // @@protoc_insertion_point(field_mutable:gz.msgs.DVLVelocityTracking.target)
380  return target_;
381 }
383  ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
384  if (message_arena == NULL) {
385  delete reinterpret_cast< ::google::protobuf::MessageLite*>(target_);
386  }
387  if (target) {
388  ::google::protobuf::Arena* submessage_arena = NULL;
389  if (message_arena != submessage_arena) {
390  target = ::google::protobuf::internal::GetOwnedMessage(
391  message_arena, target, submessage_arena);
392  }
393 
394  } else {
395 
396  }
397  target_ = target;
398  // @@protoc_insertion_point(field_set_allocated:gz.msgs.DVLVelocityTracking.target)
399 }
400 
401 // .gz.msgs.DVLKinematicEstimate velocity = 4;
403  return this != internal_default_instance() && velocity_ != NULL;
404 }
405 inline const ::gz::msgs::DVLKinematicEstimate& DVLVelocityTracking::_internal_velocity() const {
406  return *velocity_;
407 }
408 inline const ::gz::msgs::DVLKinematicEstimate& DVLVelocityTracking::velocity() const {
409  const ::gz::msgs::DVLKinematicEstimate* p = velocity_;
410  // @@protoc_insertion_point(field_get:gz.msgs.DVLVelocityTracking.velocity)
411  return p != NULL ? *p : *reinterpret_cast<const ::gz::msgs::DVLKinematicEstimate*>(
413 }
414 inline ::gz::msgs::DVLKinematicEstimate* DVLVelocityTracking::release_velocity() {
415  // @@protoc_insertion_point(field_release:gz.msgs.DVLVelocityTracking.velocity)
416 
417  ::gz::msgs::DVLKinematicEstimate* temp = velocity_;
418  velocity_ = NULL;
419  return temp;
420 }
421 inline ::gz::msgs::DVLKinematicEstimate* DVLVelocityTracking::mutable_velocity() {
422 
423  if (velocity_ == NULL) {
424  auto* p = CreateMaybeMessage<::gz::msgs::DVLKinematicEstimate>(GetArenaNoVirtual());
425  velocity_ = p;
426  }
427  // @@protoc_insertion_point(field_mutable:gz.msgs.DVLVelocityTracking.velocity)
428  return velocity_;
429 }
431  ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
432  if (message_arena == NULL) {
433  delete reinterpret_cast< ::google::protobuf::MessageLite*>(velocity_);
434  }
435  if (velocity) {
436  ::google::protobuf::Arena* submessage_arena = NULL;
437  if (message_arena != submessage_arena) {
438  velocity = ::google::protobuf::internal::GetOwnedMessage(
439  message_arena, velocity, submessage_arena);
440  }
441 
442  } else {
443 
444  }
445  velocity_ = velocity;
446  // @@protoc_insertion_point(field_set_allocated:gz.msgs.DVLVelocityTracking.velocity)
447 }
448 
449 // repeated .gz.msgs.DVLBeamState beams = 5;
451  return beams_.size();
452 }
453 inline ::gz::msgs::DVLBeamState* DVLVelocityTracking::mutable_beams(int index) {
454  // @@protoc_insertion_point(field_mutable:gz.msgs.DVLVelocityTracking.beams)
455  return beams_.Mutable(index);
456 }
457 inline ::google::protobuf::RepeatedPtrField< ::gz::msgs::DVLBeamState >*
459  // @@protoc_insertion_point(field_mutable_list:gz.msgs.DVLVelocityTracking.beams)
460  return &beams_;
461 }
462 inline const ::gz::msgs::DVLBeamState& DVLVelocityTracking::beams(int index) const {
463  // @@protoc_insertion_point(field_get:gz.msgs.DVLVelocityTracking.beams)
464  return beams_.Get(index);
465 }
466 inline ::gz::msgs::DVLBeamState* DVLVelocityTracking::add_beams() {
467  // @@protoc_insertion_point(field_add:gz.msgs.DVLVelocityTracking.beams)
468  return beams_.Add();
469 }
470 inline const ::google::protobuf::RepeatedPtrField< ::gz::msgs::DVLBeamState >&
472  // @@protoc_insertion_point(field_list:gz.msgs.DVLVelocityTracking.beams)
473  return beams_;
474 }
475 
476 // int32 status = 6;
478  status_ = 0;
479 }
480 inline ::google::protobuf::int32 DVLVelocityTracking::status() const {
481  // @@protoc_insertion_point(field_get:gz.msgs.DVLVelocityTracking.status)
482  return status_;
483 }
484 inline void DVLVelocityTracking::set_status(::google::protobuf::int32 value) {
485 
486  status_ = value;
487  // @@protoc_insertion_point(field_set:gz.msgs.DVLVelocityTracking.status)
488 }
489 
490 #ifdef __GNUC__
491  #pragma GCC diagnostic pop
492 #endif // __GNUC__
493 
494 // @@protoc_insertion_point(namespace_scope)
495 
496 } // namespace msgs
497 } // namespace gz
498 
499 namespace google {
500 namespace protobuf {
501 
502 template <> struct is_proto_enum< ::gz::msgs::DVLVelocityTracking_DVLType> : ::std::true_type {};
503 template <>
504 inline const EnumDescriptor* GetEnumDescriptor< ::gz::msgs::DVLVelocityTracking_DVLType>() {
506 }
507 
508 } // namespace protobuf
509 } // namespace google
510 
511 // @@protoc_insertion_point(global_scope)
512 
513 #endif // PROTOBUF_INCLUDED_gz_2fmsgs_2fdvl_5fvelocity_5ftracking_2eproto