4 #ifndef PROTOBUF_ignition_2fmsgs_2finertial_2eproto__INCLUDED 5 #define PROTOBUF_ignition_2fmsgs_2finertial_2eproto__INCLUDED 9 #include <google/protobuf/stubs/common.h> 11 #if GOOGLE_PROTOBUF_VERSION < 3000000 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 3000000 < GOOGLE_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/arena.h> 23 #include <google/protobuf/arenastring.h> 24 #include <google/protobuf/generated_message_util.h> 25 #include <google/protobuf/metadata.h> 26 #include <google/protobuf/message.h> 27 #include <google/protobuf/repeated_field.h> 28 #include <google/protobuf/extension_set.h> 29 #include <google/protobuf/unknown_field_set.h> 33 #pragma GCC system_header 36 #pragma warning(disable: 4244 4267 4100 4244 4512 4127 4068 4275 4251) 39 #include <sys/sysmacros.h> 57 class IGNITION_MSGS_VISIBLE
Inertial :
public ::google::protobuf::Message {
69 static const ::google::protobuf::Descriptor* descriptor();
70 static const Inertial& default_instance();
78 Inertial* New(::google::protobuf::Arena* arena)
const;
79 void CopyFrom(const ::google::protobuf::Message& from);
80 void MergeFrom(const ::google::protobuf::Message& from);
82 void MergeFrom(
const Inertial& from);
84 bool IsInitialized()
const;
87 bool MergePartialFromCodedStream(
88 ::google::protobuf::io::CodedInputStream* input);
89 void SerializeWithCachedSizes(
90 ::google::protobuf::io::CodedOutputStream* output)
const;
91 ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
92 bool deterministic, ::google::protobuf::uint8* output)
const;
94 return InternalSerializeWithCachedSizesToArray(
false, output);
100 void SetCachedSize(
int size)
const;
103 inline ::google::protobuf::Arena* GetArenaNoVirtual()
const {
104 return _internal_metadata_.arena();
106 inline void* MaybeArenaPtr()
const {
107 return _internal_metadata_.raw_arena_ptr();
111 ::google::protobuf::Metadata GetMetadata()
const;
118 bool has_header()
const;
120 static const int kHeaderFieldNumber = 1;
121 const ::ignition::msgs::Header& header()
const;
128 static const int kMassFieldNumber = 2;
130 void set_mass(
double value);
133 bool has_pose()
const;
135 static const int kPoseFieldNumber = 3;
136 const ::ignition::msgs::Pose& pose()
const;
143 static const int kIxxFieldNumber = 4;
145 void set_ixx(
double value);
149 static const int kIxyFieldNumber = 5;
151 void set_ixy(
double value);
155 static const int kIxzFieldNumber = 6;
157 void set_ixz(
double value);
161 static const int kIyyFieldNumber = 7;
163 void set_iyy(
double value);
167 static const int kIyzFieldNumber = 8;
169 void set_iyz(
double value);
173 static const int kIzzFieldNumber = 9;
175 void set_izz(
double value);
180 ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
181 bool _is_default_instance_;
191 mutable int _cached_size_;
196 void InitAsDefaultInstance();
204 #if !PROTOBUF_INLINE_NOT_IN_HEADERS 209 return !_is_default_instance_ && header_ != NULL;
212 if (GetArenaNoVirtual() == NULL && header_ != NULL)
delete header_;
217 return header_ != NULL ? *header_ : *default_instance_->header_;
221 if (header_ == NULL) {
222 header_ = new ::ignition::msgs::Header;
261 return !_is_default_instance_ && pose_ != NULL;
264 if (GetArenaNoVirtual() == NULL && pose_ != NULL)
delete pose_;
269 return pose_ != NULL ? *pose_ : *default_instance_->pose_;
274 pose_ = new ::ignition::msgs::Pose;
381 #endif // !PROTOBUF_INLINE_NOT_IN_HEADERS 397 #endif // PROTOBUF_ignition_2fmsgs_2finertial_2eproto__INCLUDED ::ignition::msgs::Pose * mutable_pose()
Definition: inertial.pb.h:271
double izz() const
Definition: inertial.pb.h:371
double mass() const
Definition: inertial.pb.h:249
::ignition::msgs::Header * mutable_header()
Definition: inertial.pb.h:219
Inertial & operator=(const Inertial &from)
Definition: inertial.pb.h:64
void set_ixz(double value)
Definition: inertial.pb.h:333
double iyz() const
Definition: inertial.pb.h:357
void set_allocated_pose(::ignition::msgs::Pose *pose)
Definition: inertial.pb.h:286
void set_izz(double value)
Definition: inertial.pb.h:375
void clear_ixy()
Definition: inertial.pb.h:312
::ignition::msgs::Pose * release_pose()
Definition: inertial.pb.h:279
void clear_header()
Definition: inertial.pb.h:211
std::shared_ptr< Inertial > InertialSharedPtr
Definition: inertial.pb.h:385
const ::ignition::msgs::Header & header() const
Definition: inertial.pb.h:215
void clear_iyz()
Definition: inertial.pb.h:354
void set_mass(double value)
Definition: inertial.pb.h:253
void set_allocated_header(::ignition::msgs::Header *header)
Definition: inertial.pb.h:234
void protobuf_AssignDesc_ignition_2fmsgs_2finertial_2eproto()
const ::ignition::msgs::Pose & pose() const
Definition: inertial.pb.h:267
double ixy() const
Definition: inertial.pb.h:315
void clear_ixz()
Definition: inertial.pb.h:326
bool has_pose() const
Definition: inertial.pb.h:260
void clear_pose()
Definition: inertial.pb.h:263
void set_ixy(double value)
Definition: inertial.pb.h:319
double iyy() const
Definition: inertial.pb.h:343
void clear_izz()
Definition: inertial.pb.h:368
std::shared_ptr< const Inertial > ConstInertialSharedPtr
Definition: inertial.pb.h:386
Definition: inertial.pb.h:57
void clear_mass()
Definition: inertial.pb.h:246
int GetCachedSize() const
Definition: inertial.pb.h:96
double ixz() const
Definition: inertial.pb.h:329
Inertial * New() const
Definition: inertial.pb.h:76
void clear_iyy()
Definition: inertial.pb.h:340
std::unique_ptr< Inertial > InertialUniquePtr
Definition: inertial.pb.h:383
void set_ixx(double value)
Definition: inertial.pb.h:305
double ixx() const
Definition: inertial.pb.h:301
void IGNITION_MSGS_VISIBLE protobuf_AddDesc_ignition_2fmsgs_2finertial_2eproto()
bool has_header() const
Definition: inertial.pb.h:208
::google::protobuf::uint8 * SerializeWithCachedSizesToArray(::google::protobuf::uint8 *output) const
Definition: inertial.pb.h:93
void set_iyy(double value)
Definition: inertial.pb.h:347
::ignition::msgs::Header * release_header()
Definition: inertial.pb.h:227
void clear_ixx()
Definition: inertial.pb.h:298
void set_iyz(double value)
Definition: inertial.pb.h:361
std::unique_ptr< const Inertial > ConstInertialUniquePtr
Definition: inertial.pb.h:384
void protobuf_ShutdownFile_ignition_2fmsgs_2finertial_2eproto()