4 #ifndef GOOGLE_PROTOBUF_INCLUDED_ignition_2fmsgs_2fjoint_2eproto
5 #define GOOGLE_PROTOBUF_INCLUDED_ignition_2fmsgs_2fjoint_2eproto
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
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.
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>
33 #include <google/protobuf/extension_set.h>
34 #include <google/protobuf/generated_enum_reflection.h>
35 #include <google/protobuf/unknown_field_set.h>
41 #pragma GCC system_header
44 #pragma warning(disable: 4244 4267 4100 4244 4512 4127 4068 4275 4251)
47 #include <sys/sysmacros.h>
52 #include <google/protobuf/port_def.inc>
53 #define PROTOBUF_INTERNAL_EXPORT_ignition_2fmsgs_2fjoint_2eproto IGNITION_MSGS_VISIBLE
54 PROTOBUF_NAMESPACE_OPEN
58 PROTOBUF_NAMESPACE_CLOSE
62 static const ::PROTOBUF_NAMESPACE_ID::internal::ParseTableField entries[]
64 static const ::PROTOBUF_NAMESPACE_ID::internal::AuxillaryParseTableField aux[]
66 static const ::PROTOBUF_NAMESPACE_ID::internal::ParseTable schema[3]
68 static const ::PROTOBUF_NAMESPACE_ID::internal::FieldMetadata field_metadata[];
69 static const ::PROTOBUF_NAMESPACE_ID::internal::SerializationTable serialization_table[];
70 static const ::PROTOBUF_NAMESPACE_ID::uint32 offsets[];
76 class JointDefaultTypeInternal;
79 class Joint_GearboxDefaultTypeInternal;
82 class Joint_ScrewDefaultTypeInternal;
86 PROTOBUF_NAMESPACE_OPEN
87 template<> IGNITION_MSGS_VISIBLE ::ignition::msgs::Joint* Arena::CreateMaybeMessage<::ignition::msgs::Joint>(Arena*);
88 template<> IGNITION_MSGS_VISIBLE ::ignition::msgs::Joint_Gearbox* Arena::CreateMaybeMessage<::ignition::msgs::Joint_Gearbox>(Arena*);
89 template<> IGNITION_MSGS_VISIBLE ::ignition::msgs::Joint_Screw* Arena::CreateMaybeMessage<::ignition::msgs::Joint_Screw>(Arena*);
90 PROTOBUF_NAMESPACE_CLOSE
116 "Incorrect type passed to function Joint_Type_Name.");
117 return ::PROTOBUF_NAMESPACE_ID::internal::NameOfEnum(
122 return ::PROTOBUF_NAMESPACE_ID::internal::ParseNamedEnum<Joint_Type>(
127 class IGNITION_MSGS_VISIBLE Joint_Gearbox PROTOBUF_FINAL :
128 public ::PROTOBUF_NAMESPACE_ID::Message {
136 *
this = ::std::move(from);
139 inline Joint_Gearbox&
operator=(
const Joint_Gearbox& from) {
143 inline Joint_Gearbox&
operator=(Joint_Gearbox&& from) noexcept {
144 if (GetArena() == from.GetArena()) {
145 if (
this != &from) InternalSwap(&from);
152 static const ::PROTOBUF_NAMESPACE_ID::Descriptor*
descriptor() {
153 return GetDescriptor();
156 return GetMetadataStatic().descriptor;
159 return GetMetadataStatic().reflection;
165 return reinterpret_cast<const Joint_Gearbox*
>(
168 static constexpr
int kIndexInFileMessages =
171 friend void swap(Joint_Gearbox& a, Joint_Gearbox& b) {
174 inline void Swap(Joint_Gearbox* other) {
175 if (other ==
this)
return;
176 if (GetArena() == other->GetArena()) {
179 ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(
this, other);
183 if (other ==
this)
return;
184 GOOGLE_DCHECK(GetArena() == other->GetArena());
190 inline Joint_Gearbox*
New() const final {
191 return CreateMaybeMessage<Joint_Gearbox>(
nullptr);
194 Joint_Gearbox*
New(::PROTOBUF_NAMESPACE_ID::Arena* arena)
const final {
195 return CreateMaybeMessage<Joint_Gearbox>(arena);
197 void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from)
final;
198 void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from)
final;
201 PROTOBUF_ATTRIBUTE_REINITIALIZES
void Clear() final;
202 bool IsInitialized() const final;
204 size_t ByteSizeLong() const final;
205 const
char* _InternalParse(const
char* ptr, ::PROTOBUF_NAMESPACE_ID::
internal::ParseContext* ctx) final;
206 ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize(
207 ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
208 int GetCachedSize() const final {
return _cached_size_.Get(); }
211 inline void SharedCtor();
212 inline void SharedDtor();
213 void SetCachedSize(
int size)
const final;
214 void InternalSwap(Joint_Gearbox* other);
215 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
216 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
217 return "ignition.msgs.Joint.Gearbox";
222 static void ArenaDtor(
void*
object);
223 inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
228 static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() {
240 kGearboxReferenceBodyFieldNumber = 1,
241 kGearboxRatioFieldNumber = 2,
253 GOOGLE_PROTOBUF_RUNTIME_DEPRECATED(
"The unsafe_arena_ accessors for"
254 " string fields are deprecated and will be removed in a"
256 std::
string* unsafe_arena_release_gearbox_reference_body();
257 GOOGLE_PROTOBUF_RUNTIME_DEPRECATED("The unsafe_arena_ accessors for"
258 "
string fields are deprecated and will be removed in a"
260 void unsafe_arena_set_allocated_gearbox_reference_body(
261 std::
string* gearbox_reference_body);
263 const
std::
string& _internal_gearbox_reference_body() const;
264 void _internal_set_gearbox_reference_body(const
std::
string& value);
265 std::
string* _internal_mutable_gearbox_reference_body();
269 void clear_gearbox_ratio();
270 double gearbox_ratio() const;
271 void set_gearbox_ratio(
double value);
273 double _internal_gearbox_ratio() const;
274 void _internal_set_gearbox_ratio(
double value);
281 template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
282 typedef
void InternalArenaConstructable_;
283 typedef
void DestructorSkippable_;
284 ::PROTOBUF_NAMESPACE_ID::
internal::ArenaStringPtr gearbox_reference_body_;
285 double gearbox_ratio_;
286 mutable ::PROTOBUF_NAMESPACE_ID::
internal::CachedSize _cached_size_;
292 public ::PROTOBUF_NAMESPACE_ID::Message {
300 *
this = ::std::move(from);
303 inline Joint_Screw&
operator=(
const Joint_Screw& from) {
307 inline Joint_Screw&
operator=(Joint_Screw&& from) noexcept {
308 if (GetArena() == from.GetArena()) {
309 if (
this != &from) InternalSwap(&from);
316 static const ::PROTOBUF_NAMESPACE_ID::Descriptor*
descriptor() {
317 return GetDescriptor();
320 return GetMetadataStatic().descriptor;
323 return GetMetadataStatic().reflection;
329 return reinterpret_cast<const Joint_Screw*
>(
332 static constexpr
int kIndexInFileMessages =
335 friend void swap(Joint_Screw& a, Joint_Screw& b) {
338 inline void Swap(Joint_Screw* other) {
339 if (other ==
this)
return;
340 if (GetArena() == other->GetArena()) {
343 ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(
this, other);
347 if (other ==
this)
return;
348 GOOGLE_DCHECK(GetArena() == other->GetArena());
354 inline Joint_Screw*
New() const final {
355 return CreateMaybeMessage<Joint_Screw>(
nullptr);
358 Joint_Screw*
New(::PROTOBUF_NAMESPACE_ID::Arena* arena)
const final {
359 return CreateMaybeMessage<Joint_Screw>(arena);
361 void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from)
final;
362 void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from)
final;
365 PROTOBUF_ATTRIBUTE_REINITIALIZES
void Clear() final;
366 bool IsInitialized() const final;
368 size_t ByteSizeLong() const final;
369 const
char* _InternalParse(const
char* ptr, ::PROTOBUF_NAMESPACE_ID::
internal::ParseContext* ctx) final;
370 ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize(
371 ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
372 int GetCachedSize() const final {
return _cached_size_.Get(); }
375 inline void SharedCtor();
376 inline void SharedDtor();
377 void SetCachedSize(
int size)
const final;
378 void InternalSwap(Joint_Screw* other);
379 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
380 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
381 return "ignition.msgs.Joint.Screw";
386 static void ArenaDtor(
void*
object);
387 inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
392 static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() {
404 kThreadPitchFieldNumber = 1,
411 double _internal_thread_pitch()
const;
412 void _internal_set_thread_pitch(
double value);
419 template <
typename T>
friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
420 typedef void InternalArenaConstructable_;
421 typedef void DestructorSkippable_;
422 double thread_pitch_;
423 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
424 friend struct ::TableStruct_ignition_2fmsgs_2fjoint_2eproto;
429 public ::PROTOBUF_NAMESPACE_ID::Message {
437 *
this = ::std::move(from);
445 if (GetArena() == from.GetArena()) {
446 if (
this != &from) InternalSwap(&from);
453 static const ::PROTOBUF_NAMESPACE_ID::Descriptor*
descriptor() {
454 return GetDescriptor();
457 return GetMetadataStatic().descriptor;
460 return GetMetadataStatic().reflection;
466 return reinterpret_cast<const Joint*
>(
469 static constexpr
int kIndexInFileMessages =
476 if (other ==
this)
return;
477 if (GetArena() == other->GetArena()) {
480 ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(
this, other);
484 if (other ==
this)
return;
485 GOOGLE_DCHECK(GetArena() == other->GetArena());
492 return CreateMaybeMessage<Joint>(
nullptr);
495 Joint*
New(::PROTOBUF_NAMESPACE_ID::Arena* arena)
const final {
496 return CreateMaybeMessage<Joint>(arena);
498 void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from)
final;
499 void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from)
final;
502 PROTOBUF_ATTRIBUTE_REINITIALIZES
void Clear() final;
503 bool IsInitialized() const final;
505 size_t ByteSizeLong() const final;
506 const
char* _InternalParse(const
char* ptr, ::PROTOBUF_NAMESPACE_ID::
internal::ParseContext* ctx) final;
507 ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize(
508 ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
509 int GetCachedSize() const final {
return _cached_size_.Get(); }
512 inline void SharedCtor();
513 inline void SharedDtor();
514 void SetCachedSize(
int size)
const final;
515 void InternalSwap(Joint* other);
516 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
517 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
518 return "ignition.msgs.Joint";
521 explicit Joint(::PROTOBUF_NAMESPACE_ID::Arena* arena);
523 static void ArenaDtor(
void*
object);
524 inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
529 static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() {
542 static constexpr
Type REVOLUTE =
544 static constexpr
Type REVOLUTE2 =
546 static constexpr
Type PRISMATIC =
548 static constexpr
Type UNIVERSAL =
554 static constexpr
Type GEARBOX =
561 static constexpr Type Type_MIN =
563 static constexpr Type Type_MAX =
565 static constexpr
int Type_ARRAYSIZE =
567 static inline const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor*
575 "Incorrect type passed to function Type_Name.");
586 kSensorFieldNumber = 21,
587 kNameFieldNumber = 2,
588 kParentFieldNumber = 5,
589 kChildFieldNumber = 7,
590 kHeaderFieldNumber = 1,
591 kPoseFieldNumber = 9,
592 kAxis1FieldNumber = 10,
593 kAxis2FieldNumber = 11,
594 kGearboxFieldNumber = 19,
595 kScrewFieldNumber = 20,
597 kTypeFieldNumber = 4,
598 kParentIdFieldNumber = 6,
599 kChildIdFieldNumber = 8,
600 kCfmFieldNumber = 12,
601 kBounceFieldNumber = 13,
602 kFudgeFactorFieldNumber = 14,
603 kLimitCfmFieldNumber = 15,
604 kLimitErpFieldNumber = 16,
605 kSuspensionCfmFieldNumber = 17,
606 kSuspensionErpFieldNumber = 18,
611 int _internal_sensor_size()
const;
615 ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::ignition::msgs::Sensor >*
618 const ::ignition::msgs::Sensor& _internal_sensor(
int index)
const;
619 ::ignition::msgs::Sensor* _internal_add_sensor();
621 const ::ignition::msgs::Sensor&
sensor(
int index)
const;
623 const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::ignition::msgs::Sensor >&
636 GOOGLE_PROTOBUF_RUNTIME_DEPRECATED(
"The unsafe_arena_ accessors for"
637 " string fields are deprecated and will be removed in a"
639 std::
string* unsafe_arena_release_name();
640 GOOGLE_PROTOBUF_RUNTIME_DEPRECATED("The unsafe_arena_ accessors for"
641 "
string fields are deprecated and will be removed in a"
643 void unsafe_arena_set_allocated_name(
646 const
std::
string& _internal_name() const;
647 void _internal_set_name(const
std::
string& value);
648 std::
string* _internal_mutable_name();
653 const
std::
string& parent() const;
654 void set_parent(const
std::
string& value);
655 void set_parent(
std::
string&& value);
656 void set_parent(const
char* value);
657 void set_parent(const
char* value,
size_t size);
658 std::
string* mutable_parent();
659 std::
string* release_parent();
660 void set_allocated_parent(
std::
string* parent);
661 GOOGLE_PROTOBUF_RUNTIME_DEPRECATED("The unsafe_arena_ accessors for"
662 "
string fields are deprecated and will be removed in a"
664 std::
string* unsafe_arena_release_parent();
665 GOOGLE_PROTOBUF_RUNTIME_DEPRECATED("The unsafe_arena_ accessors for"
666 "
string fields are deprecated and will be removed in a"
668 void unsafe_arena_set_allocated_parent(
669 std::
string* parent);
671 const
std::
string& _internal_parent() const;
672 void _internal_set_parent(const
std::
string& value);
673 std::
string* _internal_mutable_parent();
678 const
std::
string& child() const;
679 void set_child(const
std::
string& value);
680 void set_child(
std::
string&& value);
681 void set_child(const
char* value);
682 void set_child(const
char* value,
size_t size);
683 std::
string* mutable_child();
684 std::
string* release_child();
685 void set_allocated_child(
std::
string* child);
686 GOOGLE_PROTOBUF_RUNTIME_DEPRECATED("The unsafe_arena_ accessors for"
687 "
string fields are deprecated and will be removed in a"
689 std::
string* unsafe_arena_release_child();
690 GOOGLE_PROTOBUF_RUNTIME_DEPRECATED("The unsafe_arena_ accessors for"
691 "
string fields are deprecated and will be removed in a"
693 void unsafe_arena_set_allocated_child(
696 const
std::
string& _internal_child() const;
697 void _internal_set_child(const
std::
string& value);
698 std::
string* _internal_mutable_child();
702 bool has_header() const;
704 bool _internal_has_header() const;
710 void set_allocated_header(::
ignition::msgs::Header* header);
712 const ::
ignition::msgs::Header& _internal_header() const;
713 ::
ignition::msgs::Header* _internal_mutable_header();
715 void unsafe_arena_set_allocated_header(
717 ::
ignition::msgs::Header* unsafe_arena_release_header();
720 bool has_pose() const;
722 bool _internal_has_pose() const;
728 void set_allocated_pose(::
ignition::msgs::Pose* pose);
730 const ::
ignition::msgs::Pose& _internal_pose() const;
731 ::
ignition::msgs::Pose* _internal_mutable_pose();
733 void unsafe_arena_set_allocated_pose(
735 ::
ignition::msgs::Pose* unsafe_arena_release_pose();
738 bool has_axis1() const;
740 bool _internal_has_axis1() const;
746 void set_allocated_axis1(::
ignition::msgs::Axis* axis1);
748 const ::
ignition::msgs::Axis& _internal_axis1() const;
749 ::
ignition::msgs::Axis* _internal_mutable_axis1();
751 void unsafe_arena_set_allocated_axis1(
753 ::
ignition::msgs::Axis* unsafe_arena_release_axis1();
756 bool has_axis2() const;
758 bool _internal_has_axis2() const;
764 void set_allocated_axis2(::
ignition::msgs::Axis* axis2);
766 const ::
ignition::msgs::Axis& _internal_axis2() const;
767 ::
ignition::msgs::Axis* _internal_mutable_axis2();
769 void unsafe_arena_set_allocated_axis2(
771 ::
ignition::msgs::Axis* unsafe_arena_release_axis2();
774 bool has_gearbox() const;
776 bool _internal_has_gearbox() const;
778 void clear_gearbox();
779 const ::
ignition::msgs::Joint_Gearbox& gearbox() const;
780 ::
ignition::msgs::Joint_Gearbox* release_gearbox();
781 ::
ignition::msgs::Joint_Gearbox* mutable_gearbox();
782 void set_allocated_gearbox(::
ignition::msgs::Joint_Gearbox* gearbox);
784 const ::
ignition::msgs::Joint_Gearbox& _internal_gearbox() const;
785 ::
ignition::msgs::Joint_Gearbox* _internal_mutable_gearbox();
787 void unsafe_arena_set_allocated_gearbox(
788 ::
ignition::msgs::Joint_Gearbox* gearbox);
789 ::
ignition::msgs::Joint_Gearbox* unsafe_arena_release_gearbox();
792 bool has_screw() const;
794 bool _internal_has_screw() const;
797 const ::
ignition::msgs::Joint_Screw& screw() const;
800 void set_allocated_screw(::
ignition::msgs::Joint_Screw* screw);
802 const ::
ignition::msgs::Joint_Screw& _internal_screw() const;
803 ::
ignition::msgs::Joint_Screw* _internal_mutable_screw();
805 void unsafe_arena_set_allocated_screw(
806 ::
ignition::msgs::Joint_Screw* screw);
807 ::
ignition::msgs::Joint_Screw* unsafe_arena_release_screw();
811 ::PROTOBUF_NAMESPACE_ID::uint32
id() const;
812 void set_id(::PROTOBUF_NAMESPACE_ID::uint32 value);
814 ::PROTOBUF_NAMESPACE_ID::uint32 _internal_id() const;
815 void _internal_set_id(::PROTOBUF_NAMESPACE_ID::uint32 value);
828 void clear_parent_id();
829 ::PROTOBUF_NAMESPACE_ID::uint32 parent_id() const;
830 void set_parent_id(::PROTOBUF_NAMESPACE_ID::uint32 value);
832 ::PROTOBUF_NAMESPACE_ID::uint32 _internal_parent_id() const;
833 void _internal_set_parent_id(::PROTOBUF_NAMESPACE_ID::uint32 value);
837 void clear_child_id();
838 ::PROTOBUF_NAMESPACE_ID::uint32 child_id() const;
839 void set_child_id(::PROTOBUF_NAMESPACE_ID::uint32 value);
841 ::PROTOBUF_NAMESPACE_ID::uint32 _internal_child_id() const;
842 void _internal_set_child_id(::PROTOBUF_NAMESPACE_ID::uint32 value);
848 void set_cfm(
double value);
850 double _internal_cfm() const;
851 void _internal_set_cfm(
double value);
856 double bounce() const;
857 void set_bounce(
double value);
859 double _internal_bounce() const;
860 void _internal_set_bounce(
double value);
864 void clear_fudge_factor();
865 double fudge_factor() const;
866 void set_fudge_factor(
double value);
868 double _internal_fudge_factor() const;
869 void _internal_set_fudge_factor(
double value);
873 void clear_limit_cfm();
874 double limit_cfm() const;
875 void set_limit_cfm(
double value);
877 double _internal_limit_cfm() const;
878 void _internal_set_limit_cfm(
double value);
882 void clear_limit_erp();
883 double limit_erp() const;
884 void set_limit_erp(
double value);
886 double _internal_limit_erp() const;
887 void _internal_set_limit_erp(
double value);
891 void clear_suspension_cfm();
892 double suspension_cfm() const;
893 void set_suspension_cfm(
double value);
895 double _internal_suspension_cfm() const;
896 void _internal_set_suspension_cfm(
double value);
900 void clear_suspension_erp();
901 double suspension_erp() const;
902 void set_suspension_erp(
double value);
904 double _internal_suspension_erp() const;
905 void _internal_set_suspension_erp(
double value);
912 template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
913 typedef
void InternalArenaConstructable_;
914 typedef
void DestructorSkippable_;
915 ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::
ignition::msgs::Sensor > sensor_;
916 ::PROTOBUF_NAMESPACE_ID::
internal::ArenaStringPtr name_;
917 ::PROTOBUF_NAMESPACE_ID::
internal::ArenaStringPtr parent_;
918 ::PROTOBUF_NAMESPACE_ID::
internal::ArenaStringPtr child_;
923 ::
ignition::msgs::Joint_Gearbox* gearbox_;
924 ::
ignition::msgs::Joint_Screw* screw_;
925 ::PROTOBUF_NAMESPACE_ID::uint32 id_;
927 ::PROTOBUF_NAMESPACE_ID::uint32 parent_id_;
928 ::PROTOBUF_NAMESPACE_ID::uint32 child_id_;
931 double fudge_factor_;
934 double suspension_cfm_;
935 double suspension_erp_;
936 mutable ::PROTOBUF_NAMESPACE_ID::
internal::CachedSize _cached_size_;
945 #pragma GCC diagnostic push
946 #pragma GCC diagnostic ignored "-Wstrict-aliasing"
951 inline void Joint_Gearbox::clear_gearbox_reference_body() {
952 gearbox_reference_body_.ClearToEmpty(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena());
954 inline const std::string& Joint_Gearbox::gearbox_reference_body()
const {
956 return _internal_gearbox_reference_body();
958 inline void Joint_Gearbox::set_gearbox_reference_body(
const std::string& value) {
959 _internal_set_gearbox_reference_body(value);
962 inline std::string* Joint_Gearbox::mutable_gearbox_reference_body() {
964 return _internal_mutable_gearbox_reference_body();
966 inline const std::string& Joint_Gearbox::_internal_gearbox_reference_body()
const {
967 return gearbox_reference_body_.Get();
969 inline void Joint_Gearbox::_internal_set_gearbox_reference_body(
const std::string& value) {
971 gearbox_reference_body_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), value, GetArena());
973 inline void Joint_Gearbox::set_gearbox_reference_body(
std::string&& value) {
975 gearbox_reference_body_.Set(
976 &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::
std::move(value), GetArena());
979 inline void Joint_Gearbox::set_gearbox_reference_body(
const char* value) {
980 GOOGLE_DCHECK(value !=
nullptr);
982 gearbox_reference_body_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::
std::string(value),
986 inline void Joint_Gearbox::set_gearbox_reference_body(
const char* value,
989 gearbox_reference_body_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::
std::string(
990 reinterpret_cast<const char*
>(value), size), GetArena());
993 inline std::string* Joint_Gearbox::_internal_mutable_gearbox_reference_body() {
995 return gearbox_reference_body_.Mutable(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena());
997 inline std::string* Joint_Gearbox::release_gearbox_reference_body() {
999 return gearbox_reference_body_.Release(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena());
1001 inline void Joint_Gearbox::set_allocated_gearbox_reference_body(
std::string* gearbox_reference_body) {
1002 if (gearbox_reference_body !=
nullptr) {
1007 gearbox_reference_body_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), gearbox_reference_body,
1011 inline std::string* Joint_Gearbox::unsafe_arena_release_gearbox_reference_body() {
1013 GOOGLE_DCHECK(GetArena() !=
nullptr);
1015 return gearbox_reference_body_.UnsafeArenaRelease(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(),
1018 inline void Joint_Gearbox::unsafe_arena_set_allocated_gearbox_reference_body(
1020 GOOGLE_DCHECK(GetArena() !=
nullptr);
1021 if (gearbox_reference_body !=
nullptr) {
1026 gearbox_reference_body_.UnsafeArenaSetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(),
1027 gearbox_reference_body, GetArena());
1032 inline void Joint_Gearbox::clear_gearbox_ratio() {
1035 inline double Joint_Gearbox::_internal_gearbox_ratio()
const {
1036 return gearbox_ratio_;
1038 inline double Joint_Gearbox::gearbox_ratio()
const {
1040 return _internal_gearbox_ratio();
1042 inline void Joint_Gearbox::_internal_set_gearbox_ratio(
double value) {
1044 gearbox_ratio_ = value;
1046 inline void Joint_Gearbox::set_gearbox_ratio(
double value) {
1047 _internal_set_gearbox_ratio(value);
1056 inline void Joint_Screw::clear_thread_pitch() {
1059 inline double Joint_Screw::_internal_thread_pitch()
const {
1060 return thread_pitch_;
1062 inline double Joint_Screw::thread_pitch()
const {
1064 return _internal_thread_pitch();
1066 inline void Joint_Screw::_internal_set_thread_pitch(
double value) {
1068 thread_pitch_ = value;
1070 inline void Joint_Screw::set_thread_pitch(
double value) {
1071 _internal_set_thread_pitch(value);
1080 inline bool Joint::_internal_has_header()
const {
1081 return this != internal_default_instance() && header_ !=
nullptr;
1083 inline bool Joint::has_header()
const {
1084 return _internal_has_header();
1086 inline const ::ignition::msgs::Header& Joint::_internal_header()
const {
1087 const ::ignition::msgs::Header* p = header_;
1088 return p !=
nullptr ? *p : *
reinterpret_cast<const ::ignition::msgs::Header*
>(
1091 inline const ::ignition::msgs::Header& Joint::header()
const {
1093 return _internal_header();
1095 inline void Joint::unsafe_arena_set_allocated_header(
1096 ::ignition::msgs::Header* header) {
1097 if (GetArena() ==
nullptr) {
1098 delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*
>(header_);
1108 inline ::ignition::msgs::Header* Joint::release_header() {
1109 auto temp = unsafe_arena_release_header();
1110 if (GetArena() !=
nullptr) {
1111 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
1115 inline ::ignition::msgs::Header* Joint::unsafe_arena_release_header() {
1118 ::ignition::msgs::Header* temp = header_;
1122 inline ::ignition::msgs::Header* Joint::_internal_mutable_header() {
1124 if (header_ ==
nullptr) {
1125 auto* p = CreateMaybeMessage<::ignition::msgs::Header>(GetArena());
1130 inline ::ignition::msgs::Header* Joint::mutable_header() {
1132 return _internal_mutable_header();
1134 inline void Joint::set_allocated_header(::ignition::msgs::Header* header) {
1135 ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArena();
1136 if (message_arena ==
nullptr) {
1137 delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*
>(header_);
1140 ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
1141 reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*
>(header)->GetArena();
1142 if (message_arena != submessage_arena) {
1143 header = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
1144 message_arena, header, submessage_arena);
1155 inline void Joint::clear_name() {
1156 name_.ClearToEmpty(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena());
1160 return _internal_name();
1162 inline void Joint::set_name(
const std::string& value) {
1163 _internal_set_name(value);
1168 return _internal_mutable_name();
1170 inline const std::string& Joint::_internal_name()
const {
1173 inline void Joint::_internal_set_name(
const std::string& value) {
1175 name_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), value, GetArena());
1177 inline void Joint::set_name(
std::string&& value) {
1180 &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::
std::move(value), GetArena());
1183 inline void Joint::set_name(
const char* value) {
1184 GOOGLE_DCHECK(value !=
nullptr);
1186 name_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::
std::string(value),
1190 inline void Joint::set_name(
const char* value,
1193 name_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::
std::string(
1194 reinterpret_cast<const char*
>(value), size), GetArena());
1197 inline std::string* Joint::_internal_mutable_name() {
1199 return name_.Mutable(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena());
1203 return name_.Release(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena());
1205 inline void Joint::set_allocated_name(
std::string* name) {
1206 if (name !=
nullptr) {
1211 name_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), name,
1215 inline std::string* Joint::unsafe_arena_release_name() {
1217 GOOGLE_DCHECK(GetArena() !=
nullptr);
1219 return name_.UnsafeArenaRelease(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(),
1222 inline void Joint::unsafe_arena_set_allocated_name(
1224 GOOGLE_DCHECK(GetArena() !=
nullptr);
1225 if (name !=
nullptr) {
1230 name_.UnsafeArenaSetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(),
1236 inline void Joint::clear_id() {
1239 inline ::PROTOBUF_NAMESPACE_ID::uint32 Joint::_internal_id()
const {
1242 inline ::PROTOBUF_NAMESPACE_ID::uint32 Joint::id()
const {
1244 return _internal_id();
1246 inline void Joint::_internal_set_id(::PROTOBUF_NAMESPACE_ID::uint32 value) {
1250 inline void Joint::set_id(::PROTOBUF_NAMESPACE_ID::uint32 value) {
1251 _internal_set_id(value);
1256 inline void Joint::clear_type() {
1264 return _internal_type();
1271 _internal_set_type(value);
1276 inline void Joint::clear_parent() {
1277 parent_.ClearToEmpty(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena());
1281 return _internal_parent();
1283 inline void Joint::set_parent(
const std::string& value) {
1284 _internal_set_parent(value);
1289 return _internal_mutable_parent();
1291 inline const std::string& Joint::_internal_parent()
const {
1292 return parent_.Get();
1294 inline void Joint::_internal_set_parent(
const std::string& value) {
1296 parent_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), value, GetArena());
1298 inline void Joint::set_parent(
std::string&& value) {
1301 &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::
std::move(value), GetArena());
1304 inline void Joint::set_parent(
const char* value) {
1305 GOOGLE_DCHECK(value !=
nullptr);
1307 parent_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::
std::string(value),
1311 inline void Joint::set_parent(
const char* value,
1314 parent_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::
std::string(
1315 reinterpret_cast<const char*
>(value), size), GetArena());
1318 inline std::string* Joint::_internal_mutable_parent() {
1320 return parent_.Mutable(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena());
1324 return parent_.Release(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena());
1326 inline void Joint::set_allocated_parent(
std::string* parent) {
1327 if (parent !=
nullptr) {
1332 parent_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), parent,
1336 inline std::string* Joint::unsafe_arena_release_parent() {
1338 GOOGLE_DCHECK(GetArena() !=
nullptr);
1340 return parent_.UnsafeArenaRelease(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(),
1343 inline void Joint::unsafe_arena_set_allocated_parent(
1345 GOOGLE_DCHECK(GetArena() !=
nullptr);
1346 if (parent !=
nullptr) {
1351 parent_.UnsafeArenaSetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(),
1352 parent, GetArena());
1357 inline void Joint::clear_parent_id() {
1360 inline ::PROTOBUF_NAMESPACE_ID::uint32 Joint::_internal_parent_id()
const {
1363 inline ::PROTOBUF_NAMESPACE_ID::uint32 Joint::parent_id()
const {
1365 return _internal_parent_id();
1367 inline void Joint::_internal_set_parent_id(::PROTOBUF_NAMESPACE_ID::uint32 value) {
1371 inline void Joint::set_parent_id(::PROTOBUF_NAMESPACE_ID::uint32 value) {
1372 _internal_set_parent_id(value);
1377 inline void Joint::clear_child() {
1378 child_.ClearToEmpty(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena());
1382 return _internal_child();
1384 inline void Joint::set_child(
const std::string& value) {
1385 _internal_set_child(value);
1390 return _internal_mutable_child();
1392 inline const std::string& Joint::_internal_child()
const {
1393 return child_.Get();
1395 inline void Joint::_internal_set_child(
const std::string& value) {
1397 child_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), value, GetArena());
1399 inline void Joint::set_child(
std::string&& value) {
1402 &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::
std::move(value), GetArena());
1405 inline void Joint::set_child(
const char* value) {
1406 GOOGLE_DCHECK(value !=
nullptr);
1408 child_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::
std::string(value),
1412 inline void Joint::set_child(
const char* value,
1415 child_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::
std::string(
1416 reinterpret_cast<const char*
>(value), size), GetArena());
1419 inline std::string* Joint::_internal_mutable_child() {
1421 return child_.Mutable(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena());
1425 return child_.Release(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena());
1427 inline void Joint::set_allocated_child(
std::string* child) {
1428 if (child !=
nullptr) {
1433 child_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), child,
1437 inline std::string* Joint::unsafe_arena_release_child() {
1439 GOOGLE_DCHECK(GetArena() !=
nullptr);
1441 return child_.UnsafeArenaRelease(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(),
1444 inline void Joint::unsafe_arena_set_allocated_child(
1446 GOOGLE_DCHECK(GetArena() !=
nullptr);
1447 if (child !=
nullptr) {
1452 child_.UnsafeArenaSetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(),
1458 inline void Joint::clear_child_id() {
1461 inline ::PROTOBUF_NAMESPACE_ID::uint32 Joint::_internal_child_id()
const {
1464 inline ::PROTOBUF_NAMESPACE_ID::uint32 Joint::child_id()
const {
1466 return _internal_child_id();
1468 inline void Joint::_internal_set_child_id(::PROTOBUF_NAMESPACE_ID::uint32 value) {
1472 inline void Joint::set_child_id(::PROTOBUF_NAMESPACE_ID::uint32 value) {
1473 _internal_set_child_id(value);
1478 inline bool Joint::_internal_has_pose()
const {
1479 return this != internal_default_instance() && pose_ !=
nullptr;
1481 inline bool Joint::has_pose()
const {
1482 return _internal_has_pose();
1484 inline const ::ignition::msgs::Pose& Joint::_internal_pose()
const {
1485 const ::ignition::msgs::Pose* p = pose_;
1486 return p !=
nullptr ? *p : *
reinterpret_cast<const ::ignition::msgs::Pose*
>(
1489 inline const ::ignition::msgs::Pose& Joint::pose()
const {
1491 return _internal_pose();
1493 inline void Joint::unsafe_arena_set_allocated_pose(
1494 ::ignition::msgs::Pose* pose) {
1495 if (GetArena() ==
nullptr) {
1496 delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*
>(pose_);
1506 inline ::ignition::msgs::Pose* Joint::release_pose() {
1507 auto temp = unsafe_arena_release_pose();
1508 if (GetArena() !=
nullptr) {
1509 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
1513 inline ::ignition::msgs::Pose* Joint::unsafe_arena_release_pose() {
1516 ::ignition::msgs::Pose* temp = pose_;
1520 inline ::ignition::msgs::Pose* Joint::_internal_mutable_pose() {
1522 if (pose_ ==
nullptr) {
1523 auto* p = CreateMaybeMessage<::ignition::msgs::Pose>(GetArena());
1528 inline ::ignition::msgs::Pose* Joint::mutable_pose() {
1530 return _internal_mutable_pose();
1532 inline void Joint::set_allocated_pose(::ignition::msgs::Pose* pose) {
1533 ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArena();
1534 if (message_arena ==
nullptr) {
1535 delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*
>(pose_);
1538 ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
1539 reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*
>(pose)->GetArena();
1540 if (message_arena != submessage_arena) {
1541 pose = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
1542 message_arena, pose, submessage_arena);
1553 inline bool Joint::_internal_has_axis1()
const {
1554 return this != internal_default_instance() && axis1_ !=
nullptr;
1556 inline bool Joint::has_axis1()
const {
1557 return _internal_has_axis1();
1559 inline const ::ignition::msgs::Axis& Joint::_internal_axis1()
const {
1560 const ::ignition::msgs::Axis* p = axis1_;
1561 return p !=
nullptr ? *p : *
reinterpret_cast<const ::ignition::msgs::Axis*
>(
1564 inline const ::ignition::msgs::Axis& Joint::axis1()
const {
1566 return _internal_axis1();
1568 inline void Joint::unsafe_arena_set_allocated_axis1(
1569 ::ignition::msgs::Axis* axis1) {
1570 if (GetArena() ==
nullptr) {
1571 delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*
>(axis1_);
1581 inline ::ignition::msgs::Axis* Joint::release_axis1() {
1582 auto temp = unsafe_arena_release_axis1();
1583 if (GetArena() !=
nullptr) {
1584 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
1588 inline ::ignition::msgs::Axis* Joint::unsafe_arena_release_axis1() {
1591 ::ignition::msgs::Axis* temp = axis1_;
1595 inline ::ignition::msgs::Axis* Joint::_internal_mutable_axis1() {
1597 if (axis1_ ==
nullptr) {
1598 auto* p = CreateMaybeMessage<::ignition::msgs::Axis>(GetArena());
1603 inline ::ignition::msgs::Axis* Joint::mutable_axis1() {
1605 return _internal_mutable_axis1();
1607 inline void Joint::set_allocated_axis1(::ignition::msgs::Axis* axis1) {
1608 ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArena();
1609 if (message_arena ==
nullptr) {
1610 delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*
>(axis1_);
1613 ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
1614 reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*
>(axis1)->GetArena();
1615 if (message_arena != submessage_arena) {
1616 axis1 = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
1617 message_arena, axis1, submessage_arena);
1628 inline bool Joint::_internal_has_axis2()
const {
1629 return this != internal_default_instance() && axis2_ !=
nullptr;
1631 inline bool Joint::has_axis2()
const {
1632 return _internal_has_axis2();
1634 inline const ::ignition::msgs::Axis& Joint::_internal_axis2()
const {
1635 const ::ignition::msgs::Axis* p = axis2_;
1636 return p !=
nullptr ? *p : *
reinterpret_cast<const ::ignition::msgs::Axis*
>(
1639 inline const ::ignition::msgs::Axis& Joint::axis2()
const {
1641 return _internal_axis2();
1643 inline void Joint::unsafe_arena_set_allocated_axis2(
1644 ::ignition::msgs::Axis* axis2) {
1645 if (GetArena() ==
nullptr) {
1646 delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*
>(axis2_);
1656 inline ::ignition::msgs::Axis* Joint::release_axis2() {
1657 auto temp = unsafe_arena_release_axis2();
1658 if (GetArena() !=
nullptr) {
1659 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
1663 inline ::ignition::msgs::Axis* Joint::unsafe_arena_release_axis2() {
1666 ::ignition::msgs::Axis* temp = axis2_;
1670 inline ::ignition::msgs::Axis* Joint::_internal_mutable_axis2() {
1672 if (axis2_ ==
nullptr) {
1673 auto* p = CreateMaybeMessage<::ignition::msgs::Axis>(GetArena());
1678 inline ::ignition::msgs::Axis* Joint::mutable_axis2() {
1680 return _internal_mutable_axis2();
1682 inline void Joint::set_allocated_axis2(::ignition::msgs::Axis* axis2) {
1683 ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArena();
1684 if (message_arena ==
nullptr) {
1685 delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*
>(axis2_);
1688 ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
1689 reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*
>(axis2)->GetArena();
1690 if (message_arena != submessage_arena) {
1691 axis2 = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
1692 message_arena, axis2, submessage_arena);
1703 inline void Joint::clear_cfm() {
1706 inline double Joint::_internal_cfm()
const {
1709 inline double Joint::cfm()
const {
1711 return _internal_cfm();
1713 inline void Joint::_internal_set_cfm(
double value) {
1717 inline void Joint::set_cfm(
double value) {
1718 _internal_set_cfm(value);
1723 inline void Joint::clear_bounce() {
1726 inline double Joint::_internal_bounce()
const {
1729 inline double Joint::bounce()
const {
1731 return _internal_bounce();
1733 inline void Joint::_internal_set_bounce(
double value) {
1737 inline void Joint::set_bounce(
double value) {
1738 _internal_set_bounce(value);
1743 inline void Joint::clear_fudge_factor() {
1746 inline double Joint::_internal_fudge_factor()
const {
1747 return fudge_factor_;
1749 inline double Joint::fudge_factor()
const {
1751 return _internal_fudge_factor();
1753 inline void Joint::_internal_set_fudge_factor(
double value) {
1755 fudge_factor_ = value;
1757 inline void Joint::set_fudge_factor(
double value) {
1758 _internal_set_fudge_factor(value);
1763 inline void Joint::clear_limit_cfm() {
1766 inline double Joint::_internal_limit_cfm()
const {
1769 inline double Joint::limit_cfm()
const {
1771 return _internal_limit_cfm();
1773 inline void Joint::_internal_set_limit_cfm(
double value) {
1777 inline void Joint::set_limit_cfm(
double value) {
1778 _internal_set_limit_cfm(value);
1783 inline void Joint::clear_limit_erp() {
1786 inline double Joint::_internal_limit_erp()
const {
1789 inline double Joint::limit_erp()
const {
1791 return _internal_limit_erp();
1793 inline void Joint::_internal_set_limit_erp(
double value) {
1797 inline void Joint::set_limit_erp(
double value) {
1798 _internal_set_limit_erp(value);
1803 inline void Joint::clear_suspension_cfm() {
1804 suspension_cfm_ = 0;
1806 inline double Joint::_internal_suspension_cfm()
const {
1807 return suspension_cfm_;
1809 inline double Joint::suspension_cfm()
const {
1811 return _internal_suspension_cfm();
1813 inline void Joint::_internal_set_suspension_cfm(
double value) {
1815 suspension_cfm_ = value;
1817 inline void Joint::set_suspension_cfm(
double value) {
1818 _internal_set_suspension_cfm(value);
1823 inline void Joint::clear_suspension_erp() {
1824 suspension_erp_ = 0;
1826 inline double Joint::_internal_suspension_erp()
const {
1827 return suspension_erp_;
1829 inline double Joint::suspension_erp()
const {
1831 return _internal_suspension_erp();
1833 inline void Joint::_internal_set_suspension_erp(
double value) {
1835 suspension_erp_ = value;
1837 inline void Joint::set_suspension_erp(
double value) {
1838 _internal_set_suspension_erp(value);
1843 inline bool Joint::_internal_has_gearbox()
const {
1844 return this != internal_default_instance() && gearbox_ !=
nullptr;
1846 inline bool Joint::has_gearbox()
const {
1847 return _internal_has_gearbox();
1849 inline void Joint::clear_gearbox() {
1850 if (GetArena() ==
nullptr && gearbox_ !=
nullptr) {
1855 inline const ::ignition::msgs::Joint_Gearbox& Joint::_internal_gearbox()
const {
1856 const ::ignition::msgs::Joint_Gearbox* p = gearbox_;
1857 return p !=
nullptr ? *p : *
reinterpret_cast<const ::ignition::msgs::Joint_Gearbox*
>(
1860 inline const ::ignition::msgs::Joint_Gearbox& Joint::gearbox()
const {
1862 return _internal_gearbox();
1864 inline void Joint::unsafe_arena_set_allocated_gearbox(
1865 ::ignition::msgs::Joint_Gearbox* gearbox) {
1866 if (GetArena() ==
nullptr) {
1867 delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*
>(gearbox_);
1877 inline ::ignition::msgs::Joint_Gearbox* Joint::release_gearbox() {
1878 auto temp = unsafe_arena_release_gearbox();
1879 if (GetArena() !=
nullptr) {
1880 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
1884 inline ::ignition::msgs::Joint_Gearbox* Joint::unsafe_arena_release_gearbox() {
1887 ::ignition::msgs::Joint_Gearbox* temp = gearbox_;
1891 inline ::ignition::msgs::Joint_Gearbox* Joint::_internal_mutable_gearbox() {
1893 if (gearbox_ ==
nullptr) {
1894 auto* p = CreateMaybeMessage<::ignition::msgs::Joint_Gearbox>(GetArena());
1899 inline ::ignition::msgs::Joint_Gearbox* Joint::mutable_gearbox() {
1901 return _internal_mutable_gearbox();
1903 inline void Joint::set_allocated_gearbox(::ignition::msgs::Joint_Gearbox* gearbox) {
1904 ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArena();
1905 if (message_arena ==
nullptr) {
1909 ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
1910 ::PROTOBUF_NAMESPACE_ID::Arena::GetArena(gearbox);
1911 if (message_arena != submessage_arena) {
1912 gearbox = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
1913 message_arena, gearbox, submessage_arena);
1924 inline bool Joint::_internal_has_screw()
const {
1925 return this != internal_default_instance() && screw_ !=
nullptr;
1927 inline bool Joint::has_screw()
const {
1928 return _internal_has_screw();
1930 inline void Joint::clear_screw() {
1931 if (GetArena() ==
nullptr && screw_ !=
nullptr) {
1936 inline const ::ignition::msgs::Joint_Screw& Joint::_internal_screw()
const {
1937 const ::ignition::msgs::Joint_Screw* p = screw_;
1938 return p !=
nullptr ? *p : *
reinterpret_cast<const ::ignition::msgs::Joint_Screw*
>(
1941 inline const ::ignition::msgs::Joint_Screw& Joint::screw()
const {
1943 return _internal_screw();
1945 inline void Joint::unsafe_arena_set_allocated_screw(
1946 ::ignition::msgs::Joint_Screw* screw) {
1947 if (GetArena() ==
nullptr) {
1948 delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*
>(screw_);
1958 inline ::ignition::msgs::Joint_Screw* Joint::release_screw() {
1959 auto temp = unsafe_arena_release_screw();
1960 if (GetArena() !=
nullptr) {
1961 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
1965 inline ::ignition::msgs::Joint_Screw* Joint::unsafe_arena_release_screw() {
1968 ::ignition::msgs::Joint_Screw* temp = screw_;
1972 inline ::ignition::msgs::Joint_Screw* Joint::_internal_mutable_screw() {
1974 if (screw_ ==
nullptr) {
1975 auto* p = CreateMaybeMessage<::ignition::msgs::Joint_Screw>(GetArena());
1980 inline ::ignition::msgs::Joint_Screw* Joint::mutable_screw() {
1982 return _internal_mutable_screw();
1984 inline void Joint::set_allocated_screw(::ignition::msgs::Joint_Screw* screw) {
1985 ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArena();
1986 if (message_arena ==
nullptr) {
1990 ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
1991 ::PROTOBUF_NAMESPACE_ID::Arena::GetArena(screw);
1992 if (message_arena != submessage_arena) {
1993 screw = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
1994 message_arena, screw, submessage_arena);
2005 inline int Joint::_internal_sensor_size()
const {
2006 return sensor_.size();
2008 inline int Joint::sensor_size()
const {
2009 return _internal_sensor_size();
2011 inline ::ignition::msgs::Sensor* Joint::mutable_sensor(
int index) {
2013 return sensor_.Mutable(index);
2015 inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::ignition::msgs::Sensor >*
2016 Joint::mutable_sensor() {
2020 inline const ::ignition::msgs::Sensor& Joint::_internal_sensor(
int index)
const {
2021 return sensor_.Get(index);
2023 inline const ::ignition::msgs::Sensor& Joint::sensor(
int index)
const {
2025 return _internal_sensor(index);
2027 inline ::ignition::msgs::Sensor* Joint::_internal_add_sensor() {
2028 return sensor_.Add();
2030 inline ::ignition::msgs::Sensor* Joint::add_sensor() {
2032 return _internal_add_sensor();
2034 inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::ignition::msgs::Sensor >&
2035 Joint::sensor()
const {
2041 #pragma GCC diagnostic pop
2057 PROTOBUF_NAMESPACE_OPEN
2061 inline const EnumDescriptor* GetEnumDescriptor< ::ignition::msgs::Joint_Type>() {
2065 PROTOBUF_NAMESPACE_CLOSE
2068 #pragma warning(pop)
2072 #include <google/protobuf/port_undef.inc>
IGNITION_MSGS_VISIBLEconst ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable descriptor_table_ignition_2fmsgs_2fjoint_2eproto
Definition: build/ignition-msgs8/include/ignition/msgs/actor.pb.h:99
Joint_Screw(Joint_Screw &&from) noexcept
Definition: build/ignition-msgs8/include/ignition/msgs/joint.pb.h:298
double thread_pitch() const
void Swap(Joint_Screw *other)
Definition: build/ignition-msgs8/include/ignition/msgs/joint.pb.h:338
static void InitAsDefaultInstance()
Joint_Screw(::PROTOBUF_NAMESPACE_ID::Arena *arena)
static const ::PROTOBUF_NAMESPACE_ID::Reflection * GetReflection()
Definition: build/ignition-msgs8/include/ignition/msgs/joint.pb.h:158
Joint_Screw()
Definition: build/ignition-msgs8/include/ignition/msgs/joint.pb.h:294
Joint_Gearbox * New() const final
Definition: build/ignition-msgs8/include/ignition/msgs/joint.pb.h:190
::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::ignition::msgs::Sensor > * mutable_sensor()
Joint & operator=(Joint &&from) noexcept
Definition: build/ignition-msgs8/include/ignition/msgs/joint.pb.h:444
Joint_Gearbox(Joint_Gearbox &&from) noexcept
Definition: build/ignition-msgs8/include/ignition/msgs/joint.pb.h:134
static const std::string & Type_Name(T enum_t_value)
Definition: build/ignition-msgs8/include/ignition/msgs/joint.pb.h:572
const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::ignition::msgs::Sensor > & sensor() const
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final
void set_allocated_gearbox_reference_body(std::string *gearbox_reference_body)
void set_name(const char *value, size_t size)
Joint_Screw & operator=(const Joint_Screw &from)
Definition: build/ignition-msgs8/include/ignition/msgs/joint.pb.h:303
Joint(::PROTOBUF_NAMESPACE_ID::Arena *arena)
Joint_Gearbox(const Joint_Gearbox &from)
Joint_Gearbox & operator=(const Joint_Gearbox &from)
Definition: build/ignition-msgs8/include/ignition/msgs/joint.pb.h:139
const ::ignition::msgs::Sensor & sensor(int index) const
std::string * mutable_gearbox_reference_body()
::ignition::msgs::Sensor * add_sensor()
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * descriptor()
Definition: build/ignition-msgs8/include/ignition/msgs/joint.pb.h:152
void set_name(const std::string &value)
void set_gearbox_reference_body(const char *value)
static const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor * Type_descriptor()
Definition: build/ignition-msgs8/include/ignition/msgs/joint.pb.h:568
void UnsafeArenaSwap(Joint_Screw *other)
Definition: build/ignition-msgs8/include/ignition/msgs/joint.pb.h:346
void CopyFrom(const Joint &from)
Joint(Joint &&from) noexcept
Definition: build/ignition-msgs8/include/ignition/msgs/joint.pb.h:435
void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message &from) final
void CopyFrom(const Joint_Gearbox &from)
Joint_Gearbox()
Definition: build/ignition-msgs8/include/ignition/msgs/joint.pb.h:130
std::string * mutable_name()
void clear_thread_pitch()
std::string * release_name()
::ignition::msgs::Sensor * mutable_sensor(int index)
void Swap(Joint_Gearbox *other)
Definition: build/ignition-msgs8/include/ignition/msgs/joint.pb.h:174
static const Joint_Gearbox & default_instance()
Joint_Gearbox & operator=(Joint_Gearbox &&from) noexcept
Definition: build/ignition-msgs8/include/ignition/msgs/joint.pb.h:143
static bool Type_IsValid(int value)
Definition: build/ignition-msgs8/include/ignition/msgs/joint.pb.h:558
void set_gearbox_reference_body(const std::string &value)
static const Joint_Gearbox * internal_default_instance()
Definition: build/ignition-msgs8/include/ignition/msgs/joint.pb.h:164
const std::string & gearbox_reference_body() const
JointAnimation_Joint Joint
Definition: build/ignition-msgs8/include/ignition/msgs/joint_animation.pb.h:376
Joint_Screw(const Joint_Screw &from)
void MergeFrom(const Joint_Screw &from)
void set_gearbox_reference_body(const char *value, size_t size)
friend void swap(Joint &a, Joint &b)
Definition: build/ignition-msgs8/include/ignition/msgs/joint.pb.h:472
static bool Type_Parse(const std::string &name, Type *value)
Definition: build/ignition-msgs8/include/ignition/msgs/joint.pb.h:578
Joint_Screw * New() const final
Definition: build/ignition-msgs8/include/ignition/msgs/joint.pb.h:354
void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message &from) final
Joint_Gearbox * New(::PROTOBUF_NAMESPACE_ID::Arena *arena) const final
Definition: build/ignition-msgs8/include/ignition/msgs/joint.pb.h:194
std::string * release_gearbox_reference_body()
friend void swap(Joint_Gearbox &a, Joint_Gearbox &b)
Definition: build/ignition-msgs8/include/ignition/msgs/joint.pb.h:171
Joint_Type Type
Definition: build/ignition-msgs8/include/ignition/msgs/joint.pb.h:541
void set_gearbox_reference_body(std::string &&value)
friend void swap(Joint_Screw &a, Joint_Screw &b)
Definition: build/ignition-msgs8/include/ignition/msgs/joint.pb.h:335
void clear_gearbox_reference_body()
Joint * New(::PROTOBUF_NAMESPACE_ID::Arena *arena) const final
Definition: build/ignition-msgs8/include/ignition/msgs/joint.pb.h:495
void UnsafeArenaSwap(Joint *other)
Definition: build/ignition-msgs8/include/ignition/msgs/joint.pb.h:483
static const Joint_Screw & default_instance()
static const Joint & default_instance()
::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final
void set_thread_pitch(double value)
void MergeFrom(const Joint_Gearbox &from)
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * GetDescriptor()
Definition: build/ignition-msgs8/include/ignition/msgs/joint.pb.h:155
void MergeFrom(const Joint &from)
static const Joint * internal_default_instance()
Definition: build/ignition-msgs8/include/ignition/msgs/joint.pb.h:465
Joint()
Definition: build/ignition-msgs8/include/ignition/msgs/joint.pb.h:431
Joint_Gearbox Gearbox
Definition: build/ignition-msgs8/include/ignition/msgs/joint.pb.h:538
const std::string & name() const
void CopyFrom(const Joint_Screw &from)
Joint_Screw * New(::PROTOBUF_NAMESPACE_ID::Arena *arena) const final
Definition: build/ignition-msgs8/include/ignition/msgs/joint.pb.h:358
void set_name(const char *value)
void set_name(std::string &&value)
Joint & operator=(const Joint &from)
Definition: build/ignition-msgs8/include/ignition/msgs/joint.pb.h:440
Joint * New() const final
Definition: build/ignition-msgs8/include/ignition/msgs/joint.pb.h:491
void Swap(Joint *other)
Definition: build/ignition-msgs8/include/ignition/msgs/joint.pb.h:475
static const Joint_Screw * internal_default_instance()
Definition: build/ignition-msgs8/include/ignition/msgs/joint.pb.h:328
Joint_Screw Screw
Definition: build/ignition-msgs8/include/ignition/msgs/joint.pb.h:539
void set_allocated_name(std::string *name)
void UnsafeArenaSwap(Joint_Gearbox *other)
Definition: build/ignition-msgs8/include/ignition/msgs/joint.pb.h:182
Joint_Screw & operator=(Joint_Screw &&from) noexcept
Definition: build/ignition-msgs8/include/ignition/msgs/joint.pb.h:307
Joint_Gearbox(::PROTOBUF_NAMESPACE_ID::Arena *arena)
constexpr int Joint_Type_Type_ARRAYSIZE
Definition: build/ignition-msgs8/include/ignition/msgs/joint.pb.h:109
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: build/ignition-msgs8/include/ignition/msgs/joint.pb.h:2049
std::shared_ptr< Joint > JointSharedPtr
Definition: build/ignition-msgs8/include/ignition/msgs/joint.pb.h:2050
const std::string & Joint_Type_Name(T enum_t_value)
Definition: build/ignition-msgs8/include/ignition/msgs/joint.pb.h:113
constexpr Joint_Type Joint_Type_Type_MIN
Definition: build/ignition-msgs8/include/ignition/msgs/joint.pb.h:107
IGNITION_MSGS_VISIBLE PoseDefaultTypeInternal _Pose_default_instance_
Joint_Type
Definition: build/ignition-msgs8/include/ignition/msgs/joint.pb.h:94
@ Joint_Type_SCREW
Definition: build/ignition-msgs8/include/ignition/msgs/joint.pb.h:100
@ Joint_Type_PRISMATIC
Definition: build/ignition-msgs8/include/ignition/msgs/joint.pb.h:97
@ Joint_Type_UNIVERSAL
Definition: build/ignition-msgs8/include/ignition/msgs/joint.pb.h:98
@ Joint_Type_Joint_Type_INT_MAX_SENTINEL_DO_NOT_USE_
Definition: build/ignition-msgs8/include/ignition/msgs/joint.pb.h:104
@ Joint_Type_FIXED
Definition: build/ignition-msgs8/include/ignition/msgs/joint.pb.h:102
@ Joint_Type_REVOLUTE
Definition: build/ignition-msgs8/include/ignition/msgs/joint.pb.h:95
@ Joint_Type_GEARBOX
Definition: build/ignition-msgs8/include/ignition/msgs/joint.pb.h:101
@ Joint_Type_Joint_Type_INT_MIN_SENTINEL_DO_NOT_USE_
Definition: build/ignition-msgs8/include/ignition/msgs/joint.pb.h:103
@ Joint_Type_REVOLUTE2
Definition: build/ignition-msgs8/include/ignition/msgs/joint.pb.h:96
@ Joint_Type_BALL
Definition: build/ignition-msgs8/include/ignition/msgs/joint.pb.h:99
IGNITION_MSGS_VISIBLE Joint_ScrewDefaultTypeInternal _Joint_Screw_default_instance_
std::unique_ptr< Joint > JointUniquePtr
Definition: build/ignition-msgs8/include/ignition/msgs/joint.pb.h:2048
Atmosphere_Type
Definition: build/ignition-msgs8/include/ignition/msgs/atmosphere.pb.h:83
IGNITION_MSGS_VISIBLE bool Joint_Type_IsValid(int value)
bool Joint_Type_Parse(const std::string &name, Joint_Type *value)
Definition: build/ignition-msgs8/include/ignition/msgs/joint.pb.h:120
constexpr Joint_Type Joint_Type_Type_MAX
Definition: build/ignition-msgs8/include/ignition/msgs/joint.pb.h:108
IGNITION_MSGS_VISIBLE Joint_GearboxDefaultTypeInternal _Joint_Gearbox_default_instance_
std::shared_ptr< const Joint > ConstJointSharedPtr
Definition: build/ignition-msgs8/include/ignition/msgs/joint.pb.h:2051
Definition: build/ignition-msgs8/include/ignition/msgs/actor.pb.h:53
Definition: build/ignition-msgs8/include/ignition/msgs/joint.pb.h:61
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)
static const ::PROTOBUF_NAMESPACE_ID::internal::AuxillaryParseTableField aux[] PROTOBUF_SECTION_VARIABLE(protodesc_cold)