Gazebo Msgs

API Reference

5.11.0
build/ignition-msgs5/include/ignition/msgs/spherical_coordinates.pb.h
Go to the documentation of this file.
1 // Generated by the protocol buffer compiler. DO NOT EDIT!
2 // source: ignition/msgs/spherical_coordinates.proto
3 
4 #ifndef PROTOBUF_INCLUDED_ignition_2fmsgs_2fspherical_5fcoordinates_2eproto
5 #define PROTOBUF_INCLUDED_ignition_2fmsgs_2fspherical_5fcoordinates_2eproto
6 
7 #include <string>
8 
9 #include <google/protobuf/stubs/common.h>
10 
11 #if GOOGLE_PROTOBUF_VERSION < 3006001
12 #error This file was generated by a newer version of protoc which is
13 #error incompatible with your Protocol Buffer headers. Please update
14 #error your headers.
15 #endif
16 #if 3006001 < 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.
20 #endif
21 
22 #include <google/protobuf/io/coded_stream.h>
23 #include <google/protobuf/arena.h>
24 #include <google/protobuf/arenastring.h>
25 #include <google/protobuf/generated_message_table_driven.h>
26 #include <google/protobuf/generated_message_util.h>
27 #include <google/protobuf/inlined_string_field.h>
28 #include <google/protobuf/metadata.h>
29 #include <google/protobuf/message.h>
30 #include <google/protobuf/repeated_field.h> // IWYU pragma: export
31 #include <google/protobuf/extension_set.h> // IWYU pragma: export
32 #include <google/protobuf/generated_enum_reflection.h>
33 #include <google/protobuf/unknown_field_set.h>
35 #ifndef _MSC_VER
36 #pragma GCC system_header
37 #else
38 #pragma warning(push)
39 #pragma warning(disable: 4244 4267 4100 4244 4512 4127 4068 4275 4251)
40 #endif
41 #ifdef __linux__
42 #include <sys/sysmacros.h>
43 #endif
44 #include <memory>
45 #include <ignition/msgs/Export.hh>
46 // @@protoc_insertion_point(includes)
47 #define PROTOBUF_INTERNAL_EXPORT_protobuf_ignition_2fmsgs_2fspherical_5fcoordinates_2eproto IGNITION_MSGS_VISIBLE
48 
50 // Internal implementation detail -- do not use these members.
51 struct IGNITION_MSGS_VISIBLE TableStruct {
52  static const ::google::protobuf::internal::ParseTableField entries[];
53  static const ::google::protobuf::internal::AuxillaryParseTableField aux[];
54  static const ::google::protobuf::internal::ParseTable schema[1];
55  static const ::google::protobuf::internal::FieldMetadata field_metadata[];
56  static const ::google::protobuf::internal::SerializationTable serialization_table[];
57  static const ::google::protobuf::uint32 offsets[];
58 };
59 void IGNITION_MSGS_VISIBLE AddDescriptors();
60 } // namespace protobuf_ignition_2fmsgs_2fspherical_5fcoordinates_2eproto
61 namespace ignition {
62 namespace msgs {
63 class SphericalCoordinates;
64 class SphericalCoordinatesDefaultTypeInternal;
65 IGNITION_MSGS_VISIBLE extern SphericalCoordinatesDefaultTypeInternal _SphericalCoordinates_default_instance_;
66 } // namespace msgs
67 } // namespace ignition
68 namespace google {
69 namespace protobuf {
70 template<> IGNITION_MSGS_VISIBLE ::ignition::msgs::SphericalCoordinates* Arena::CreateMaybeMessage<::ignition::msgs::SphericalCoordinates>(Arena*);
71 } // namespace protobuf
72 } // namespace google
73 namespace ignition {
74 namespace msgs {
75 
80 };
81 IGNITION_MSGS_VISIBLE bool SphericalCoordinates_SurfaceModel_IsValid(int value);
85 
86 IGNITION_MSGS_VISIBLE const ::google::protobuf::EnumDescriptor* SphericalCoordinates_SurfaceModel_descriptor();
88  return ::google::protobuf::internal::NameOfEnum(
90 }
92  const ::std::string& name, SphericalCoordinates_SurfaceModel* value) {
93  return ::google::protobuf::internal::ParseNamedEnum<SphericalCoordinates_SurfaceModel>(
95 }
96 // ===================================================================
97 
98 class IGNITION_MSGS_VISIBLE SphericalCoordinates : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:ignition.msgs.SphericalCoordinates) */ {
99  public:
101  virtual ~SphericalCoordinates();
102 
104 
106  CopyFrom(from);
107  return *this;
108  }
109  #if LANG_CXX11
112  *this = ::std::move(from);
113  }
114 
115  inline SphericalCoordinates& operator=(SphericalCoordinates&& from) noexcept {
116  if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
117  if (this != &from) InternalSwap(&from);
118  } else {
119  CopyFrom(from);
120  }
121  return *this;
122  }
123  #endif
124  static const ::google::protobuf::Descriptor* descriptor();
125  static const SphericalCoordinates& default_instance();
126 
127  static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
129  return reinterpret_cast<const SphericalCoordinates*>(
131  }
132  static constexpr int kIndexInFileMessages =
133  0;
134 
135  void Swap(SphericalCoordinates* other);
137  a.Swap(&b);
138  }
139 
140  // implements Message ----------------------------------------------
141 
142  inline SphericalCoordinates* New() const final {
143  return CreateMaybeMessage<SphericalCoordinates>(NULL);
144  }
145 
146  SphericalCoordinates* New(::google::protobuf::Arena* arena) const final {
147  return CreateMaybeMessage<SphericalCoordinates>(arena);
148  }
149  void CopyFrom(const ::google::protobuf::Message& from) final;
150  void MergeFrom(const ::google::protobuf::Message& from) final;
151  void CopyFrom(const SphericalCoordinates& from);
152  void MergeFrom(const SphericalCoordinates& from);
153  void Clear() final;
154  bool IsInitialized() const final;
155 
156  size_t ByteSizeLong() const final;
157  bool MergePartialFromCodedStream(
158  ::google::protobuf::io::CodedInputStream* input) final;
159  void SerializeWithCachedSizes(
160  ::google::protobuf::io::CodedOutputStream* output) const final;
161  ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
162  bool deterministic, ::google::protobuf::uint8* target) const final;
163  int GetCachedSize() const final { return _cached_size_.Get(); }
164 
165  private:
166  void SharedCtor();
167  void SharedDtor();
168  void SetCachedSize(int size) const final;
169  void InternalSwap(SphericalCoordinates* other);
170  private:
171  inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
172  return NULL;
173  }
174  inline void* MaybeArenaPtr() const {
175  return NULL;
176  }
177  public:
178 
179  ::google::protobuf::Metadata GetMetadata() const final;
180 
181  // nested types ----------------------------------------------------
182 
184  static const SurfaceModel EARTH_WGS84 =
186  static inline bool SurfaceModel_IsValid(int value) {
188  }
189  static const SurfaceModel SurfaceModel_MIN =
191  static const SurfaceModel SurfaceModel_MAX =
193  static const int SurfaceModel_ARRAYSIZE =
195  static inline const ::google::protobuf::EnumDescriptor*
198  }
199  static inline const ::std::string& SurfaceModel_Name(SurfaceModel value) {
201  }
202  static inline bool SurfaceModel_Parse(const ::std::string& name,
203  SurfaceModel* value) {
204  return SphericalCoordinates_SurfaceModel_Parse(name, value);
205  }
206 
207  // accessors -------------------------------------------------------
208 
209  // .ignition.msgs.Header header = 1;
210  bool has_header() const;
211  void clear_header();
212  static const int kHeaderFieldNumber = 1;
213  private:
214  const ::ignition::msgs::Header& _internal_header() const;
215  public:
216  const ::ignition::msgs::Header& header() const;
217  ::ignition::msgs::Header* release_header();
218  ::ignition::msgs::Header* mutable_header();
219  void set_allocated_header(::ignition::msgs::Header* header);
220 
221  // double latitude_deg = 3;
222  void clear_latitude_deg();
223  static const int kLatitudeDegFieldNumber = 3;
224  double latitude_deg() const;
225  void set_latitude_deg(double value);
226 
227  // double longitude_deg = 4;
228  void clear_longitude_deg();
229  static const int kLongitudeDegFieldNumber = 4;
230  double longitude_deg() const;
231  void set_longitude_deg(double value);
232 
233  // double elevation = 5;
234  void clear_elevation();
235  static const int kElevationFieldNumber = 5;
236  double elevation() const;
237  void set_elevation(double value);
238 
239  // double heading_deg = 6;
240  void clear_heading_deg();
241  static const int kHeadingDegFieldNumber = 6;
242  double heading_deg() const;
243  void set_heading_deg(double value);
244 
245  // .ignition.msgs.SphericalCoordinates.SurfaceModel surface_model = 2;
246  void clear_surface_model();
247  static const int kSurfaceModelFieldNumber = 2;
249  void set_surface_model(::ignition::msgs::SphericalCoordinates_SurfaceModel value);
250 
251  // @@protoc_insertion_point(class_scope:ignition.msgs.SphericalCoordinates)
252  private:
253 
254  ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
255  ::ignition::msgs::Header* header_;
256  double latitude_deg_;
257  double longitude_deg_;
258  double elevation_;
259  double heading_deg_;
260  int surface_model_;
261  mutable ::google::protobuf::internal::CachedSize _cached_size_;
262  friend struct ::protobuf_ignition_2fmsgs_2fspherical_5fcoordinates_2eproto::TableStruct;
263 };
264 // ===================================================================
265 
266 
267 // ===================================================================
268 
269 #ifdef __GNUC__
270  #pragma GCC diagnostic push
271  #pragma GCC diagnostic ignored "-Wstrict-aliasing"
272 #endif // __GNUC__
273 // SphericalCoordinates
274 
275 // .ignition.msgs.Header header = 1;
276 inline bool SphericalCoordinates::has_header() const {
277  return this != internal_default_instance() && header_ != NULL;
278 }
279 inline const ::ignition::msgs::Header& SphericalCoordinates::_internal_header() const {
280  return *header_;
281 }
282 inline const ::ignition::msgs::Header& SphericalCoordinates::header() const {
283  const ::ignition::msgs::Header* p = header_;
284  // @@protoc_insertion_point(field_get:ignition.msgs.SphericalCoordinates.header)
285  return p != NULL ? *p : *reinterpret_cast<const ::ignition::msgs::Header*>(
287 }
288 inline ::ignition::msgs::Header* SphericalCoordinates::release_header() {
289  // @@protoc_insertion_point(field_release:ignition.msgs.SphericalCoordinates.header)
290 
291  ::ignition::msgs::Header* temp = header_;
292  header_ = NULL;
293  return temp;
294 }
295 inline ::ignition::msgs::Header* SphericalCoordinates::mutable_header() {
296 
297  if (header_ == NULL) {
298  auto* p = CreateMaybeMessage<::ignition::msgs::Header>(GetArenaNoVirtual());
299  header_ = p;
300  }
301  // @@protoc_insertion_point(field_mutable:ignition.msgs.SphericalCoordinates.header)
302  return header_;
303 }
305  ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
306  if (message_arena == NULL) {
307  delete reinterpret_cast< ::google::protobuf::MessageLite*>(header_);
308  }
309  if (header) {
310  ::google::protobuf::Arena* submessage_arena = NULL;
311  if (message_arena != submessage_arena) {
312  header = ::google::protobuf::internal::GetOwnedMessage(
313  message_arena, header, submessage_arena);
314  }
315 
316  } else {
317 
318  }
319  header_ = header;
320  // @@protoc_insertion_point(field_set_allocated:ignition.msgs.SphericalCoordinates.header)
321 }
322 
323 // .ignition.msgs.SphericalCoordinates.SurfaceModel surface_model = 2;
325  surface_model_ = 0;
326 }
328  // @@protoc_insertion_point(field_get:ignition.msgs.SphericalCoordinates.surface_model)
329  return static_cast< ::ignition::msgs::SphericalCoordinates_SurfaceModel >(surface_model_);
330 }
332 
333  surface_model_ = value;
334  // @@protoc_insertion_point(field_set:ignition.msgs.SphericalCoordinates.surface_model)
335 }
336 
337 // double latitude_deg = 3;
339  latitude_deg_ = 0;
340 }
341 inline double SphericalCoordinates::latitude_deg() const {
342  // @@protoc_insertion_point(field_get:ignition.msgs.SphericalCoordinates.latitude_deg)
343  return latitude_deg_;
344 }
345 inline void SphericalCoordinates::set_latitude_deg(double value) {
346 
347  latitude_deg_ = value;
348  // @@protoc_insertion_point(field_set:ignition.msgs.SphericalCoordinates.latitude_deg)
349 }
350 
351 // double longitude_deg = 4;
353  longitude_deg_ = 0;
354 }
355 inline double SphericalCoordinates::longitude_deg() const {
356  // @@protoc_insertion_point(field_get:ignition.msgs.SphericalCoordinates.longitude_deg)
357  return longitude_deg_;
358 }
359 inline void SphericalCoordinates::set_longitude_deg(double value) {
360 
361  longitude_deg_ = value;
362  // @@protoc_insertion_point(field_set:ignition.msgs.SphericalCoordinates.longitude_deg)
363 }
364 
365 // double elevation = 5;
367  elevation_ = 0;
368 }
369 inline double SphericalCoordinates::elevation() const {
370  // @@protoc_insertion_point(field_get:ignition.msgs.SphericalCoordinates.elevation)
371  return elevation_;
372 }
373 inline void SphericalCoordinates::set_elevation(double value) {
374 
375  elevation_ = value;
376  // @@protoc_insertion_point(field_set:ignition.msgs.SphericalCoordinates.elevation)
377 }
378 
379 // double heading_deg = 6;
381  heading_deg_ = 0;
382 }
383 inline double SphericalCoordinates::heading_deg() const {
384  // @@protoc_insertion_point(field_get:ignition.msgs.SphericalCoordinates.heading_deg)
385  return heading_deg_;
386 }
387 inline void SphericalCoordinates::set_heading_deg(double value) {
388 
389  heading_deg_ = value;
390  // @@protoc_insertion_point(field_set:ignition.msgs.SphericalCoordinates.heading_deg)
391 }
392 
393 #ifdef __GNUC__
394  #pragma GCC diagnostic pop
395 #endif // __GNUC__
396 
401 // @@protoc_insertion_point(namespace_scope)
402 
403 } // namespace msgs
404 } // namespace ignition
405 
406 namespace google {
407 namespace protobuf {
408 
409 template <> struct is_proto_enum< ::ignition::msgs::SphericalCoordinates_SurfaceModel> : ::std::true_type {};
410 template <>
411 inline const EnumDescriptor* GetEnumDescriptor< ::ignition::msgs::SphericalCoordinates_SurfaceModel>() {
413 }
414 
415 } // namespace protobuf
416 } // namespace google
417 
418 #ifdef _MSC_VER
419 #pragma warning(pop)
420 #endif
421 // @@protoc_insertion_point(global_scope)
422 
423 #endif // PROTOBUF_INCLUDED_ignition_2fmsgs_2fspherical_5fcoordinates_2eproto
void set_heading_deg(double value)
Definition: build/ignition-msgs5/include/ignition/msgs/spherical_coordinates.pb.h:387
void set_latitude_deg(double value)
Definition: build/ignition-msgs5/include/ignition/msgs/spherical_coordinates.pb.h:345
@ SphericalCoordinates_SurfaceModel_SphericalCoordinates_SurfaceModel_INT_MIN_SENTINEL_DO_NOT_USE_
Definition: build/ignition-msgs5/include/ignition/msgs/spherical_coordinates.pb.h:78
std::unique_ptr< SphericalCoordinates > SphericalCoordinatesUniquePtr
Definition: build/ignition-msgs5/include/ignition/msgs/spherical_coordinates.pb.h:397
SphericalCoordinates * New(::google::protobuf::Arena *arena) const final
Definition: build/ignition-msgs5/include/ignition/msgs/spherical_coordinates.pb.h:146
STL class.
bool has_header() const
Definition: build/ignition-msgs5/include/ignition/msgs/spherical_coordinates.pb.h:276
SphericalCoordinates_SurfaceModel
Definition: build/ignition-msgs5/include/ignition/msgs/spherical_coordinates.pb.h:76
void clear_surface_model()
Definition: build/ignition-msgs5/include/ignition/msgs/spherical_coordinates.pb.h:324
::ignition::msgs::SphericalCoordinates_SurfaceModel surface_model() const
Definition: build/ignition-msgs5/include/ignition/msgs/spherical_coordinates.pb.h:327
IGNITION_MSGS_VISIBLE SphericalCoordinatesDefaultTypeInternal _SphericalCoordinates_default_instance_
@ SphericalCoordinates_SurfaceModel_EARTH_WGS84
Definition: build/ignition-msgs5/include/ignition/msgs/spherical_coordinates.pb.h:77
static const ::google::protobuf::EnumDescriptor * SurfaceModel_descriptor()
Definition: build/ignition-msgs5/include/ignition/msgs/spherical_coordinates.pb.h:196
const int SphericalCoordinates_SurfaceModel_SurfaceModel_ARRAYSIZE
Definition: build/ignition-msgs5/include/ignition/msgs/spherical_coordinates.pb.h:84
bool SphericalCoordinates_SurfaceModel_Parse(const ::std::string &name, SphericalCoordinates_SurfaceModel *value)
Definition: build/ignition-msgs5/include/ignition/msgs/spherical_coordinates.pb.h:91
Definition: build/ignition-msgs5/include/ignition/msgs/spherical_coordinates.pb.h:51
void clear_latitude_deg()
Definition: build/ignition-msgs5/include/ignition/msgs/spherical_coordinates.pb.h:338
::ignition::msgs::Header * release_header()
Definition: build/ignition-msgs5/include/ignition/msgs/spherical_coordinates.pb.h:288
void set_allocated_header(::ignition::msgs::Header *header)
Definition: build/ignition-msgs5/include/ignition/msgs/spherical_coordinates.pb.h:304
::ignition::msgs::Header * mutable_header()
Definition: build/ignition-msgs5/include/ignition/msgs/spherical_coordinates.pb.h:295
void set_surface_model(::ignition::msgs::SphericalCoordinates_SurfaceModel value)
Definition: build/ignition-msgs5/include/ignition/msgs/spherical_coordinates.pb.h:331
IGNITION_MSGS_VISIBLE bool SphericalCoordinates_SurfaceModel_IsValid(int value)
double latitude_deg() const
Definition: build/ignition-msgs5/include/ignition/msgs/spherical_coordinates.pb.h:341
const SphericalCoordinates_SurfaceModel SphericalCoordinates_SurfaceModel_SurfaceModel_MIN
Definition: build/ignition-msgs5/include/ignition/msgs/spherical_coordinates.pb.h:82
@ SphericalCoordinates_SurfaceModel_SphericalCoordinates_SurfaceModel_INT_MAX_SENTINEL_DO_NOT_USE_
Definition: build/ignition-msgs5/include/ignition/msgs/spherical_coordinates.pb.h:79
static const ::std::string & SurfaceModel_Name(SurfaceModel value)
Definition: build/ignition-msgs5/include/ignition/msgs/spherical_coordinates.pb.h:199
void clear_longitude_deg()
Definition: build/ignition-msgs5/include/ignition/msgs/spherical_coordinates.pb.h:352
SphericalCoordinates * New() const final
Definition: build/ignition-msgs5/include/ignition/msgs/spherical_coordinates.pb.h:142
void set_longitude_deg(double value)
Definition: build/ignition-msgs5/include/ignition/msgs/spherical_coordinates.pb.h:359
void set_elevation(double value)
Definition: build/ignition-msgs5/include/ignition/msgs/spherical_coordinates.pb.h:373
double heading_deg() const
Definition: build/ignition-msgs5/include/ignition/msgs/spherical_coordinates.pb.h:383
static const SphericalCoordinates * internal_default_instance()
Definition: build/ignition-msgs5/include/ignition/msgs/spherical_coordinates.pb.h:128
void Swap(SphericalCoordinates *other)
friend void swap(SphericalCoordinates &a, SphericalCoordinates &b)
Definition: build/ignition-msgs5/include/ignition/msgs/spherical_coordinates.pb.h:136
void clear_heading_deg()
Definition: build/ignition-msgs5/include/ignition/msgs/spherical_coordinates.pb.h:380
Definition: build/ignition-msgs5/include/ignition/msgs/spherical_coordinates.pb.h:49
IGNITION_MSGS_VISIBLE HeaderDefaultTypeInternal _Header_default_instance_
Definition: build/ignition-msgs5/include/ignition/msgs/header.pb.h:215
const SphericalCoordinates_SurfaceModel SphericalCoordinates_SurfaceModel_SurfaceModel_MAX
Definition: build/ignition-msgs5/include/ignition/msgs/spherical_coordinates.pb.h:83
void clear_elevation()
Definition: build/ignition-msgs5/include/ignition/msgs/spherical_coordinates.pb.h:366
std::unique_ptr< const SphericalCoordinates > ConstSphericalCoordinatesUniquePtr
Definition: build/ignition-msgs5/include/ignition/msgs/spherical_coordinates.pb.h:398
double elevation() const
Definition: build/ignition-msgs5/include/ignition/msgs/spherical_coordinates.pb.h:369
Definition: build/ignition-msgs5/include/ignition/msgs/spherical_coordinates.pb.h:98
std::shared_ptr< const SphericalCoordinates > ConstSphericalCoordinatesSharedPtr
Definition: build/ignition-msgs5/include/ignition/msgs/spherical_coordinates.pb.h:400
STL class.
SphericalCoordinates & operator=(const SphericalCoordinates &from)
Definition: build/ignition-msgs5/include/ignition/msgs/spherical_coordinates.pb.h:105
const ::std::string & SphericalCoordinates_SurfaceModel_Name(SphericalCoordinates_SurfaceModel value)
Definition: build/ignition-msgs5/include/ignition/msgs/spherical_coordinates.pb.h:87
const ::ignition::msgs::Header & header() const
Definition: build/ignition-msgs5/include/ignition/msgs/spherical_coordinates.pb.h:282
double longitude_deg() const
Definition: build/ignition-msgs5/include/ignition/msgs/spherical_coordinates.pb.h:355
Definition: build/ignition-msgs5/include/ignition/msgs/actor.pb.h:78
static bool SurfaceModel_Parse(const ::std::string &name, SurfaceModel *value)
Definition: build/ignition-msgs5/include/ignition/msgs/spherical_coordinates.pb.h:202
const IGNITION_MSGS_VISIBLE ::google::protobuf::EnumDescriptor * SphericalCoordinates_SurfaceModel_descriptor()
std::shared_ptr< SphericalCoordinates > SphericalCoordinatesSharedPtr
Definition: build/ignition-msgs5/include/ignition/msgs/spherical_coordinates.pb.h:399