Ignition Msgs

API Reference

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