Gazebo Msgs

API Reference

8.7.1
build/ignition-msgs8/include/ignition/msgs/quaternion.pb.h
Go to the documentation of this file.
1 // Generated by the protocol buffer compiler. DO NOT EDIT!
2 // source: ignition/msgs/quaternion.proto
3 
4 #ifndef GOOGLE_PROTOBUF_INCLUDED_ignition_2fmsgs_2fquaternion_2eproto
5 #define GOOGLE_PROTOBUF_INCLUDED_ignition_2fmsgs_2fquaternion_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>
36 #ifndef _MSC_VER
37 #pragma GCC system_header
38 #else
39 #pragma warning(push)
40 #pragma warning(disable: 4244 4267 4100 4244 4512 4127 4068 4275 4251)
41 #endif
42 #ifdef __linux__
43 #include <sys/sysmacros.h>
44 #endif
45 #include <memory>
46 #include <ignition/msgs/Export.hh>
47 // @@protoc_insertion_point(includes)
48 #include <google/protobuf/port_def.inc>
49 #define PROTOBUF_INTERNAL_EXPORT_ignition_2fmsgs_2fquaternion_2eproto IGNITION_MSGS_VISIBLE
50 PROTOBUF_NAMESPACE_OPEN
51 namespace internal {
52 class AnyMetadata;
53 } // namespace internal
54 PROTOBUF_NAMESPACE_CLOSE
55 
56 // Internal implementation detail -- do not use these members.
58  static const ::PROTOBUF_NAMESPACE_ID::internal::ParseTableField entries[]
59  PROTOBUF_SECTION_VARIABLE(protodesc_cold);
60  static const ::PROTOBUF_NAMESPACE_ID::internal::AuxillaryParseTableField aux[]
61  PROTOBUF_SECTION_VARIABLE(protodesc_cold);
62  static const ::PROTOBUF_NAMESPACE_ID::internal::ParseTable schema[1]
63  PROTOBUF_SECTION_VARIABLE(protodesc_cold);
64  static const ::PROTOBUF_NAMESPACE_ID::internal::FieldMetadata field_metadata[];
65  static const ::PROTOBUF_NAMESPACE_ID::internal::SerializationTable serialization_table[];
66  static const ::PROTOBUF_NAMESPACE_ID::uint32 offsets[];
67 };
68 extern IGNITION_MSGS_VISIBLE const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable descriptor_table_ignition_2fmsgs_2fquaternion_2eproto;
69 namespace ignition {
70 namespace msgs {
71 class Quaternion;
72 class QuaternionDefaultTypeInternal;
73 IGNITION_MSGS_VISIBLE extern QuaternionDefaultTypeInternal _Quaternion_default_instance_;
74 } // namespace msgs
75 } // namespace ignition
76 PROTOBUF_NAMESPACE_OPEN
77 template<> IGNITION_MSGS_VISIBLE ::ignition::msgs::Quaternion* Arena::CreateMaybeMessage<::ignition::msgs::Quaternion>(Arena*);
78 PROTOBUF_NAMESPACE_CLOSE
79 namespace ignition {
80 namespace msgs {
81 
82 // ===================================================================
83 
84 class IGNITION_MSGS_VISIBLE Quaternion PROTOBUF_FINAL :
85  public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:ignition.msgs.Quaternion) */ {
86  public:
87  inline Quaternion() : Quaternion(nullptr) {};
88  virtual ~Quaternion();
89 
90  Quaternion(const Quaternion& from);
91  Quaternion(Quaternion&& from) noexcept
92  : Quaternion() {
93  *this = ::std::move(from);
94  }
95 
96  inline Quaternion& operator=(const Quaternion& from) {
97  CopyFrom(from);
98  return *this;
99  }
100  inline Quaternion& operator=(Quaternion&& from) noexcept {
101  if (GetArena() == from.GetArena()) {
102  if (this != &from) InternalSwap(&from);
103  } else {
104  CopyFrom(from);
105  }
106  return *this;
107  }
108 
109  static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
110  return GetDescriptor();
111  }
112  static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
113  return GetMetadataStatic().descriptor;
114  }
115  static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
116  return GetMetadataStatic().reflection;
117  }
118  static const Quaternion& default_instance();
119 
120  static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
121  static inline const Quaternion* internal_default_instance() {
122  return reinterpret_cast<const Quaternion*>(
124  }
125  static constexpr int kIndexInFileMessages =
126  0;
127 
128  friend void swap(Quaternion& a, Quaternion& b) {
129  a.Swap(&b);
130  }
131  inline void Swap(Quaternion* other) {
132  if (other == this) return;
133  if (GetArena() == other->GetArena()) {
134  InternalSwap(other);
135  } else {
136  ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
137  }
138  }
139  void UnsafeArenaSwap(Quaternion* other) {
140  if (other == this) return;
141  GOOGLE_DCHECK(GetArena() == other->GetArena());
142  InternalSwap(other);
143  }
144 
145  // implements Message ----------------------------------------------
146 
147  inline Quaternion* New() const final {
148  return CreateMaybeMessage<Quaternion>(nullptr);
149  }
150 
151  Quaternion* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
152  return CreateMaybeMessage<Quaternion>(arena);
153  }
154  void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
155  void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
156  void CopyFrom(const Quaternion& from);
157  void MergeFrom(const Quaternion& from);
158  PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
159  bool IsInitialized() const final;
160 
161  size_t ByteSizeLong() const final;
162  const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
163  ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize(
164  ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
165  int GetCachedSize() const final { return _cached_size_.Get(); }
166 
167  private:
168  inline void SharedCtor();
169  inline void SharedDtor();
170  void SetCachedSize(int size) const final;
171  void InternalSwap(Quaternion* other);
172  friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
173  static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
174  return "ignition.msgs.Quaternion";
175  }
176  protected:
177  explicit Quaternion(::PROTOBUF_NAMESPACE_ID::Arena* arena);
178  private:
179  static void ArenaDtor(void* object);
180  inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
181  public:
182 
183  ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
184  private:
185  static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() {
186  ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&::descriptor_table_ignition_2fmsgs_2fquaternion_2eproto);
187  return ::descriptor_table_ignition_2fmsgs_2fquaternion_2eproto.file_level_metadata[kIndexInFileMessages];
188  }
189 
190  public:
191 
192  // nested types ----------------------------------------------------
193 
194  // accessors -------------------------------------------------------
195 
196  enum : int {
197  kHeaderFieldNumber = 1,
198  kXFieldNumber = 2,
199  kYFieldNumber = 3,
200  kZFieldNumber = 4,
201  kWFieldNumber = 5,
202  };
203  // .ignition.msgs.Header header = 1;
204  bool has_header() const;
205  private:
206  bool _internal_has_header() const;
207  public:
208  void clear_header();
209  const ::ignition::msgs::Header& header() const;
210  ::ignition::msgs::Header* release_header();
211  ::ignition::msgs::Header* mutable_header();
212  void set_allocated_header(::ignition::msgs::Header* header);
213  private:
214  const ::ignition::msgs::Header& _internal_header() const;
215  ::ignition::msgs::Header* _internal_mutable_header();
216  public:
218  ::ignition::msgs::Header* header);
219  ::ignition::msgs::Header* unsafe_arena_release_header();
220 
221  // double x = 2;
222  void clear_x();
223  double x() const;
224  void set_x(double value);
225  private:
226  double _internal_x() const;
227  void _internal_set_x(double value);
228  public:
229 
230  // double y = 3;
231  void clear_y();
232  double y() const;
233  void set_y(double value);
234  private:
235  double _internal_y() const;
236  void _internal_set_y(double value);
237  public:
238 
239  // double z = 4;
240  void clear_z();
241  double z() const;
242  void set_z(double value);
243  private:
244  double _internal_z() const;
245  void _internal_set_z(double value);
246  public:
247 
248  // double w = 5;
249  void clear_w();
250  double w() const;
251  void set_w(double value);
252  private:
253  double _internal_w() const;
254  void _internal_set_w(double value);
255  public:
256 
257  // @@protoc_insertion_point(class_scope:ignition.msgs.Quaternion)
258  private:
259  class _Internal;
260 
261  template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
262  typedef void InternalArenaConstructable_;
263  typedef void DestructorSkippable_;
264  ::ignition::msgs::Header* header_;
265  double x_;
266  double y_;
267  double z_;
268  double w_;
269  mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
270  friend struct ::TableStruct_ignition_2fmsgs_2fquaternion_2eproto;
271 };
272 // ===================================================================
273 
274 
275 // ===================================================================
276 
277 #ifdef __GNUC__
278  #pragma GCC diagnostic push
279  #pragma GCC diagnostic ignored "-Wstrict-aliasing"
280 #endif // __GNUC__
281 // Quaternion
282 
283 // .ignition.msgs.Header header = 1;
284 inline bool Quaternion::_internal_has_header() const {
285  return this != internal_default_instance() && header_ != nullptr;
286 }
287 inline bool Quaternion::has_header() const {
288  return _internal_has_header();
289 }
290 inline const ::ignition::msgs::Header& Quaternion::_internal_header() const {
291  const ::ignition::msgs::Header* p = header_;
292  return p != nullptr ? *p : *reinterpret_cast<const ::ignition::msgs::Header*>(
294 }
295 inline const ::ignition::msgs::Header& Quaternion::header() const {
296  // @@protoc_insertion_point(field_get:ignition.msgs.Quaternion.header)
297  return _internal_header();
298 }
299 inline void Quaternion::unsafe_arena_set_allocated_header(
300  ::ignition::msgs::Header* header) {
301  if (GetArena() == nullptr) {
302  delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(header_);
303  }
304  header_ = header;
305  if (header) {
306 
307  } else {
308 
309  }
310  // @@protoc_insertion_point(field_unsafe_arena_set_allocated:ignition.msgs.Quaternion.header)
311 }
312 inline ::ignition::msgs::Header* Quaternion::release_header() {
313  auto temp = unsafe_arena_release_header();
314  if (GetArena() != nullptr) {
315  temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
316  }
317  return temp;
318 }
319 inline ::ignition::msgs::Header* Quaternion::unsafe_arena_release_header() {
320  // @@protoc_insertion_point(field_release:ignition.msgs.Quaternion.header)
321 
322  ::ignition::msgs::Header* temp = header_;
323  header_ = nullptr;
324  return temp;
325 }
326 inline ::ignition::msgs::Header* Quaternion::_internal_mutable_header() {
327 
328  if (header_ == nullptr) {
329  auto* p = CreateMaybeMessage<::ignition::msgs::Header>(GetArena());
330  header_ = p;
331  }
332  return header_;
333 }
334 inline ::ignition::msgs::Header* Quaternion::mutable_header() {
335  // @@protoc_insertion_point(field_mutable:ignition.msgs.Quaternion.header)
336  return _internal_mutable_header();
337 }
338 inline void Quaternion::set_allocated_header(::ignition::msgs::Header* header) {
339  ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArena();
340  if (message_arena == nullptr) {
341  delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(header_);
342  }
343  if (header) {
344  ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
345  reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(header)->GetArena();
346  if (message_arena != submessage_arena) {
347  header = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
348  message_arena, header, submessage_arena);
349  }
350 
351  } else {
352 
353  }
354  header_ = header;
355  // @@protoc_insertion_point(field_set_allocated:ignition.msgs.Quaternion.header)
356 }
357 
358 // double x = 2;
359 inline void Quaternion::clear_x() {
360  x_ = 0;
361 }
362 inline double Quaternion::_internal_x() const {
363  return x_;
364 }
365 inline double Quaternion::x() const {
366  // @@protoc_insertion_point(field_get:ignition.msgs.Quaternion.x)
367  return _internal_x();
368 }
369 inline void Quaternion::_internal_set_x(double value) {
370 
371  x_ = value;
372 }
373 inline void Quaternion::set_x(double value) {
374  _internal_set_x(value);
375  // @@protoc_insertion_point(field_set:ignition.msgs.Quaternion.x)
376 }
377 
378 // double y = 3;
379 inline void Quaternion::clear_y() {
380  y_ = 0;
381 }
382 inline double Quaternion::_internal_y() const {
383  return y_;
384 }
385 inline double Quaternion::y() const {
386  // @@protoc_insertion_point(field_get:ignition.msgs.Quaternion.y)
387  return _internal_y();
388 }
389 inline void Quaternion::_internal_set_y(double value) {
390 
391  y_ = value;
392 }
393 inline void Quaternion::set_y(double value) {
394  _internal_set_y(value);
395  // @@protoc_insertion_point(field_set:ignition.msgs.Quaternion.y)
396 }
397 
398 // double z = 4;
399 inline void Quaternion::clear_z() {
400  z_ = 0;
401 }
402 inline double Quaternion::_internal_z() const {
403  return z_;
404 }
405 inline double Quaternion::z() const {
406  // @@protoc_insertion_point(field_get:ignition.msgs.Quaternion.z)
407  return _internal_z();
408 }
409 inline void Quaternion::_internal_set_z(double value) {
410 
411  z_ = value;
412 }
413 inline void Quaternion::set_z(double value) {
414  _internal_set_z(value);
415  // @@protoc_insertion_point(field_set:ignition.msgs.Quaternion.z)
416 }
417 
418 // double w = 5;
419 inline void Quaternion::clear_w() {
420  w_ = 0;
421 }
422 inline double Quaternion::_internal_w() const {
423  return w_;
424 }
425 inline double Quaternion::w() const {
426  // @@protoc_insertion_point(field_get:ignition.msgs.Quaternion.w)
427  return _internal_w();
428 }
429 inline void Quaternion::_internal_set_w(double value) {
430 
431  w_ = value;
432 }
433 inline void Quaternion::set_w(double value) {
434  _internal_set_w(value);
435  // @@protoc_insertion_point(field_set:ignition.msgs.Quaternion.w)
436 }
437 
438 #ifdef __GNUC__
439  #pragma GCC diagnostic pop
440 #endif // __GNUC__
441 
446 // @@protoc_insertion_point(namespace_scope)
447 
448 } // namespace msgs
449 } // namespace ignition
450 
451 #ifdef _MSC_VER
452 #pragma warning(pop)
453 #endif
454 // @@protoc_insertion_point(global_scope)
455 
456 #include <google/protobuf/port_undef.inc>
457 #endif // GOOGLE_PROTOBUF_INCLUDED_GOOGLE_PROTOBUF_INCLUDED_ignition_2fmsgs_2fquaternion_2eproto
IGNITION_MSGS_VISIBLEconst ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable descriptor_table_ignition_2fmsgs_2fquaternion_2eproto
Quaternion(::PROTOBUF_NAMESPACE_ID::Arena *arena)
static const ::PROTOBUF_NAMESPACE_ID::Reflection * GetReflection()
Definition: build/ignition-msgs8/include/ignition/msgs/quaternion.pb.h:115
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final
::ignition::msgs::Header * release_header()
Quaternion & operator=(Quaternion &&from) noexcept
Definition: build/ignition-msgs8/include/ignition/msgs/quaternion.pb.h:100
::ignition::msgs::Header * mutable_header()
friend void swap(Quaternion &a, Quaternion &b)
Definition: build/ignition-msgs8/include/ignition/msgs/quaternion.pb.h:128
void UnsafeArenaSwap(Quaternion *other)
Definition: build/ignition-msgs8/include/ignition/msgs/quaternion.pb.h:139
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * descriptor()
Definition: build/ignition-msgs8/include/ignition/msgs/quaternion.pb.h:109
void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message &from) final
static const Quaternion * internal_default_instance()
Definition: build/ignition-msgs8/include/ignition/msgs/quaternion.pb.h:121
void MergeFrom(const Quaternion &from)
void unsafe_arena_set_allocated_header(::ignition::msgs::Header *header)
Quaternion(const Quaternion &from)
Quaternion()
Definition: build/ignition-msgs8/include/ignition/msgs/quaternion.pb.h:87
::ignition::msgs::Header * unsafe_arena_release_header()
void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message &from) final
Quaternion * New(::PROTOBUF_NAMESPACE_ID::Arena *arena) const final
Definition: build/ignition-msgs8/include/ignition/msgs/quaternion.pb.h:151
Quaternion & operator=(const Quaternion &from)
Definition: build/ignition-msgs8/include/ignition/msgs/quaternion.pb.h:96
void set_allocated_header(::ignition::msgs::Header *header)
static const Quaternion & default_instance()
Quaternion(Quaternion &&from) noexcept
Definition: build/ignition-msgs8/include/ignition/msgs/quaternion.pb.h:91
::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * GetDescriptor()
Definition: build/ignition-msgs8/include/ignition/msgs/quaternion.pb.h:112
void Swap(Quaternion *other)
Definition: build/ignition-msgs8/include/ignition/msgs/quaternion.pb.h:131
Quaternion * New() const final
Definition: build/ignition-msgs8/include/ignition/msgs/quaternion.pb.h:147
void CopyFrom(const Quaternion &from)
const ::ignition::msgs::Header & header() const
std::unique_ptr< Quaternion > QuaternionUniquePtr
Definition: build/ignition-msgs8/include/ignition/msgs/quaternion.pb.h:442
IGNITION_MSGS_VISIBLE QuaternionDefaultTypeInternal _Quaternion_default_instance_
std::shared_ptr< Quaternion > QuaternionSharedPtr
Definition: build/ignition-msgs8/include/ignition/msgs/quaternion.pb.h:444
IGNITION_MSGS_VISIBLE HeaderDefaultTypeInternal _Header_default_instance_
std::shared_ptr< const Quaternion > ConstQuaternionSharedPtr
Definition: build/ignition-msgs8/include/ignition/msgs/quaternion.pb.h:445
std::unique_ptr< const Quaternion > ConstQuaternionUniquePtr
Definition: build/ignition-msgs8/include/ignition/msgs/quaternion.pb.h:443
Definition: build/ignition-msgs8/include/ignition/msgs/actor.pb.h:53
Definition: build/ignition-msgs8/include/ignition/msgs/quaternion.pb.h:57
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)