4 #ifndef PROTOBUF_ignition_2fmsgs_2fodometry_2eproto__INCLUDED 5 #define PROTOBUF_ignition_2fmsgs_2fodometry_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> 34 #pragma GCC system_header 37 #pragma warning(disable: 4244 4267 4100 4244 4512 4127 4068 4275 4251) 40 #include <sys/sysmacros.h> 58 class IGNITION_MSGS_VISIBLE
Odometry :
public ::google::protobuf::Message {
70 static const ::google::protobuf::Descriptor* descriptor();
71 static const Odometry& default_instance();
79 Odometry* New(::google::protobuf::Arena* arena)
const;
80 void CopyFrom(const ::google::protobuf::Message& from);
81 void MergeFrom(const ::google::protobuf::Message& from);
83 void MergeFrom(
const Odometry& from);
85 bool IsInitialized()
const;
88 bool MergePartialFromCodedStream(
89 ::google::protobuf::io::CodedInputStream* input);
90 void SerializeWithCachedSizes(
91 ::google::protobuf::io::CodedOutputStream* output)
const;
92 ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
93 bool deterministic, ::google::protobuf::uint8* output)
const;
95 return InternalSerializeWithCachedSizesToArray(
false, output);
101 void SetCachedSize(
int size)
const;
104 inline ::google::protobuf::Arena* GetArenaNoVirtual()
const {
105 return _internal_metadata_.arena();
107 inline void* MaybeArenaPtr()
const {
108 return _internal_metadata_.raw_arena_ptr();
112 ::google::protobuf::Metadata GetMetadata()
const;
119 bool has_header()
const;
121 static const int kHeaderFieldNumber = 1;
122 const ::ignition::msgs::Header& header()
const;
128 bool has_pose()
const;
130 static const int kPoseFieldNumber = 2;
131 const ::ignition::msgs::Pose& pose()
const;
137 bool has_twist()
const;
139 static const int kTwistFieldNumber = 3;
140 const ::ignition::msgs::Twist& twist()
const;
148 ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
149 bool _is_default_instance_;
153 mutable int _cached_size_;
158 void InitAsDefaultInstance();
166 #if !PROTOBUF_INLINE_NOT_IN_HEADERS 171 return !_is_default_instance_ && header_ != NULL;
174 if (GetArenaNoVirtual() == NULL && header_ != NULL)
delete header_;
179 return header_ != NULL ? *header_ : *default_instance_->header_;
183 if (header_ == NULL) {
184 header_ = new ::ignition::msgs::Header;
209 return !_is_default_instance_ && pose_ != NULL;
212 if (GetArenaNoVirtual() == NULL && pose_ != NULL)
delete pose_;
217 return pose_ != NULL ? *pose_ : *default_instance_->pose_;
222 pose_ = new ::ignition::msgs::Pose;
247 return !_is_default_instance_ && twist_ != NULL;
250 if (GetArenaNoVirtual() == NULL && twist_ != NULL)
delete twist_;
255 return twist_ != NULL ? *twist_ : *default_instance_->twist_;
259 if (twist_ == NULL) {
260 twist_ = new ::ignition::msgs::Twist;
283 #endif // !PROTOBUF_INLINE_NOT_IN_HEADERS 299 #endif // PROTOBUF_ignition_2fmsgs_2fodometry_2eproto__INCLUDED
std::unique_ptr< Odometry > OdometryUniquePtr
Definition: odometry.pb.h:285
bool has_header() const
Definition: odometry.pb.h:170
const ::ignition::msgs::Twist & twist() const
Definition: odometry.pb.h:253
::ignition::msgs::Pose * release_pose()
Definition: odometry.pb.h:227
void set_allocated_pose(::ignition::msgs::Pose *pose)
Definition: odometry.pb.h:234
void protobuf_AssignDesc_ignition_2fmsgs_2fodometry_2eproto()
const ::ignition::msgs::Header & header() const
Definition: odometry.pb.h:177
Definition: twist.pb.h:57
::ignition::msgs::Header * release_header()
Definition: odometry.pb.h:189
std::unique_ptr< const Odometry > ConstOdometryUniquePtr
Definition: odometry.pb.h:286
bool has_twist() const
Definition: odometry.pb.h:246
::ignition::msgs::Header * mutable_header()
Definition: odometry.pb.h:181
std::shared_ptr< const Odometry > ConstOdometrySharedPtr
Definition: odometry.pb.h:288
const ::ignition::msgs::Pose & pose() const
Definition: odometry.pb.h:215
void set_allocated_header(::ignition::msgs::Header *header)
Definition: odometry.pb.h:196
int GetCachedSize() const
Definition: odometry.pb.h:97
Definition: odometry.pb.h:58
void clear_header()
Definition: odometry.pb.h:173
Odometry & operator=(const Odometry &from)
Definition: odometry.pb.h:65
void protobuf_ShutdownFile_ignition_2fmsgs_2fodometry_2eproto()
::ignition::msgs::Twist * release_twist()
Definition: odometry.pb.h:265
::ignition::msgs::Twist * mutable_twist()
Definition: odometry.pb.h:257
::google::protobuf::uint8 * SerializeWithCachedSizesToArray(::google::protobuf::uint8 *output) const
Definition: odometry.pb.h:94
void IGNITION_MSGS_VISIBLE protobuf_AddDesc_ignition_2fmsgs_2fodometry_2eproto()
bool has_pose() const
Definition: odometry.pb.h:208
::ignition::msgs::Pose * mutable_pose()
Definition: odometry.pb.h:219
void set_allocated_twist(::ignition::msgs::Twist *twist)
Definition: odometry.pb.h:272
void clear_twist()
Definition: odometry.pb.h:249
Odometry * New() const
Definition: odometry.pb.h:77
std::shared_ptr< Odometry > OdometrySharedPtr
Definition: odometry.pb.h:287
void clear_pose()
Definition: odometry.pb.h:211