Gazebo Msgs

API Reference

8.7.0
build/ignition-msgs8/include/ignition/msgs/gps_sensor.pb.h
Go to the documentation of this file.
1 // Generated by the protocol buffer compiler. DO NOT EDIT!
2 // source: ignition/msgs/gps_sensor.proto
3 
4 #ifndef PROTOBUF_INCLUDED_ignition_2fmsgs_2fgps_5fsensor_2eproto
5 #define PROTOBUF_INCLUDED_ignition_2fmsgs_2fgps_5fsensor_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/unknown_field_set.h>
35 #ifndef _MSC_VER
36 #pragma GCC system_header
37 #else
38 #pragma warning(push)
39 #pragma warning(disable: 4244 4267 4100 4244 4512 4127 4068 4275 4251)
40 #endif
41 #ifdef __linux__
42 #include <sys/sysmacros.h>
43 #endif
44 #include <memory>
45 #include <ignition/msgs/Export.hh>
46 // @@protoc_insertion_point(includes)
47 #define PROTOBUF_INTERNAL_EXPORT_protobuf_ignition_2fmsgs_2fgps_5fsensor_2eproto IGNITION_MSGS_VISIBLE
48 
50 // Internal implementation detail -- do not use these members.
51 struct IGNITION_MSGS_VISIBLE TableStruct {
52  static const ::google::protobuf::internal::ParseTableField entries[];
53  static const ::google::protobuf::internal::AuxillaryParseTableField aux[];
54  static const ::google::protobuf::internal::ParseTable schema[2];
55  static const ::google::protobuf::internal::FieldMetadata field_metadata[];
56  static const ::google::protobuf::internal::SerializationTable serialization_table[];
57  static const ::google::protobuf::uint32 offsets[];
58 };
59 void IGNITION_MSGS_VISIBLE AddDescriptors();
60 } // namespace protobuf_ignition_2fmsgs_2fgps_5fsensor_2eproto
61 namespace ignition {
62 namespace msgs {
63 class GPSSensor;
64 class GPSSensorDefaultTypeInternal;
65 IGNITION_MSGS_VISIBLE extern GPSSensorDefaultTypeInternal _GPSSensor_default_instance_;
66 class GPSSensor_Sensing;
67 class GPSSensor_SensingDefaultTypeInternal;
68 IGNITION_MSGS_VISIBLE extern GPSSensor_SensingDefaultTypeInternal _GPSSensor_Sensing_default_instance_;
69 } // namespace msgs
70 } // namespace ignition
71 namespace google {
72 namespace protobuf {
73 template<> IGNITION_MSGS_VISIBLE ::ignition::msgs::GPSSensor* Arena::CreateMaybeMessage<::ignition::msgs::GPSSensor>(Arena*);
74 template<> IGNITION_MSGS_VISIBLE ::ignition::msgs::GPSSensor_Sensing* Arena::CreateMaybeMessage<::ignition::msgs::GPSSensor_Sensing>(Arena*);
75 } // namespace protobuf
76 } // namespace google
77 namespace ignition {
78 namespace msgs {
79 
80 // ===================================================================
81 
82 class IGNITION_MSGS_VISIBLE GPSSensor_Sensing : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:ignition.msgs.GPSSensor.Sensing) */ {
83  public:
85  virtual ~GPSSensor_Sensing();
86 
88 
90  CopyFrom(from);
91  return *this;
92  }
93  #if LANG_CXX11
94  GPSSensor_Sensing(GPSSensor_Sensing&& from) noexcept
95  : GPSSensor_Sensing() {
96  *this = ::std::move(from);
97  }
98 
99  inline GPSSensor_Sensing& operator=(GPSSensor_Sensing&& from) noexcept {
100  if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
101  if (this != &from) InternalSwap(&from);
102  } else {
103  CopyFrom(from);
104  }
105  return *this;
106  }
107  #endif
108  static const ::google::protobuf::Descriptor* descriptor();
109  static const GPSSensor_Sensing& default_instance();
110 
111  static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
113  return reinterpret_cast<const GPSSensor_Sensing*>(
115  }
116  static constexpr int kIndexInFileMessages =
117  0;
118 
119  void Swap(GPSSensor_Sensing* other);
121  a.Swap(&b);
122  }
123 
124  // implements Message ----------------------------------------------
125 
126  inline GPSSensor_Sensing* New() const final {
127  return CreateMaybeMessage<GPSSensor_Sensing>(NULL);
128  }
129 
130  GPSSensor_Sensing* New(::google::protobuf::Arena* arena) const final {
131  return CreateMaybeMessage<GPSSensor_Sensing>(arena);
132  }
133  void CopyFrom(const ::google::protobuf::Message& from) final;
134  void MergeFrom(const ::google::protobuf::Message& from) final;
135  void CopyFrom(const GPSSensor_Sensing& from);
136  void MergeFrom(const GPSSensor_Sensing& from);
137  void Clear() final;
138  bool IsInitialized() const final;
139 
140  size_t ByteSizeLong() const final;
141  bool MergePartialFromCodedStream(
142  ::google::protobuf::io::CodedInputStream* input) final;
143  void SerializeWithCachedSizes(
144  ::google::protobuf::io::CodedOutputStream* output) const final;
145  ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
146  bool deterministic, ::google::protobuf::uint8* target) const final;
147  int GetCachedSize() const final { return _cached_size_.Get(); }
148 
149  private:
150  void SharedCtor();
151  void SharedDtor();
152  void SetCachedSize(int size) const final;
153  void InternalSwap(GPSSensor_Sensing* other);
154  private:
155  inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
156  return NULL;
157  }
158  inline void* MaybeArenaPtr() const {
159  return NULL;
160  }
161  public:
162 
163  ::google::protobuf::Metadata GetMetadata() const final;
164 
165  // nested types ----------------------------------------------------
166 
167  // accessors -------------------------------------------------------
168 
169  // .ignition.msgs.SensorNoise horizontal_noise = 1;
170  bool has_horizontal_noise() const;
171  void clear_horizontal_noise();
172  static const int kHorizontalNoiseFieldNumber = 1;
173  private:
174  const ::ignition::msgs::SensorNoise& _internal_horizontal_noise() const;
175  public:
176  const ::ignition::msgs::SensorNoise& horizontal_noise() const;
177  ::ignition::msgs::SensorNoise* release_horizontal_noise();
178  ::ignition::msgs::SensorNoise* mutable_horizontal_noise();
179  void set_allocated_horizontal_noise(::ignition::msgs::SensorNoise* horizontal_noise);
180 
181  // .ignition.msgs.SensorNoise vertical_noise = 2;
182  bool has_vertical_noise() const;
183  void clear_vertical_noise();
184  static const int kVerticalNoiseFieldNumber = 2;
185  private:
186  const ::ignition::msgs::SensorNoise& _internal_vertical_noise() const;
187  public:
188  const ::ignition::msgs::SensorNoise& vertical_noise() const;
189  ::ignition::msgs::SensorNoise* release_vertical_noise();
190  ::ignition::msgs::SensorNoise* mutable_vertical_noise();
191  void set_allocated_vertical_noise(::ignition::msgs::SensorNoise* vertical_noise);
192 
193  // @@protoc_insertion_point(class_scope:ignition.msgs.GPSSensor.Sensing)
194  private:
195 
196  ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
197  ::ignition::msgs::SensorNoise* horizontal_noise_;
198  ::ignition::msgs::SensorNoise* vertical_noise_;
199  mutable ::google::protobuf::internal::CachedSize _cached_size_;
201 };
202 // -------------------------------------------------------------------
203 
204 class IGNITION_MSGS_VISIBLE GPSSensor : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:ignition.msgs.GPSSensor) */ {
205  public:
206  GPSSensor();
207  virtual ~GPSSensor();
208 
209  GPSSensor(const GPSSensor& from);
210 
211  inline GPSSensor& operator=(const GPSSensor& from) {
212  CopyFrom(from);
213  return *this;
214  }
215  #if LANG_CXX11
216  GPSSensor(GPSSensor&& from) noexcept
217  : GPSSensor() {
218  *this = ::std::move(from);
219  }
220 
221  inline GPSSensor& operator=(GPSSensor&& from) noexcept {
222  if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
223  if (this != &from) InternalSwap(&from);
224  } else {
225  CopyFrom(from);
226  }
227  return *this;
228  }
229  #endif
230  static const ::google::protobuf::Descriptor* descriptor();
231  static const GPSSensor& default_instance();
232 
233  static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
234  static inline const GPSSensor* internal_default_instance() {
235  return reinterpret_cast<const GPSSensor*>(
237  }
238  static constexpr int kIndexInFileMessages =
239  1;
240 
241  void Swap(GPSSensor* other);
242  friend void swap(GPSSensor& a, GPSSensor& b) {
243  a.Swap(&b);
244  }
245 
246  // implements Message ----------------------------------------------
247 
248  inline GPSSensor* New() const final {
249  return CreateMaybeMessage<GPSSensor>(NULL);
250  }
251 
252  GPSSensor* New(::google::protobuf::Arena* arena) const final {
253  return CreateMaybeMessage<GPSSensor>(arena);
254  }
255  void CopyFrom(const ::google::protobuf::Message& from) final;
256  void MergeFrom(const ::google::protobuf::Message& from) final;
257  void CopyFrom(const GPSSensor& from);
258  void MergeFrom(const GPSSensor& from);
259  void Clear() final;
260  bool IsInitialized() const final;
261 
262  size_t ByteSizeLong() const final;
263  bool MergePartialFromCodedStream(
264  ::google::protobuf::io::CodedInputStream* input) final;
265  void SerializeWithCachedSizes(
266  ::google::protobuf::io::CodedOutputStream* output) const final;
267  ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
268  bool deterministic, ::google::protobuf::uint8* target) const final;
269  int GetCachedSize() const final { return _cached_size_.Get(); }
270 
271  private:
272  void SharedCtor();
273  void SharedDtor();
274  void SetCachedSize(int size) const final;
275  void InternalSwap(GPSSensor* other);
276  private:
277  inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
278  return NULL;
279  }
280  inline void* MaybeArenaPtr() const {
281  return NULL;
282  }
283  public:
284 
285  ::google::protobuf::Metadata GetMetadata() const final;
286 
287  // nested types ----------------------------------------------------
288 
290 
291  // accessors -------------------------------------------------------
292 
293  // .ignition.msgs.Header header = 1;
294  bool has_header() const;
295  void clear_header();
296  static const int kHeaderFieldNumber = 1;
297  private:
298  const ::ignition::msgs::Header& _internal_header() const;
299  public:
300  const ::ignition::msgs::Header& header() const;
301  ::ignition::msgs::Header* release_header();
302  ::ignition::msgs::Header* mutable_header();
303  void set_allocated_header(::ignition::msgs::Header* header);
304 
305  // .ignition.msgs.GPSSensor.Sensing position = 2;
306  bool has_position() const;
307  void clear_position();
308  static const int kPositionFieldNumber = 2;
309  private:
310  const ::ignition::msgs::GPSSensor_Sensing& _internal_position() const;
311  public:
312  const ::ignition::msgs::GPSSensor_Sensing& position() const;
313  ::ignition::msgs::GPSSensor_Sensing* release_position();
314  ::ignition::msgs::GPSSensor_Sensing* mutable_position();
315  void set_allocated_position(::ignition::msgs::GPSSensor_Sensing* position);
316 
317  // .ignition.msgs.GPSSensor.Sensing velocity = 3;
318  bool has_velocity() const;
319  void clear_velocity();
320  static const int kVelocityFieldNumber = 3;
321  private:
322  const ::ignition::msgs::GPSSensor_Sensing& _internal_velocity() const;
323  public:
324  const ::ignition::msgs::GPSSensor_Sensing& velocity() const;
325  ::ignition::msgs::GPSSensor_Sensing* release_velocity();
326  ::ignition::msgs::GPSSensor_Sensing* mutable_velocity();
327  void set_allocated_velocity(::ignition::msgs::GPSSensor_Sensing* velocity);
328 
329  // @@protoc_insertion_point(class_scope:ignition.msgs.GPSSensor)
330  private:
331 
332  ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
333  ::ignition::msgs::Header* header_;
334  ::ignition::msgs::GPSSensor_Sensing* position_;
335  ::ignition::msgs::GPSSensor_Sensing* velocity_;
336  mutable ::google::protobuf::internal::CachedSize _cached_size_;
338 };
339 // ===================================================================
340 
341 
342 // ===================================================================
343 
344 #ifdef __GNUC__
345  #pragma GCC diagnostic push
346  #pragma GCC diagnostic ignored "-Wstrict-aliasing"
347 #endif // __GNUC__
348 // GPSSensor_Sensing
349 
350 // .ignition.msgs.SensorNoise horizontal_noise = 1;
352  return this != internal_default_instance() && horizontal_noise_ != NULL;
353 }
354 inline const ::ignition::msgs::SensorNoise& GPSSensor_Sensing::_internal_horizontal_noise() const {
355  return *horizontal_noise_;
356 }
357 inline const ::ignition::msgs::SensorNoise& GPSSensor_Sensing::horizontal_noise() const {
358  const ::ignition::msgs::SensorNoise* p = horizontal_noise_;
359  // @@protoc_insertion_point(field_get:ignition.msgs.GPSSensor.Sensing.horizontal_noise)
360  return p != NULL ? *p : *reinterpret_cast<const ::ignition::msgs::SensorNoise*>(
362 }
363 inline ::ignition::msgs::SensorNoise* GPSSensor_Sensing::release_horizontal_noise() {
364  // @@protoc_insertion_point(field_release:ignition.msgs.GPSSensor.Sensing.horizontal_noise)
365 
366  ::ignition::msgs::SensorNoise* temp = horizontal_noise_;
367  horizontal_noise_ = NULL;
368  return temp;
369 }
370 inline ::ignition::msgs::SensorNoise* GPSSensor_Sensing::mutable_horizontal_noise() {
371 
372  if (horizontal_noise_ == NULL) {
373  auto* p = CreateMaybeMessage<::ignition::msgs::SensorNoise>(GetArenaNoVirtual());
374  horizontal_noise_ = p;
375  }
376  // @@protoc_insertion_point(field_mutable:ignition.msgs.GPSSensor.Sensing.horizontal_noise)
377  return horizontal_noise_;
378 }
380  ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
381  if (message_arena == NULL) {
382  delete reinterpret_cast< ::google::protobuf::MessageLite*>(horizontal_noise_);
383  }
384  if (horizontal_noise) {
385  ::google::protobuf::Arena* submessage_arena = NULL;
386  if (message_arena != submessage_arena) {
387  horizontal_noise = ::google::protobuf::internal::GetOwnedMessage(
388  message_arena, horizontal_noise, submessage_arena);
389  }
390 
391  } else {
392 
393  }
394  horizontal_noise_ = horizontal_noise;
395  // @@protoc_insertion_point(field_set_allocated:ignition.msgs.GPSSensor.Sensing.horizontal_noise)
396 }
397 
398 // .ignition.msgs.SensorNoise vertical_noise = 2;
400  return this != internal_default_instance() && vertical_noise_ != NULL;
401 }
402 inline const ::ignition::msgs::SensorNoise& GPSSensor_Sensing::_internal_vertical_noise() const {
403  return *vertical_noise_;
404 }
405 inline const ::ignition::msgs::SensorNoise& GPSSensor_Sensing::vertical_noise() const {
406  const ::ignition::msgs::SensorNoise* p = vertical_noise_;
407  // @@protoc_insertion_point(field_get:ignition.msgs.GPSSensor.Sensing.vertical_noise)
408  return p != NULL ? *p : *reinterpret_cast<const ::ignition::msgs::SensorNoise*>(
410 }
411 inline ::ignition::msgs::SensorNoise* GPSSensor_Sensing::release_vertical_noise() {
412  // @@protoc_insertion_point(field_release:ignition.msgs.GPSSensor.Sensing.vertical_noise)
413 
414  ::ignition::msgs::SensorNoise* temp = vertical_noise_;
415  vertical_noise_ = NULL;
416  return temp;
417 }
418 inline ::ignition::msgs::SensorNoise* GPSSensor_Sensing::mutable_vertical_noise() {
419 
420  if (vertical_noise_ == NULL) {
421  auto* p = CreateMaybeMessage<::ignition::msgs::SensorNoise>(GetArenaNoVirtual());
422  vertical_noise_ = p;
423  }
424  // @@protoc_insertion_point(field_mutable:ignition.msgs.GPSSensor.Sensing.vertical_noise)
425  return vertical_noise_;
426 }
428  ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
429  if (message_arena == NULL) {
430  delete reinterpret_cast< ::google::protobuf::MessageLite*>(vertical_noise_);
431  }
432  if (vertical_noise) {
433  ::google::protobuf::Arena* submessage_arena = NULL;
434  if (message_arena != submessage_arena) {
435  vertical_noise = ::google::protobuf::internal::GetOwnedMessage(
436  message_arena, vertical_noise, submessage_arena);
437  }
438 
439  } else {
440 
441  }
442  vertical_noise_ = vertical_noise;
443  // @@protoc_insertion_point(field_set_allocated:ignition.msgs.GPSSensor.Sensing.vertical_noise)
444 }
445 
446 // -------------------------------------------------------------------
447 
448 // GPSSensor
449 
450 // .ignition.msgs.Header header = 1;
451 inline bool GPSSensor::has_header() const {
452  return this != internal_default_instance() && header_ != NULL;
453 }
454 inline const ::ignition::msgs::Header& GPSSensor::_internal_header() const {
455  return *header_;
456 }
457 inline const ::ignition::msgs::Header& GPSSensor::header() const {
458  const ::ignition::msgs::Header* p = header_;
459  // @@protoc_insertion_point(field_get:ignition.msgs.GPSSensor.header)
460  return p != NULL ? *p : *reinterpret_cast<const ::ignition::msgs::Header*>(
462 }
463 inline ::ignition::msgs::Header* GPSSensor::release_header() {
464  // @@protoc_insertion_point(field_release:ignition.msgs.GPSSensor.header)
465 
466  ::ignition::msgs::Header* temp = header_;
467  header_ = NULL;
468  return temp;
469 }
470 inline ::ignition::msgs::Header* GPSSensor::mutable_header() {
471 
472  if (header_ == NULL) {
473  auto* p = CreateMaybeMessage<::ignition::msgs::Header>(GetArenaNoVirtual());
474  header_ = p;
475  }
476  // @@protoc_insertion_point(field_mutable:ignition.msgs.GPSSensor.header)
477  return header_;
478 }
480  ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
481  if (message_arena == NULL) {
482  delete reinterpret_cast< ::google::protobuf::MessageLite*>(header_);
483  }
484  if (header) {
485  ::google::protobuf::Arena* submessage_arena = NULL;
486  if (message_arena != submessage_arena) {
487  header = ::google::protobuf::internal::GetOwnedMessage(
488  message_arena, header, submessage_arena);
489  }
490 
491  } else {
492 
493  }
494  header_ = header;
495  // @@protoc_insertion_point(field_set_allocated:ignition.msgs.GPSSensor.header)
496 }
497 
498 // .ignition.msgs.GPSSensor.Sensing position = 2;
499 inline bool GPSSensor::has_position() const {
500  return this != internal_default_instance() && position_ != NULL;
501 }
503  if (GetArenaNoVirtual() == NULL && position_ != NULL) {
504  delete position_;
505  }
506  position_ = NULL;
507 }
508 inline const ::ignition::msgs::GPSSensor_Sensing& GPSSensor::_internal_position() const {
509  return *position_;
510 }
511 inline const ::ignition::msgs::GPSSensor_Sensing& GPSSensor::position() const {
512  const ::ignition::msgs::GPSSensor_Sensing* p = position_;
513  // @@protoc_insertion_point(field_get:ignition.msgs.GPSSensor.position)
514  return p != NULL ? *p : *reinterpret_cast<const ::ignition::msgs::GPSSensor_Sensing*>(
516 }
517 inline ::ignition::msgs::GPSSensor_Sensing* GPSSensor::release_position() {
518  // @@protoc_insertion_point(field_release:ignition.msgs.GPSSensor.position)
519 
520  ::ignition::msgs::GPSSensor_Sensing* temp = position_;
521  position_ = NULL;
522  return temp;
523 }
524 inline ::ignition::msgs::GPSSensor_Sensing* GPSSensor::mutable_position() {
525 
526  if (position_ == NULL) {
527  auto* p = CreateMaybeMessage<::ignition::msgs::GPSSensor_Sensing>(GetArenaNoVirtual());
528  position_ = p;
529  }
530  // @@protoc_insertion_point(field_mutable:ignition.msgs.GPSSensor.position)
531  return position_;
532 }
534  ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
535  if (message_arena == NULL) {
536  delete position_;
537  }
538  if (position) {
539  ::google::protobuf::Arena* submessage_arena = NULL;
540  if (message_arena != submessage_arena) {
541  position = ::google::protobuf::internal::GetOwnedMessage(
542  message_arena, position, submessage_arena);
543  }
544 
545  } else {
546 
547  }
548  position_ = position;
549  // @@protoc_insertion_point(field_set_allocated:ignition.msgs.GPSSensor.position)
550 }
551 
552 // .ignition.msgs.GPSSensor.Sensing velocity = 3;
553 inline bool GPSSensor::has_velocity() const {
554  return this != internal_default_instance() && velocity_ != NULL;
555 }
557  if (GetArenaNoVirtual() == NULL && velocity_ != NULL) {
558  delete velocity_;
559  }
560  velocity_ = NULL;
561 }
562 inline const ::ignition::msgs::GPSSensor_Sensing& GPSSensor::_internal_velocity() const {
563  return *velocity_;
564 }
565 inline const ::ignition::msgs::GPSSensor_Sensing& GPSSensor::velocity() const {
566  const ::ignition::msgs::GPSSensor_Sensing* p = velocity_;
567  // @@protoc_insertion_point(field_get:ignition.msgs.GPSSensor.velocity)
568  return p != NULL ? *p : *reinterpret_cast<const ::ignition::msgs::GPSSensor_Sensing*>(
570 }
571 inline ::ignition::msgs::GPSSensor_Sensing* GPSSensor::release_velocity() {
572  // @@protoc_insertion_point(field_release:ignition.msgs.GPSSensor.velocity)
573 
574  ::ignition::msgs::GPSSensor_Sensing* temp = velocity_;
575  velocity_ = NULL;
576  return temp;
577 }
578 inline ::ignition::msgs::GPSSensor_Sensing* GPSSensor::mutable_velocity() {
579 
580  if (velocity_ == NULL) {
581  auto* p = CreateMaybeMessage<::ignition::msgs::GPSSensor_Sensing>(GetArenaNoVirtual());
582  velocity_ = p;
583  }
584  // @@protoc_insertion_point(field_mutable:ignition.msgs.GPSSensor.velocity)
585  return velocity_;
586 }
588  ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
589  if (message_arena == NULL) {
590  delete velocity_;
591  }
592  if (velocity) {
593  ::google::protobuf::Arena* submessage_arena = NULL;
594  if (message_arena != submessage_arena) {
595  velocity = ::google::protobuf::internal::GetOwnedMessage(
596  message_arena, velocity, submessage_arena);
597  }
598 
599  } else {
600 
601  }
602  velocity_ = velocity;
603  // @@protoc_insertion_point(field_set_allocated:ignition.msgs.GPSSensor.velocity)
604 }
605 
606 #ifdef __GNUC__
607  #pragma GCC diagnostic pop
608 #endif // __GNUC__
609 // -------------------------------------------------------------------
610 
611 
616 // @@protoc_insertion_point(namespace_scope)
617 
618 } // namespace msgs
619 } // namespace ignition
620 
621 #ifdef _MSC_VER
622 #pragma warning(pop)
623 #endif
624 // @@protoc_insertion_point(global_scope)
625 
626 #endif // PROTOBUF_INCLUDED_ignition_2fmsgs_2fgps_5fsensor_2eproto
bool has_horizontal_noise() const
Definition: build/ignition-msgs8/include/ignition/msgs/gps_sensor.pb.h:351
::ignition::msgs::SensorNoise * mutable_horizontal_noise()
Definition: build/ignition-msgs8/include/ignition/msgs/gps_sensor.pb.h:370
GPSSensor * New(::google::protobuf::Arena *arena) const final
Definition: build/ignition-msgs8/include/ignition/msgs/gps_sensor.pb.h:252
::ignition::msgs::GPSSensor_Sensing * release_velocity()
Definition: build/ignition-msgs8/include/ignition/msgs/gps_sensor.pb.h:571
STL class.
IGNITION_MSGS_VISIBLE GPSSensorDefaultTypeInternal _GPSSensor_default_instance_
void Swap(GPSSensor *other)
IGNITION_MSGS_VISIBLE GPSSensor_SensingDefaultTypeInternal _GPSSensor_Sensing_default_instance_
::ignition::msgs::Header * release_header()
Definition: build/ignition-msgs8/include/ignition/msgs/gps_sensor.pb.h:463
void set_allocated_header(::ignition::msgs::Header *header)
Definition: build/ignition-msgs8/include/ignition/msgs/gps_sensor.pb.h:479
Definition: build/ignition-msgs8/include/ignition/msgs/gps_sensor.pb.h:204
const ::ignition::msgs::Header & header() const
Definition: build/ignition-msgs8/include/ignition/msgs/gps_sensor.pb.h:457
void Swap(GPSSensor_Sensing *other)
const ::ignition::msgs::GPSSensor_Sensing & position() const
Definition: build/ignition-msgs8/include/ignition/msgs/gps_sensor.pb.h:511
friend void swap(GPSSensor_Sensing &a, GPSSensor_Sensing &b)
Definition: build/ignition-msgs8/include/ignition/msgs/gps_sensor.pb.h:120
::ignition::msgs::Header * mutable_header()
Definition: build/ignition-msgs8/include/ignition/msgs/gps_sensor.pb.h:470
GPSSensor & operator=(const GPSSensor &from)
Definition: build/ignition-msgs8/include/ignition/msgs/gps_sensor.pb.h:211
GPSSensor * New() const final
Definition: build/ignition-msgs8/include/ignition/msgs/gps_sensor.pb.h:248
Definition: build/ignition-msgs8/include/ignition/msgs/gps_sensor.pb.h:49
void clear_position()
Definition: build/ignition-msgs8/include/ignition/msgs/gps_sensor.pb.h:502
void clear_velocity()
Definition: build/ignition-msgs8/include/ignition/msgs/gps_sensor.pb.h:556
friend void swap(GPSSensor &a, GPSSensor &b)
Definition: build/ignition-msgs8/include/ignition/msgs/gps_sensor.pb.h:242
Definition: build/ignition-msgs8/include/ignition/msgs/gps_sensor.pb.h:51
GPSSensor_Sensing * New(::google::protobuf::Arena *arena) const final
Definition: build/ignition-msgs8/include/ignition/msgs/gps_sensor.pb.h:130
void set_allocated_vertical_noise(::ignition::msgs::SensorNoise *vertical_noise)
Definition: build/ignition-msgs8/include/ignition/msgs/gps_sensor.pb.h:427
const ::ignition::msgs::SensorNoise & vertical_noise() const
Definition: build/ignition-msgs8/include/ignition/msgs/gps_sensor.pb.h:405
bool has_velocity() const
Definition: build/ignition-msgs8/include/ignition/msgs/gps_sensor.pb.h:553
static const GPSSensor_Sensing * internal_default_instance()
Definition: build/ignition-msgs8/include/ignition/msgs/gps_sensor.pb.h:112
bool has_vertical_noise() const
Definition: build/ignition-msgs8/include/ignition/msgs/gps_sensor.pb.h:399
Definition: build/ignition-msgs8/include/ignition/msgs/gps_sensor.pb.h:82
GPSSensor_Sensing & operator=(const GPSSensor_Sensing &from)
Definition: build/ignition-msgs8/include/ignition/msgs/gps_sensor.pb.h:89
::ignition::msgs::SensorNoise * release_vertical_noise()
Definition: build/ignition-msgs8/include/ignition/msgs/gps_sensor.pb.h:411
::ignition::msgs::GPSSensor_Sensing * mutable_velocity()
Definition: build/ignition-msgs8/include/ignition/msgs/gps_sensor.pb.h:578
::ignition::msgs::GPSSensor_Sensing * release_position()
Definition: build/ignition-msgs8/include/ignition/msgs/gps_sensor.pb.h:517
std::unique_ptr< GPSSensor > GPSSensorUniquePtr
Definition: build/ignition-msgs8/include/ignition/msgs/gps_sensor.pb.h:612
IGNITION_MSGS_VISIBLE SensorNoiseDefaultTypeInternal _SensorNoise_default_instance_
void set_allocated_position(::ignition::msgs::GPSSensor_Sensing *position)
Definition: build/ignition-msgs8/include/ignition/msgs/gps_sensor.pb.h:533
::ignition::msgs::GPSSensor_Sensing * mutable_position()
Definition: build/ignition-msgs8/include/ignition/msgs/gps_sensor.pb.h:524
std::unique_ptr< const GPSSensor > ConstGPSSensorUniquePtr
Definition: build/ignition-msgs8/include/ignition/msgs/gps_sensor.pb.h:613
bool has_header() const
Definition: build/ignition-msgs8/include/ignition/msgs/gps_sensor.pb.h:451
static const GPSSensor * internal_default_instance()
Definition: build/ignition-msgs8/include/ignition/msgs/gps_sensor.pb.h:234
void set_allocated_velocity(::ignition::msgs::GPSSensor_Sensing *velocity)
Definition: build/ignition-msgs8/include/ignition/msgs/gps_sensor.pb.h:587
IGNITION_MSGS_VISIBLE HeaderDefaultTypeInternal _Header_default_instance_
void IGNITION_MSGS_VISIBLE AddDescriptors()
const ::ignition::msgs::GPSSensor_Sensing & velocity() const
Definition: build/ignition-msgs8/include/ignition/msgs/gps_sensor.pb.h:565
bool has_position() const
Definition: build/ignition-msgs8/include/ignition/msgs/gps_sensor.pb.h:499
Definition: build/ignition-msgs8/include/ignition/msgs/header.pb.h:215
::ignition::msgs::SensorNoise * release_horizontal_noise()
Definition: build/ignition-msgs8/include/ignition/msgs/gps_sensor.pb.h:363
Definition: build/ignition-msgs8/include/ignition/msgs/sensor_noise.pb.h:100
::ignition::msgs::SensorNoise * mutable_vertical_noise()
Definition: build/ignition-msgs8/include/ignition/msgs/gps_sensor.pb.h:418
std::shared_ptr< const GPSSensor > ConstGPSSensorSharedPtr
Definition: build/ignition-msgs8/include/ignition/msgs/gps_sensor.pb.h:615
const ::ignition::msgs::SensorNoise & horizontal_noise() const
Definition: build/ignition-msgs8/include/ignition/msgs/gps_sensor.pb.h:357
STL class.
GPSSensor_Sensing * New() const final
Definition: build/ignition-msgs8/include/ignition/msgs/gps_sensor.pb.h:126
std::shared_ptr< GPSSensor > GPSSensorSharedPtr
Definition: build/ignition-msgs8/include/ignition/msgs/gps_sensor.pb.h:614
Definition: build/ignition-msgs8/include/ignition/msgs/actor.pb.h:78
void set_allocated_horizontal_noise(::ignition::msgs::SensorNoise *horizontal_noise)
Definition: build/ignition-msgs8/include/ignition/msgs/gps_sensor.pb.h:379