Gazebo Msgs

API Reference

8.7.1
build/ignition-msgs8/include/ignition/msgs/pose.pb.h
Go to the documentation of this file.
1 // Generated by the protocol buffer compiler. DO NOT EDIT!
2 // source: ignition/msgs/pose.proto
3 
4 #ifndef GOOGLE_PROTOBUF_INCLUDED_ignition_2fmsgs_2fpose_2eproto
5 #define GOOGLE_PROTOBUF_INCLUDED_ignition_2fmsgs_2fpose_2eproto
6 
7 #include <limits>
8 #include <string>
9 
10 #include <google/protobuf/port_def.inc>
11 #if PROTOBUF_VERSION < 3012000
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 3012004 < 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>
24 #include <google/protobuf/arena.h>
25 #include <google/protobuf/arenastring.h>
26 #include <google/protobuf/generated_message_table_driven.h>
27 #include <google/protobuf/generated_message_util.h>
28 #include <google/protobuf/inlined_string_field.h>
29 #include <google/protobuf/metadata_lite.h>
30 #include <google/protobuf/generated_message_reflection.h>
31 #include <google/protobuf/message.h>
32 #include <google/protobuf/repeated_field.h> // IWYU pragma: export
33 #include <google/protobuf/extension_set.h> // IWYU pragma: export
34 #include <google/protobuf/unknown_field_set.h>
38 #ifndef _MSC_VER
39 #pragma GCC system_header
40 #else
41 #pragma warning(push)
42 #pragma warning(disable: 4244 4267 4100 4244 4512 4127 4068 4275 4251)
43 #endif
44 #ifdef __linux__
45 #include <sys/sysmacros.h>
46 #endif
47 #include <memory>
48 #include <ignition/msgs/Export.hh>
49 // @@protoc_insertion_point(includes)
50 #include <google/protobuf/port_def.inc>
51 #define PROTOBUF_INTERNAL_EXPORT_ignition_2fmsgs_2fpose_2eproto IGNITION_MSGS_VISIBLE
52 PROTOBUF_NAMESPACE_OPEN
53 namespace internal {
54 class AnyMetadata;
55 } // namespace internal
56 PROTOBUF_NAMESPACE_CLOSE
57 
58 // Internal implementation detail -- do not use these members.
59 struct IGNITION_MSGS_VISIBLE TableStruct_ignition_2fmsgs_2fpose_2eproto {
60  static const ::PROTOBUF_NAMESPACE_ID::internal::ParseTableField entries[]
61  PROTOBUF_SECTION_VARIABLE(protodesc_cold);
62  static const ::PROTOBUF_NAMESPACE_ID::internal::AuxillaryParseTableField aux[]
63  PROTOBUF_SECTION_VARIABLE(protodesc_cold);
64  static const ::PROTOBUF_NAMESPACE_ID::internal::ParseTable schema[1]
65  PROTOBUF_SECTION_VARIABLE(protodesc_cold);
66  static const ::PROTOBUF_NAMESPACE_ID::internal::FieldMetadata field_metadata[];
67  static const ::PROTOBUF_NAMESPACE_ID::internal::SerializationTable serialization_table[];
68  static const ::PROTOBUF_NAMESPACE_ID::uint32 offsets[];
69 };
70 extern IGNITION_MSGS_VISIBLE const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable descriptor_table_ignition_2fmsgs_2fpose_2eproto;
71 namespace ignition {
72 namespace msgs {
73 class Pose;
74 class PoseDefaultTypeInternal;
75 IGNITION_MSGS_VISIBLE extern PoseDefaultTypeInternal _Pose_default_instance_;
76 } // namespace msgs
77 } // namespace ignition
78 PROTOBUF_NAMESPACE_OPEN
79 template<> IGNITION_MSGS_VISIBLE ::ignition::msgs::Pose* Arena::CreateMaybeMessage<::ignition::msgs::Pose>(Arena*);
80 PROTOBUF_NAMESPACE_CLOSE
81 namespace ignition {
82 namespace msgs {
83 
84 // ===================================================================
85 
86 class IGNITION_MSGS_VISIBLE Pose PROTOBUF_FINAL :
87  public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:ignition.msgs.Pose) */ {
88  public:
89  inline Pose() : Pose(nullptr) {};
90  virtual ~Pose();
91 
92  Pose(const Pose& from);
93  Pose(Pose&& from) noexcept
94  : Pose() {
95  *this = ::std::move(from);
96  }
97 
98  inline Pose& operator=(const Pose& from) {
99  CopyFrom(from);
100  return *this;
101  }
102  inline Pose& operator=(Pose&& from) noexcept {
103  if (GetArena() == from.GetArena()) {
104  if (this != &from) InternalSwap(&from);
105  } else {
106  CopyFrom(from);
107  }
108  return *this;
109  }
110 
111  static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
112  return GetDescriptor();
113  }
114  static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
115  return GetMetadataStatic().descriptor;
116  }
117  static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
118  return GetMetadataStatic().reflection;
119  }
120  static const Pose& default_instance();
121 
122  static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
123  static inline const Pose* internal_default_instance() {
124  return reinterpret_cast<const Pose*>(
126  }
127  static constexpr int kIndexInFileMessages =
128  0;
129 
130  friend void swap(Pose& a, Pose& b) {
131  a.Swap(&b);
132  }
133  inline void Swap(Pose* other) {
134  if (other == this) return;
135  if (GetArena() == other->GetArena()) {
136  InternalSwap(other);
137  } else {
138  ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
139  }
140  }
141  void UnsafeArenaSwap(Pose* other) {
142  if (other == this) return;
143  GOOGLE_DCHECK(GetArena() == other->GetArena());
144  InternalSwap(other);
145  }
146 
147  // implements Message ----------------------------------------------
148 
149  inline Pose* New() const final {
150  return CreateMaybeMessage<Pose>(nullptr);
151  }
152 
153  Pose* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
154  return CreateMaybeMessage<Pose>(arena);
155  }
156  void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
157  void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
158  void CopyFrom(const Pose& from);
159  void MergeFrom(const Pose& from);
160  PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
161  bool IsInitialized() const final;
162 
163  size_t ByteSizeLong() const final;
164  const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
165  ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize(
166  ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
167  int GetCachedSize() const final { return _cached_size_.Get(); }
168 
169  private:
170  inline void SharedCtor();
171  inline void SharedDtor();
172  void SetCachedSize(int size) const final;
173  void InternalSwap(Pose* other);
174  friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
175  static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
176  return "ignition.msgs.Pose";
177  }
178  protected:
179  explicit Pose(::PROTOBUF_NAMESPACE_ID::Arena* arena);
180  private:
181  static void ArenaDtor(void* object);
182  inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
183  public:
184 
185  ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
186  private:
187  static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() {
188  ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&::descriptor_table_ignition_2fmsgs_2fpose_2eproto);
189  return ::descriptor_table_ignition_2fmsgs_2fpose_2eproto.file_level_metadata[kIndexInFileMessages];
190  }
191 
192  public:
193 
194  // nested types ----------------------------------------------------
195 
196  // accessors -------------------------------------------------------
197 
198  enum : int {
199  kNameFieldNumber = 2,
200  kHeaderFieldNumber = 1,
201  kPositionFieldNumber = 4,
202  kOrientationFieldNumber = 5,
203  kIdFieldNumber = 3,
204  };
205  // string name = 2;
206  void clear_name();
207  const std::string& name() const;
208  void set_name(const std::string& value);
209  void set_name(std::string&& value);
210  void set_name(const char* value);
211  void set_name(const char* value, size_t size);
215  GOOGLE_PROTOBUF_RUNTIME_DEPRECATED("The unsafe_arena_ accessors for"
216  " string fields are deprecated and will be removed in a"
217  " future release.")
218  std::string* unsafe_arena_release_name();
219  GOOGLE_PROTOBUF_RUNTIME_DEPRECATED("The unsafe_arena_ accessors for"
220  " string fields are deprecated and will be removed in a"
221  " future release.")
222  void unsafe_arena_set_allocated_name(
223  std::string* name);
224  private:
225  const std::string& _internal_name() const;
226  void _internal_set_name(const std::string& value);
227  std::string* _internal_mutable_name();
228  public:
229 
230  // .ignition.msgs.Header header = 1;
231  bool has_header() const;
232  private:
233  bool _internal_has_header() const;
234  public:
235  void clear_header();
236  const ::ignition::msgs::Header& header() const;
237  ::ignition::msgs::Header* release_header();
238  ::ignition::msgs::Header* mutable_header();
239  void set_allocated_header(::ignition::msgs::Header* header);
240  private:
241  const ::ignition::msgs::Header& _internal_header() const;
242  ::ignition::msgs::Header* _internal_mutable_header();
243  public:
244  void unsafe_arena_set_allocated_header(
245  ::ignition::msgs::Header* header);
246  ::ignition::msgs::Header* unsafe_arena_release_header();
247 
248  // .ignition.msgs.Vector3d position = 4;
249  bool has_position() const;
250  private:
251  bool _internal_has_position() const;
252  public:
253  void clear_position();
254  const ::ignition::msgs::Vector3d& position() const;
255  ::ignition::msgs::Vector3d* release_position();
256  ::ignition::msgs::Vector3d* mutable_position();
257  void set_allocated_position(::ignition::msgs::Vector3d* position);
258  private:
259  const ::ignition::msgs::Vector3d& _internal_position() const;
260  ::ignition::msgs::Vector3d* _internal_mutable_position();
261  public:
262  void unsafe_arena_set_allocated_position(
263  ::ignition::msgs::Vector3d* position);
264  ::ignition::msgs::Vector3d* unsafe_arena_release_position();
265 
266  // .ignition.msgs.Quaternion orientation = 5;
267  bool has_orientation() const;
268  private:
269  bool _internal_has_orientation() const;
270  public:
271  void clear_orientation();
272  const ::ignition::msgs::Quaternion& orientation() const;
273  ::ignition::msgs::Quaternion* release_orientation();
274  ::ignition::msgs::Quaternion* mutable_orientation();
275  void set_allocated_orientation(::ignition::msgs::Quaternion* orientation);
276  private:
277  const ::ignition::msgs::Quaternion& _internal_orientation() const;
278  ::ignition::msgs::Quaternion* _internal_mutable_orientation();
279  public:
280  void unsafe_arena_set_allocated_orientation(
281  ::ignition::msgs::Quaternion* orientation);
282  ::ignition::msgs::Quaternion* unsafe_arena_release_orientation();
283 
284  // uint32 id = 3;
285  void clear_id();
286  ::PROTOBUF_NAMESPACE_ID::uint32 id() const;
287  void set_id(::PROTOBUF_NAMESPACE_ID::uint32 value);
288  private:
289  ::PROTOBUF_NAMESPACE_ID::uint32 _internal_id() const;
290  void _internal_set_id(::PROTOBUF_NAMESPACE_ID::uint32 value);
291  public:
292 
293  // @@protoc_insertion_point(class_scope:ignition.msgs.Pose)
294  private:
295  class _Internal;
296 
297  template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
298  typedef void InternalArenaConstructable_;
299  typedef void DestructorSkippable_;
300  ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr name_;
301  ::ignition::msgs::Header* header_;
302  ::ignition::msgs::Vector3d* position_;
303  ::ignition::msgs::Quaternion* orientation_;
304  ::PROTOBUF_NAMESPACE_ID::uint32 id_;
305  mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
307 };
308 // ===================================================================
309 
310 
311 // ===================================================================
312 
313 #ifdef __GNUC__
314  #pragma GCC diagnostic push
315  #pragma GCC diagnostic ignored "-Wstrict-aliasing"
316 #endif // __GNUC__
317 // Pose
318 
319 // .ignition.msgs.Header header = 1;
320 inline bool Pose::_internal_has_header() const {
321  return this != internal_default_instance() && header_ != nullptr;
322 }
323 inline bool Pose::has_header() const {
324  return _internal_has_header();
325 }
326 inline const ::ignition::msgs::Header& Pose::_internal_header() const {
327  const ::ignition::msgs::Header* p = header_;
328  return p != nullptr ? *p : *reinterpret_cast<const ::ignition::msgs::Header*>(
330 }
331 inline const ::ignition::msgs::Header& Pose::header() const {
332  // @@protoc_insertion_point(field_get:ignition.msgs.Pose.header)
333  return _internal_header();
334 }
335 inline void Pose::unsafe_arena_set_allocated_header(
336  ::ignition::msgs::Header* header) {
337  if (GetArena() == nullptr) {
338  delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(header_);
339  }
340  header_ = header;
341  if (header) {
342 
343  } else {
344 
345  }
346  // @@protoc_insertion_point(field_unsafe_arena_set_allocated:ignition.msgs.Pose.header)
347 }
348 inline ::ignition::msgs::Header* Pose::release_header() {
349  auto temp = unsafe_arena_release_header();
350  if (GetArena() != nullptr) {
351  temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
352  }
353  return temp;
354 }
355 inline ::ignition::msgs::Header* Pose::unsafe_arena_release_header() {
356  // @@protoc_insertion_point(field_release:ignition.msgs.Pose.header)
357 
358  ::ignition::msgs::Header* temp = header_;
359  header_ = nullptr;
360  return temp;
361 }
362 inline ::ignition::msgs::Header* Pose::_internal_mutable_header() {
363 
364  if (header_ == nullptr) {
365  auto* p = CreateMaybeMessage<::ignition::msgs::Header>(GetArena());
366  header_ = p;
367  }
368  return header_;
369 }
370 inline ::ignition::msgs::Header* Pose::mutable_header() {
371  // @@protoc_insertion_point(field_mutable:ignition.msgs.Pose.header)
372  return _internal_mutable_header();
373 }
374 inline void Pose::set_allocated_header(::ignition::msgs::Header* header) {
375  ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArena();
376  if (message_arena == nullptr) {
377  delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(header_);
378  }
379  if (header) {
380  ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
381  reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(header)->GetArena();
382  if (message_arena != submessage_arena) {
383  header = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
384  message_arena, header, submessage_arena);
385  }
386 
387  } else {
388 
389  }
390  header_ = header;
391  // @@protoc_insertion_point(field_set_allocated:ignition.msgs.Pose.header)
392 }
393 
394 // string name = 2;
395 inline void Pose::clear_name() {
396  name_.ClearToEmpty(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena());
397 }
398 inline const std::string& Pose::name() const {
399  // @@protoc_insertion_point(field_get:ignition.msgs.Pose.name)
400  return _internal_name();
401 }
402 inline void Pose::set_name(const std::string& value) {
403  _internal_set_name(value);
404  // @@protoc_insertion_point(field_set:ignition.msgs.Pose.name)
405 }
406 inline std::string* Pose::mutable_name() {
407  // @@protoc_insertion_point(field_mutable:ignition.msgs.Pose.name)
408  return _internal_mutable_name();
409 }
410 inline const std::string& Pose::_internal_name() const {
411  return name_.Get();
412 }
413 inline void Pose::_internal_set_name(const std::string& value) {
414 
415  name_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), value, GetArena());
416 }
417 inline void Pose::set_name(std::string&& value) {
418 
419  name_.Set(
420  &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::move(value), GetArena());
421  // @@protoc_insertion_point(field_set_rvalue:ignition.msgs.Pose.name)
422 }
423 inline void Pose::set_name(const char* value) {
424  GOOGLE_DCHECK(value != nullptr);
425 
426  name_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(value),
427  GetArena());
428  // @@protoc_insertion_point(field_set_char:ignition.msgs.Pose.name)
429 }
430 inline void Pose::set_name(const char* value,
431  size_t size) {
432 
433  name_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(
434  reinterpret_cast<const char*>(value), size), GetArena());
435  // @@protoc_insertion_point(field_set_pointer:ignition.msgs.Pose.name)
436 }
437 inline std::string* Pose::_internal_mutable_name() {
438 
439  return name_.Mutable(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena());
440 }
441 inline std::string* Pose::release_name() {
442  // @@protoc_insertion_point(field_release:ignition.msgs.Pose.name)
443  return name_.Release(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena());
444 }
445 inline void Pose::set_allocated_name(std::string* name) {
446  if (name != nullptr) {
447 
448  } else {
449 
450  }
451  name_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), name,
452  GetArena());
453  // @@protoc_insertion_point(field_set_allocated:ignition.msgs.Pose.name)
454 }
455 inline std::string* Pose::unsafe_arena_release_name() {
456  // @@protoc_insertion_point(field_unsafe_arena_release:ignition.msgs.Pose.name)
457  GOOGLE_DCHECK(GetArena() != nullptr);
458 
459  return name_.UnsafeArenaRelease(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(),
460  GetArena());
461 }
462 inline void Pose::unsafe_arena_set_allocated_name(
463  std::string* name) {
464  GOOGLE_DCHECK(GetArena() != nullptr);
465  if (name != nullptr) {
466 
467  } else {
468 
469  }
470  name_.UnsafeArenaSetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(),
471  name, GetArena());
472  // @@protoc_insertion_point(field_unsafe_arena_set_allocated:ignition.msgs.Pose.name)
473 }
474 
475 // uint32 id = 3;
476 inline void Pose::clear_id() {
477  id_ = 0u;
478 }
479 inline ::PROTOBUF_NAMESPACE_ID::uint32 Pose::_internal_id() const {
480  return id_;
481 }
482 inline ::PROTOBUF_NAMESPACE_ID::uint32 Pose::id() const {
483  // @@protoc_insertion_point(field_get:ignition.msgs.Pose.id)
484  return _internal_id();
485 }
486 inline void Pose::_internal_set_id(::PROTOBUF_NAMESPACE_ID::uint32 value) {
487 
488  id_ = value;
489 }
490 inline void Pose::set_id(::PROTOBUF_NAMESPACE_ID::uint32 value) {
491  _internal_set_id(value);
492  // @@protoc_insertion_point(field_set:ignition.msgs.Pose.id)
493 }
494 
495 // .ignition.msgs.Vector3d position = 4;
496 inline bool Pose::_internal_has_position() const {
497  return this != internal_default_instance() && position_ != nullptr;
498 }
499 inline bool Pose::has_position() const {
500  return _internal_has_position();
501 }
502 inline const ::ignition::msgs::Vector3d& Pose::_internal_position() const {
503  const ::ignition::msgs::Vector3d* p = position_;
504  return p != nullptr ? *p : *reinterpret_cast<const ::ignition::msgs::Vector3d*>(
506 }
507 inline const ::ignition::msgs::Vector3d& Pose::position() const {
508  // @@protoc_insertion_point(field_get:ignition.msgs.Pose.position)
509  return _internal_position();
510 }
511 inline void Pose::unsafe_arena_set_allocated_position(
512  ::ignition::msgs::Vector3d* position) {
513  if (GetArena() == nullptr) {
514  delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(position_);
515  }
516  position_ = position;
517  if (position) {
518 
519  } else {
520 
521  }
522  // @@protoc_insertion_point(field_unsafe_arena_set_allocated:ignition.msgs.Pose.position)
523 }
524 inline ::ignition::msgs::Vector3d* Pose::release_position() {
525  auto temp = unsafe_arena_release_position();
526  if (GetArena() != nullptr) {
527  temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
528  }
529  return temp;
530 }
531 inline ::ignition::msgs::Vector3d* Pose::unsafe_arena_release_position() {
532  // @@protoc_insertion_point(field_release:ignition.msgs.Pose.position)
533 
534  ::ignition::msgs::Vector3d* temp = position_;
535  position_ = nullptr;
536  return temp;
537 }
538 inline ::ignition::msgs::Vector3d* Pose::_internal_mutable_position() {
539 
540  if (position_ == nullptr) {
541  auto* p = CreateMaybeMessage<::ignition::msgs::Vector3d>(GetArena());
542  position_ = p;
543  }
544  return position_;
545 }
546 inline ::ignition::msgs::Vector3d* Pose::mutable_position() {
547  // @@protoc_insertion_point(field_mutable:ignition.msgs.Pose.position)
548  return _internal_mutable_position();
549 }
550 inline void Pose::set_allocated_position(::ignition::msgs::Vector3d* position) {
551  ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArena();
552  if (message_arena == nullptr) {
553  delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(position_);
554  }
555  if (position) {
556  ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
557  reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(position)->GetArena();
558  if (message_arena != submessage_arena) {
559  position = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
560  message_arena, position, submessage_arena);
561  }
562 
563  } else {
564 
565  }
566  position_ = position;
567  // @@protoc_insertion_point(field_set_allocated:ignition.msgs.Pose.position)
568 }
569 
570 // .ignition.msgs.Quaternion orientation = 5;
571 inline bool Pose::_internal_has_orientation() const {
572  return this != internal_default_instance() && orientation_ != nullptr;
573 }
574 inline bool Pose::has_orientation() const {
575  return _internal_has_orientation();
576 }
577 inline const ::ignition::msgs::Quaternion& Pose::_internal_orientation() const {
578  const ::ignition::msgs::Quaternion* p = orientation_;
579  return p != nullptr ? *p : *reinterpret_cast<const ::ignition::msgs::Quaternion*>(
581 }
582 inline const ::ignition::msgs::Quaternion& Pose::orientation() const {
583  // @@protoc_insertion_point(field_get:ignition.msgs.Pose.orientation)
584  return _internal_orientation();
585 }
586 inline void Pose::unsafe_arena_set_allocated_orientation(
587  ::ignition::msgs::Quaternion* orientation) {
588  if (GetArena() == nullptr) {
589  delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(orientation_);
590  }
591  orientation_ = orientation;
592  if (orientation) {
593 
594  } else {
595 
596  }
597  // @@protoc_insertion_point(field_unsafe_arena_set_allocated:ignition.msgs.Pose.orientation)
598 }
599 inline ::ignition::msgs::Quaternion* Pose::release_orientation() {
600  auto temp = unsafe_arena_release_orientation();
601  if (GetArena() != nullptr) {
602  temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
603  }
604  return temp;
605 }
606 inline ::ignition::msgs::Quaternion* Pose::unsafe_arena_release_orientation() {
607  // @@protoc_insertion_point(field_release:ignition.msgs.Pose.orientation)
608 
609  ::ignition::msgs::Quaternion* temp = orientation_;
610  orientation_ = nullptr;
611  return temp;
612 }
613 inline ::ignition::msgs::Quaternion* Pose::_internal_mutable_orientation() {
614 
615  if (orientation_ == nullptr) {
616  auto* p = CreateMaybeMessage<::ignition::msgs::Quaternion>(GetArena());
617  orientation_ = p;
618  }
619  return orientation_;
620 }
621 inline ::ignition::msgs::Quaternion* Pose::mutable_orientation() {
622  // @@protoc_insertion_point(field_mutable:ignition.msgs.Pose.orientation)
623  return _internal_mutable_orientation();
624 }
625 inline void Pose::set_allocated_orientation(::ignition::msgs::Quaternion* orientation) {
626  ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArena();
627  if (message_arena == nullptr) {
628  delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(orientation_);
629  }
630  if (orientation) {
631  ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
632  reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(orientation)->GetArena();
633  if (message_arena != submessage_arena) {
634  orientation = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
635  message_arena, orientation, submessage_arena);
636  }
637 
638  } else {
639 
640  }
641  orientation_ = orientation;
642  // @@protoc_insertion_point(field_set_allocated:ignition.msgs.Pose.orientation)
643 }
644 
645 #ifdef __GNUC__
646  #pragma GCC diagnostic pop
647 #endif // __GNUC__
648 
653 // @@protoc_insertion_point(namespace_scope)
654 
655 } // namespace msgs
656 } // namespace ignition
657 
658 #ifdef _MSC_VER
659 #pragma warning(pop)
660 #endif
661 // @@protoc_insertion_point(global_scope)
662 
663 #include <google/protobuf/port_undef.inc>
664 #endif // GOOGLE_PROTOBUF_INCLUDED_GOOGLE_PROTOBUF_INCLUDED_ignition_2fmsgs_2fpose_2eproto
IGNITION_MSGS_VISIBLEconst ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable descriptor_table_ignition_2fmsgs_2fpose_2eproto
Pose & operator=(Pose &&from) noexcept
Definition: build/ignition-msgs8/include/ignition/msgs/pose.pb.h:102
static const ::PROTOBUF_NAMESPACE_ID::Reflection * GetReflection()
Definition: build/ignition-msgs8/include/ignition/msgs/pose.pb.h:117
Pose(Pose &&from) noexcept
Definition: build/ignition-msgs8/include/ignition/msgs/pose.pb.h:93
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final
void set_name(const char *value, size_t size)
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * descriptor()
Definition: build/ignition-msgs8/include/ignition/msgs/pose.pb.h:111
void set_name(const std::string &value)
static const Pose * internal_default_instance()
Definition: build/ignition-msgs8/include/ignition/msgs/pose.pb.h:123
void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message &from) final
Pose & operator=(const Pose &from)
Definition: build/ignition-msgs8/include/ignition/msgs/pose.pb.h:98
Pose * New(::PROTOBUF_NAMESPACE_ID::Arena *arena) const final
Definition: build/ignition-msgs8/include/ignition/msgs/pose.pb.h:153
void UnsafeArenaSwap(Pose *other)
Definition: build/ignition-msgs8/include/ignition/msgs/pose.pb.h:141
void MergeFrom(const Pose &from)
void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message &from) final
void Swap(Pose *other)
Definition: build/ignition-msgs8/include/ignition/msgs/pose.pb.h:133
Pose()
Definition: build/ignition-msgs8/include/ignition/msgs/pose.pb.h:89
::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * GetDescriptor()
Definition: build/ignition-msgs8/include/ignition/msgs/pose.pb.h:114
Pose(::PROTOBUF_NAMESPACE_ID::Arena *arena)
void CopyFrom(const Pose &from)
const std::string & name() const
void set_name(const char *value)
void set_name(std::string &&value)
friend void swap(Pose &a, Pose &b)
Definition: build/ignition-msgs8/include/ignition/msgs/pose.pb.h:130
static const Pose & default_instance()
void set_allocated_name(std::string *name)
Pose * New() const final
Definition: build/ignition-msgs8/include/ignition/msgs/pose.pb.h:149
T move(T... args)
Vector3< double > Vector3d
IGNITION_MSGS_VISIBLE Vector3dDefaultTypeInternal _Vector3d_default_instance_
IGNITION_MSGS_VISIBLE QuaternionDefaultTypeInternal _Quaternion_default_instance_
std::shared_ptr< Pose > PoseSharedPtr
Definition: build/ignition-msgs8/include/ignition/msgs/pose.pb.h:651
std::unique_ptr< Pose > PoseUniquePtr
Definition: build/ignition-msgs8/include/ignition/msgs/pose.pb.h:649
std::shared_ptr< const Pose > ConstPoseSharedPtr
Definition: build/ignition-msgs8/include/ignition/msgs/pose.pb.h:652
IGNITION_MSGS_VISIBLE HeaderDefaultTypeInternal _Header_default_instance_
IGNITION_MSGS_VISIBLE PoseDefaultTypeInternal _Pose_default_instance_
std::unique_ptr< const Pose > ConstPoseUniquePtr
Definition: build/ignition-msgs8/include/ignition/msgs/pose.pb.h:650
Definition: build/ignition-msgs8/include/ignition/msgs/actor.pb.h:53
STL namespace.
Definition: build/ignition-msgs8/include/ignition/msgs/pose.pb.h:59
static const ::PROTOBUF_NAMESPACE_ID::internal::ParseTableField entries[] PROTOBUF_SECTION_VARIABLE(protodesc_cold)
static const ::PROTOBUF_NAMESPACE_ID::internal::ParseTable schema[1] PROTOBUF_SECTION_VARIABLE(protodesc_cold)
static const ::PROTOBUF_NAMESPACE_ID::internal::AuxillaryParseTableField aux[] PROTOBUF_SECTION_VARIABLE(protodesc_cold)