4 #ifndef PROTOBUF_ignition_2fmsgs_2fgps_2eproto__INCLUDED 5 #define PROTOBUF_ignition_2fmsgs_2fgps_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> 32 #pragma GCC system_header 35 #pragma warning(disable: 4244 4267 4100 4244 4512 4127 4068 4275 4251) 38 #include <sys/sysmacros.h> 56 class IGNITION_MSGS_VISIBLE
GPS :
public ::google::protobuf::Message {
68 static const ::google::protobuf::Descriptor* descriptor();
69 static const GPS& default_instance();
71 void Swap(
GPS* other);
77 GPS* New(::google::protobuf::Arena* arena)
const;
78 void CopyFrom(const ::google::protobuf::Message& from);
79 void MergeFrom(const ::google::protobuf::Message& from);
80 void CopyFrom(
const GPS& from);
81 void MergeFrom(
const GPS& from);
83 bool IsInitialized()
const;
86 bool MergePartialFromCodedStream(
87 ::google::protobuf::io::CodedInputStream* input);
88 void SerializeWithCachedSizes(
89 ::google::protobuf::io::CodedOutputStream* output)
const;
90 ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
91 bool deterministic, ::google::protobuf::uint8* output)
const;
93 return InternalSerializeWithCachedSizesToArray(
false, output);
99 void SetCachedSize(
int size)
const;
100 void InternalSwap(
GPS* other);
102 inline ::google::protobuf::Arena* GetArenaNoVirtual()
const {
103 return _internal_metadata_.arena();
105 inline void* MaybeArenaPtr()
const {
106 return _internal_metadata_.raw_arena_ptr();
110 ::google::protobuf::Metadata GetMetadata()
const;
117 bool has_header()
const;
119 static const int kHeaderFieldNumber = 1;
120 const ::ignition::msgs::Header& header()
const;
126 void clear_link_name();
127 static const int kLinkNameFieldNumber = 2;
128 const ::std::string& link_name()
const;
129 void set_link_name(const ::std::string& value);
130 void set_link_name(
const char* value);
131 void set_link_name(
const char* value,
size_t size);
134 void set_allocated_link_name(::
std::string* link_name);
137 void clear_latitude_deg();
138 static const int kLatitudeDegFieldNumber = 3;
139 double latitude_deg()
const;
140 void set_latitude_deg(
double value);
143 void clear_longitude_deg();
144 static const int kLongitudeDegFieldNumber = 4;
145 double longitude_deg()
const;
146 void set_longitude_deg(
double value);
149 void clear_altitude();
150 static const int kAltitudeFieldNumber = 5;
151 double altitude()
const;
152 void set_altitude(
double value);
155 void clear_velocity_east();
156 static const int kVelocityEastFieldNumber = 6;
157 double velocity_east()
const;
158 void set_velocity_east(
double value);
161 void clear_velocity_north();
162 static const int kVelocityNorthFieldNumber = 7;
163 double velocity_north()
const;
164 void set_velocity_north(
double value);
167 void clear_velocity_up();
168 static const int kVelocityUpFieldNumber = 8;
169 double velocity_up()
const;
170 void set_velocity_up(
double value);
175 ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
176 bool _is_default_instance_;
178 ::google::protobuf::internal::ArenaStringPtr link_name_;
179 double latitude_deg_;
180 double longitude_deg_;
182 double velocity_east_;
183 double velocity_north_;
185 mutable int _cached_size_;
190 void InitAsDefaultInstance();
191 static GPS* default_instance_;
198 #if !PROTOBUF_INLINE_NOT_IN_HEADERS 203 return !_is_default_instance_ && header_ != NULL;
206 if (GetArenaNoVirtual() == NULL && header_ != NULL)
delete header_;
211 return header_ != NULL ? *header_ : *default_instance_->header_;
215 if (header_ == NULL) {
216 header_ = new ::ignition::msgs::Header;
241 link_name_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
245 return link_name_.GetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
249 link_name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
254 link_name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::
std::string(value));
259 link_name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
260 ::
std::string(reinterpret_cast<const char*>(value), size));
266 return link_name_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
271 return link_name_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
274 if (link_name != NULL) {
279 link_name_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), link_name);
289 return latitude_deg_;
293 latitude_deg_ = value;
303 return longitude_deg_;
307 longitude_deg_ = value;
331 return velocity_east_;
335 velocity_east_ = value;
345 return velocity_north_;
349 velocity_north_ = value;
363 velocity_up_ = value;
367 #endif // !PROTOBUF_INLINE_NOT_IN_HEADERS 383 #endif // PROTOBUF_ignition_2fmsgs_2fgps_2eproto__INCLUDED void protobuf_ShutdownFile_ignition_2fmsgs_2fgps_2eproto()
::std::string * release_link_name()
Definition: gps.pb.h:268
void set_longitude_deg(double value)
Definition: gps.pb.h:305
void clear_longitude_deg()
Definition: gps.pb.h:298
::std::string * mutable_link_name()
Definition: gps.pb.h:263
void set_allocated_link_name(::std::string *link_name)
Definition: gps.pb.h:273
bool has_header() const
Definition: gps.pb.h:202
double latitude_deg() const
Definition: gps.pb.h:287
void clear_header()
Definition: gps.pb.h:205
void clear_link_name()
Definition: gps.pb.h:240
void protobuf_AssignDesc_ignition_2fmsgs_2fgps_2eproto()
double velocity_east() const
Definition: gps.pb.h:329
std::unique_ptr< const GPS > ConstGPSUniquePtr
Definition: gps.pb.h:370
GPS & operator=(const GPS &from)
Definition: gps.pb.h:63
void set_link_name(const ::std::string &value)
Definition: gps.pb.h:247
GPS * New() const
Definition: gps.pb.h:75
int GetCachedSize() const
Definition: gps.pb.h:95
double altitude() const
Definition: gps.pb.h:315
const ::std::string & link_name() const
Definition: gps.pb.h:243
std::unique_ptr< GPS > GPSUniquePtr
Definition: gps.pb.h:369
void clear_latitude_deg()
Definition: gps.pb.h:284
double longitude_deg() const
Definition: gps.pb.h:301
void set_velocity_up(double value)
Definition: gps.pb.h:361
const ::ignition::msgs::Header & header() const
Definition: gps.pb.h:209
void clear_velocity_east()
Definition: gps.pb.h:326
void set_allocated_header(::ignition::msgs::Header *header)
Definition: gps.pb.h:228
double velocity_north() const
Definition: gps.pb.h:343
void clear_velocity_up()
Definition: gps.pb.h:354
void clear_velocity_north()
Definition: gps.pb.h:340
void clear_altitude()
Definition: gps.pb.h:312
std::shared_ptr< const GPS > ConstGPSSharedPtr
Definition: gps.pb.h:372
void set_altitude(double value)
Definition: gps.pb.h:319
void set_velocity_north(double value)
Definition: gps.pb.h:347
double velocity_up() const
Definition: gps.pb.h:357
::ignition::msgs::Header * release_header()
Definition: gps.pb.h:221
::google::protobuf::uint8 * SerializeWithCachedSizesToArray(::google::protobuf::uint8 *output) const
Definition: gps.pb.h:92
std::shared_ptr< GPS > GPSSharedPtr
Definition: gps.pb.h:371
void IGNITION_MSGS_VISIBLE protobuf_AddDesc_ignition_2fmsgs_2fgps_2eproto()
void set_latitude_deg(double value)
Definition: gps.pb.h:291
::ignition::msgs::Header * mutable_header()
Definition: gps.pb.h:213
void set_velocity_east(double value)
Definition: gps.pb.h:333