4 #ifndef GOOGLE_PROTOBUF_INCLUDED_ignition_2fmsgs_2faxis_2eproto
5 #define GOOGLE_PROTOBUF_INCLUDED_ignition_2fmsgs_2faxis_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/unknown_field_set.h>
37 #pragma GCC system_header
40 #pragma warning(disable: 4244 4267 4100 4244 4512 4127 4068 4275 4251)
43 #include <sys/sysmacros.h>
48 #include <google/protobuf/port_def.inc>
49 #define PROTOBUF_INTERNAL_EXPORT_ignition_2fmsgs_2faxis_2eproto IGNITION_MSGS_VISIBLE
50 PROTOBUF_NAMESPACE_OPEN
54 PROTOBUF_NAMESPACE_CLOSE
58 static const ::PROTOBUF_NAMESPACE_ID::internal::ParseTableField entries[]
60 static const ::PROTOBUF_NAMESPACE_ID::internal::AuxiliaryParseTableField aux[]
62 static const ::PROTOBUF_NAMESPACE_ID::internal::ParseTable schema[1]
64 static const ::PROTOBUF_NAMESPACE_ID::internal::FieldMetadata field_metadata[];
65 static const ::PROTOBUF_NAMESPACE_ID::internal::SerializationTable serialization_table[];
66 static const ::PROTOBUF_NAMESPACE_ID::uint32 offsets[];
72 class AxisDefaultTypeInternal;
76 PROTOBUF_NAMESPACE_OPEN
77 template<> IGNITION_MSGS_VISIBLE ::ignition::msgs::Axis* Arena::CreateMaybeMessage<::ignition::msgs::Axis>(Arena*);
78 PROTOBUF_NAMESPACE_CLOSE
84 class IGNITION_MSGS_VISIBLE Axis PROTOBUF_FINAL :
85 public ::PROTOBUF_NAMESPACE_ID::Message {
87 inline Axis() : Axis(nullptr) {}
93 *
this = ::std::move(from);
101 if (GetArena() == from.GetArena()) {
102 if (
this != &from) InternalSwap(&from);
109 static const ::PROTOBUF_NAMESPACE_ID::Descriptor*
descriptor() {
110 return GetDescriptor();
113 return GetMetadataStatic().descriptor;
116 return GetMetadataStatic().reflection;
121 return reinterpret_cast<const Axis*
>(
124 static constexpr
int kIndexInFileMessages =
127 friend void swap(Axis& a, Axis& b) {
130 inline void Swap(Axis* other) {
131 if (other ==
this)
return;
132 if (GetArena() == other->GetArena()) {
135 ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(
this, other);
139 if (other ==
this)
return;
140 GOOGLE_DCHECK(GetArena() == other->GetArena());
146 inline Axis*
New() const final {
147 return CreateMaybeMessage<Axis>(
nullptr);
150 Axis*
New(::PROTOBUF_NAMESPACE_ID::Arena* arena)
const final {
151 return CreateMaybeMessage<Axis>(arena);
153 void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from)
final;
154 void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from)
final;
157 PROTOBUF_ATTRIBUTE_REINITIALIZES
void Clear() final;
158 bool IsInitialized() const final;
160 size_t ByteSizeLong() const final;
161 const
char* _InternalParse(const
char* ptr, ::PROTOBUF_NAMESPACE_ID::
internal::ParseContext* ctx) final;
162 ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize(
163 ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
164 int GetCachedSize() const final {
return _cached_size_.Get(); }
167 inline void SharedCtor();
168 inline void SharedDtor();
169 void SetCachedSize(
int size)
const final;
170 void InternalSwap(Axis* other);
171 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
172 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
173 return "ignition.msgs.Axis";
176 explicit Axis(::PROTOBUF_NAMESPACE_ID::Arena* arena);
178 static void ArenaDtor(
void*
object);
179 inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
184 static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() {
196 kXyzExpressedInFieldNumber = 14,
197 kHeaderFieldNumber = 1,
199 kLimitLowerFieldNumber = 3,
200 kLimitUpperFieldNumber = 4,
201 kLimitEffortFieldNumber = 5,
202 kLimitVelocityFieldNumber = 6,
203 kDampingFieldNumber = 7,
204 kFrictionFieldNumber = 8,
205 kPositionFieldNumber = 10,
206 kVelocityFieldNumber = 11,
207 kForceFieldNumber = 12,
208 kAccelerationFieldNumber = 13,
209 kUseParentModelFrameFieldNumber = 9,
222 const std::string& _internal_xyz_expressed_in()
const;
223 void _internal_set_xyz_expressed_in(
const std::string& value);
230 bool _internal_has_header()
const;
233 const ::ignition::msgs::Header&
header()
const;
238 const ::ignition::msgs::Header& _internal_header()
const;
239 ::ignition::msgs::Header* _internal_mutable_header();
242 ::ignition::msgs::Header* header);
248 bool _internal_has_xyz()
const;
251 const ::ignition::msgs::Vector3d&
xyz()
const;
256 const ::ignition::msgs::Vector3d& _internal_xyz()
const;
257 ::ignition::msgs::Vector3d* _internal_mutable_xyz();
260 ::ignition::msgs::Vector3d* xyz);
268 double _internal_limit_lower()
const;
269 void _internal_set_limit_lower(
double value);
277 double _internal_limit_upper()
const;
278 void _internal_set_limit_upper(
double value);
286 double _internal_limit_effort()
const;
287 void _internal_set_limit_effort(
double value);
295 double _internal_limit_velocity()
const;
296 void _internal_set_limit_velocity(
double value);
304 double _internal_damping()
const;
305 void _internal_set_damping(
double value);
313 double _internal_friction()
const;
314 void _internal_set_friction(
double value);
322 double _internal_position()
const;
323 void _internal_set_position(
double value);
331 double _internal_velocity()
const;
332 void _internal_set_velocity(
double value);
340 double _internal_force()
const;
341 void _internal_set_force(
double value);
349 double _internal_acceleration()
const;
350 void _internal_set_acceleration(
double value);
358 bool _internal_use_parent_model_frame()
const;
359 void _internal_set_use_parent_model_frame(
bool value);
366 template <
typename T>
friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
367 typedef void InternalArenaConstructable_;
368 typedef void DestructorSkippable_;
369 ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr xyz_expressed_in_;
370 ::ignition::msgs::Header* header_;
371 ::ignition::msgs::Vector3d* xyz_;
374 double limit_effort_;
375 double limit_velocity_;
381 double acceleration_;
382 bool use_parent_model_frame_;
383 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
384 friend struct ::TableStruct_ignition_2fmsgs_2faxis_2eproto;
392 #pragma GCC diagnostic push
393 #pragma GCC diagnostic ignored "-Wstrict-aliasing"
398 inline bool Axis::_internal_has_header()
const {
399 return this != internal_default_instance() && header_ !=
nullptr;
401 inline bool Axis::has_header()
const {
402 return _internal_has_header();
404 inline const ::ignition::msgs::Header& Axis::_internal_header()
const {
405 const ::ignition::msgs::Header* p = header_;
406 return p !=
nullptr ? *p :
reinterpret_cast<const ::ignition::msgs::Header&
>(
409 inline const ::ignition::msgs::Header& Axis::header()
const {
411 return _internal_header();
413 inline void Axis::unsafe_arena_set_allocated_header(
414 ::ignition::msgs::Header* header) {
415 if (GetArena() ==
nullptr) {
416 delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*
>(header_);
426 inline ::ignition::msgs::Header* Axis::release_header() {
428 ::ignition::msgs::Header* temp = header_;
430 if (GetArena() !=
nullptr) {
431 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
435 inline ::ignition::msgs::Header* Axis::unsafe_arena_release_header() {
438 ::ignition::msgs::Header* temp = header_;
442 inline ::ignition::msgs::Header* Axis::_internal_mutable_header() {
444 if (header_ ==
nullptr) {
445 auto* p = CreateMaybeMessage<::ignition::msgs::Header>(GetArena());
450 inline ::ignition::msgs::Header* Axis::mutable_header() {
452 return _internal_mutable_header();
454 inline void Axis::set_allocated_header(::ignition::msgs::Header* header) {
455 ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArena();
456 if (message_arena ==
nullptr) {
457 delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*
>(header_);
460 ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
461 reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*
>(header)->GetArena();
462 if (message_arena != submessage_arena) {
463 header = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
464 message_arena, header, submessage_arena);
475 inline bool Axis::_internal_has_xyz()
const {
476 return this != internal_default_instance() && xyz_ !=
nullptr;
478 inline bool Axis::has_xyz()
const {
479 return _internal_has_xyz();
481 inline const ::ignition::msgs::Vector3d& Axis::_internal_xyz()
const {
482 const ::ignition::msgs::Vector3d* p = xyz_;
483 return p !=
nullptr ? *p :
reinterpret_cast<const ::ignition::msgs::Vector3d&
>(
486 inline const ::ignition::msgs::Vector3d& Axis::xyz()
const {
488 return _internal_xyz();
490 inline void Axis::unsafe_arena_set_allocated_xyz(
491 ::ignition::msgs::Vector3d* xyz) {
492 if (GetArena() ==
nullptr) {
493 delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*
>(xyz_);
503 inline ::ignition::msgs::Vector3d* Axis::release_xyz() {
505 ::ignition::msgs::Vector3d* temp = xyz_;
507 if (GetArena() !=
nullptr) {
508 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
512 inline ::ignition::msgs::Vector3d* Axis::unsafe_arena_release_xyz() {
515 ::ignition::msgs::Vector3d* temp = xyz_;
519 inline ::ignition::msgs::Vector3d* Axis::_internal_mutable_xyz() {
521 if (xyz_ ==
nullptr) {
522 auto* p = CreateMaybeMessage<::ignition::msgs::Vector3d>(GetArena());
527 inline ::ignition::msgs::Vector3d* Axis::mutable_xyz() {
529 return _internal_mutable_xyz();
531 inline void Axis::set_allocated_xyz(::ignition::msgs::Vector3d* xyz) {
532 ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArena();
533 if (message_arena ==
nullptr) {
534 delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*
>(xyz_);
537 ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
538 reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*
>(xyz)->GetArena();
539 if (message_arena != submessage_arena) {
540 xyz = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
541 message_arena, xyz, submessage_arena);
552 inline void Axis::clear_limit_lower() {
555 inline double Axis::_internal_limit_lower()
const {
558 inline double Axis::limit_lower()
const {
560 return _internal_limit_lower();
562 inline void Axis::_internal_set_limit_lower(
double value) {
564 limit_lower_ = value;
566 inline void Axis::set_limit_lower(
double value) {
567 _internal_set_limit_lower(value);
572 inline void Axis::clear_limit_upper() {
575 inline double Axis::_internal_limit_upper()
const {
578 inline double Axis::limit_upper()
const {
580 return _internal_limit_upper();
582 inline void Axis::_internal_set_limit_upper(
double value) {
584 limit_upper_ = value;
586 inline void Axis::set_limit_upper(
double value) {
587 _internal_set_limit_upper(value);
592 inline void Axis::clear_limit_effort() {
595 inline double Axis::_internal_limit_effort()
const {
596 return limit_effort_;
598 inline double Axis::limit_effort()
const {
600 return _internal_limit_effort();
602 inline void Axis::_internal_set_limit_effort(
double value) {
604 limit_effort_ = value;
606 inline void Axis::set_limit_effort(
double value) {
607 _internal_set_limit_effort(value);
612 inline void Axis::clear_limit_velocity() {
615 inline double Axis::_internal_limit_velocity()
const {
616 return limit_velocity_;
618 inline double Axis::limit_velocity()
const {
620 return _internal_limit_velocity();
622 inline void Axis::_internal_set_limit_velocity(
double value) {
624 limit_velocity_ = value;
626 inline void Axis::set_limit_velocity(
double value) {
627 _internal_set_limit_velocity(value);
632 inline void Axis::clear_damping() {
635 inline double Axis::_internal_damping()
const {
638 inline double Axis::damping()
const {
640 return _internal_damping();
642 inline void Axis::_internal_set_damping(
double value) {
646 inline void Axis::set_damping(
double value) {
647 _internal_set_damping(value);
652 inline void Axis::clear_friction() {
655 inline double Axis::_internal_friction()
const {
658 inline double Axis::friction()
const {
660 return _internal_friction();
662 inline void Axis::_internal_set_friction(
double value) {
666 inline void Axis::set_friction(
double value) {
667 _internal_set_friction(value);
672 inline void Axis::clear_use_parent_model_frame() {
673 use_parent_model_frame_ =
false;
675 inline bool Axis::_internal_use_parent_model_frame()
const {
676 return use_parent_model_frame_;
678 inline bool Axis::use_parent_model_frame()
const {
680 return _internal_use_parent_model_frame();
682 inline void Axis::_internal_set_use_parent_model_frame(
bool value) {
684 use_parent_model_frame_ = value;
686 inline void Axis::set_use_parent_model_frame(
bool value) {
687 _internal_set_use_parent_model_frame(value);
692 inline void Axis::clear_position() {
695 inline double Axis::_internal_position()
const {
698 inline double Axis::position()
const {
700 return _internal_position();
702 inline void Axis::_internal_set_position(
double value) {
706 inline void Axis::set_position(
double value) {
707 _internal_set_position(value);
712 inline void Axis::clear_velocity() {
715 inline double Axis::_internal_velocity()
const {
718 inline double Axis::velocity()
const {
720 return _internal_velocity();
722 inline void Axis::_internal_set_velocity(
double value) {
726 inline void Axis::set_velocity(
double value) {
727 _internal_set_velocity(value);
732 inline void Axis::clear_force() {
735 inline double Axis::_internal_force()
const {
738 inline double Axis::force()
const {
740 return _internal_force();
742 inline void Axis::_internal_set_force(
double value) {
746 inline void Axis::set_force(
double value) {
747 _internal_set_force(value);
752 inline void Axis::clear_acceleration() {
755 inline double Axis::_internal_acceleration()
const {
756 return acceleration_;
758 inline double Axis::acceleration()
const {
760 return _internal_acceleration();
762 inline void Axis::_internal_set_acceleration(
double value) {
764 acceleration_ = value;
766 inline void Axis::set_acceleration(
double value) {
767 _internal_set_acceleration(value);
772 inline void Axis::clear_xyz_expressed_in() {
773 xyz_expressed_in_.ClearToEmpty();
775 inline const std::string& Axis::xyz_expressed_in()
const {
777 return _internal_xyz_expressed_in();
779 inline void Axis::set_xyz_expressed_in(
const std::string& value) {
780 _internal_set_xyz_expressed_in(value);
783 inline std::string* Axis::mutable_xyz_expressed_in() {
785 return _internal_mutable_xyz_expressed_in();
787 inline const std::string& Axis::_internal_xyz_expressed_in()
const {
788 return xyz_expressed_in_.Get();
790 inline void Axis::_internal_set_xyz_expressed_in(
const std::string& value) {
792 xyz_expressed_in_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArena());
794 inline void Axis::set_xyz_expressed_in(
std::string&& value) {
796 xyz_expressed_in_.Set(
797 ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::move(value), GetArena());
800 inline void Axis::set_xyz_expressed_in(
const char* value) {
801 GOOGLE_DCHECK(value !=
nullptr);
803 xyz_expressed_in_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{},
::std::string(value), GetArena());
806 inline void Axis::set_xyz_expressed_in(
const char* value,
809 xyz_expressed_in_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{},
::std::string(
810 reinterpret_cast<const char*
>(value), size), GetArena());
813 inline std::string* Axis::_internal_mutable_xyz_expressed_in() {
815 return xyz_expressed_in_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArena());
817 inline std::string* Axis::release_xyz_expressed_in() {
819 return xyz_expressed_in_.Release(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena());
821 inline void Axis::set_allocated_xyz_expressed_in(
std::string* xyz_expressed_in) {
822 if (xyz_expressed_in !=
nullptr) {
827 xyz_expressed_in_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), xyz_expressed_in,
833 #pragma GCC diagnostic pop
850 #include <google/protobuf/port_undef.inc>
IGNITION_MSGS_VISIBLEconst ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable descriptor_table_ignition_2fmsgs_2faxis_2eproto
void MergeFrom(const Axis &from)
void set_force(double value)
void clear_xyz_expressed_in()
Axis * New(::PROTOBUF_NAMESPACE_ID::Arena *arena) const final
Definition: axis.pb.h:150
static const ::PROTOBUF_NAMESPACE_ID::Reflection * GetReflection()
Definition: axis.pb.h:115
void set_acceleration(double value)
PROTOBUF_DEPRECATED void set_use_parent_model_frame(bool value)
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final
double limit_velocity() const
::ignition::msgs::Header * release_header()
Axis()
Definition: axis.pb.h:87
::ignition::msgs::Header * mutable_header()
void set_limit_effort(double value)
Axis & operator=(Axis &&from) noexcept
Definition: axis.pb.h:100
void set_limit_lower(double value)
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * descriptor()
Definition: axis.pb.h:109
void UnsafeArenaSwap(Axis *other)
Definition: axis.pb.h:138
void set_xyz_expressed_in(const char *value)
static const Axis * internal_default_instance()
Definition: axis.pb.h:120
std::string * release_xyz_expressed_in()
void set_xyz_expressed_in(std::string &&value)
void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message &from) final
void set_velocity(double value)
::ignition::msgs::Vector3d * release_xyz()
void set_allocated_xyz(::ignition::msgs::Vector3d *xyz)
void set_xyz_expressed_in(const std::string &value)
void clear_limit_effort()
void unsafe_arena_set_allocated_header(::ignition::msgs::Header *header)
void Swap(Axis *other)
Definition: axis.pb.h:130
void clear_limit_velocity()
void set_xyz_expressed_in(const char *value, size_t size)
void clear_acceleration()
PROTOBUF_DEPRECATED bool use_parent_model_frame() const
void CopyFrom(const Axis &from)
void set_friction(double value)
::ignition::msgs::Vector3d * unsafe_arena_release_xyz()
::ignition::msgs::Header * unsafe_arena_release_header()
void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message &from) final
void set_position(double value)
void set_limit_velocity(double value)
Axis * New() const final
Definition: axis.pb.h:146
void set_allocated_header(::ignition::msgs::Header *header)
Axis(::PROTOBUF_NAMESPACE_ID::Arena *arena)
void unsafe_arena_set_allocated_xyz(::ignition::msgs::Vector3d *xyz)
::ignition::msgs::Vector3d * mutable_xyz()
PROTOBUF_DEPRECATED void clear_use_parent_model_frame()
void set_allocated_xyz_expressed_in(std::string *xyz_expressed_in)
double limit_upper() const
::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final
double limit_effort() const
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * GetDescriptor()
Definition: axis.pb.h:112
const ::ignition::msgs::Vector3d & xyz() const
void set_limit_upper(double value)
double acceleration() const
double limit_lower() const
Axis(Axis &&from) noexcept
Definition: axis.pb.h:91
std::string * mutable_xyz_expressed_in()
const std::string & xyz_expressed_in() const
Axis & operator=(const Axis &from)
Definition: axis.pb.h:96
friend void swap(Axis &a, Axis &b)
Definition: axis.pb.h:127
static const Axis & default_instance()
const ::ignition::msgs::Header & header() const
void set_damping(double value)
IGNITION_MSGS_VISIBLE Vector3dDefaultTypeInternal _Vector3d_default_instance_
std::unique_ptr< const Axis > ConstAxisUniquePtr
Definition: axis.pb.h:837
IGNITION_MSGS_VISIBLE AxisDefaultTypeInternal _Axis_default_instance_
IGNITION_MSGS_VISIBLE HeaderDefaultTypeInternal _Header_default_instance_
std::shared_ptr< const Axis > ConstAxisSharedPtr
Definition: axis.pb.h:839
std::unique_ptr< Axis > AxisUniquePtr
Definition: axis.pb.h:836
std::shared_ptr< Axis > AxisSharedPtr
Definition: axis.pb.h:838
Definition: actor.pb.h:52
static const ::PROTOBUF_NAMESPACE_ID::internal::AuxiliaryParseTableField aux[] PROTOBUF_SECTION_VARIABLE(protodesc_cold)
static const ::PROTOBUF_NAMESPACE_ID::internal::ParseTableField entries[] PROTOBUF_SECTION_VARIABLE(protodesc_cold)
static const ::PROTOBUF_NAMESPACE_ID::internal::ParseTable schema[1] PROTOBUF_SECTION_VARIABLE(protodesc_cold)