4 #ifndef PROTOBUF_ignition_2fmsgs_2fgps_5fsensor_2eproto__INCLUDED 5 #define PROTOBUF_ignition_2fmsgs_2fgps_5fsensor_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> 54 class GPSSensor_Sensing;
70 static const ::google::protobuf::Descriptor* descriptor();
80 void CopyFrom(const ::google::protobuf::Message& from);
81 void MergeFrom(const ::google::protobuf::Message& 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_horizontal_noise()
const;
120 void clear_horizontal_noise();
121 static const int kHorizontalNoiseFieldNumber = 1;
122 const ::ignition::msgs::SensorNoise& horizontal_noise()
const;
128 bool has_vertical_noise()
const;
129 void clear_vertical_noise();
130 static const int kVerticalNoiseFieldNumber = 2;
131 const ::ignition::msgs::SensorNoise& vertical_noise()
const;
139 ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
140 bool _is_default_instance_;
143 mutable int _cached_size_;
148 void InitAsDefaultInstance();
153 class IGNITION_MSGS_VISIBLE
GPSSensor :
public ::google::protobuf::Message {
165 static const ::google::protobuf::Descriptor* descriptor();
166 static const GPSSensor& default_instance();
174 GPSSensor* New(::google::protobuf::Arena* arena)
const;
175 void CopyFrom(const ::google::protobuf::Message& from);
176 void MergeFrom(const ::google::protobuf::Message& from);
180 bool IsInitialized()
const;
182 int ByteSize()
const;
183 bool MergePartialFromCodedStream(
184 ::google::protobuf::io::CodedInputStream* input);
185 void SerializeWithCachedSizes(
186 ::google::protobuf::io::CodedOutputStream* output)
const;
187 ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
188 bool deterministic, ::google::protobuf::uint8* output)
const;
190 return InternalSerializeWithCachedSizesToArray(
false, output);
196 void SetCachedSize(
int size)
const;
199 inline ::google::protobuf::Arena* GetArenaNoVirtual()
const {
200 return _internal_metadata_.arena();
202 inline void* MaybeArenaPtr()
const {
203 return _internal_metadata_.raw_arena_ptr();
207 ::google::protobuf::Metadata GetMetadata()
const;
216 bool has_header()
const;
218 static const int kHeaderFieldNumber = 1;
219 const ::ignition::msgs::Header& header()
const;
225 bool has_position()
const;
226 void clear_position();
227 static const int kPositionFieldNumber = 2;
228 const ::ignition::msgs::GPSSensor_Sensing& position()
const;
234 bool has_velocity()
const;
235 void clear_velocity();
236 static const int kVelocityFieldNumber = 3;
237 const ::ignition::msgs::GPSSensor_Sensing& velocity()
const;
245 ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
246 bool _is_default_instance_;
250 mutable int _cached_size_;
255 void InitAsDefaultInstance();
263 #if !PROTOBUF_INLINE_NOT_IN_HEADERS 268 return !_is_default_instance_ && horizontal_noise_ != NULL;
271 if (GetArenaNoVirtual() == NULL && horizontal_noise_ != NULL)
delete horizontal_noise_;
272 horizontal_noise_ = NULL;
276 return horizontal_noise_ != NULL ? *horizontal_noise_ : *default_instance_->horizontal_noise_;
280 if (horizontal_noise_ == NULL) {
281 horizontal_noise_ = new ::ignition::msgs::SensorNoise;
284 return horizontal_noise_;
290 horizontal_noise_ = NULL;
294 delete horizontal_noise_;
295 horizontal_noise_ = horizontal_noise;
296 if (horizontal_noise) {
306 return !_is_default_instance_ && vertical_noise_ != NULL;
309 if (GetArenaNoVirtual() == NULL && vertical_noise_ != NULL)
delete vertical_noise_;
310 vertical_noise_ = NULL;
314 return vertical_noise_ != NULL ? *vertical_noise_ : *default_instance_->vertical_noise_;
318 if (vertical_noise_ == NULL) {
319 vertical_noise_ = new ::ignition::msgs::SensorNoise;
322 return vertical_noise_;
328 vertical_noise_ = NULL;
332 delete vertical_noise_;
333 vertical_noise_ = vertical_noise;
334 if (vertical_noise) {
348 return !_is_default_instance_ && header_ != NULL;
351 if (GetArenaNoVirtual() == NULL && header_ != NULL)
delete header_;
356 return header_ != NULL ? *header_ : *default_instance_->header_;
360 if (header_ == NULL) {
361 header_ = new ::ignition::msgs::Header;
386 return !_is_default_instance_ && position_ != NULL;
389 if (GetArenaNoVirtual() == NULL && position_ != NULL)
delete position_;
394 return position_ != NULL ? *position_ : *default_instance_->position_;
398 if (position_ == NULL) {
399 position_ = new ::ignition::msgs::GPSSensor_Sensing;
413 position_ = position;
424 return !_is_default_instance_ && velocity_ != NULL;
427 if (GetArenaNoVirtual() == NULL && velocity_ != NULL)
delete velocity_;
432 return velocity_ != NULL ? *velocity_ : *default_instance_->velocity_;
436 if (velocity_ == NULL) {
437 velocity_ = new ::ignition::msgs::GPSSensor_Sensing;
451 velocity_ = velocity;
460 #endif // !PROTOBUF_INLINE_NOT_IN_HEADERS 478 #endif // PROTOBUF_ignition_2fmsgs_2fgps_5fsensor_2eproto__INCLUDED bool has_position() const
Definition: gps_sensor.pb.h:385
int GetCachedSize() const
Definition: gps_sensor.pb.h:192
GPSSensor & operator=(const GPSSensor &from)
Definition: gps_sensor.pb.h:160
const ::ignition::msgs::SensorNoise & horizontal_noise() const
Definition: gps_sensor.pb.h:274
bool has_horizontal_noise() const
Definition: gps_sensor.pb.h:267
const ::ignition::msgs::SensorNoise & vertical_noise() const
Definition: gps_sensor.pb.h:312
void clear_position()
Definition: gps_sensor.pb.h:388
void clear_vertical_noise()
Definition: gps_sensor.pb.h:308
std::unique_ptr< GPSSensor > GPSSensorUniquePtr
Definition: gps_sensor.pb.h:464
void clear_velocity()
Definition: gps_sensor.pb.h:426
void set_allocated_vertical_noise(::ignition::msgs::SensorNoise *vertical_noise)
Definition: gps_sensor.pb.h:331
int GetCachedSize() const
Definition: gps_sensor.pb.h:97
void IGNITION_MSGS_VISIBLE protobuf_AddDesc_ignition_2fmsgs_2fgps_5fsensor_2eproto()
::google::protobuf::uint8 * SerializeWithCachedSizesToArray(::google::protobuf::uint8 *output) const
Definition: gps_sensor.pb.h:189
GPSSensor_Sensing & operator=(const GPSSensor_Sensing &from)
Definition: gps_sensor.pb.h:65
GPSSensor_Sensing * New() const
Definition: gps_sensor.pb.h:77
const ::ignition::msgs::GPSSensor_Sensing & position() const
Definition: gps_sensor.pb.h:392
::ignition::msgs::GPSSensor_Sensing * mutable_position()
Definition: gps_sensor.pb.h:396
::ignition::msgs::GPSSensor_Sensing * mutable_velocity()
Definition: gps_sensor.pb.h:434
void protobuf_ShutdownFile_ignition_2fmsgs_2fgps_5fsensor_2eproto()
GPSSensor_Sensing Sensing
Definition: gps_sensor.pb.h:211
Definition: sensor_noise.pb.h:79
const ::ignition::msgs::Header & header() const
Definition: gps_sensor.pb.h:354
::google::protobuf::uint8 * SerializeWithCachedSizesToArray(::google::protobuf::uint8 *output) const
Definition: gps_sensor.pb.h:94
bool has_header() const
Definition: gps_sensor.pb.h:347
::ignition::msgs::Header * mutable_header()
Definition: gps_sensor.pb.h:358
std::shared_ptr< GPSSensor > GPSSensorSharedPtr
Definition: gps_sensor.pb.h:466
::ignition::msgs::SensorNoise * mutable_horizontal_noise()
Definition: gps_sensor.pb.h:278
const ::ignition::msgs::GPSSensor_Sensing & velocity() const
Definition: gps_sensor.pb.h:430
::ignition::msgs::SensorNoise * mutable_vertical_noise()
Definition: gps_sensor.pb.h:316
void clear_header()
Definition: gps_sensor.pb.h:350
bool has_vertical_noise() const
Definition: gps_sensor.pb.h:305
GPSSensor * New() const
Definition: gps_sensor.pb.h:172
void protobuf_AssignDesc_ignition_2fmsgs_2fgps_5fsensor_2eproto()
bool has_velocity() const
Definition: gps_sensor.pb.h:423
void clear_horizontal_noise()
Definition: gps_sensor.pb.h:270
std::unique_ptr< const GPSSensor > ConstGPSSensorUniquePtr
Definition: gps_sensor.pb.h:465
std::shared_ptr< const GPSSensor > ConstGPSSensorSharedPtr
Definition: gps_sensor.pb.h:467
void set_allocated_horizontal_noise(::ignition::msgs::SensorNoise *horizontal_noise)
Definition: gps_sensor.pb.h:293
::ignition::msgs::GPSSensor_Sensing * release_position()
Definition: gps_sensor.pb.h:404
::ignition::msgs::SensorNoise * release_horizontal_noise()
Definition: gps_sensor.pb.h:286
void set_allocated_velocity(::ignition::msgs::GPSSensor_Sensing *velocity)
Definition: gps_sensor.pb.h:449
void set_allocated_position(::ignition::msgs::GPSSensor_Sensing *position)
Definition: gps_sensor.pb.h:411
Definition: gps_sensor.pb.h:58
::ignition::msgs::GPSSensor_Sensing * release_velocity()
Definition: gps_sensor.pb.h:442
::ignition::msgs::Header * release_header()
Definition: gps_sensor.pb.h:366
Definition: gps_sensor.pb.h:153
void set_allocated_header(::ignition::msgs::Header *header)
Definition: gps_sensor.pb.h:373
::ignition::msgs::SensorNoise * release_vertical_noise()
Definition: gps_sensor.pb.h:324