4 #ifndef GOOGLE_PROTOBUF_INCLUDED_ignition_2fmsgs_2finertial_2eproto
5 #define GOOGLE_PROTOBUF_INCLUDED_ignition_2fmsgs_2finertial_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_2finertial_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 InertialDefaultTypeInternal;
76 PROTOBUF_NAMESPACE_OPEN
77 template<> IGNITION_MSGS_VISIBLE ::ignition::msgs::Inertial* Arena::CreateMaybeMessage<::ignition::msgs::Inertial>(Arena*);
78 PROTOBUF_NAMESPACE_CLOSE
84 class IGNITION_MSGS_VISIBLE Inertial PROTOBUF_FINAL :
85 public ::PROTOBUF_NAMESPACE_ID::Message {
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 Inertial*
>(
124 static constexpr
int kIndexInFileMessages =
127 friend void swap(Inertial& a, Inertial& b) {
130 inline void Swap(Inertial* 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 Inertial*
New() const final {
147 return CreateMaybeMessage<Inertial>(
nullptr);
150 Inertial*
New(::PROTOBUF_NAMESPACE_ID::Arena* arena)
const final {
151 return CreateMaybeMessage<Inertial>(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(Inertial* other);
171 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
172 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
173 return "ignition.msgs.Inertial";
176 explicit Inertial(::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 kHeaderFieldNumber = 1,
197 kPoseFieldNumber = 3,
198 kMassFieldNumber = 2,
209 bool _internal_has_header()
const;
212 const ::ignition::msgs::Header&
header()
const;
217 const ::ignition::msgs::Header& _internal_header()
const;
218 ::ignition::msgs::Header* _internal_mutable_header();
221 ::ignition::msgs::Header* header);
227 bool _internal_has_pose()
const;
230 const ::ignition::msgs::Pose&
pose()
const;
235 const ::ignition::msgs::Pose& _internal_pose()
const;
236 ::ignition::msgs::Pose* _internal_mutable_pose();
239 ::ignition::msgs::Pose* pose);
247 double _internal_mass()
const;
248 void _internal_set_mass(
double value);
256 double _internal_ixx()
const;
257 void _internal_set_ixx(
double value);
265 double _internal_ixy()
const;
266 void _internal_set_ixy(
double value);
274 double _internal_ixz()
const;
275 void _internal_set_ixz(
double value);
283 double _internal_iyy()
const;
284 void _internal_set_iyy(
double value);
292 double _internal_iyz()
const;
293 void _internal_set_iyz(
double value);
301 double _internal_izz()
const;
302 void _internal_set_izz(
double value);
309 template <
typename T>
friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
310 typedef void InternalArenaConstructable_;
311 typedef void DestructorSkippable_;
312 ::ignition::msgs::Header* header_;
313 ::ignition::msgs::Pose* pose_;
321 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
322 friend struct ::TableStruct_ignition_2fmsgs_2finertial_2eproto;
330 #pragma GCC diagnostic push
331 #pragma GCC diagnostic ignored "-Wstrict-aliasing"
336 inline bool Inertial::_internal_has_header()
const {
337 return this != internal_default_instance() && header_ !=
nullptr;
339 inline bool Inertial::has_header()
const {
340 return _internal_has_header();
342 inline const ::ignition::msgs::Header& Inertial::_internal_header()
const {
343 const ::ignition::msgs::Header* p = header_;
344 return p !=
nullptr ? *p :
reinterpret_cast<const ::ignition::msgs::Header&
>(
347 inline const ::ignition::msgs::Header& Inertial::header()
const {
349 return _internal_header();
351 inline void Inertial::unsafe_arena_set_allocated_header(
352 ::ignition::msgs::Header* header) {
353 if (GetArena() ==
nullptr) {
354 delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*
>(header_);
364 inline ::ignition::msgs::Header* Inertial::release_header() {
366 ::ignition::msgs::Header* temp = header_;
368 if (GetArena() !=
nullptr) {
369 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
373 inline ::ignition::msgs::Header* Inertial::unsafe_arena_release_header() {
376 ::ignition::msgs::Header* temp = header_;
380 inline ::ignition::msgs::Header* Inertial::_internal_mutable_header() {
382 if (header_ ==
nullptr) {
383 auto* p = CreateMaybeMessage<::ignition::msgs::Header>(GetArena());
388 inline ::ignition::msgs::Header* Inertial::mutable_header() {
390 return _internal_mutable_header();
392 inline void Inertial::set_allocated_header(::ignition::msgs::Header* header) {
393 ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArena();
394 if (message_arena ==
nullptr) {
395 delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*
>(header_);
398 ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
399 reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*
>(header)->GetArena();
400 if (message_arena != submessage_arena) {
401 header = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
402 message_arena, header, submessage_arena);
413 inline void Inertial::clear_mass() {
416 inline double Inertial::_internal_mass()
const {
419 inline double Inertial::mass()
const {
421 return _internal_mass();
423 inline void Inertial::_internal_set_mass(
double value) {
427 inline void Inertial::set_mass(
double value) {
428 _internal_set_mass(value);
433 inline bool Inertial::_internal_has_pose()
const {
434 return this != internal_default_instance() && pose_ !=
nullptr;
436 inline bool Inertial::has_pose()
const {
437 return _internal_has_pose();
439 inline const ::ignition::msgs::Pose& Inertial::_internal_pose()
const {
440 const ::ignition::msgs::Pose* p = pose_;
441 return p !=
nullptr ? *p :
reinterpret_cast<const ::ignition::msgs::Pose&
>(
444 inline const ::ignition::msgs::Pose& Inertial::pose()
const {
446 return _internal_pose();
448 inline void Inertial::unsafe_arena_set_allocated_pose(
449 ::ignition::msgs::Pose* pose) {
450 if (GetArena() ==
nullptr) {
451 delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*
>(pose_);
461 inline ::ignition::msgs::Pose* Inertial::release_pose() {
463 ::ignition::msgs::Pose* temp = pose_;
465 if (GetArena() !=
nullptr) {
466 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
470 inline ::ignition::msgs::Pose* Inertial::unsafe_arena_release_pose() {
473 ::ignition::msgs::Pose* temp = pose_;
477 inline ::ignition::msgs::Pose* Inertial::_internal_mutable_pose() {
479 if (pose_ ==
nullptr) {
480 auto* p = CreateMaybeMessage<::ignition::msgs::Pose>(GetArena());
485 inline ::ignition::msgs::Pose* Inertial::mutable_pose() {
487 return _internal_mutable_pose();
489 inline void Inertial::set_allocated_pose(::ignition::msgs::Pose* pose) {
490 ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArena();
491 if (message_arena ==
nullptr) {
492 delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*
>(pose_);
495 ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
496 reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*
>(pose)->GetArena();
497 if (message_arena != submessage_arena) {
498 pose = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
499 message_arena, pose, submessage_arena);
510 inline void Inertial::clear_ixx() {
513 inline double Inertial::_internal_ixx()
const {
516 inline double Inertial::ixx()
const {
518 return _internal_ixx();
520 inline void Inertial::_internal_set_ixx(
double value) {
524 inline void Inertial::set_ixx(
double value) {
525 _internal_set_ixx(value);
530 inline void Inertial::clear_ixy() {
533 inline double Inertial::_internal_ixy()
const {
536 inline double Inertial::ixy()
const {
538 return _internal_ixy();
540 inline void Inertial::_internal_set_ixy(
double value) {
544 inline void Inertial::set_ixy(
double value) {
545 _internal_set_ixy(value);
550 inline void Inertial::clear_ixz() {
553 inline double Inertial::_internal_ixz()
const {
556 inline double Inertial::ixz()
const {
558 return _internal_ixz();
560 inline void Inertial::_internal_set_ixz(
double value) {
564 inline void Inertial::set_ixz(
double value) {
565 _internal_set_ixz(value);
570 inline void Inertial::clear_iyy() {
573 inline double Inertial::_internal_iyy()
const {
576 inline double Inertial::iyy()
const {
578 return _internal_iyy();
580 inline void Inertial::_internal_set_iyy(
double value) {
584 inline void Inertial::set_iyy(
double value) {
585 _internal_set_iyy(value);
590 inline void Inertial::clear_iyz() {
593 inline double Inertial::_internal_iyz()
const {
596 inline double Inertial::iyz()
const {
598 return _internal_iyz();
600 inline void Inertial::_internal_set_iyz(
double value) {
604 inline void Inertial::set_iyz(
double value) {
605 _internal_set_iyz(value);
610 inline void Inertial::clear_izz() {
613 inline double Inertial::_internal_izz()
const {
616 inline double Inertial::izz()
const {
618 return _internal_izz();
620 inline void Inertial::_internal_set_izz(
double value) {
624 inline void Inertial::set_izz(
double value) {
625 _internal_set_izz(value);
630 #pragma GCC diagnostic pop
647 #include <google/protobuf/port_undef.inc>
void CopyFrom(const Inertial &from)
void set_ixy(double value)
void set_ixz(double value)
::ignition::msgs::Pose * release_pose()
static const ::PROTOBUF_NAMESPACE_ID::Reflection * GetReflection()
Definition: inertial.pb.h:115
Inertial(const Inertial &from)
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final
void unsafe_arena_set_allocated_pose(::ignition::msgs::Pose *pose)
::ignition::msgs::Header * release_header()
::ignition::msgs::Header * mutable_header()
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * descriptor()
Definition: inertial.pb.h:109
friend void swap(Inertial &a, Inertial &b)
Definition: inertial.pb.h:127
void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message &from) final
Inertial * New() const final
Definition: inertial.pb.h:146
void set_mass(double value)
Inertial()
Definition: inertial.pb.h:87
void unsafe_arena_set_allocated_header(::ignition::msgs::Header *header)
static const Inertial * internal_default_instance()
Definition: inertial.pb.h:120
void set_ixx(double value)
void set_allocated_pose(::ignition::msgs::Pose *pose)
static const Inertial & default_instance()
Inertial(::PROTOBUF_NAMESPACE_ID::Arena *arena)
::ignition::msgs::Header * unsafe_arena_release_header()
void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message &from) final
Inertial & operator=(const Inertial &from)
Definition: inertial.pb.h:96
void UnsafeArenaSwap(Inertial *other)
Definition: inertial.pb.h:138
void MergeFrom(const Inertial &from)
void set_allocated_header(::ignition::msgs::Header *header)
const ::ignition::msgs::Pose & pose() const
void set_iyz(double value)
::ignition::msgs::Pose * unsafe_arena_release_pose()
::ignition::msgs::Pose * mutable_pose()
::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final
Inertial(Inertial &&from) noexcept
Definition: inertial.pb.h:91
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * GetDescriptor()
Definition: inertial.pb.h:112
void set_iyy(double value)
void set_izz(double value)
Inertial * New(::PROTOBUF_NAMESPACE_ID::Arena *arena) const final
Definition: inertial.pb.h:150
Inertial & operator=(Inertial &&from) noexcept
Definition: inertial.pb.h:100
void Swap(Inertial *other)
Definition: inertial.pb.h:130
const ::ignition::msgs::Header & header() const
IGNITION_MSGS_VISIBLEconst ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable descriptor_table_ignition_2fmsgs_2finertial_2eproto
std::shared_ptr< const Inertial > ConstInertialSharedPtr
Definition: inertial.pb.h:636
std::unique_ptr< Inertial > InertialUniquePtr
Definition: inertial.pb.h:633
IGNITION_MSGS_VISIBLE InertialDefaultTypeInternal _Inertial_default_instance_
std::shared_ptr< Inertial > InertialSharedPtr
Definition: inertial.pb.h:635
IGNITION_MSGS_VISIBLE HeaderDefaultTypeInternal _Header_default_instance_
IGNITION_MSGS_VISIBLE PoseDefaultTypeInternal _Pose_default_instance_
std::unique_ptr< const Inertial > ConstInertialUniquePtr
Definition: inertial.pb.h:634
Definition: actor.pb.h:52
Definition: inertial.pb.h:57
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)