Ignition Msgs

API Reference

5.8.1
joint.pb.h
Go to the documentation of this file.
1 // Generated by the protocol buffer compiler. DO NOT EDIT!
2 // source: ignition/msgs/joint.proto
3 
4 #ifndef GOOGLE_PROTOBUF_INCLUDED_ignition_2fmsgs_2fjoint_2eproto
5 #define GOOGLE_PROTOBUF_INCLUDED_ignition_2fmsgs_2fjoint_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/generated_enum_reflection.h>
34 #include <google/protobuf/unknown_field_set.h>
36 #include "ignition/msgs/axis.pb.h"
37 #include "ignition/msgs/pose.pb.h"
39 #ifndef _MSC_VER
40 #pragma GCC system_header
41 #else
42 #pragma warning(push)
43 #pragma warning(disable: 4244 4267 4100 4244 4512 4127 4068 4275 4251)
44 #endif
45 #ifdef __linux__
46 #include <sys/sysmacros.h>
47 #endif
48 #include <memory>
49 #include <ignition/msgs/Export.hh>
50 // @@protoc_insertion_point(includes)
51 #include <google/protobuf/port_def.inc>
52 #define PROTOBUF_INTERNAL_EXPORT_ignition_2fmsgs_2fjoint_2eproto IGNITION_MSGS_VISIBLE
53 PROTOBUF_NAMESPACE_OPEN
54 namespace internal {
55 class AnyMetadata;
56 } // namespace internal
57 PROTOBUF_NAMESPACE_CLOSE
58 
59 // Internal implementation detail -- do not use these members.
60 struct IGNITION_MSGS_VISIBLE TableStruct_ignition_2fmsgs_2fjoint_2eproto {
61  static const ::PROTOBUF_NAMESPACE_ID::internal::ParseTableField entries[]
62  PROTOBUF_SECTION_VARIABLE(protodesc_cold);
63  static const ::PROTOBUF_NAMESPACE_ID::internal::AuxiliaryParseTableField aux[]
64  PROTOBUF_SECTION_VARIABLE(protodesc_cold);
65  static const ::PROTOBUF_NAMESPACE_ID::internal::ParseTable schema[3]
66  PROTOBUF_SECTION_VARIABLE(protodesc_cold);
67  static const ::PROTOBUF_NAMESPACE_ID::internal::FieldMetadata field_metadata[];
68  static const ::PROTOBUF_NAMESPACE_ID::internal::SerializationTable serialization_table[];
69  static const uint32_t offsets[];
70 };
71 IGNITION_MSGS_VISIBLE extern const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable descriptor_table_ignition_2fmsgs_2fjoint_2eproto;
72 namespace ignition {
73 namespace msgs {
74 class Joint;
75 struct JointDefaultTypeInternal;
76 IGNITION_MSGS_VISIBLE extern JointDefaultTypeInternal _Joint_default_instance_;
77 class Joint_Gearbox;
78 struct Joint_GearboxDefaultTypeInternal;
79 IGNITION_MSGS_VISIBLE extern Joint_GearboxDefaultTypeInternal _Joint_Gearbox_default_instance_;
80 class Joint_Screw;
81 struct Joint_ScrewDefaultTypeInternal;
82 IGNITION_MSGS_VISIBLE extern Joint_ScrewDefaultTypeInternal _Joint_Screw_default_instance_;
83 } // namespace msgs
84 } // namespace ignition
85 PROTOBUF_NAMESPACE_OPEN
86 template<> IGNITION_MSGS_VISIBLE ::ignition::msgs::Joint* Arena::CreateMaybeMessage<::ignition::msgs::Joint>(Arena*);
87 template<> IGNITION_MSGS_VISIBLE ::ignition::msgs::Joint_Gearbox* Arena::CreateMaybeMessage<::ignition::msgs::Joint_Gearbox>(Arena*);
88 template<> IGNITION_MSGS_VISIBLE ::ignition::msgs::Joint_Screw* Arena::CreateMaybeMessage<::ignition::msgs::Joint_Screw>(Arena*);
89 PROTOBUF_NAMESPACE_CLOSE
90 namespace ignition {
91 namespace msgs {
92 
93 enum Joint_Type : int {
104 };
105 IGNITION_MSGS_VISIBLE bool Joint_Type_IsValid(int value);
109 
110 IGNITION_MSGS_VISIBLE const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* Joint_Type_descriptor();
111 template<typename T>
112 inline const std::string& Joint_Type_Name(T enum_t_value) {
113  static_assert(::std::is_same<T, Joint_Type>::value ||
115  "Incorrect type passed to function Joint_Type_Name.");
116  return ::PROTOBUF_NAMESPACE_ID::internal::NameOfEnum(
117  Joint_Type_descriptor(), enum_t_value);
118 }
119 inline bool Joint_Type_Parse(
120  ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, Joint_Type* value) {
121  return ::PROTOBUF_NAMESPACE_ID::internal::ParseNamedEnum<Joint_Type>(
122  Joint_Type_descriptor(), name, value);
123 }
124 // ===================================================================
125 
126 class IGNITION_MSGS_VISIBLE Joint_Gearbox final :
127  public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:ignition.msgs.Joint.Gearbox) */ {
128  public:
129  inline Joint_Gearbox() : Joint_Gearbox(nullptr) {}
130  ~Joint_Gearbox() override;
131  explicit constexpr Joint_Gearbox(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
132 
134  Joint_Gearbox(Joint_Gearbox&& from) noexcept
135  : Joint_Gearbox() {
136  *this = ::std::move(from);
137  }
138 
139  inline Joint_Gearbox& operator=(const Joint_Gearbox& from) {
140  CopyFrom(from);
141  return *this;
142  }
143  inline Joint_Gearbox& operator=(Joint_Gearbox&& from) noexcept {
144  if (this == &from) return *this;
145  if (GetOwningArena() == from.GetOwningArena()
146  #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
147  && GetOwningArena() != nullptr
148  #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
149  ) {
150  InternalSwap(&from);
151  } else {
152  CopyFrom(from);
153  }
154  return *this;
155  }
156 
157  static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
158  return GetDescriptor();
159  }
160  static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
161  return default_instance().GetMetadata().descriptor;
162  }
163  static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
164  return default_instance().GetMetadata().reflection;
165  }
166  static const Joint_Gearbox& default_instance() {
167  return *internal_default_instance();
168  }
169  static inline const Joint_Gearbox* internal_default_instance() {
170  return reinterpret_cast<const Joint_Gearbox*>(
172  }
173  static constexpr int kIndexInFileMessages =
174  0;
175 
176  friend void swap(Joint_Gearbox& a, Joint_Gearbox& b) {
177  a.Swap(&b);
178  }
179  inline void Swap(Joint_Gearbox* other) {
180  if (other == this) return;
181  #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
182  if (GetOwningArena() != nullptr &&
183  GetOwningArena() == other->GetOwningArena()) {
184  #else // PROTOBUF_FORCE_COPY_IN_SWAP
185  if (GetOwningArena() == other->GetOwningArena()) {
186  #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
187  InternalSwap(other);
188  } else {
189  ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
190  }
191  }
193  if (other == this) return;
194  GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
195  InternalSwap(other);
196  }
197 
198  // implements Message ----------------------------------------------
199 
200  Joint_Gearbox* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
201  return CreateMaybeMessage<Joint_Gearbox>(arena);
202  }
203  using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
204  void CopyFrom(const Joint_Gearbox& from);
205  using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
206  void MergeFrom(const Joint_Gearbox& from);
207  private:
208  static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from);
209  public:
210  PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
211  bool IsInitialized() const final;
212 
213  size_t ByteSizeLong() const final;
214  const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
215  uint8_t* _InternalSerialize(
216  uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
217  int GetCachedSize() const final { return _cached_size_.Get(); }
218 
219  private:
220  void SharedCtor();
221  void SharedDtor();
222  void SetCachedSize(int size) const final;
223  void InternalSwap(Joint_Gearbox* other);
224 
225  private:
226  friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
227  static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
228  return "ignition.msgs.Joint.Gearbox";
229  }
230  protected:
231  explicit Joint_Gearbox(::PROTOBUF_NAMESPACE_ID::Arena* arena,
232  bool is_message_owned = false);
233  private:
234  static void ArenaDtor(void* object);
235  inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
236  public:
237 
238  static const ClassData _class_data_;
239  const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
240 
241  ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
242 
243  // nested types ----------------------------------------------------
244 
245  // accessors -------------------------------------------------------
246 
247  enum : int {
248  kGearboxReferenceBodyFieldNumber = 1,
249  kGearboxRatioFieldNumber = 2,
250  };
251  // string gearbox_reference_body = 1;
252  void clear_gearbox_reference_body();
253  const std::string& gearbox_reference_body() const;
254  template <typename ArgT0 = const std::string&, typename... ArgT>
255  void set_gearbox_reference_body(ArgT0&& arg0, ArgT... args);
256  std::string* mutable_gearbox_reference_body();
257  PROTOBUF_NODISCARD std::string* release_gearbox_reference_body();
258  void set_allocated_gearbox_reference_body(std::string* gearbox_reference_body);
259  private:
260  const std::string& _internal_gearbox_reference_body() const;
261  inline PROTOBUF_ALWAYS_INLINE void _internal_set_gearbox_reference_body(const std::string& value);
262  std::string* _internal_mutable_gearbox_reference_body();
263  public:
264 
265  // double gearbox_ratio = 2;
266  void clear_gearbox_ratio();
267  double gearbox_ratio() const;
268  void set_gearbox_ratio(double value);
269  private:
270  double _internal_gearbox_ratio() const;
271  void _internal_set_gearbox_ratio(double value);
272  public:
273 
274  // @@protoc_insertion_point(class_scope:ignition.msgs.Joint.Gearbox)
275  private:
276  class _Internal;
277 
278  template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
279  typedef void InternalArenaConstructable_;
280  typedef void DestructorSkippable_;
281  ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr gearbox_reference_body_;
282  double gearbox_ratio_;
283  mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
284  friend struct ::TableStruct_ignition_2fmsgs_2fjoint_2eproto;
285 };
286 // -------------------------------------------------------------------
287 
288 class IGNITION_MSGS_VISIBLE Joint_Screw final :
289  public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:ignition.msgs.Joint.Screw) */ {
290  public:
291  inline Joint_Screw() : Joint_Screw(nullptr) {}
292  ~Joint_Screw() override;
293  explicit constexpr Joint_Screw(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
294 
295  Joint_Screw(const Joint_Screw& from);
296  Joint_Screw(Joint_Screw&& from) noexcept
297  : Joint_Screw() {
298  *this = ::std::move(from);
299  }
300 
301  inline Joint_Screw& operator=(const Joint_Screw& from) {
302  CopyFrom(from);
303  return *this;
304  }
305  inline Joint_Screw& operator=(Joint_Screw&& from) noexcept {
306  if (this == &from) return *this;
307  if (GetOwningArena() == from.GetOwningArena()
308  #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
309  && GetOwningArena() != nullptr
310  #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
311  ) {
312  InternalSwap(&from);
313  } else {
314  CopyFrom(from);
315  }
316  return *this;
317  }
318 
319  static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
320  return GetDescriptor();
321  }
322  static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
323  return default_instance().GetMetadata().descriptor;
324  }
325  static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
326  return default_instance().GetMetadata().reflection;
327  }
328  static const Joint_Screw& default_instance() {
329  return *internal_default_instance();
330  }
331  static inline const Joint_Screw* internal_default_instance() {
332  return reinterpret_cast<const Joint_Screw*>(
334  }
335  static constexpr int kIndexInFileMessages =
336  1;
337 
338  friend void swap(Joint_Screw& a, Joint_Screw& b) {
339  a.Swap(&b);
340  }
341  inline void Swap(Joint_Screw* other) {
342  if (other == this) return;
343  #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
344  if (GetOwningArena() != nullptr &&
345  GetOwningArena() == other->GetOwningArena()) {
346  #else // PROTOBUF_FORCE_COPY_IN_SWAP
347  if (GetOwningArena() == other->GetOwningArena()) {
348  #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
349  InternalSwap(other);
350  } else {
351  ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
352  }
353  }
355  if (other == this) return;
356  GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
357  InternalSwap(other);
358  }
359 
360  // implements Message ----------------------------------------------
361 
362  Joint_Screw* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
363  return CreateMaybeMessage<Joint_Screw>(arena);
364  }
365  using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
366  void CopyFrom(const Joint_Screw& from);
367  using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
368  void MergeFrom(const Joint_Screw& from);
369  private:
370  static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from);
371  public:
372  PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
373  bool IsInitialized() const final;
374 
375  size_t ByteSizeLong() const final;
376  const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
377  uint8_t* _InternalSerialize(
378  uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
379  int GetCachedSize() const final { return _cached_size_.Get(); }
380 
381  private:
382  void SharedCtor();
383  void SharedDtor();
384  void SetCachedSize(int size) const final;
385  void InternalSwap(Joint_Screw* other);
386 
387  private:
388  friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
389  static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
390  return "ignition.msgs.Joint.Screw";
391  }
392  protected:
393  explicit Joint_Screw(::PROTOBUF_NAMESPACE_ID::Arena* arena,
394  bool is_message_owned = false);
395  private:
396  static void ArenaDtor(void* object);
397  inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
398  public:
399 
400  static const ClassData _class_data_;
401  const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
402 
403  ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
404 
405  // nested types ----------------------------------------------------
406 
407  // accessors -------------------------------------------------------
408 
409  enum : int {
410  kThreadPitchFieldNumber = 1,
411  };
412  // double thread_pitch = 1;
413  void clear_thread_pitch();
414  double thread_pitch() const;
415  void set_thread_pitch(double value);
416  private:
417  double _internal_thread_pitch() const;
418  void _internal_set_thread_pitch(double value);
419  public:
420 
421  // @@protoc_insertion_point(class_scope:ignition.msgs.Joint.Screw)
422  private:
423  class _Internal;
424 
425  template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
426  typedef void InternalArenaConstructable_;
427  typedef void DestructorSkippable_;
428  double thread_pitch_;
429  mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
430  friend struct ::TableStruct_ignition_2fmsgs_2fjoint_2eproto;
431 };
432 // -------------------------------------------------------------------
433 
434 class IGNITION_MSGS_VISIBLE Joint final :
435  public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:ignition.msgs.Joint) */ {
436  public:
437  inline Joint() : Joint(nullptr) {}
438  ~Joint() override;
439  explicit constexpr Joint(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
440 
441  Joint(const Joint& from);
442  Joint(Joint&& from) noexcept
443  : Joint() {
444  *this = ::std::move(from);
445  }
446 
447  inline Joint& operator=(const Joint& from) {
448  CopyFrom(from);
449  return *this;
450  }
451  inline Joint& operator=(Joint&& from) noexcept {
452  if (this == &from) return *this;
453  if (GetOwningArena() == from.GetOwningArena()
454  #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
455  && GetOwningArena() != nullptr
456  #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
457  ) {
458  InternalSwap(&from);
459  } else {
460  CopyFrom(from);
461  }
462  return *this;
463  }
464 
465  static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
466  return GetDescriptor();
467  }
468  static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
469  return default_instance().GetMetadata().descriptor;
470  }
471  static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
472  return default_instance().GetMetadata().reflection;
473  }
474  static const Joint& default_instance() {
475  return *internal_default_instance();
476  }
477  static inline const Joint* internal_default_instance() {
478  return reinterpret_cast<const Joint*>(
480  }
481  static constexpr int kIndexInFileMessages =
482  2;
483 
484  friend void swap(Joint& a, Joint& b) {
485  a.Swap(&b);
486  }
487  inline void Swap(Joint* other) {
488  if (other == this) return;
489  #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
490  if (GetOwningArena() != nullptr &&
491  GetOwningArena() == other->GetOwningArena()) {
492  #else // PROTOBUF_FORCE_COPY_IN_SWAP
493  if (GetOwningArena() == other->GetOwningArena()) {
494  #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
495  InternalSwap(other);
496  } else {
497  ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
498  }
499  }
500  void UnsafeArenaSwap(Joint* other) {
501  if (other == this) return;
502  GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
503  InternalSwap(other);
504  }
505 
506  // implements Message ----------------------------------------------
507 
508  Joint* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
509  return CreateMaybeMessage<Joint>(arena);
510  }
511  using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
512  void CopyFrom(const Joint& from);
513  using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
514  void MergeFrom(const Joint& from);
515  private:
516  static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from);
517  public:
518  PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
519  bool IsInitialized() const final;
520 
521  size_t ByteSizeLong() const final;
522  const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
523  uint8_t* _InternalSerialize(
524  uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
525  int GetCachedSize() const final { return _cached_size_.Get(); }
526 
527  private:
528  void SharedCtor();
529  void SharedDtor();
530  void SetCachedSize(int size) const final;
531  void InternalSwap(Joint* other);
532 
533  private:
534  friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
535  static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
536  return "ignition.msgs.Joint";
537  }
538  protected:
539  explicit Joint(::PROTOBUF_NAMESPACE_ID::Arena* arena,
540  bool is_message_owned = false);
541  private:
542  static void ArenaDtor(void* object);
543  inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
544  public:
545 
546  static const ClassData _class_data_;
547  const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
548 
549  ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
550 
551  // nested types ----------------------------------------------------
552 
555 
556  typedef Joint_Type Type;
557  static constexpr Type REVOLUTE =
559  static constexpr Type REVOLUTE2 =
561  static constexpr Type PRISMATIC =
563  static constexpr Type UNIVERSAL =
565  static constexpr Type BALL =
567  static constexpr Type SCREW =
569  static constexpr Type GEARBOX =
571  static constexpr Type FIXED =
573  static inline bool Type_IsValid(int value) {
574  return Joint_Type_IsValid(value);
575  }
576  static constexpr Type Type_MIN =
578  static constexpr Type Type_MAX =
580  static constexpr int Type_ARRAYSIZE =
582  static inline const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor*
584  return Joint_Type_descriptor();
585  }
586  template<typename T>
587  static inline const std::string& Type_Name(T enum_t_value) {
588  static_assert(::std::is_same<T, Type>::value ||
590  "Incorrect type passed to function Type_Name.");
591  return Joint_Type_Name(enum_t_value);
592  }
593  static inline bool Type_Parse(::PROTOBUF_NAMESPACE_ID::ConstStringParam name,
594  Type* value) {
595  return Joint_Type_Parse(name, value);
596  }
597 
598  // accessors -------------------------------------------------------
599 
600  enum : int {
601  kSensorFieldNumber = 21,
602  kNameFieldNumber = 2,
603  kParentFieldNumber = 5,
604  kChildFieldNumber = 7,
605  kHeaderFieldNumber = 1,
606  kPoseFieldNumber = 9,
607  kAxis1FieldNumber = 10,
608  kAxis2FieldNumber = 11,
609  kGearboxFieldNumber = 19,
610  kScrewFieldNumber = 20,
611  kIdFieldNumber = 3,
612  kTypeFieldNumber = 4,
613  kParentIdFieldNumber = 6,
614  kChildIdFieldNumber = 8,
615  kCfmFieldNumber = 12,
616  kBounceFieldNumber = 13,
617  kFudgeFactorFieldNumber = 14,
618  kLimitCfmFieldNumber = 15,
619  kLimitErpFieldNumber = 16,
620  kSuspensionCfmFieldNumber = 17,
621  kSuspensionErpFieldNumber = 18,
622  };
623  // repeated .ignition.msgs.Sensor sensor = 21;
624  int sensor_size() const;
625  private:
626  int _internal_sensor_size() const;
627  public:
628  void clear_sensor();
629  ::ignition::msgs::Sensor* mutable_sensor(int index);
630  ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::ignition::msgs::Sensor >*
631  mutable_sensor();
632  private:
633  const ::ignition::msgs::Sensor& _internal_sensor(int index) const;
634  ::ignition::msgs::Sensor* _internal_add_sensor();
635  public:
636  const ::ignition::msgs::Sensor& sensor(int index) const;
637  ::ignition::msgs::Sensor* add_sensor();
638  const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::ignition::msgs::Sensor >&
639  sensor() const;
640 
641  // string name = 2;
642  void clear_name();
643  const std::string& name() const;
644  template <typename ArgT0 = const std::string&, typename... ArgT>
645  void set_name(ArgT0&& arg0, ArgT... args);
646  std::string* mutable_name();
647  PROTOBUF_NODISCARD std::string* release_name();
648  void set_allocated_name(std::string* name);
649  private:
650  const std::string& _internal_name() const;
651  inline PROTOBUF_ALWAYS_INLINE void _internal_set_name(const std::string& value);
652  std::string* _internal_mutable_name();
653  public:
654 
655  // string parent = 5;
656  void clear_parent();
657  const std::string& parent() const;
658  template <typename ArgT0 = const std::string&, typename... ArgT>
659  void set_parent(ArgT0&& arg0, ArgT... args);
660  std::string* mutable_parent();
661  PROTOBUF_NODISCARD std::string* release_parent();
662  void set_allocated_parent(std::string* parent);
663  private:
664  const std::string& _internal_parent() const;
665  inline PROTOBUF_ALWAYS_INLINE void _internal_set_parent(const std::string& value);
666  std::string* _internal_mutable_parent();
667  public:
668 
669  // string child = 7;
670  void clear_child();
671  const std::string& child() const;
672  template <typename ArgT0 = const std::string&, typename... ArgT>
673  void set_child(ArgT0&& arg0, ArgT... args);
674  std::string* mutable_child();
675  PROTOBUF_NODISCARD std::string* release_child();
676  void set_allocated_child(std::string* child);
677  private:
678  const std::string& _internal_child() const;
679  inline PROTOBUF_ALWAYS_INLINE void _internal_set_child(const std::string& value);
680  std::string* _internal_mutable_child();
681  public:
682 
683  // .ignition.msgs.Header header = 1;
684  bool has_header() const;
685  private:
686  bool _internal_has_header() const;
687  public:
688  void clear_header();
689  const ::ignition::msgs::Header& header() const;
690  PROTOBUF_NODISCARD ::ignition::msgs::Header* release_header();
691  ::ignition::msgs::Header* mutable_header();
692  void set_allocated_header(::ignition::msgs::Header* header);
693  private:
694  const ::ignition::msgs::Header& _internal_header() const;
695  ::ignition::msgs::Header* _internal_mutable_header();
696  public:
697  void unsafe_arena_set_allocated_header(
698  ::ignition::msgs::Header* header);
699  ::ignition::msgs::Header* unsafe_arena_release_header();
700 
701  // .ignition.msgs.Pose pose = 9;
702  bool has_pose() const;
703  private:
704  bool _internal_has_pose() const;
705  public:
706  void clear_pose();
707  const ::ignition::msgs::Pose& pose() const;
708  PROTOBUF_NODISCARD ::ignition::msgs::Pose* release_pose();
709  ::ignition::msgs::Pose* mutable_pose();
710  void set_allocated_pose(::ignition::msgs::Pose* pose);
711  private:
712  const ::ignition::msgs::Pose& _internal_pose() const;
713  ::ignition::msgs::Pose* _internal_mutable_pose();
714  public:
715  void unsafe_arena_set_allocated_pose(
716  ::ignition::msgs::Pose* pose);
717  ::ignition::msgs::Pose* unsafe_arena_release_pose();
718 
719  // .ignition.msgs.Axis axis1 = 10;
720  bool has_axis1() const;
721  private:
722  bool _internal_has_axis1() const;
723  public:
724  void clear_axis1();
725  const ::ignition::msgs::Axis& axis1() const;
726  PROTOBUF_NODISCARD ::ignition::msgs::Axis* release_axis1();
727  ::ignition::msgs::Axis* mutable_axis1();
728  void set_allocated_axis1(::ignition::msgs::Axis* axis1);
729  private:
730  const ::ignition::msgs::Axis& _internal_axis1() const;
731  ::ignition::msgs::Axis* _internal_mutable_axis1();
732  public:
733  void unsafe_arena_set_allocated_axis1(
734  ::ignition::msgs::Axis* axis1);
735  ::ignition::msgs::Axis* unsafe_arena_release_axis1();
736 
737  // .ignition.msgs.Axis axis2 = 11;
738  bool has_axis2() const;
739  private:
740  bool _internal_has_axis2() const;
741  public:
742  void clear_axis2();
743  const ::ignition::msgs::Axis& axis2() const;
744  PROTOBUF_NODISCARD ::ignition::msgs::Axis* release_axis2();
745  ::ignition::msgs::Axis* mutable_axis2();
746  void set_allocated_axis2(::ignition::msgs::Axis* axis2);
747  private:
748  const ::ignition::msgs::Axis& _internal_axis2() const;
749  ::ignition::msgs::Axis* _internal_mutable_axis2();
750  public:
751  void unsafe_arena_set_allocated_axis2(
752  ::ignition::msgs::Axis* axis2);
753  ::ignition::msgs::Axis* unsafe_arena_release_axis2();
754 
755  // .ignition.msgs.Joint.Gearbox gearbox = 19;
756  bool has_gearbox() const;
757  private:
758  bool _internal_has_gearbox() const;
759  public:
760  void clear_gearbox();
761  const ::ignition::msgs::Joint_Gearbox& gearbox() const;
762  PROTOBUF_NODISCARD ::ignition::msgs::Joint_Gearbox* release_gearbox();
763  ::ignition::msgs::Joint_Gearbox* mutable_gearbox();
764  void set_allocated_gearbox(::ignition::msgs::Joint_Gearbox* gearbox);
765  private:
766  const ::ignition::msgs::Joint_Gearbox& _internal_gearbox() const;
767  ::ignition::msgs::Joint_Gearbox* _internal_mutable_gearbox();
768  public:
769  void unsafe_arena_set_allocated_gearbox(
770  ::ignition::msgs::Joint_Gearbox* gearbox);
771  ::ignition::msgs::Joint_Gearbox* unsafe_arena_release_gearbox();
772 
773  // .ignition.msgs.Joint.Screw screw = 20;
774  bool has_screw() const;
775  private:
776  bool _internal_has_screw() const;
777  public:
778  void clear_screw();
779  const ::ignition::msgs::Joint_Screw& screw() const;
780  PROTOBUF_NODISCARD ::ignition::msgs::Joint_Screw* release_screw();
781  ::ignition::msgs::Joint_Screw* mutable_screw();
782  void set_allocated_screw(::ignition::msgs::Joint_Screw* screw);
783  private:
784  const ::ignition::msgs::Joint_Screw& _internal_screw() const;
785  ::ignition::msgs::Joint_Screw* _internal_mutable_screw();
786  public:
787  void unsafe_arena_set_allocated_screw(
788  ::ignition::msgs::Joint_Screw* screw);
789  ::ignition::msgs::Joint_Screw* unsafe_arena_release_screw();
790 
791  // uint32 id = 3;
792  void clear_id();
793  uint32_t id() const;
794  void set_id(uint32_t value);
795  private:
796  uint32_t _internal_id() const;
797  void _internal_set_id(uint32_t value);
798  public:
799 
800  // .ignition.msgs.Joint.Type type = 4;
801  void clear_type();
802  ::ignition::msgs::Joint_Type type() const;
803  void set_type(::ignition::msgs::Joint_Type value);
804  private:
805  ::ignition::msgs::Joint_Type _internal_type() const;
806  void _internal_set_type(::ignition::msgs::Joint_Type value);
807  public:
808 
809  // uint32 parent_id = 6;
810  void clear_parent_id();
811  uint32_t parent_id() const;
812  void set_parent_id(uint32_t value);
813  private:
814  uint32_t _internal_parent_id() const;
815  void _internal_set_parent_id(uint32_t value);
816  public:
817 
818  // uint32 child_id = 8;
819  void clear_child_id();
820  uint32_t child_id() const;
821  void set_child_id(uint32_t value);
822  private:
823  uint32_t _internal_child_id() const;
824  void _internal_set_child_id(uint32_t value);
825  public:
826 
827  // double cfm = 12;
828  void clear_cfm();
829  double cfm() const;
830  void set_cfm(double value);
831  private:
832  double _internal_cfm() const;
833  void _internal_set_cfm(double value);
834  public:
835 
836  // double bounce = 13;
837  void clear_bounce();
838  double bounce() const;
839  void set_bounce(double value);
840  private:
841  double _internal_bounce() const;
842  void _internal_set_bounce(double value);
843  public:
844 
845  // double fudge_factor = 14;
846  void clear_fudge_factor();
847  double fudge_factor() const;
848  void set_fudge_factor(double value);
849  private:
850  double _internal_fudge_factor() const;
851  void _internal_set_fudge_factor(double value);
852  public:
853 
854  // double limit_cfm = 15;
855  void clear_limit_cfm();
856  double limit_cfm() const;
857  void set_limit_cfm(double value);
858  private:
859  double _internal_limit_cfm() const;
860  void _internal_set_limit_cfm(double value);
861  public:
862 
863  // double limit_erp = 16;
864  void clear_limit_erp();
865  double limit_erp() const;
866  void set_limit_erp(double value);
867  private:
868  double _internal_limit_erp() const;
869  void _internal_set_limit_erp(double value);
870  public:
871 
872  // double suspension_cfm = 17;
873  void clear_suspension_cfm();
874  double suspension_cfm() const;
875  void set_suspension_cfm(double value);
876  private:
877  double _internal_suspension_cfm() const;
878  void _internal_set_suspension_cfm(double value);
879  public:
880 
881  // double suspension_erp = 18;
882  void clear_suspension_erp();
883  double suspension_erp() const;
884  void set_suspension_erp(double value);
885  private:
886  double _internal_suspension_erp() const;
887  void _internal_set_suspension_erp(double value);
888  public:
889 
890  // @@protoc_insertion_point(class_scope:ignition.msgs.Joint)
891  private:
892  class _Internal;
893 
894  template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
895  typedef void InternalArenaConstructable_;
896  typedef void DestructorSkippable_;
897  ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::ignition::msgs::Sensor > sensor_;
898  ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr name_;
899  ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr parent_;
900  ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr child_;
901  ::ignition::msgs::Header* header_;
902  ::ignition::msgs::Pose* pose_;
903  ::ignition::msgs::Axis* axis1_;
904  ::ignition::msgs::Axis* axis2_;
907  uint32_t id_;
908  int type_;
909  uint32_t parent_id_;
910  uint32_t child_id_;
911  double cfm_;
912  double bounce_;
913  double fudge_factor_;
914  double limit_cfm_;
915  double limit_erp_;
916  double suspension_cfm_;
917  double suspension_erp_;
918  mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
919  friend struct ::TableStruct_ignition_2fmsgs_2fjoint_2eproto;
920 };
921 // ===================================================================
922 
923 
924 // ===================================================================
925 
926 #ifdef __GNUC__
927  #pragma GCC diagnostic push
928  #pragma GCC diagnostic ignored "-Wstrict-aliasing"
929 #endif // __GNUC__
930 // Joint_Gearbox
931 
932 // string gearbox_reference_body = 1;
934  gearbox_reference_body_.ClearToEmpty();
935 }
937  // @@protoc_insertion_point(field_get:ignition.msgs.Joint.Gearbox.gearbox_reference_body)
938  return _internal_gearbox_reference_body();
939 }
940 template <typename ArgT0, typename... ArgT>
941 inline PROTOBUF_ALWAYS_INLINE
942 void Joint_Gearbox::set_gearbox_reference_body(ArgT0&& arg0, ArgT... args) {
943 
944  gearbox_reference_body_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
945  // @@protoc_insertion_point(field_set:ignition.msgs.Joint.Gearbox.gearbox_reference_body)
946 }
948  std::string* _s = _internal_mutable_gearbox_reference_body();
949  // @@protoc_insertion_point(field_mutable:ignition.msgs.Joint.Gearbox.gearbox_reference_body)
950  return _s;
951 }
952 inline const std::string& Joint_Gearbox::_internal_gearbox_reference_body() const {
953  return gearbox_reference_body_.Get();
954 }
955 inline void Joint_Gearbox::_internal_set_gearbox_reference_body(const std::string& value) {
956 
957  gearbox_reference_body_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation());
958 }
959 inline std::string* Joint_Gearbox::_internal_mutable_gearbox_reference_body() {
960 
961  return gearbox_reference_body_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
962 }
964  // @@protoc_insertion_point(field_release:ignition.msgs.Joint.Gearbox.gearbox_reference_body)
965  return gearbox_reference_body_.Release(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
966 }
968  if (gearbox_reference_body != nullptr) {
969 
970  } else {
971 
972  }
973  gearbox_reference_body_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), gearbox_reference_body,
974  GetArenaForAllocation());
975 #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
976  if (gearbox_reference_body_.IsDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited())) {
977  gearbox_reference_body_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), "", GetArenaForAllocation());
978  }
979 #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
980  // @@protoc_insertion_point(field_set_allocated:ignition.msgs.Joint.Gearbox.gearbox_reference_body)
981 }
982 
983 // double gearbox_ratio = 2;
985  gearbox_ratio_ = 0;
986 }
987 inline double Joint_Gearbox::_internal_gearbox_ratio() const {
988  return gearbox_ratio_;
989 }
990 inline double Joint_Gearbox::gearbox_ratio() const {
991  // @@protoc_insertion_point(field_get:ignition.msgs.Joint.Gearbox.gearbox_ratio)
992  return _internal_gearbox_ratio();
993 }
994 inline void Joint_Gearbox::_internal_set_gearbox_ratio(double value) {
995 
996  gearbox_ratio_ = value;
997 }
998 inline void Joint_Gearbox::set_gearbox_ratio(double value) {
999  _internal_set_gearbox_ratio(value);
1000  // @@protoc_insertion_point(field_set:ignition.msgs.Joint.Gearbox.gearbox_ratio)
1001 }
1002 
1003 // -------------------------------------------------------------------
1004 
1005 // Joint_Screw
1006 
1007 // double thread_pitch = 1;
1009  thread_pitch_ = 0;
1010 }
1011 inline double Joint_Screw::_internal_thread_pitch() const {
1012  return thread_pitch_;
1013 }
1014 inline double Joint_Screw::thread_pitch() const {
1015  // @@protoc_insertion_point(field_get:ignition.msgs.Joint.Screw.thread_pitch)
1016  return _internal_thread_pitch();
1017 }
1018 inline void Joint_Screw::_internal_set_thread_pitch(double value) {
1019 
1020  thread_pitch_ = value;
1021 }
1022 inline void Joint_Screw::set_thread_pitch(double value) {
1023  _internal_set_thread_pitch(value);
1024  // @@protoc_insertion_point(field_set:ignition.msgs.Joint.Screw.thread_pitch)
1025 }
1026 
1027 // -------------------------------------------------------------------
1028 
1029 // Joint
1030 
1031 // .ignition.msgs.Header header = 1;
1032 inline bool Joint::_internal_has_header() const {
1033  return this != internal_default_instance() && header_ != nullptr;
1034 }
1035 inline bool Joint::has_header() const {
1036  return _internal_has_header();
1037 }
1038 inline const ::ignition::msgs::Header& Joint::_internal_header() const {
1039  const ::ignition::msgs::Header* p = header_;
1040  return p != nullptr ? *p : reinterpret_cast<const ::ignition::msgs::Header&>(
1042 }
1043 inline const ::ignition::msgs::Header& Joint::header() const {
1044  // @@protoc_insertion_point(field_get:ignition.msgs.Joint.header)
1045  return _internal_header();
1046 }
1048  ::ignition::msgs::Header* header) {
1049  if (GetArenaForAllocation() == nullptr) {
1050  delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(header_);
1051  }
1052  header_ = header;
1053  if (header) {
1054 
1055  } else {
1056 
1057  }
1058  // @@protoc_insertion_point(field_unsafe_arena_set_allocated:ignition.msgs.Joint.header)
1059 }
1060 inline ::ignition::msgs::Header* Joint::release_header() {
1061 
1062  ::ignition::msgs::Header* temp = header_;
1063  header_ = nullptr;
1064 #ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
1065  auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp);
1066  temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
1067  if (GetArenaForAllocation() == nullptr) { delete old; }
1068 #else // PROTOBUF_FORCE_COPY_IN_RELEASE
1069  if (GetArenaForAllocation() != nullptr) {
1070  temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
1071  }
1072 #endif // !PROTOBUF_FORCE_COPY_IN_RELEASE
1073  return temp;
1074 }
1075 inline ::ignition::msgs::Header* Joint::unsafe_arena_release_header() {
1076  // @@protoc_insertion_point(field_release:ignition.msgs.Joint.header)
1077 
1078  ::ignition::msgs::Header* temp = header_;
1079  header_ = nullptr;
1080  return temp;
1081 }
1082 inline ::ignition::msgs::Header* Joint::_internal_mutable_header() {
1083 
1084  if (header_ == nullptr) {
1085  auto* p = CreateMaybeMessage<::ignition::msgs::Header>(GetArenaForAllocation());
1086  header_ = p;
1087  }
1088  return header_;
1089 }
1090 inline ::ignition::msgs::Header* Joint::mutable_header() {
1091  ::ignition::msgs::Header* _msg = _internal_mutable_header();
1092  // @@protoc_insertion_point(field_mutable:ignition.msgs.Joint.header)
1093  return _msg;
1094 }
1096  ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
1097  if (message_arena == nullptr) {
1098  delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(header_);
1099  }
1100  if (header) {
1101  ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
1102  ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper<
1103  ::PROTOBUF_NAMESPACE_ID::MessageLite>::GetOwningArena(
1104  reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(header));
1105  if (message_arena != submessage_arena) {
1106  header = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
1107  message_arena, header, submessage_arena);
1108  }
1109 
1110  } else {
1111 
1112  }
1113  header_ = header;
1114  // @@protoc_insertion_point(field_set_allocated:ignition.msgs.Joint.header)
1115 }
1116 
1117 // string name = 2;
1118 inline void Joint::clear_name() {
1119  name_.ClearToEmpty();
1120 }
1121 inline const std::string& Joint::name() const {
1122  // @@protoc_insertion_point(field_get:ignition.msgs.Joint.name)
1123  return _internal_name();
1124 }
1125 template <typename ArgT0, typename... ArgT>
1126 inline PROTOBUF_ALWAYS_INLINE
1127 void Joint::set_name(ArgT0&& arg0, ArgT... args) {
1128 
1129  name_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
1130  // @@protoc_insertion_point(field_set:ignition.msgs.Joint.name)
1131 }
1133  std::string* _s = _internal_mutable_name();
1134  // @@protoc_insertion_point(field_mutable:ignition.msgs.Joint.name)
1135  return _s;
1136 }
1137 inline const std::string& Joint::_internal_name() const {
1138  return name_.Get();
1139 }
1140 inline void Joint::_internal_set_name(const std::string& value) {
1141 
1142  name_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation());
1143 }
1144 inline std::string* Joint::_internal_mutable_name() {
1145 
1146  return name_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
1147 }
1149  // @@protoc_insertion_point(field_release:ignition.msgs.Joint.name)
1150  return name_.Release(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
1151 }
1153  if (name != nullptr) {
1154 
1155  } else {
1156 
1157  }
1158  name_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), name,
1159  GetArenaForAllocation());
1160 #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
1161  if (name_.IsDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited())) {
1162  name_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), "", GetArenaForAllocation());
1163  }
1164 #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
1165  // @@protoc_insertion_point(field_set_allocated:ignition.msgs.Joint.name)
1166 }
1167 
1168 // uint32 id = 3;
1169 inline void Joint::clear_id() {
1170  id_ = 0u;
1171 }
1172 inline uint32_t Joint::_internal_id() const {
1173  return id_;
1174 }
1175 inline uint32_t Joint::id() const {
1176  // @@protoc_insertion_point(field_get:ignition.msgs.Joint.id)
1177  return _internal_id();
1178 }
1179 inline void Joint::_internal_set_id(uint32_t value) {
1180 
1181  id_ = value;
1182 }
1183 inline void Joint::set_id(uint32_t value) {
1184  _internal_set_id(value);
1185  // @@protoc_insertion_point(field_set:ignition.msgs.Joint.id)
1186 }
1187 
1188 // .ignition.msgs.Joint.Type type = 4;
1189 inline void Joint::clear_type() {
1190  type_ = 0;
1191 }
1192 inline ::ignition::msgs::Joint_Type Joint::_internal_type() const {
1193  return static_cast< ::ignition::msgs::Joint_Type >(type_);
1194 }
1196  // @@protoc_insertion_point(field_get:ignition.msgs.Joint.type)
1197  return _internal_type();
1198 }
1199 inline void Joint::_internal_set_type(::ignition::msgs::Joint_Type value) {
1200 
1201  type_ = value;
1202 }
1204  _internal_set_type(value);
1205  // @@protoc_insertion_point(field_set:ignition.msgs.Joint.type)
1206 }
1207 
1208 // string parent = 5;
1209 inline void Joint::clear_parent() {
1210  parent_.ClearToEmpty();
1211 }
1212 inline const std::string& Joint::parent() const {
1213  // @@protoc_insertion_point(field_get:ignition.msgs.Joint.parent)
1214  return _internal_parent();
1215 }
1216 template <typename ArgT0, typename... ArgT>
1217 inline PROTOBUF_ALWAYS_INLINE
1218 void Joint::set_parent(ArgT0&& arg0, ArgT... args) {
1219 
1220  parent_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
1221  // @@protoc_insertion_point(field_set:ignition.msgs.Joint.parent)
1222 }
1224  std::string* _s = _internal_mutable_parent();
1225  // @@protoc_insertion_point(field_mutable:ignition.msgs.Joint.parent)
1226  return _s;
1227 }
1228 inline const std::string& Joint::_internal_parent() const {
1229  return parent_.Get();
1230 }
1231 inline void Joint::_internal_set_parent(const std::string& value) {
1232 
1233  parent_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation());
1234 }
1235 inline std::string* Joint::_internal_mutable_parent() {
1236 
1237  return parent_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
1238 }
1240  // @@protoc_insertion_point(field_release:ignition.msgs.Joint.parent)
1241  return parent_.Release(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
1242 }
1244  if (parent != nullptr) {
1245 
1246  } else {
1247 
1248  }
1249  parent_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), parent,
1250  GetArenaForAllocation());
1251 #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
1252  if (parent_.IsDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited())) {
1253  parent_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), "", GetArenaForAllocation());
1254  }
1255 #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
1256  // @@protoc_insertion_point(field_set_allocated:ignition.msgs.Joint.parent)
1257 }
1258 
1259 // uint32 parent_id = 6;
1260 inline void Joint::clear_parent_id() {
1261  parent_id_ = 0u;
1262 }
1263 inline uint32_t Joint::_internal_parent_id() const {
1264  return parent_id_;
1265 }
1266 inline uint32_t Joint::parent_id() const {
1267  // @@protoc_insertion_point(field_get:ignition.msgs.Joint.parent_id)
1268  return _internal_parent_id();
1269 }
1270 inline void Joint::_internal_set_parent_id(uint32_t value) {
1271 
1272  parent_id_ = value;
1273 }
1274 inline void Joint::set_parent_id(uint32_t value) {
1275  _internal_set_parent_id(value);
1276  // @@protoc_insertion_point(field_set:ignition.msgs.Joint.parent_id)
1277 }
1278 
1279 // string child = 7;
1280 inline void Joint::clear_child() {
1281  child_.ClearToEmpty();
1282 }
1283 inline const std::string& Joint::child() const {
1284  // @@protoc_insertion_point(field_get:ignition.msgs.Joint.child)
1285  return _internal_child();
1286 }
1287 template <typename ArgT0, typename... ArgT>
1288 inline PROTOBUF_ALWAYS_INLINE
1289 void Joint::set_child(ArgT0&& arg0, ArgT... args) {
1290 
1291  child_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
1292  // @@protoc_insertion_point(field_set:ignition.msgs.Joint.child)
1293 }
1295  std::string* _s = _internal_mutable_child();
1296  // @@protoc_insertion_point(field_mutable:ignition.msgs.Joint.child)
1297  return _s;
1298 }
1299 inline const std::string& Joint::_internal_child() const {
1300  return child_.Get();
1301 }
1302 inline void Joint::_internal_set_child(const std::string& value) {
1303 
1304  child_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation());
1305 }
1306 inline std::string* Joint::_internal_mutable_child() {
1307 
1308  return child_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
1309 }
1311  // @@protoc_insertion_point(field_release:ignition.msgs.Joint.child)
1312  return child_.Release(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
1313 }
1315  if (child != nullptr) {
1316 
1317  } else {
1318 
1319  }
1320  child_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), child,
1321  GetArenaForAllocation());
1322 #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
1323  if (child_.IsDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited())) {
1324  child_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), "", GetArenaForAllocation());
1325  }
1326 #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
1327  // @@protoc_insertion_point(field_set_allocated:ignition.msgs.Joint.child)
1328 }
1329 
1330 // uint32 child_id = 8;
1331 inline void Joint::clear_child_id() {
1332  child_id_ = 0u;
1333 }
1334 inline uint32_t Joint::_internal_child_id() const {
1335  return child_id_;
1336 }
1337 inline uint32_t Joint::child_id() const {
1338  // @@protoc_insertion_point(field_get:ignition.msgs.Joint.child_id)
1339  return _internal_child_id();
1340 }
1341 inline void Joint::_internal_set_child_id(uint32_t value) {
1342 
1343  child_id_ = value;
1344 }
1345 inline void Joint::set_child_id(uint32_t value) {
1346  _internal_set_child_id(value);
1347  // @@protoc_insertion_point(field_set:ignition.msgs.Joint.child_id)
1348 }
1349 
1350 // .ignition.msgs.Pose pose = 9;
1351 inline bool Joint::_internal_has_pose() const {
1352  return this != internal_default_instance() && pose_ != nullptr;
1353 }
1354 inline bool Joint::has_pose() const {
1355  return _internal_has_pose();
1356 }
1357 inline const ::ignition::msgs::Pose& Joint::_internal_pose() const {
1358  const ::ignition::msgs::Pose* p = pose_;
1359  return p != nullptr ? *p : reinterpret_cast<const ::ignition::msgs::Pose&>(
1361 }
1362 inline const ::ignition::msgs::Pose& Joint::pose() const {
1363  // @@protoc_insertion_point(field_get:ignition.msgs.Joint.pose)
1364  return _internal_pose();
1365 }
1367  ::ignition::msgs::Pose* pose) {
1368  if (GetArenaForAllocation() == nullptr) {
1369  delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(pose_);
1370  }
1371  pose_ = pose;
1372  if (pose) {
1373 
1374  } else {
1375 
1376  }
1377  // @@protoc_insertion_point(field_unsafe_arena_set_allocated:ignition.msgs.Joint.pose)
1378 }
1379 inline ::ignition::msgs::Pose* Joint::release_pose() {
1380 
1381  ::ignition::msgs::Pose* temp = pose_;
1382  pose_ = nullptr;
1383 #ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
1384  auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp);
1385  temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
1386  if (GetArenaForAllocation() == nullptr) { delete old; }
1387 #else // PROTOBUF_FORCE_COPY_IN_RELEASE
1388  if (GetArenaForAllocation() != nullptr) {
1389  temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
1390  }
1391 #endif // !PROTOBUF_FORCE_COPY_IN_RELEASE
1392  return temp;
1393 }
1394 inline ::ignition::msgs::Pose* Joint::unsafe_arena_release_pose() {
1395  // @@protoc_insertion_point(field_release:ignition.msgs.Joint.pose)
1396 
1397  ::ignition::msgs::Pose* temp = pose_;
1398  pose_ = nullptr;
1399  return temp;
1400 }
1401 inline ::ignition::msgs::Pose* Joint::_internal_mutable_pose() {
1402 
1403  if (pose_ == nullptr) {
1404  auto* p = CreateMaybeMessage<::ignition::msgs::Pose>(GetArenaForAllocation());
1405  pose_ = p;
1406  }
1407  return pose_;
1408 }
1409 inline ::ignition::msgs::Pose* Joint::mutable_pose() {
1410  ::ignition::msgs::Pose* _msg = _internal_mutable_pose();
1411  // @@protoc_insertion_point(field_mutable:ignition.msgs.Joint.pose)
1412  return _msg;
1413 }
1415  ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
1416  if (message_arena == nullptr) {
1417  delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(pose_);
1418  }
1419  if (pose) {
1420  ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
1421  ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper<
1422  ::PROTOBUF_NAMESPACE_ID::MessageLite>::GetOwningArena(
1423  reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(pose));
1424  if (message_arena != submessage_arena) {
1425  pose = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
1426  message_arena, pose, submessage_arena);
1427  }
1428 
1429  } else {
1430 
1431  }
1432  pose_ = pose;
1433  // @@protoc_insertion_point(field_set_allocated:ignition.msgs.Joint.pose)
1434 }
1435 
1436 // .ignition.msgs.Axis axis1 = 10;
1437 inline bool Joint::_internal_has_axis1() const {
1438  return this != internal_default_instance() && axis1_ != nullptr;
1439 }
1440 inline bool Joint::has_axis1() const {
1441  return _internal_has_axis1();
1442 }
1443 inline const ::ignition::msgs::Axis& Joint::_internal_axis1() const {
1444  const ::ignition::msgs::Axis* p = axis1_;
1445  return p != nullptr ? *p : reinterpret_cast<const ::ignition::msgs::Axis&>(
1447 }
1448 inline const ::ignition::msgs::Axis& Joint::axis1() const {
1449  // @@protoc_insertion_point(field_get:ignition.msgs.Joint.axis1)
1450  return _internal_axis1();
1451 }
1453  ::ignition::msgs::Axis* axis1) {
1454  if (GetArenaForAllocation() == nullptr) {
1455  delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(axis1_);
1456  }
1457  axis1_ = axis1;
1458  if (axis1) {
1459 
1460  } else {
1461 
1462  }
1463  // @@protoc_insertion_point(field_unsafe_arena_set_allocated:ignition.msgs.Joint.axis1)
1464 }
1465 inline ::ignition::msgs::Axis* Joint::release_axis1() {
1466 
1467  ::ignition::msgs::Axis* temp = axis1_;
1468  axis1_ = nullptr;
1469 #ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
1470  auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp);
1471  temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
1472  if (GetArenaForAllocation() == nullptr) { delete old; }
1473 #else // PROTOBUF_FORCE_COPY_IN_RELEASE
1474  if (GetArenaForAllocation() != nullptr) {
1475  temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
1476  }
1477 #endif // !PROTOBUF_FORCE_COPY_IN_RELEASE
1478  return temp;
1479 }
1480 inline ::ignition::msgs::Axis* Joint::unsafe_arena_release_axis1() {
1481  // @@protoc_insertion_point(field_release:ignition.msgs.Joint.axis1)
1482 
1483  ::ignition::msgs::Axis* temp = axis1_;
1484  axis1_ = nullptr;
1485  return temp;
1486 }
1487 inline ::ignition::msgs::Axis* Joint::_internal_mutable_axis1() {
1488 
1489  if (axis1_ == nullptr) {
1490  auto* p = CreateMaybeMessage<::ignition::msgs::Axis>(GetArenaForAllocation());
1491  axis1_ = p;
1492  }
1493  return axis1_;
1494 }
1495 inline ::ignition::msgs::Axis* Joint::mutable_axis1() {
1496  ::ignition::msgs::Axis* _msg = _internal_mutable_axis1();
1497  // @@protoc_insertion_point(field_mutable:ignition.msgs.Joint.axis1)
1498  return _msg;
1499 }
1501  ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
1502  if (message_arena == nullptr) {
1503  delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(axis1_);
1504  }
1505  if (axis1) {
1506  ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
1507  ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper<
1508  ::PROTOBUF_NAMESPACE_ID::MessageLite>::GetOwningArena(
1509  reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(axis1));
1510  if (message_arena != submessage_arena) {
1511  axis1 = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
1512  message_arena, axis1, submessage_arena);
1513  }
1514 
1515  } else {
1516 
1517  }
1518  axis1_ = axis1;
1519  // @@protoc_insertion_point(field_set_allocated:ignition.msgs.Joint.axis1)
1520 }
1521 
1522 // .ignition.msgs.Axis axis2 = 11;
1523 inline bool Joint::_internal_has_axis2() const {
1524  return this != internal_default_instance() && axis2_ != nullptr;
1525 }
1526 inline bool Joint::has_axis2() const {
1527  return _internal_has_axis2();
1528 }
1529 inline const ::ignition::msgs::Axis& Joint::_internal_axis2() const {
1530  const ::ignition::msgs::Axis* p = axis2_;
1531  return p != nullptr ? *p : reinterpret_cast<const ::ignition::msgs::Axis&>(
1533 }
1534 inline const ::ignition::msgs::Axis& Joint::axis2() const {
1535  // @@protoc_insertion_point(field_get:ignition.msgs.Joint.axis2)
1536  return _internal_axis2();
1537 }
1539  ::ignition::msgs::Axis* axis2) {
1540  if (GetArenaForAllocation() == nullptr) {
1541  delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(axis2_);
1542  }
1543  axis2_ = axis2;
1544  if (axis2) {
1545 
1546  } else {
1547 
1548  }
1549  // @@protoc_insertion_point(field_unsafe_arena_set_allocated:ignition.msgs.Joint.axis2)
1550 }
1551 inline ::ignition::msgs::Axis* Joint::release_axis2() {
1552 
1553  ::ignition::msgs::Axis* temp = axis2_;
1554  axis2_ = nullptr;
1555 #ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
1556  auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp);
1557  temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
1558  if (GetArenaForAllocation() == nullptr) { delete old; }
1559 #else // PROTOBUF_FORCE_COPY_IN_RELEASE
1560  if (GetArenaForAllocation() != nullptr) {
1561  temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
1562  }
1563 #endif // !PROTOBUF_FORCE_COPY_IN_RELEASE
1564  return temp;
1565 }
1566 inline ::ignition::msgs::Axis* Joint::unsafe_arena_release_axis2() {
1567  // @@protoc_insertion_point(field_release:ignition.msgs.Joint.axis2)
1568 
1569  ::ignition::msgs::Axis* temp = axis2_;
1570  axis2_ = nullptr;
1571  return temp;
1572 }
1573 inline ::ignition::msgs::Axis* Joint::_internal_mutable_axis2() {
1574 
1575  if (axis2_ == nullptr) {
1576  auto* p = CreateMaybeMessage<::ignition::msgs::Axis>(GetArenaForAllocation());
1577  axis2_ = p;
1578  }
1579  return axis2_;
1580 }
1581 inline ::ignition::msgs::Axis* Joint::mutable_axis2() {
1582  ::ignition::msgs::Axis* _msg = _internal_mutable_axis2();
1583  // @@protoc_insertion_point(field_mutable:ignition.msgs.Joint.axis2)
1584  return _msg;
1585 }
1587  ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
1588  if (message_arena == nullptr) {
1589  delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(axis2_);
1590  }
1591  if (axis2) {
1592  ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
1593  ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper<
1594  ::PROTOBUF_NAMESPACE_ID::MessageLite>::GetOwningArena(
1595  reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(axis2));
1596  if (message_arena != submessage_arena) {
1597  axis2 = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
1598  message_arena, axis2, submessage_arena);
1599  }
1600 
1601  } else {
1602 
1603  }
1604  axis2_ = axis2;
1605  // @@protoc_insertion_point(field_set_allocated:ignition.msgs.Joint.axis2)
1606 }
1607 
1608 // double cfm = 12;
1609 inline void Joint::clear_cfm() {
1610  cfm_ = 0;
1611 }
1612 inline double Joint::_internal_cfm() const {
1613  return cfm_;
1614 }
1615 inline double Joint::cfm() const {
1616  // @@protoc_insertion_point(field_get:ignition.msgs.Joint.cfm)
1617  return _internal_cfm();
1618 }
1619 inline void Joint::_internal_set_cfm(double value) {
1620 
1621  cfm_ = value;
1622 }
1623 inline void Joint::set_cfm(double value) {
1624  _internal_set_cfm(value);
1625  // @@protoc_insertion_point(field_set:ignition.msgs.Joint.cfm)
1626 }
1627 
1628 // double bounce = 13;
1629 inline void Joint::clear_bounce() {
1630  bounce_ = 0;
1631 }
1632 inline double Joint::_internal_bounce() const {
1633  return bounce_;
1634 }
1635 inline double Joint::bounce() const {
1636  // @@protoc_insertion_point(field_get:ignition.msgs.Joint.bounce)
1637  return _internal_bounce();
1638 }
1639 inline void Joint::_internal_set_bounce(double value) {
1640 
1641  bounce_ = value;
1642 }
1643 inline void Joint::set_bounce(double value) {
1644  _internal_set_bounce(value);
1645  // @@protoc_insertion_point(field_set:ignition.msgs.Joint.bounce)
1646 }
1647 
1648 // double fudge_factor = 14;
1650  fudge_factor_ = 0;
1651 }
1652 inline double Joint::_internal_fudge_factor() const {
1653  return fudge_factor_;
1654 }
1655 inline double Joint::fudge_factor() const {
1656  // @@protoc_insertion_point(field_get:ignition.msgs.Joint.fudge_factor)
1657  return _internal_fudge_factor();
1658 }
1659 inline void Joint::_internal_set_fudge_factor(double value) {
1660 
1661  fudge_factor_ = value;
1662 }
1663 inline void Joint::set_fudge_factor(double value) {
1664  _internal_set_fudge_factor(value);
1665  // @@protoc_insertion_point(field_set:ignition.msgs.Joint.fudge_factor)
1666 }
1667 
1668 // double limit_cfm = 15;
1669 inline void Joint::clear_limit_cfm() {
1670  limit_cfm_ = 0;
1671 }
1672 inline double Joint::_internal_limit_cfm() const {
1673  return limit_cfm_;
1674 }
1675 inline double Joint::limit_cfm() const {
1676  // @@protoc_insertion_point(field_get:ignition.msgs.Joint.limit_cfm)
1677  return _internal_limit_cfm();
1678 }
1679 inline void Joint::_internal_set_limit_cfm(double value) {
1680 
1681  limit_cfm_ = value;
1682 }
1683 inline void Joint::set_limit_cfm(double value) {
1684  _internal_set_limit_cfm(value);
1685  // @@protoc_insertion_point(field_set:ignition.msgs.Joint.limit_cfm)
1686 }
1687 
1688 // double limit_erp = 16;
1689 inline void Joint::clear_limit_erp() {
1690  limit_erp_ = 0;
1691 }
1692 inline double Joint::_internal_limit_erp() const {
1693  return limit_erp_;
1694 }
1695 inline double Joint::limit_erp() const {
1696  // @@protoc_insertion_point(field_get:ignition.msgs.Joint.limit_erp)
1697  return _internal_limit_erp();
1698 }
1699 inline void Joint::_internal_set_limit_erp(double value) {
1700 
1701  limit_erp_ = value;
1702 }
1703 inline void Joint::set_limit_erp(double value) {
1704  _internal_set_limit_erp(value);
1705  // @@protoc_insertion_point(field_set:ignition.msgs.Joint.limit_erp)
1706 }
1707 
1708 // double suspension_cfm = 17;
1710  suspension_cfm_ = 0;
1711 }
1712 inline double Joint::_internal_suspension_cfm() const {
1713  return suspension_cfm_;
1714 }
1715 inline double Joint::suspension_cfm() const {
1716  // @@protoc_insertion_point(field_get:ignition.msgs.Joint.suspension_cfm)
1717  return _internal_suspension_cfm();
1718 }
1719 inline void Joint::_internal_set_suspension_cfm(double value) {
1720 
1721  suspension_cfm_ = value;
1722 }
1723 inline void Joint::set_suspension_cfm(double value) {
1724  _internal_set_suspension_cfm(value);
1725  // @@protoc_insertion_point(field_set:ignition.msgs.Joint.suspension_cfm)
1726 }
1727 
1728 // double suspension_erp = 18;
1730  suspension_erp_ = 0;
1731 }
1732 inline double Joint::_internal_suspension_erp() const {
1733  return suspension_erp_;
1734 }
1735 inline double Joint::suspension_erp() const {
1736  // @@protoc_insertion_point(field_get:ignition.msgs.Joint.suspension_erp)
1737  return _internal_suspension_erp();
1738 }
1739 inline void Joint::_internal_set_suspension_erp(double value) {
1740 
1741  suspension_erp_ = value;
1742 }
1743 inline void Joint::set_suspension_erp(double value) {
1744  _internal_set_suspension_erp(value);
1745  // @@protoc_insertion_point(field_set:ignition.msgs.Joint.suspension_erp)
1746 }
1747 
1748 // .ignition.msgs.Joint.Gearbox gearbox = 19;
1749 inline bool Joint::_internal_has_gearbox() const {
1750  return this != internal_default_instance() && gearbox_ != nullptr;
1751 }
1752 inline bool Joint::has_gearbox() const {
1753  return _internal_has_gearbox();
1754 }
1755 inline void Joint::clear_gearbox() {
1756  if (GetArenaForAllocation() == nullptr && gearbox_ != nullptr) {
1757  delete gearbox_;
1758  }
1759  gearbox_ = nullptr;
1760 }
1761 inline const ::ignition::msgs::Joint_Gearbox& Joint::_internal_gearbox() const {
1762  const ::ignition::msgs::Joint_Gearbox* p = gearbox_;
1763  return p != nullptr ? *p : reinterpret_cast<const ::ignition::msgs::Joint_Gearbox&>(
1765 }
1766 inline const ::ignition::msgs::Joint_Gearbox& Joint::gearbox() const {
1767  // @@protoc_insertion_point(field_get:ignition.msgs.Joint.gearbox)
1768  return _internal_gearbox();
1769 }
1771  ::ignition::msgs::Joint_Gearbox* gearbox) {
1772  if (GetArenaForAllocation() == nullptr) {
1773  delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(gearbox_);
1774  }
1775  gearbox_ = gearbox;
1776  if (gearbox) {
1777 
1778  } else {
1779 
1780  }
1781  // @@protoc_insertion_point(field_unsafe_arena_set_allocated:ignition.msgs.Joint.gearbox)
1782 }
1783 inline ::ignition::msgs::Joint_Gearbox* Joint::release_gearbox() {
1784 
1785  ::ignition::msgs::Joint_Gearbox* temp = gearbox_;
1786  gearbox_ = nullptr;
1787 #ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
1788  auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp);
1789  temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
1790  if (GetArenaForAllocation() == nullptr) { delete old; }
1791 #else // PROTOBUF_FORCE_COPY_IN_RELEASE
1792  if (GetArenaForAllocation() != nullptr) {
1793  temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
1794  }
1795 #endif // !PROTOBUF_FORCE_COPY_IN_RELEASE
1796  return temp;
1797 }
1798 inline ::ignition::msgs::Joint_Gearbox* Joint::unsafe_arena_release_gearbox() {
1799  // @@protoc_insertion_point(field_release:ignition.msgs.Joint.gearbox)
1800 
1801  ::ignition::msgs::Joint_Gearbox* temp = gearbox_;
1802  gearbox_ = nullptr;
1803  return temp;
1804 }
1805 inline ::ignition::msgs::Joint_Gearbox* Joint::_internal_mutable_gearbox() {
1806 
1807  if (gearbox_ == nullptr) {
1808  auto* p = CreateMaybeMessage<::ignition::msgs::Joint_Gearbox>(GetArenaForAllocation());
1809  gearbox_ = p;
1810  }
1811  return gearbox_;
1812 }
1813 inline ::ignition::msgs::Joint_Gearbox* Joint::mutable_gearbox() {
1814  ::ignition::msgs::Joint_Gearbox* _msg = _internal_mutable_gearbox();
1815  // @@protoc_insertion_point(field_mutable:ignition.msgs.Joint.gearbox)
1816  return _msg;
1817 }
1819  ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
1820  if (message_arena == nullptr) {
1821  delete gearbox_;
1822  }
1823  if (gearbox) {
1824  ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
1825  ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper<::ignition::msgs::Joint_Gearbox>::GetOwningArena(gearbox);
1826  if (message_arena != submessage_arena) {
1827  gearbox = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
1828  message_arena, gearbox, submessage_arena);
1829  }
1830 
1831  } else {
1832 
1833  }
1834  gearbox_ = gearbox;
1835  // @@protoc_insertion_point(field_set_allocated:ignition.msgs.Joint.gearbox)
1836 }
1837 
1838 // .ignition.msgs.Joint.Screw screw = 20;
1839 inline bool Joint::_internal_has_screw() const {
1840  return this != internal_default_instance() && screw_ != nullptr;
1841 }
1842 inline bool Joint::has_screw() const {
1843  return _internal_has_screw();
1844 }
1845 inline void Joint::clear_screw() {
1846  if (GetArenaForAllocation() == nullptr && screw_ != nullptr) {
1847  delete screw_;
1848  }
1849  screw_ = nullptr;
1850 }
1851 inline const ::ignition::msgs::Joint_Screw& Joint::_internal_screw() const {
1852  const ::ignition::msgs::Joint_Screw* p = screw_;
1853  return p != nullptr ? *p : reinterpret_cast<const ::ignition::msgs::Joint_Screw&>(
1855 }
1856 inline const ::ignition::msgs::Joint_Screw& Joint::screw() const {
1857  // @@protoc_insertion_point(field_get:ignition.msgs.Joint.screw)
1858  return _internal_screw();
1859 }
1861  ::ignition::msgs::Joint_Screw* screw) {
1862  if (GetArenaForAllocation() == nullptr) {
1863  delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(screw_);
1864  }
1865  screw_ = screw;
1866  if (screw) {
1867 
1868  } else {
1869 
1870  }
1871  // @@protoc_insertion_point(field_unsafe_arena_set_allocated:ignition.msgs.Joint.screw)
1872 }
1873 inline ::ignition::msgs::Joint_Screw* Joint::release_screw() {
1874 
1875  ::ignition::msgs::Joint_Screw* temp = screw_;
1876  screw_ = nullptr;
1877 #ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
1878  auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp);
1879  temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
1880  if (GetArenaForAllocation() == nullptr) { delete old; }
1881 #else // PROTOBUF_FORCE_COPY_IN_RELEASE
1882  if (GetArenaForAllocation() != nullptr) {
1883  temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
1884  }
1885 #endif // !PROTOBUF_FORCE_COPY_IN_RELEASE
1886  return temp;
1887 }
1888 inline ::ignition::msgs::Joint_Screw* Joint::unsafe_arena_release_screw() {
1889  // @@protoc_insertion_point(field_release:ignition.msgs.Joint.screw)
1890 
1891  ::ignition::msgs::Joint_Screw* temp = screw_;
1892  screw_ = nullptr;
1893  return temp;
1894 }
1895 inline ::ignition::msgs::Joint_Screw* Joint::_internal_mutable_screw() {
1896 
1897  if (screw_ == nullptr) {
1898  auto* p = CreateMaybeMessage<::ignition::msgs::Joint_Screw>(GetArenaForAllocation());
1899  screw_ = p;
1900  }
1901  return screw_;
1902 }
1903 inline ::ignition::msgs::Joint_Screw* Joint::mutable_screw() {
1904  ::ignition::msgs::Joint_Screw* _msg = _internal_mutable_screw();
1905  // @@protoc_insertion_point(field_mutable:ignition.msgs.Joint.screw)
1906  return _msg;
1907 }
1909  ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
1910  if (message_arena == nullptr) {
1911  delete screw_;
1912  }
1913  if (screw) {
1914  ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
1915  ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper<::ignition::msgs::Joint_Screw>::GetOwningArena(screw);
1916  if (message_arena != submessage_arena) {
1917  screw = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
1918  message_arena, screw, submessage_arena);
1919  }
1920 
1921  } else {
1922 
1923  }
1924  screw_ = screw;
1925  // @@protoc_insertion_point(field_set_allocated:ignition.msgs.Joint.screw)
1926 }
1927 
1928 // repeated .ignition.msgs.Sensor sensor = 21;
1929 inline int Joint::_internal_sensor_size() const {
1930  return sensor_.size();
1931 }
1932 inline int Joint::sensor_size() const {
1933  return _internal_sensor_size();
1934 }
1935 inline ::ignition::msgs::Sensor* Joint::mutable_sensor(int index) {
1936  // @@protoc_insertion_point(field_mutable:ignition.msgs.Joint.sensor)
1937  return sensor_.Mutable(index);
1938 }
1939 inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::ignition::msgs::Sensor >*
1941  // @@protoc_insertion_point(field_mutable_list:ignition.msgs.Joint.sensor)
1942  return &sensor_;
1943 }
1944 inline const ::ignition::msgs::Sensor& Joint::_internal_sensor(int index) const {
1945  return sensor_.Get(index);
1946 }
1947 inline const ::ignition::msgs::Sensor& Joint::sensor(int index) const {
1948  // @@protoc_insertion_point(field_get:ignition.msgs.Joint.sensor)
1949  return _internal_sensor(index);
1950 }
1951 inline ::ignition::msgs::Sensor* Joint::_internal_add_sensor() {
1952  return sensor_.Add();
1953 }
1954 inline ::ignition::msgs::Sensor* Joint::add_sensor() {
1955  ::ignition::msgs::Sensor* _add = _internal_add_sensor();
1956  // @@protoc_insertion_point(field_add:ignition.msgs.Joint.sensor)
1957  return _add;
1958 }
1959 inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::ignition::msgs::Sensor >&
1960 Joint::sensor() const {
1961  // @@protoc_insertion_point(field_list:ignition.msgs.Joint.sensor)
1962  return sensor_;
1963 }
1964 
1965 #ifdef __GNUC__
1966  #pragma GCC diagnostic pop
1967 #endif // __GNUC__
1968 // -------------------------------------------------------------------
1969 
1970 // -------------------------------------------------------------------
1971 
1972 
1977 // @@protoc_insertion_point(namespace_scope)
1978 
1979 } // namespace msgs
1980 } // namespace ignition
1981 
1982 PROTOBUF_NAMESPACE_OPEN
1983 
1984 template <> struct is_proto_enum< ::ignition::msgs::Joint_Type> : ::std::true_type {};
1985 template <>
1986 inline const EnumDescriptor* GetEnumDescriptor< ::ignition::msgs::Joint_Type>() {
1988 }
1989 
1990 PROTOBUF_NAMESPACE_CLOSE
1991 
1992 #ifdef _MSC_VER
1993 #pragma warning(pop)
1994 #endif
1995 // @@protoc_insertion_point(global_scope)
1996 
1997 #include <google/protobuf/port_undef.inc>
1998 #endif // GOOGLE_PROTOBUF_INCLUDED_GOOGLE_PROTOBUF_INCLUDED_ignition_2fmsgs_2fjoint_2eproto
Definition: axis.pb.h:85
Definition: header.pb.h:265
Definition: joint.pb.h:127
void set_gearbox_ratio(double value)
Definition: joint.pb.h:998
Joint_Gearbox * New(::PROTOBUF_NAMESPACE_ID::Arena *arena=nullptr) const final
Definition: joint.pb.h:200
void set_gearbox_reference_body(ArgT0 &&arg0, ArgT... args)
static const ::PROTOBUF_NAMESPACE_ID::Reflection * GetReflection()
Definition: joint.pb.h:163
void clear_gearbox_ratio()
Definition: joint.pb.h:984
constexpr Joint_Gearbox(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized)
Joint_Gearbox(Joint_Gearbox &&from) noexcept
Definition: joint.pb.h:134
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final
void set_allocated_gearbox_reference_body(std::string *gearbox_reference_body)
Definition: joint.pb.h:967
Joint_Gearbox(::PROTOBUF_NAMESPACE_ID::Arena *arena, bool is_message_owned=false)
Joint_Gearbox(const Joint_Gearbox &from)
Joint_Gearbox & operator=(const Joint_Gearbox &from)
Definition: joint.pb.h:139
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * descriptor()
Definition: joint.pb.h:157
const std::string & gearbox_reference_body() const
Definition: joint.pb.h:936
void CopyFrom(const Joint_Gearbox &from)
Joint_Gearbox()
Definition: joint.pb.h:129
void Swap(Joint_Gearbox *other)
Definition: joint.pb.h:179
static const Joint_Gearbox & default_instance()
Definition: joint.pb.h:166
Joint_Gearbox & operator=(Joint_Gearbox &&from) noexcept
Definition: joint.pb.h:143
static const Joint_Gearbox * internal_default_instance()
Definition: joint.pb.h:169
friend void swap(Joint_Gearbox &a, Joint_Gearbox &b)
Definition: joint.pb.h:176
void clear_gearbox_reference_body()
Definition: joint.pb.h:933
PROTOBUF_NODISCARD std::string * release_gearbox_reference_body()
Definition: joint.pb.h:963
const ::PROTOBUF_NAMESPACE_ID::Message::ClassData * GetClassData() const final
void MergeFrom(const Joint_Gearbox &from)
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * GetDescriptor()
Definition: joint.pb.h:160
std::string * mutable_gearbox_reference_body()
Definition: joint.pb.h:947
static const ClassData _class_data_
Definition: joint.pb.h:238
double gearbox_ratio() const
Definition: joint.pb.h:990
void UnsafeArenaSwap(Joint_Gearbox *other)
Definition: joint.pb.h:192
Definition: joint.pb.h:289
Joint_Screw(Joint_Screw &&from) noexcept
Definition: joint.pb.h:296
double thread_pitch() const
Definition: joint.pb.h:1014
void Swap(Joint_Screw *other)
Definition: joint.pb.h:341
static const ::PROTOBUF_NAMESPACE_ID::Reflection * GetReflection()
Definition: joint.pb.h:325
Joint_Screw()
Definition: joint.pb.h:291
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final
Joint_Screw & operator=(const Joint_Screw &from)
Definition: joint.pb.h:301
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * descriptor()
Definition: joint.pb.h:319
void UnsafeArenaSwap(Joint_Screw *other)
Definition: joint.pb.h:354
constexpr Joint_Screw(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized)
void clear_thread_pitch()
Definition: joint.pb.h:1008
Joint_Screw(const Joint_Screw &from)
void MergeFrom(const Joint_Screw &from)
Joint_Screw * New(::PROTOBUF_NAMESPACE_ID::Arena *arena=nullptr) const final
Definition: joint.pb.h:362
Joint_Screw(::PROTOBUF_NAMESPACE_ID::Arena *arena, bool is_message_owned=false)
friend void swap(Joint_Screw &a, Joint_Screw &b)
Definition: joint.pb.h:338
static const Joint_Screw & default_instance()
Definition: joint.pb.h:328
const ::PROTOBUF_NAMESPACE_ID::Message::ClassData * GetClassData() const final
void set_thread_pitch(double value)
Definition: joint.pb.h:1022
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * GetDescriptor()
Definition: joint.pb.h:322
static const ClassData _class_data_
Definition: joint.pb.h:400
void CopyFrom(const Joint_Screw &from)
static const Joint_Screw * internal_default_instance()
Definition: joint.pb.h:331
Joint_Screw & operator=(Joint_Screw &&from) noexcept
Definition: joint.pb.h:305
Definition: joint.pb.h:435
void clear_parent_id()
Definition: joint.pb.h:1260
void set_parent_id(uint32_t value)
Definition: joint.pb.h:1274
double suspension_erp() const
Definition: joint.pb.h:1735
const ::ignition::msgs::Pose & pose() const
Definition: joint.pb.h:1362
PROTOBUF_NODISCARD std::string * release_child()
Definition: joint.pb.h:1310
void set_child_id(uint32_t value)
Definition: joint.pb.h:1345
static const ::PROTOBUF_NAMESPACE_ID::Reflection * GetReflection()
Definition: joint.pb.h:471
PROTOBUF_NODISCARD ::ignition::msgs::Axis * release_axis2()
Definition: joint.pb.h:1551
void clear_child()
Definition: joint.pb.h:1280
::ignition::msgs::Axis * unsafe_arena_release_axis1()
Definition: joint.pb.h:1480
void set_allocated_parent(std::string *parent)
Definition: joint.pb.h:1243
Joint(::PROTOBUF_NAMESPACE_ID::Arena *arena, bool is_message_owned=false)
Joint & operator=(Joint &&from) noexcept
Definition: joint.pb.h:451
bool has_header() const
Definition: joint.pb.h:1035
::ignition::msgs::Pose * unsafe_arena_release_pose()
Definition: joint.pb.h:1394
void set_limit_cfm(double value)
Definition: joint.pb.h:1683
static const std::string & Type_Name(T enum_t_value)
Definition: joint.pb.h:587
::ignition::msgs::Header * mutable_header()
Definition: joint.pb.h:1090
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final
PROTOBUF_NODISCARD std::string * release_name()
Definition: joint.pb.h:1148
void unsafe_arena_set_allocated_pose(::ignition::msgs::Pose *pose)
Definition: joint.pb.h:1366
void clear_fudge_factor()
Definition: joint.pb.h:1649
::ignition::msgs::Axis * mutable_axis1()
Definition: joint.pb.h:1495
const std::string & name() const
Definition: joint.pb.h:1121
const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::ignition::msgs::Sensor > & sensor() const
Definition: joint.pb.h:1960
void set_cfm(double value)
Definition: joint.pb.h:1623
void clear_bounce()
Definition: joint.pb.h:1629
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * descriptor()
Definition: joint.pb.h:465
void unsafe_arena_set_allocated_screw(::ignition::msgs::Joint_Screw *screw)
Definition: joint.pb.h:1860
Joint(const Joint &from)
void set_parent(ArgT0 &&arg0, ArgT... args)
void clear_suspension_erp()
Definition: joint.pb.h:1729
::ignition::msgs::Sensor * add_sensor()
Definition: joint.pb.h:1954
static const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor * Type_descriptor()
Definition: joint.pb.h:583
void CopyFrom(const Joint &from)
const ::ignition::msgs::Axis & axis2() const
Definition: joint.pb.h:1534
Joint(Joint &&from) noexcept
Definition: joint.pb.h:442
void clear_name()
Definition: joint.pb.h:1118
const ::ignition::msgs::Joint_Gearbox & gearbox() const
Definition: joint.pb.h:1766
::ignition::msgs::Axis * mutable_axis2()
Definition: joint.pb.h:1581
void clear_limit_cfm()
Definition: joint.pb.h:1669
std::string * mutable_child()
Definition: joint.pb.h:1294
const std::string & parent() const
Definition: joint.pb.h:1212
void clear_id()
Definition: joint.pb.h:1169
double limit_erp() const
Definition: joint.pb.h:1695
void unsafe_arena_set_allocated_header(::ignition::msgs::Header *header)
Definition: joint.pb.h:1047
::ignition::msgs::Joint_Screw * mutable_screw()
Definition: joint.pb.h:1903
::ignition::msgs::Joint_Gearbox * unsafe_arena_release_gearbox()
Definition: joint.pb.h:1798
std::string * mutable_parent()
Definition: joint.pb.h:1223
void set_bounce(double value)
Definition: joint.pb.h:1643
void set_allocated_gearbox(::ignition::msgs::Joint_Gearbox *gearbox)
Definition: joint.pb.h:1818
void set_allocated_axis2(::ignition::msgs::Axis *axis2)
Definition: joint.pb.h:1586
PROTOBUF_NODISCARD ::ignition::msgs::Axis * release_axis1()
Definition: joint.pb.h:1465
void set_name(ArgT0 &&arg0, ArgT... args)
bool has_pose() const
Definition: joint.pb.h:1354
friend void swap(Joint &a, Joint &b)
Definition: joint.pb.h:484
void set_allocated_pose(::ignition::msgs::Pose *pose)
Definition: joint.pb.h:1414
void clear_cfm()
Definition: joint.pb.h:1609
double cfm() const
Definition: joint.pb.h:1615
PROTOBUF_NODISCARD ::ignition::msgs::Joint_Gearbox * release_gearbox()
Definition: joint.pb.h:1783
double suspension_cfm() const
Definition: joint.pb.h:1715
void clear_screw()
Definition: joint.pb.h:1845
void set_fudge_factor(double value)
Definition: joint.pb.h:1663
void set_suspension_cfm(double value)
Definition: joint.pb.h:1723
::ignition::msgs::Axis * unsafe_arena_release_axis2()
Definition: joint.pb.h:1566
::ignition::msgs::Joint_Gearbox * mutable_gearbox()
Definition: joint.pb.h:1813
uint32_t child_id() const
Definition: joint.pb.h:1337
static bool Type_Parse(::PROTOBUF_NAMESPACE_ID::ConstStringParam name, Type *value)
Definition: joint.pb.h:593
void set_type(::ignition::msgs::Joint_Type value)
Definition: joint.pb.h:1203
uint32_t parent_id() const
Definition: joint.pb.h:1266
int sensor_size() const
Definition: joint.pb.h:1932
void clear_type()
Definition: joint.pb.h:1189
void set_allocated_header(::ignition::msgs::Header *header)
Definition: joint.pb.h:1095
::ignition::msgs::Pose * mutable_pose()
Definition: joint.pb.h:1409
bool has_axis1() const
Definition: joint.pb.h:1440
double limit_cfm() const
Definition: joint.pb.h:1675
bool has_axis2() const
Definition: joint.pb.h:1526
void UnsafeArenaSwap(Joint *other)
Definition: joint.pb.h:500
constexpr Joint(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized)
bool has_gearbox() const
Definition: joint.pb.h:1752
::ignition::msgs::Joint_Screw * unsafe_arena_release_screw()
Definition: joint.pb.h:1888
void set_allocated_axis1(::ignition::msgs::Axis *axis1)
Definition: joint.pb.h:1500
PROTOBUF_NODISCARD ::ignition::msgs::Header * release_header()
Definition: joint.pb.h:1060
void set_allocated_screw(::ignition::msgs::Joint_Screw *screw)
Definition: joint.pb.h:1908
const ::PROTOBUF_NAMESPACE_ID::Message::ClassData * GetClassData() const final
void clear_child_id()
Definition: joint.pb.h:1331
double fudge_factor() const
Definition: joint.pb.h:1655
static const Joint & default_instance()
Definition: joint.pb.h:474
PROTOBUF_NODISCARD std::string * release_parent()
Definition: joint.pb.h:1239
PROTOBUF_NODISCARD ::ignition::msgs::Joint_Screw * release_screw()
Definition: joint.pb.h:1873
Joint * New(::PROTOBUF_NAMESPACE_ID::Arena *arena=nullptr) const final
Definition: joint.pb.h:508
void set_child(ArgT0 &&arg0, ArgT... args)
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * GetDescriptor()
Definition: joint.pb.h:468
void set_allocated_child(std::string *child)
Definition: joint.pb.h:1314
void MergeFrom(const Joint &from)
void set_limit_erp(double value)
Definition: joint.pb.h:1703
static const Joint * internal_default_instance()
Definition: joint.pb.h:477
Joint()
Definition: joint.pb.h:437
const ::ignition::msgs::Header & header() const
Definition: joint.pb.h:1043
std::string * mutable_name()
Definition: joint.pb.h:1132
void clear_parent()
Definition: joint.pb.h:1209
PROTOBUF_NODISCARD ::ignition::msgs::Pose * release_pose()
Definition: joint.pb.h:1379
void unsafe_arena_set_allocated_gearbox(::ignition::msgs::Joint_Gearbox *gearbox)
Definition: joint.pb.h:1770
static const ClassData _class_data_
Definition: joint.pb.h:546
const ::ignition::msgs::Axis & axis1() const
Definition: joint.pb.h:1448
::ignition::msgs::Header * unsafe_arena_release_header()
Definition: joint.pb.h:1075
Joint & operator=(const Joint &from)
Definition: joint.pb.h:447
::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::ignition::msgs::Sensor > * mutable_sensor()
Definition: joint.pb.h:1940
::ignition::msgs::Joint_Type type() const
Definition: joint.pb.h:1195
const ::ignition::msgs::Joint_Screw & screw() const
Definition: joint.pb.h:1856
void Swap(Joint *other)
Definition: joint.pb.h:487
void set_id(uint32_t value)
Definition: joint.pb.h:1183
double bounce() const
Definition: joint.pb.h:1635
uint32_t id() const
Definition: joint.pb.h:1175
void set_allocated_name(std::string *name)
Definition: joint.pb.h:1152
void unsafe_arena_set_allocated_axis1(::ignition::msgs::Axis *axis1)
Definition: joint.pb.h:1452
bool has_screw() const
Definition: joint.pb.h:1842
void clear_limit_erp()
Definition: joint.pb.h:1689
const std::string & child() const
Definition: joint.pb.h:1283
void set_suspension_erp(double value)
Definition: joint.pb.h:1743
void clear_gearbox()
Definition: joint.pb.h:1755
void clear_suspension_cfm()
Definition: joint.pb.h:1709
void unsafe_arena_set_allocated_axis2(::ignition::msgs::Axis *axis2)
Definition: joint.pb.h:1538
Definition: pose.pb.h:86
Definition: sensor.pb.h:94
IGNITION_MSGS_VISIBLEconst ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable descriptor_table_ignition_2fmsgs_2fjoint_2eproto
T max(T... args)
T min(T... args)
constexpr int Joint_Type_Type_ARRAYSIZE
Definition: joint.pb.h:108
IGNITION_MSGS_VISIBLE JointDefaultTypeInternal _Joint_default_instance_
IGNITION_MSGS_VISIBLE AxisDefaultTypeInternal _Axis_default_instance_
IGNITION_MSGS_VISIBLEconst ::PROTOBUF_NAMESPACE_ID::EnumDescriptor * Joint_Type_descriptor()
IGNITION_MSGS_VISIBLE HeaderDefaultTypeInternal _Header_default_instance_
std::unique_ptr< const Joint > ConstJointUniquePtr
Definition: joint.pb.h:1974
std::shared_ptr< Joint > JointSharedPtr
Definition: joint.pb.h:1975
const std::string & Joint_Type_Name(T enum_t_value)
Definition: joint.pb.h:112
constexpr Joint_Type Joint_Type_Type_MIN
Definition: joint.pb.h:106
IGNITION_MSGS_VISIBLE PoseDefaultTypeInternal _Pose_default_instance_
Joint_Type
Definition: joint.pb.h:93
@ Joint_Type_SCREW
Definition: joint.pb.h:99
@ Joint_Type_PRISMATIC
Definition: joint.pb.h:96
@ Joint_Type_UNIVERSAL
Definition: joint.pb.h:97
@ Joint_Type_Joint_Type_INT_MAX_SENTINEL_DO_NOT_USE_
Definition: joint.pb.h:103
@ Joint_Type_FIXED
Definition: joint.pb.h:101
@ Joint_Type_REVOLUTE
Definition: joint.pb.h:94
@ Joint_Type_GEARBOX
Definition: joint.pb.h:100
@ Joint_Type_Joint_Type_INT_MIN_SENTINEL_DO_NOT_USE_
Definition: joint.pb.h:102
@ Joint_Type_REVOLUTE2
Definition: joint.pb.h:95
@ Joint_Type_BALL
Definition: joint.pb.h:98
bool Joint_Type_Parse(::PROTOBUF_NAMESPACE_ID::ConstStringParam name, Joint_Type *value)
Definition: joint.pb.h:119
IGNITION_MSGS_VISIBLE Joint_ScrewDefaultTypeInternal _Joint_Screw_default_instance_
std::unique_ptr< Joint > JointUniquePtr
Definition: joint.pb.h:1973
IGNITION_MSGS_VISIBLE bool Joint_Type_IsValid(int value)
constexpr Joint_Type Joint_Type_Type_MAX
Definition: joint.pb.h:107
IGNITION_MSGS_VISIBLE Joint_GearboxDefaultTypeInternal _Joint_Gearbox_default_instance_
std::shared_ptr< const Joint > ConstJointSharedPtr
Definition: joint.pb.h:1976
Definition: actor.pb.h:52
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[3] PROTOBUF_SECTION_VARIABLE(protodesc_cold)