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 < 3014000
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 3014000 < 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/metadata_lite.h>
29 #include <google/protobuf/generated_message_reflection.h>
30 #include <google/protobuf/message.h>
31 #include <google/protobuf/repeated_field.h>
32 #include <google/protobuf/extension_set.h>
33 #include <google/protobuf/generated_enum_reflection.h>
34 #include <google/protobuf/unknown_field_set.h>
40 #pragma GCC system_header
43 #pragma warning(disable: 4244 4267 4100 4244 4512 4127 4068 4275 4251)
46 #include <sys/sysmacros.h>
51 #include <google/protobuf/port_def.inc>
52 #define PROTOBUF_INTERNAL_EXPORT_ignition_2fmsgs_2fjoint_2eproto IGNITION_MSGS_VISIBLE
53 PROTOBUF_NAMESPACE_OPEN
57 PROTOBUF_NAMESPACE_CLOSE
61 static const ::PROTOBUF_NAMESPACE_ID::internal::ParseTableField entries[]
63 static const ::PROTOBUF_NAMESPACE_ID::internal::AuxiliaryParseTableField aux[]
65 static const ::PROTOBUF_NAMESPACE_ID::internal::ParseTable schema[3]
67 static const ::PROTOBUF_NAMESPACE_ID::internal::FieldMetadata field_metadata[];
68 static const ::PROTOBUF_NAMESPACE_ID::internal::SerializationTable serialization_table[];
69 static const ::PROTOBUF_NAMESPACE_ID::uint32 offsets[];
75 class JointDefaultTypeInternal;
78 class Joint_GearboxDefaultTypeInternal;
81 class Joint_ScrewDefaultTypeInternal;
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
115 "Incorrect type passed to function Joint_Type_Name.");
116 return ::PROTOBUF_NAMESPACE_ID::internal::NameOfEnum(
120 ::PROTOBUF_NAMESPACE_ID::ConstStringParam name,
Joint_Type* value) {
121 return ::PROTOBUF_NAMESPACE_ID::internal::ParseNamedEnum<Joint_Type>(
126 class IGNITION_MSGS_VISIBLE Joint_Gearbox PROTOBUF_FINAL :
127 public ::PROTOBUF_NAMESPACE_ID::Message {
135 *
this = ::std::move(from);
138 inline Joint_Gearbox&
operator=(
const Joint_Gearbox& from) {
142 inline Joint_Gearbox&
operator=(Joint_Gearbox&& from) noexcept {
143 if (GetArena() == from.GetArena()) {
144 if (
this != &from) InternalSwap(&from);
151 static const ::PROTOBUF_NAMESPACE_ID::Descriptor*
descriptor() {
152 return GetDescriptor();
155 return GetMetadataStatic().descriptor;
158 return GetMetadataStatic().reflection;
163 return reinterpret_cast<const Joint_Gearbox*
>(
166 static constexpr
int kIndexInFileMessages =
169 friend void swap(Joint_Gearbox& a, Joint_Gearbox& b) {
172 inline void Swap(Joint_Gearbox* other) {
173 if (other ==
this)
return;
174 if (GetArena() == other->GetArena()) {
177 ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(
this, other);
181 if (other ==
this)
return;
182 GOOGLE_DCHECK(GetArena() == other->GetArena());
188 inline Joint_Gearbox*
New() const final {
189 return CreateMaybeMessage<Joint_Gearbox>(
nullptr);
192 Joint_Gearbox*
New(::PROTOBUF_NAMESPACE_ID::Arena* arena)
const final {
193 return CreateMaybeMessage<Joint_Gearbox>(arena);
195 void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from)
final;
196 void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from)
final;
199 PROTOBUF_ATTRIBUTE_REINITIALIZES
void Clear() final;
200 bool IsInitialized() const final;
202 size_t ByteSizeLong() const final;
203 const
char* _InternalParse(const
char* ptr, ::PROTOBUF_NAMESPACE_ID::
internal::ParseContext* ctx) final;
204 ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize(
205 ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
206 int GetCachedSize() const final {
return _cached_size_.Get(); }
209 inline void SharedCtor();
210 inline void SharedDtor();
211 void SetCachedSize(
int size)
const final;
212 void InternalSwap(Joint_Gearbox* other);
213 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
214 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
215 return "ignition.msgs.Joint.Gearbox";
220 static void ArenaDtor(
void*
object);
221 inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
226 static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() {
238 kGearboxReferenceBodyFieldNumber = 1,
239 kGearboxRatioFieldNumber = 2,
252 const std::string& _internal_gearbox_reference_body()
const;
253 void _internal_set_gearbox_reference_body(
const std::string& value);
254 std::string* _internal_mutable_gearbox_reference_body();
262 double _internal_gearbox_ratio()
const;
263 void _internal_set_gearbox_ratio(
double value);
270 template <
typename T>
friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
271 typedef void InternalArenaConstructable_;
272 typedef void DestructorSkippable_;
273 ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr gearbox_reference_body_;
274 double gearbox_ratio_;
275 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
276 friend struct ::TableStruct_ignition_2fmsgs_2fjoint_2eproto;
281 public ::PROTOBUF_NAMESPACE_ID::Message {
289 *
this = ::std::move(from);
292 inline Joint_Screw&
operator=(
const Joint_Screw& from) {
296 inline Joint_Screw&
operator=(Joint_Screw&& from) noexcept {
297 if (GetArena() == from.GetArena()) {
298 if (
this != &from) InternalSwap(&from);
305 static const ::PROTOBUF_NAMESPACE_ID::Descriptor*
descriptor() {
306 return GetDescriptor();
309 return GetMetadataStatic().descriptor;
312 return GetMetadataStatic().reflection;
317 return reinterpret_cast<const Joint_Screw*
>(
320 static constexpr
int kIndexInFileMessages =
323 friend void swap(Joint_Screw& a, Joint_Screw& b) {
326 inline void Swap(Joint_Screw* other) {
327 if (other ==
this)
return;
328 if (GetArena() == other->GetArena()) {
331 ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(
this, other);
335 if (other ==
this)
return;
336 GOOGLE_DCHECK(GetArena() == other->GetArena());
342 inline Joint_Screw*
New() const final {
343 return CreateMaybeMessage<Joint_Screw>(
nullptr);
346 Joint_Screw*
New(::PROTOBUF_NAMESPACE_ID::Arena* arena)
const final {
347 return CreateMaybeMessage<Joint_Screw>(arena);
349 void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from)
final;
350 void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from)
final;
353 PROTOBUF_ATTRIBUTE_REINITIALIZES
void Clear() final;
354 bool IsInitialized() const final;
356 size_t ByteSizeLong() const final;
357 const
char* _InternalParse(const
char* ptr, ::PROTOBUF_NAMESPACE_ID::
internal::ParseContext* ctx) final;
358 ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize(
359 ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
360 int GetCachedSize() const final {
return _cached_size_.Get(); }
363 inline void SharedCtor();
364 inline void SharedDtor();
365 void SetCachedSize(
int size)
const final;
366 void InternalSwap(Joint_Screw* other);
367 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
368 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
369 return "ignition.msgs.Joint.Screw";
374 static void ArenaDtor(
void*
object);
375 inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
380 static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() {
392 kThreadPitchFieldNumber = 1,
399 double _internal_thread_pitch()
const;
400 void _internal_set_thread_pitch(
double value);
407 template <
typename T>
friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
408 typedef void InternalArenaConstructable_;
409 typedef void DestructorSkippable_;
410 double thread_pitch_;
411 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
412 friend struct ::TableStruct_ignition_2fmsgs_2fjoint_2eproto;
417 public ::PROTOBUF_NAMESPACE_ID::Message {
425 *
this = ::std::move(from);
433 if (GetArena() == from.GetArena()) {
434 if (
this != &from) InternalSwap(&from);
441 static const ::PROTOBUF_NAMESPACE_ID::Descriptor*
descriptor() {
442 return GetDescriptor();
445 return GetMetadataStatic().descriptor;
448 return GetMetadataStatic().reflection;
453 return reinterpret_cast<const Joint*
>(
456 static constexpr
int kIndexInFileMessages =
463 if (other ==
this)
return;
464 if (GetArena() == other->GetArena()) {
467 ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(
this, other);
471 if (other ==
this)
return;
472 GOOGLE_DCHECK(GetArena() == other->GetArena());
479 return CreateMaybeMessage<Joint>(
nullptr);
482 Joint*
New(::PROTOBUF_NAMESPACE_ID::Arena* arena)
const final {
483 return CreateMaybeMessage<Joint>(arena);
485 void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from)
final;
486 void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from)
final;
489 PROTOBUF_ATTRIBUTE_REINITIALIZES
void Clear() final;
490 bool IsInitialized() const final;
492 size_t ByteSizeLong() const final;
493 const
char* _InternalParse(const
char* ptr, ::PROTOBUF_NAMESPACE_ID::
internal::ParseContext* ctx) final;
494 ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize(
495 ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
496 int GetCachedSize() const final {
return _cached_size_.Get(); }
499 inline void SharedCtor();
500 inline void SharedDtor();
501 void SetCachedSize(
int size)
const final;
502 void InternalSwap(Joint* other);
503 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
504 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
505 return "ignition.msgs.Joint";
508 explicit Joint(::PROTOBUF_NAMESPACE_ID::Arena* arena);
510 static void ArenaDtor(
void*
object);
511 inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
516 static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() {
529 static constexpr
Type REVOLUTE =
531 static constexpr
Type REVOLUTE2 =
533 static constexpr
Type PRISMATIC =
535 static constexpr
Type UNIVERSAL =
541 static constexpr
Type GEARBOX =
548 static constexpr Type Type_MIN =
550 static constexpr Type Type_MAX =
552 static constexpr
int Type_ARRAYSIZE =
554 static inline const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor*
562 "Incorrect type passed to function Type_Name.");
565 static inline bool Type_Parse(::PROTOBUF_NAMESPACE_ID::ConstStringParam name,
573 kSensorFieldNumber = 21,
574 kNameFieldNumber = 2,
575 kParentFieldNumber = 5,
576 kChildFieldNumber = 7,
577 kHeaderFieldNumber = 1,
578 kPoseFieldNumber = 9,
579 kAxis1FieldNumber = 10,
580 kAxis2FieldNumber = 11,
581 kGearboxFieldNumber = 19,
582 kScrewFieldNumber = 20,
584 kTypeFieldNumber = 4,
585 kParentIdFieldNumber = 6,
586 kChildIdFieldNumber = 8,
587 kCfmFieldNumber = 12,
588 kBounceFieldNumber = 13,
589 kFudgeFactorFieldNumber = 14,
590 kLimitCfmFieldNumber = 15,
591 kLimitErpFieldNumber = 16,
592 kSuspensionCfmFieldNumber = 17,
593 kSuspensionErpFieldNumber = 18,
598 int _internal_sensor_size()
const;
602 ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::ignition::msgs::Sensor >*
605 const ::ignition::msgs::Sensor& _internal_sensor(
int index)
const;
606 ::ignition::msgs::Sensor* _internal_add_sensor();
608 const ::ignition::msgs::Sensor&
sensor(
int index)
const;
610 const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::ignition::msgs::Sensor >&
641 void _internal_set_parent(
const std::string& value);
657 void _internal_set_child(
const std::string& value);
664 bool _internal_has_header()
const;
667 const ::ignition::msgs::Header&
header()
const;
672 const ::ignition::msgs::Header& _internal_header()
const;
673 ::ignition::msgs::Header* _internal_mutable_header();
676 ::ignition::msgs::Header* header);
682 bool _internal_has_pose()
const;
685 const ::ignition::msgs::Pose&
pose()
const;
690 const ::ignition::msgs::Pose& _internal_pose()
const;
691 ::ignition::msgs::Pose* _internal_mutable_pose();
694 ::ignition::msgs::Pose* pose);
700 bool _internal_has_axis1()
const;
703 const ::ignition::msgs::Axis&
axis1()
const;
708 const ::ignition::msgs::Axis& _internal_axis1()
const;
709 ::ignition::msgs::Axis* _internal_mutable_axis1();
712 ::ignition::msgs::Axis* axis1);
718 bool _internal_has_axis2()
const;
721 const ::ignition::msgs::Axis&
axis2()
const;
726 const ::ignition::msgs::Axis& _internal_axis2()
const;
727 ::ignition::msgs::Axis* _internal_mutable_axis2();
730 ::ignition::msgs::Axis* axis2);
736 bool _internal_has_gearbox()
const;
739 const ::ignition::msgs::Joint_Gearbox&
gearbox()
const;
744 const ::ignition::msgs::Joint_Gearbox& _internal_gearbox()
const;
745 ::ignition::msgs::Joint_Gearbox* _internal_mutable_gearbox();
748 ::ignition::msgs::Joint_Gearbox* gearbox);
754 bool _internal_has_screw()
const;
757 const ::ignition::msgs::Joint_Screw&
screw()
const;
762 const ::ignition::msgs::Joint_Screw& _internal_screw()
const;
763 ::ignition::msgs::Joint_Screw* _internal_mutable_screw();
766 ::ignition::msgs::Joint_Screw* screw);
771 ::PROTOBUF_NAMESPACE_ID::uint32
id()
const;
772 void set_id(::PROTOBUF_NAMESPACE_ID::uint32 value);
774 ::PROTOBUF_NAMESPACE_ID::uint32 _internal_id()
const;
775 void _internal_set_id(::PROTOBUF_NAMESPACE_ID::uint32 value);
792 ::PROTOBUF_NAMESPACE_ID::uint32 _internal_parent_id()
const;
793 void _internal_set_parent_id(::PROTOBUF_NAMESPACE_ID::uint32 value);
801 ::PROTOBUF_NAMESPACE_ID::uint32 _internal_child_id()
const;
802 void _internal_set_child_id(::PROTOBUF_NAMESPACE_ID::uint32 value);
810 double _internal_cfm()
const;
811 void _internal_set_cfm(
double value);
819 double _internal_bounce()
const;
820 void _internal_set_bounce(
double value);
828 double _internal_fudge_factor()
const;
829 void _internal_set_fudge_factor(
double value);
837 double _internal_limit_cfm()
const;
838 void _internal_set_limit_cfm(
double value);
846 double _internal_limit_erp()
const;
847 void _internal_set_limit_erp(
double value);
855 double _internal_suspension_cfm()
const;
856 void _internal_set_suspension_cfm(
double value);
864 double _internal_suspension_erp()
const;
865 void _internal_set_suspension_erp(
double value);
872 template <
typename T>
friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
873 typedef void InternalArenaConstructable_;
874 typedef void DestructorSkippable_;
875 ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::ignition::msgs::Sensor > sensor_;
876 ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr name_;
877 ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr parent_;
878 ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr child_;
879 ::ignition::msgs::Header* header_;
880 ::ignition::msgs::Pose* pose_;
881 ::ignition::msgs::Axis* axis1_;
882 ::ignition::msgs::Axis* axis2_;
883 ::ignition::msgs::Joint_Gearbox* gearbox_;
884 ::ignition::msgs::Joint_Screw* screw_;
885 ::PROTOBUF_NAMESPACE_ID::uint32 id_;
887 ::PROTOBUF_NAMESPACE_ID::uint32 parent_id_;
888 ::PROTOBUF_NAMESPACE_ID::uint32 child_id_;
891 double fudge_factor_;
894 double suspension_cfm_;
895 double suspension_erp_;
896 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
897 friend struct ::TableStruct_ignition_2fmsgs_2fjoint_2eproto;
905 #pragma GCC diagnostic push
906 #pragma GCC diagnostic ignored "-Wstrict-aliasing"
911 inline void Joint_Gearbox::clear_gearbox_reference_body() {
912 gearbox_reference_body_.ClearToEmpty();
914 inline const std::string& Joint_Gearbox::gearbox_reference_body()
const {
916 return _internal_gearbox_reference_body();
918 inline void Joint_Gearbox::set_gearbox_reference_body(
const std::string& value) {
919 _internal_set_gearbox_reference_body(value);
922 inline std::string* Joint_Gearbox::mutable_gearbox_reference_body() {
924 return _internal_mutable_gearbox_reference_body();
926 inline const std::string& Joint_Gearbox::_internal_gearbox_reference_body()
const {
927 return gearbox_reference_body_.Get();
929 inline void Joint_Gearbox::_internal_set_gearbox_reference_body(
const std::string& value) {
931 gearbox_reference_body_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArena());
933 inline void Joint_Gearbox::set_gearbox_reference_body(
std::string&& value) {
935 gearbox_reference_body_.Set(
936 ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::move(value), GetArena());
939 inline void Joint_Gearbox::set_gearbox_reference_body(
const char* value) {
940 GOOGLE_DCHECK(value !=
nullptr);
942 gearbox_reference_body_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{},
::std::string(value), GetArena());
945 inline void Joint_Gearbox::set_gearbox_reference_body(
const char* value,
948 gearbox_reference_body_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{},
::std::string(
949 reinterpret_cast<const char*
>(value), size), GetArena());
952 inline std::string* Joint_Gearbox::_internal_mutable_gearbox_reference_body() {
954 return gearbox_reference_body_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArena());
956 inline std::string* Joint_Gearbox::release_gearbox_reference_body() {
958 return gearbox_reference_body_.Release(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena());
960 inline void Joint_Gearbox::set_allocated_gearbox_reference_body(
std::string* gearbox_reference_body) {
961 if (gearbox_reference_body !=
nullptr) {
966 gearbox_reference_body_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), gearbox_reference_body,
972 inline void Joint_Gearbox::clear_gearbox_ratio() {
975 inline double Joint_Gearbox::_internal_gearbox_ratio()
const {
976 return gearbox_ratio_;
978 inline double Joint_Gearbox::gearbox_ratio()
const {
980 return _internal_gearbox_ratio();
982 inline void Joint_Gearbox::_internal_set_gearbox_ratio(
double value) {
984 gearbox_ratio_ = value;
986 inline void Joint_Gearbox::set_gearbox_ratio(
double value) {
987 _internal_set_gearbox_ratio(value);
996 inline void Joint_Screw::clear_thread_pitch() {
999 inline double Joint_Screw::_internal_thread_pitch()
const {
1000 return thread_pitch_;
1002 inline double Joint_Screw::thread_pitch()
const {
1004 return _internal_thread_pitch();
1006 inline void Joint_Screw::_internal_set_thread_pitch(
double value) {
1008 thread_pitch_ = value;
1010 inline void Joint_Screw::set_thread_pitch(
double value) {
1011 _internal_set_thread_pitch(value);
1020 inline bool Joint::_internal_has_header()
const {
1021 return this != internal_default_instance() && header_ !=
nullptr;
1023 inline bool Joint::has_header()
const {
1024 return _internal_has_header();
1026 inline const ::ignition::msgs::Header& Joint::_internal_header()
const {
1027 const ::ignition::msgs::Header* p = header_;
1028 return p !=
nullptr ? *p :
reinterpret_cast<const ::ignition::msgs::Header&
>(
1031 inline const ::ignition::msgs::Header& Joint::header()
const {
1033 return _internal_header();
1035 inline void Joint::unsafe_arena_set_allocated_header(
1036 ::ignition::msgs::Header* header) {
1037 if (GetArena() ==
nullptr) {
1038 delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*
>(header_);
1048 inline ::ignition::msgs::Header* Joint::release_header() {
1050 ::ignition::msgs::Header* temp = header_;
1052 if (GetArena() !=
nullptr) {
1053 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
1057 inline ::ignition::msgs::Header* Joint::unsafe_arena_release_header() {
1060 ::ignition::msgs::Header* temp = header_;
1064 inline ::ignition::msgs::Header* Joint::_internal_mutable_header() {
1066 if (header_ ==
nullptr) {
1067 auto* p = CreateMaybeMessage<::ignition::msgs::Header>(GetArena());
1072 inline ::ignition::msgs::Header* Joint::mutable_header() {
1074 return _internal_mutable_header();
1076 inline void Joint::set_allocated_header(::ignition::msgs::Header* header) {
1077 ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArena();
1078 if (message_arena ==
nullptr) {
1079 delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*
>(header_);
1082 ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
1083 reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*
>(header)->GetArena();
1084 if (message_arena != submessage_arena) {
1085 header = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
1086 message_arena, header, submessage_arena);
1097 inline void Joint::clear_name() {
1098 name_.ClearToEmpty();
1102 return _internal_name();
1104 inline void Joint::set_name(
const std::string& value) {
1105 _internal_set_name(value);
1110 return _internal_mutable_name();
1112 inline const std::string& Joint::_internal_name()
const {
1115 inline void Joint::_internal_set_name(
const std::string& value) {
1117 name_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArena());
1119 inline void Joint::set_name(
std::string&& value) {
1122 ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::move(value), GetArena());
1125 inline void Joint::set_name(
const char* value) {
1126 GOOGLE_DCHECK(value !=
nullptr);
1128 name_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{},
::std::string(value), GetArena());
1131 inline void Joint::set_name(
const char* value,
1134 name_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{},
::std::string(
1135 reinterpret_cast<const char*
>(value), size), GetArena());
1138 inline std::string* Joint::_internal_mutable_name() {
1140 return name_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArena());
1144 return name_.Release(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena());
1146 inline void Joint::set_allocated_name(
std::string* name) {
1147 if (name !=
nullptr) {
1152 name_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), name,
1158 inline void Joint::clear_id() {
1161 inline ::PROTOBUF_NAMESPACE_ID::uint32 Joint::_internal_id()
const {
1164 inline ::PROTOBUF_NAMESPACE_ID::uint32 Joint::id()
const {
1166 return _internal_id();
1168 inline void Joint::_internal_set_id(::PROTOBUF_NAMESPACE_ID::uint32 value) {
1172 inline void Joint::set_id(::PROTOBUF_NAMESPACE_ID::uint32 value) {
1173 _internal_set_id(value);
1178 inline void Joint::clear_type() {
1186 return _internal_type();
1193 _internal_set_type(value);
1198 inline void Joint::clear_parent() {
1199 parent_.ClearToEmpty();
1203 return _internal_parent();
1205 inline void Joint::set_parent(
const std::string& value) {
1206 _internal_set_parent(value);
1211 return _internal_mutable_parent();
1213 inline const std::string& Joint::_internal_parent()
const {
1214 return parent_.Get();
1216 inline void Joint::_internal_set_parent(
const std::string& value) {
1218 parent_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArena());
1220 inline void Joint::set_parent(
std::string&& value) {
1223 ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::move(value), GetArena());
1226 inline void Joint::set_parent(
const char* value) {
1227 GOOGLE_DCHECK(value !=
nullptr);
1229 parent_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{},
::std::string(value), GetArena());
1232 inline void Joint::set_parent(
const char* value,
1235 parent_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{},
::std::string(
1236 reinterpret_cast<const char*
>(value), size), GetArena());
1239 inline std::string* Joint::_internal_mutable_parent() {
1241 return parent_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArena());
1245 return parent_.Release(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena());
1247 inline void Joint::set_allocated_parent(
std::string* parent) {
1248 if (parent !=
nullptr) {
1253 parent_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), parent,
1259 inline void Joint::clear_parent_id() {
1262 inline ::PROTOBUF_NAMESPACE_ID::uint32 Joint::_internal_parent_id()
const {
1265 inline ::PROTOBUF_NAMESPACE_ID::uint32 Joint::parent_id()
const {
1267 return _internal_parent_id();
1269 inline void Joint::_internal_set_parent_id(::PROTOBUF_NAMESPACE_ID::uint32 value) {
1273 inline void Joint::set_parent_id(::PROTOBUF_NAMESPACE_ID::uint32 value) {
1274 _internal_set_parent_id(value);
1279 inline void Joint::clear_child() {
1280 child_.ClearToEmpty();
1284 return _internal_child();
1286 inline void Joint::set_child(
const std::string& value) {
1287 _internal_set_child(value);
1292 return _internal_mutable_child();
1294 inline const std::string& Joint::_internal_child()
const {
1295 return child_.Get();
1297 inline void Joint::_internal_set_child(
const std::string& value) {
1299 child_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArena());
1301 inline void Joint::set_child(
std::string&& value) {
1304 ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::move(value), GetArena());
1307 inline void Joint::set_child(
const char* value) {
1308 GOOGLE_DCHECK(value !=
nullptr);
1310 child_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{},
::std::string(value), GetArena());
1313 inline void Joint::set_child(
const char* value,
1316 child_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{},
::std::string(
1317 reinterpret_cast<const char*
>(value), size), GetArena());
1320 inline std::string* Joint::_internal_mutable_child() {
1322 return child_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArena());
1326 return child_.Release(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena());
1328 inline void Joint::set_allocated_child(
std::string* child) {
1329 if (child !=
nullptr) {
1334 child_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), child,
1340 inline void Joint::clear_child_id() {
1343 inline ::PROTOBUF_NAMESPACE_ID::uint32 Joint::_internal_child_id()
const {
1346 inline ::PROTOBUF_NAMESPACE_ID::uint32 Joint::child_id()
const {
1348 return _internal_child_id();
1350 inline void Joint::_internal_set_child_id(::PROTOBUF_NAMESPACE_ID::uint32 value) {
1354 inline void Joint::set_child_id(::PROTOBUF_NAMESPACE_ID::uint32 value) {
1355 _internal_set_child_id(value);
1360 inline bool Joint::_internal_has_pose()
const {
1361 return this != internal_default_instance() && pose_ !=
nullptr;
1363 inline bool Joint::has_pose()
const {
1364 return _internal_has_pose();
1366 inline const ::ignition::msgs::Pose& Joint::_internal_pose()
const {
1367 const ::ignition::msgs::Pose* p = pose_;
1368 return p !=
nullptr ? *p :
reinterpret_cast<const ::ignition::msgs::Pose&
>(
1371 inline const ::ignition::msgs::Pose& Joint::pose()
const {
1373 return _internal_pose();
1375 inline void Joint::unsafe_arena_set_allocated_pose(
1376 ::ignition::msgs::Pose* pose) {
1377 if (GetArena() ==
nullptr) {
1378 delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*
>(pose_);
1388 inline ::ignition::msgs::Pose* Joint::release_pose() {
1390 ::ignition::msgs::Pose* temp = pose_;
1392 if (GetArena() !=
nullptr) {
1393 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
1397 inline ::ignition::msgs::Pose* Joint::unsafe_arena_release_pose() {
1400 ::ignition::msgs::Pose* temp = pose_;
1404 inline ::ignition::msgs::Pose* Joint::_internal_mutable_pose() {
1406 if (pose_ ==
nullptr) {
1407 auto* p = CreateMaybeMessage<::ignition::msgs::Pose>(GetArena());
1412 inline ::ignition::msgs::Pose* Joint::mutable_pose() {
1414 return _internal_mutable_pose();
1416 inline void Joint::set_allocated_pose(::ignition::msgs::Pose* pose) {
1417 ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArena();
1418 if (message_arena ==
nullptr) {
1419 delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*
>(pose_);
1422 ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
1423 reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*
>(pose)->GetArena();
1424 if (message_arena != submessage_arena) {
1425 pose = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
1426 message_arena, pose, submessage_arena);
1437 inline bool Joint::_internal_has_axis1()
const {
1438 return this != internal_default_instance() && axis1_ !=
nullptr;
1440 inline bool Joint::has_axis1()
const {
1441 return _internal_has_axis1();
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&
>(
1448 inline const ::ignition::msgs::Axis& Joint::axis1()
const {
1450 return _internal_axis1();
1452 inline void Joint::unsafe_arena_set_allocated_axis1(
1453 ::ignition::msgs::Axis* axis1) {
1454 if (GetArena() ==
nullptr) {
1455 delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*
>(axis1_);
1465 inline ::ignition::msgs::Axis* Joint::release_axis1() {
1467 ::ignition::msgs::Axis* temp = axis1_;
1469 if (GetArena() !=
nullptr) {
1470 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
1474 inline ::ignition::msgs::Axis* Joint::unsafe_arena_release_axis1() {
1477 ::ignition::msgs::Axis* temp = axis1_;
1481 inline ::ignition::msgs::Axis* Joint::_internal_mutable_axis1() {
1483 if (axis1_ ==
nullptr) {
1484 auto* p = CreateMaybeMessage<::ignition::msgs::Axis>(GetArena());
1489 inline ::ignition::msgs::Axis* Joint::mutable_axis1() {
1491 return _internal_mutable_axis1();
1493 inline void Joint::set_allocated_axis1(::ignition::msgs::Axis* axis1) {
1494 ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArena();
1495 if (message_arena ==
nullptr) {
1496 delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*
>(axis1_);
1499 ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
1500 reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*
>(axis1)->GetArena();
1501 if (message_arena != submessage_arena) {
1502 axis1 = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
1503 message_arena, axis1, submessage_arena);
1514 inline bool Joint::_internal_has_axis2()
const {
1515 return this != internal_default_instance() && axis2_ !=
nullptr;
1517 inline bool Joint::has_axis2()
const {
1518 return _internal_has_axis2();
1520 inline const ::ignition::msgs::Axis& Joint::_internal_axis2()
const {
1521 const ::ignition::msgs::Axis* p = axis2_;
1522 return p !=
nullptr ? *p :
reinterpret_cast<const ::ignition::msgs::Axis&
>(
1525 inline const ::ignition::msgs::Axis& Joint::axis2()
const {
1527 return _internal_axis2();
1529 inline void Joint::unsafe_arena_set_allocated_axis2(
1530 ::ignition::msgs::Axis* axis2) {
1531 if (GetArena() ==
nullptr) {
1532 delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*
>(axis2_);
1542 inline ::ignition::msgs::Axis* Joint::release_axis2() {
1544 ::ignition::msgs::Axis* temp = axis2_;
1546 if (GetArena() !=
nullptr) {
1547 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
1551 inline ::ignition::msgs::Axis* Joint::unsafe_arena_release_axis2() {
1554 ::ignition::msgs::Axis* temp = axis2_;
1558 inline ::ignition::msgs::Axis* Joint::_internal_mutable_axis2() {
1560 if (axis2_ ==
nullptr) {
1561 auto* p = CreateMaybeMessage<::ignition::msgs::Axis>(GetArena());
1566 inline ::ignition::msgs::Axis* Joint::mutable_axis2() {
1568 return _internal_mutable_axis2();
1570 inline void Joint::set_allocated_axis2(::ignition::msgs::Axis* axis2) {
1571 ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArena();
1572 if (message_arena ==
nullptr) {
1573 delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*
>(axis2_);
1576 ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
1577 reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*
>(axis2)->GetArena();
1578 if (message_arena != submessage_arena) {
1579 axis2 = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
1580 message_arena, axis2, submessage_arena);
1591 inline void Joint::clear_cfm() {
1594 inline double Joint::_internal_cfm()
const {
1597 inline double Joint::cfm()
const {
1599 return _internal_cfm();
1601 inline void Joint::_internal_set_cfm(
double value) {
1605 inline void Joint::set_cfm(
double value) {
1606 _internal_set_cfm(value);
1611 inline void Joint::clear_bounce() {
1614 inline double Joint::_internal_bounce()
const {
1617 inline double Joint::bounce()
const {
1619 return _internal_bounce();
1621 inline void Joint::_internal_set_bounce(
double value) {
1625 inline void Joint::set_bounce(
double value) {
1626 _internal_set_bounce(value);
1631 inline void Joint::clear_fudge_factor() {
1634 inline double Joint::_internal_fudge_factor()
const {
1635 return fudge_factor_;
1637 inline double Joint::fudge_factor()
const {
1639 return _internal_fudge_factor();
1641 inline void Joint::_internal_set_fudge_factor(
double value) {
1643 fudge_factor_ = value;
1645 inline void Joint::set_fudge_factor(
double value) {
1646 _internal_set_fudge_factor(value);
1651 inline void Joint::clear_limit_cfm() {
1654 inline double Joint::_internal_limit_cfm()
const {
1657 inline double Joint::limit_cfm()
const {
1659 return _internal_limit_cfm();
1661 inline void Joint::_internal_set_limit_cfm(
double value) {
1665 inline void Joint::set_limit_cfm(
double value) {
1666 _internal_set_limit_cfm(value);
1671 inline void Joint::clear_limit_erp() {
1674 inline double Joint::_internal_limit_erp()
const {
1677 inline double Joint::limit_erp()
const {
1679 return _internal_limit_erp();
1681 inline void Joint::_internal_set_limit_erp(
double value) {
1685 inline void Joint::set_limit_erp(
double value) {
1686 _internal_set_limit_erp(value);
1691 inline void Joint::clear_suspension_cfm() {
1692 suspension_cfm_ = 0;
1694 inline double Joint::_internal_suspension_cfm()
const {
1695 return suspension_cfm_;
1697 inline double Joint::suspension_cfm()
const {
1699 return _internal_suspension_cfm();
1701 inline void Joint::_internal_set_suspension_cfm(
double value) {
1703 suspension_cfm_ = value;
1705 inline void Joint::set_suspension_cfm(
double value) {
1706 _internal_set_suspension_cfm(value);
1711 inline void Joint::clear_suspension_erp() {
1712 suspension_erp_ = 0;
1714 inline double Joint::_internal_suspension_erp()
const {
1715 return suspension_erp_;
1717 inline double Joint::suspension_erp()
const {
1719 return _internal_suspension_erp();
1721 inline void Joint::_internal_set_suspension_erp(
double value) {
1723 suspension_erp_ = value;
1725 inline void Joint::set_suspension_erp(
double value) {
1726 _internal_set_suspension_erp(value);
1731 inline bool Joint::_internal_has_gearbox()
const {
1732 return this != internal_default_instance() && gearbox_ !=
nullptr;
1734 inline bool Joint::has_gearbox()
const {
1735 return _internal_has_gearbox();
1737 inline void Joint::clear_gearbox() {
1738 if (GetArena() ==
nullptr && gearbox_ !=
nullptr) {
1743 inline const ::ignition::msgs::Joint_Gearbox& Joint::_internal_gearbox()
const {
1744 const ::ignition::msgs::Joint_Gearbox* p = gearbox_;
1745 return p !=
nullptr ? *p :
reinterpret_cast<const ::ignition::msgs::Joint_Gearbox&
>(
1748 inline const ::ignition::msgs::Joint_Gearbox& Joint::gearbox()
const {
1750 return _internal_gearbox();
1752 inline void Joint::unsafe_arena_set_allocated_gearbox(
1753 ::ignition::msgs::Joint_Gearbox* gearbox) {
1754 if (GetArena() ==
nullptr) {
1755 delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*
>(gearbox_);
1765 inline ::ignition::msgs::Joint_Gearbox* Joint::release_gearbox() {
1767 ::ignition::msgs::Joint_Gearbox* temp = gearbox_;
1769 if (GetArena() !=
nullptr) {
1770 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
1774 inline ::ignition::msgs::Joint_Gearbox* Joint::unsafe_arena_release_gearbox() {
1777 ::ignition::msgs::Joint_Gearbox* temp = gearbox_;
1781 inline ::ignition::msgs::Joint_Gearbox* Joint::_internal_mutable_gearbox() {
1783 if (gearbox_ ==
nullptr) {
1784 auto* p = CreateMaybeMessage<::ignition::msgs::Joint_Gearbox>(GetArena());
1789 inline ::ignition::msgs::Joint_Gearbox* Joint::mutable_gearbox() {
1791 return _internal_mutable_gearbox();
1793 inline void Joint::set_allocated_gearbox(::ignition::msgs::Joint_Gearbox* gearbox) {
1794 ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArena();
1795 if (message_arena ==
nullptr) {
1799 ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
1800 ::PROTOBUF_NAMESPACE_ID::Arena::GetArena(gearbox);
1801 if (message_arena != submessage_arena) {
1802 gearbox = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
1803 message_arena, gearbox, submessage_arena);
1814 inline bool Joint::_internal_has_screw()
const {
1815 return this != internal_default_instance() && screw_ !=
nullptr;
1817 inline bool Joint::has_screw()
const {
1818 return _internal_has_screw();
1820 inline void Joint::clear_screw() {
1821 if (GetArena() ==
nullptr && screw_ !=
nullptr) {
1826 inline const ::ignition::msgs::Joint_Screw& Joint::_internal_screw()
const {
1827 const ::ignition::msgs::Joint_Screw* p = screw_;
1828 return p !=
nullptr ? *p :
reinterpret_cast<const ::ignition::msgs::Joint_Screw&
>(
1831 inline const ::ignition::msgs::Joint_Screw& Joint::screw()
const {
1833 return _internal_screw();
1835 inline void Joint::unsafe_arena_set_allocated_screw(
1836 ::ignition::msgs::Joint_Screw* screw) {
1837 if (GetArena() ==
nullptr) {
1838 delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*
>(screw_);
1848 inline ::ignition::msgs::Joint_Screw* Joint::release_screw() {
1850 ::ignition::msgs::Joint_Screw* temp = screw_;
1852 if (GetArena() !=
nullptr) {
1853 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
1857 inline ::ignition::msgs::Joint_Screw* Joint::unsafe_arena_release_screw() {
1860 ::ignition::msgs::Joint_Screw* temp = screw_;
1864 inline ::ignition::msgs::Joint_Screw* Joint::_internal_mutable_screw() {
1866 if (screw_ ==
nullptr) {
1867 auto* p = CreateMaybeMessage<::ignition::msgs::Joint_Screw>(GetArena());
1872 inline ::ignition::msgs::Joint_Screw* Joint::mutable_screw() {
1874 return _internal_mutable_screw();
1876 inline void Joint::set_allocated_screw(::ignition::msgs::Joint_Screw* screw) {
1877 ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArena();
1878 if (message_arena ==
nullptr) {
1882 ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
1883 ::PROTOBUF_NAMESPACE_ID::Arena::GetArena(screw);
1884 if (message_arena != submessage_arena) {
1885 screw = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
1886 message_arena, screw, submessage_arena);
1897 inline int Joint::_internal_sensor_size()
const {
1898 return sensor_.size();
1900 inline int Joint::sensor_size()
const {
1901 return _internal_sensor_size();
1903 inline ::ignition::msgs::Sensor* Joint::mutable_sensor(
int index) {
1905 return sensor_.Mutable(index);
1907 inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::ignition::msgs::Sensor >*
1908 Joint::mutable_sensor() {
1912 inline const ::ignition::msgs::Sensor& Joint::_internal_sensor(
int index)
const {
1913 return sensor_.Get(index);
1915 inline const ::ignition::msgs::Sensor& Joint::sensor(
int index)
const {
1917 return _internal_sensor(index);
1919 inline ::ignition::msgs::Sensor* Joint::_internal_add_sensor() {
1920 return sensor_.Add();
1922 inline ::ignition::msgs::Sensor* Joint::add_sensor() {
1924 return _internal_add_sensor();
1926 inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::ignition::msgs::Sensor >&
1927 Joint::sensor()
const {
1933 #pragma GCC diagnostic pop
1949 PROTOBUF_NAMESPACE_OPEN
1953 inline const EnumDescriptor* GetEnumDescriptor< ::ignition::msgs::Joint_Type>() {
1957 PROTOBUF_NAMESPACE_CLOSE
1960 #pragma warning(pop)
1964 #include <google/protobuf/port_undef.inc>
Definition: actor.pb.h:98
::ignition::msgs::Axis * release_axis2()
Joint_Screw(Joint_Screw &&from) noexcept
Definition: joint.pb.h:287
void set_parent(const char *value, size_t size)
double thread_pitch() const
void Swap(Joint_Screw *other)
Definition: joint.pb.h:326
void set_gearbox_ratio(double value)
void set_parent(const std::string &value)
Joint_Screw(::PROTOBUF_NAMESPACE_ID::Arena *arena)
double suspension_erp() const
::PROTOBUF_NAMESPACE_ID::uint32 parent_id() const
::ignition::msgs::Joint_Screw * unsafe_arena_release_screw()
::ignition::msgs::Pose * release_pose()
static const ::PROTOBUF_NAMESPACE_ID::Reflection * GetReflection()
Definition: joint.pb.h:157
void clear_gearbox_ratio()
void set_allocated_parent(std::string *parent)
::ignition::msgs::Joint_Gearbox * mutable_gearbox()
Joint_Screw()
Definition: joint.pb.h:283
Joint_Gearbox * New() const final
Definition: joint.pb.h:188
::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::ignition::msgs::Sensor > * mutable_sensor()
Joint & operator=(Joint &&from) noexcept
Definition: joint.pb.h:432
::ignition::msgs::Joint_Gearbox * release_gearbox()
Joint_Gearbox(Joint_Gearbox &&from) noexcept
Definition: joint.pb.h:133
void set_limit_cfm(double value)
static const std::string & Type_Name(T enum_t_value)
Definition: joint.pb.h:559
const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::ignition::msgs::Sensor > & sensor() const
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final
void unsafe_arena_set_allocated_pose(::ignition::msgs::Pose *pose)
void set_child(const char *value, size_t size)
void set_allocated_gearbox_reference_body(std::string *gearbox_reference_body)
void clear_fudge_factor()
::ignition::msgs::Header * release_header()
::ignition::msgs::Axis * unsafe_arena_release_axis1()
void set_name(const char *value, size_t size)
Joint_Screw & operator=(const Joint_Screw &from)
Definition: joint.pb.h:292
Joint(::PROTOBUF_NAMESPACE_ID::Arena *arena)
Joint_Gearbox(const Joint_Gearbox &from)
Joint_Gearbox & operator=(const Joint_Gearbox &from)
Definition: joint.pb.h:138
::ignition::msgs::Header * mutable_header()
const ::ignition::msgs::Sensor & sensor(int index) const
void set_cfm(double value)
std::string * mutable_gearbox_reference_body()
::ignition::msgs::Sensor * add_sensor()
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * descriptor()
Definition: joint.pb.h:151
void unsafe_arena_set_allocated_screw(::ignition::msgs::Joint_Screw *screw)
void set_name(const std::string &value)
void clear_suspension_erp()
void set_gearbox_reference_body(const char *value)
::ignition::msgs::Joint_Gearbox * unsafe_arena_release_gearbox()
void set_id(::PROTOBUF_NAMESPACE_ID::uint32 value)
static const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor * Type_descriptor()
Definition: joint.pb.h:555
void UnsafeArenaSwap(Joint_Screw *other)
Definition: joint.pb.h:334
void CopyFrom(const Joint &from)
std::string * mutable_child()
Joint(Joint &&from) noexcept
Definition: joint.pb.h:423
void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message &from) final
void CopyFrom(const Joint_Gearbox &from)
Joint_Gearbox()
Definition: joint.pb.h:129
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: joint.pb.h:172
static const Joint_Gearbox & default_instance()
Joint_Gearbox & operator=(Joint_Gearbox &&from) noexcept
Definition: joint.pb.h:142
static bool Type_IsValid(int value)
Definition: joint.pb.h:545
void set_gearbox_reference_body(const std::string &value)
const std::string & parent() const
static const Joint_Gearbox * internal_default_instance()
Definition: joint.pb.h:162
void set_parent(std::string &&value)
void unsafe_arena_set_allocated_header(::ignition::msgs::Header *header)
void set_parent_id(::PROTOBUF_NAMESPACE_ID::uint32 value)
const std::string & gearbox_reference_body() const
JointAnimation_Joint Joint
Definition: joint_animation.pb.h:373
::ignition::msgs::Joint_Type type() const
Joint_Screw(const Joint_Screw &from)
void MergeFrom(const Joint_Screw &from)
void set_bounce(double value)
void set_allocated_gearbox(::ignition::msgs::Joint_Gearbox *gearbox)
void set_allocated_axis2(::ignition::msgs::Axis *axis2)
void set_child_id(::PROTOBUF_NAMESPACE_ID::uint32 value)
void set_gearbox_reference_body(const char *value, size_t size)
const ::ignition::msgs::Axis & axis2() const
friend void swap(Joint &a, Joint &b)
Definition: joint.pb.h:459
void set_allocated_pose(::ignition::msgs::Pose *pose)
Joint_Screw * New() const final
Definition: joint.pb.h:342
const ::ignition::msgs::Joint_Screw & screw() const
std::string * mutable_parent()
::ignition::msgs::Header * unsafe_arena_release_header()
void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message &from) final
double suspension_cfm() const
Joint_Gearbox * New(::PROTOBUF_NAMESPACE_ID::Arena *arena) const final
Definition: joint.pb.h:192
std::string * release_gearbox_reference_body()
friend void swap(Joint_Gearbox &a, Joint_Gearbox &b)
Definition: joint.pb.h:169
void set_fudge_factor(double value)
void set_suspension_cfm(double value)
Joint_Type Type
Definition: joint.pb.h:528
void set_gearbox_reference_body(std::string &&value)
void set_child(const std::string &value)
friend void swap(Joint_Screw &a, Joint_Screw &b)
Definition: joint.pb.h:323
static bool Type_Parse(::PROTOBUF_NAMESPACE_ID::ConstStringParam name, Type *value)
Definition: joint.pb.h:565
void set_type(::ignition::msgs::Joint_Type value)
::PROTOBUF_NAMESPACE_ID::uint32 child_id() const
std::string * release_child()
void clear_gearbox_reference_body()
void set_allocated_header(::ignition::msgs::Header *header)
const ::ignition::msgs::Pose & pose() const
Joint * New(::PROTOBUF_NAMESPACE_ID::Arena *arena) const final
Definition: joint.pb.h:482
void UnsafeArenaSwap(Joint *other)
Definition: joint.pb.h:470
::ignition::msgs::Pose * unsafe_arena_release_pose()
const ::ignition::msgs::Axis & axis1() const
static const Joint_Screw & default_instance()
void set_allocated_axis1(::ignition::msgs::Axis *axis1)
void set_allocated_screw(::ignition::msgs::Joint_Screw *screw)
::ignition::msgs::Pose * mutable_pose()
double fudge_factor() const
static const Joint & default_instance()
::ignition::msgs::Axis * release_axis1()
::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final
void set_thread_pitch(double value)
const ::ignition::msgs::Joint_Gearbox & gearbox() const
void MergeFrom(const Joint_Gearbox &from)
::PROTOBUF_NAMESPACE_ID::uint32 id() const
void set_parent(const char *value)
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * GetDescriptor()
Definition: joint.pb.h:154
void set_allocated_child(std::string *child)
void MergeFrom(const Joint &from)
void set_limit_erp(double value)
static const Joint * internal_default_instance()
Definition: joint.pb.h:452
Joint()
Definition: joint.pb.h:419
Joint_Gearbox Gearbox
Definition: joint.pb.h:525
::ignition::msgs::Axis * mutable_axis2()
::ignition::msgs::Joint_Screw * release_screw()
::ignition::msgs::Axis * mutable_axis1()
void unsafe_arena_set_allocated_gearbox(::ignition::msgs::Joint_Gearbox *gearbox)
void set_child(std::string &&value)
const std::string & name() const
const std::string & child() const
void CopyFrom(const Joint_Screw &from)
Joint_Screw * New(::PROTOBUF_NAMESPACE_ID::Arena *arena) const final
Definition: joint.pb.h:346
void set_name(const char *value)
void set_name(std::string &&value)
Joint & operator=(const Joint &from)
Definition: joint.pb.h:428
Joint * New() const final
Definition: joint.pb.h:478
void Swap(Joint *other)
Definition: joint.pb.h:462
static const Joint_Screw * internal_default_instance()
Definition: joint.pb.h:316
void set_child(const char *value)
double gearbox_ratio() const
Joint_Screw Screw
Definition: joint.pb.h:526
void set_allocated_name(std::string *name)
void unsafe_arena_set_allocated_axis1(::ignition::msgs::Axis *axis1)
::ignition::msgs::Joint_Screw * mutable_screw()
std::string * release_parent()
void UnsafeArenaSwap(Joint_Gearbox *other)
Definition: joint.pb.h:180
Joint_Screw & operator=(Joint_Screw &&from) noexcept
Definition: joint.pb.h:296
const ::ignition::msgs::Header & header() const
void set_suspension_erp(double value)
Joint_Gearbox(::PROTOBUF_NAMESPACE_ID::Arena *arena)
void clear_suspension_cfm()
void unsafe_arena_set_allocated_axis2(::ignition::msgs::Axis *axis2)
::ignition::msgs::Axis * unsafe_arena_release_axis2()
IGNITION_MSGS_VISIBLEconst ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable descriptor_table_ignition_2fmsgs_2fjoint_2eproto
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:1941
std::shared_ptr< Joint > JointSharedPtr
Definition: joint.pb.h:1942
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:1940
Atmosphere_Type
Definition: atmosphere.pb.h:82
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:1943
Definition: actor.pb.h:52
Definition: joint.pb.h:60
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)