Gazebo Msgs

API Reference

5.11.0
build/ignition-msgs5/include/ignition/msgs/fog.pb.h
Go to the documentation of this file.
1 // Generated by the protocol buffer compiler. DO NOT EDIT!
2 // source: ignition/msgs/fog.proto
3 
4 #ifndef PROTOBUF_INCLUDED_ignition_2fmsgs_2ffog_2eproto
5 #define PROTOBUF_INCLUDED_ignition_2fmsgs_2ffog_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>
34 #include "ignition/msgs/color.pb.h"
36 #ifndef _MSC_VER
37 #pragma GCC system_header
38 #else
39 #pragma warning(push)
40 #pragma warning(disable: 4244 4267 4100 4244 4512 4127 4068 4275 4251)
41 #endif
42 #ifdef __linux__
43 #include <sys/sysmacros.h>
44 #endif
45 #include <memory>
46 #include <ignition/msgs/Export.hh>
47 // @@protoc_insertion_point(includes)
48 #define PROTOBUF_INTERNAL_EXPORT_protobuf_ignition_2fmsgs_2ffog_2eproto IGNITION_MSGS_VISIBLE
49 
51 // Internal implementation detail -- do not use these members.
52 struct IGNITION_MSGS_VISIBLE TableStruct {
53  static const ::google::protobuf::internal::ParseTableField entries[];
54  static const ::google::protobuf::internal::AuxillaryParseTableField aux[];
55  static const ::google::protobuf::internal::ParseTable schema[1];
56  static const ::google::protobuf::internal::FieldMetadata field_metadata[];
57  static const ::google::protobuf::internal::SerializationTable serialization_table[];
58  static const ::google::protobuf::uint32 offsets[];
59 };
60 void IGNITION_MSGS_VISIBLE AddDescriptors();
61 } // namespace protobuf_ignition_2fmsgs_2ffog_2eproto
62 namespace ignition {
63 namespace msgs {
64 class Fog;
65 class FogDefaultTypeInternal;
66 IGNITION_MSGS_VISIBLE extern FogDefaultTypeInternal _Fog_default_instance_;
67 } // namespace msgs
68 } // namespace ignition
69 namespace google {
70 namespace protobuf {
71 template<> IGNITION_MSGS_VISIBLE ::ignition::msgs::Fog* Arena::CreateMaybeMessage<::ignition::msgs::Fog>(Arena*);
72 } // namespace protobuf
73 } // namespace google
74 namespace ignition {
75 namespace msgs {
76 
84 };
85 IGNITION_MSGS_VISIBLE bool Fog_FogType_IsValid(int value);
89 
90 IGNITION_MSGS_VISIBLE const ::google::protobuf::EnumDescriptor* Fog_FogType_descriptor();
91 inline const ::std::string& Fog_FogType_Name(Fog_FogType value) {
92  return ::google::protobuf::internal::NameOfEnum(
93  Fog_FogType_descriptor(), value);
94 }
95 inline bool Fog_FogType_Parse(
96  const ::std::string& name, Fog_FogType* value) {
97  return ::google::protobuf::internal::ParseNamedEnum<Fog_FogType>(
98  Fog_FogType_descriptor(), name, value);
99 }
100 // ===================================================================
101 
102 class IGNITION_MSGS_VISIBLE Fog : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:ignition.msgs.Fog) */ {
103  public:
104  Fog();
105  virtual ~Fog();
106 
107  Fog(const Fog& from);
108 
109  inline Fog& operator=(const Fog& from) {
110  CopyFrom(from);
111  return *this;
112  }
113  #if LANG_CXX11
114  Fog(Fog&& from) noexcept
115  : Fog() {
116  *this = ::std::move(from);
117  }
118 
119  inline Fog& operator=(Fog&& from) noexcept {
120  if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
121  if (this != &from) InternalSwap(&from);
122  } else {
123  CopyFrom(from);
124  }
125  return *this;
126  }
127  #endif
128  static const ::google::protobuf::Descriptor* descriptor();
129  static const Fog& default_instance();
130 
131  static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
132  static inline const Fog* internal_default_instance() {
133  return reinterpret_cast<const Fog*>(
135  }
136  static constexpr int kIndexInFileMessages =
137  0;
138 
139  void Swap(Fog* other);
140  friend void swap(Fog& a, Fog& b) {
141  a.Swap(&b);
142  }
143 
144  // implements Message ----------------------------------------------
145 
146  inline Fog* New() const final {
147  return CreateMaybeMessage<Fog>(NULL);
148  }
149 
150  Fog* New(::google::protobuf::Arena* arena) const final {
151  return CreateMaybeMessage<Fog>(arena);
152  }
153  void CopyFrom(const ::google::protobuf::Message& from) final;
154  void MergeFrom(const ::google::protobuf::Message& from) final;
155  void CopyFrom(const Fog& from);
156  void MergeFrom(const Fog& from);
157  void Clear() final;
158  bool IsInitialized() const final;
159 
160  size_t ByteSizeLong() const final;
161  bool MergePartialFromCodedStream(
162  ::google::protobuf::io::CodedInputStream* input) final;
163  void SerializeWithCachedSizes(
164  ::google::protobuf::io::CodedOutputStream* output) const final;
165  ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
166  bool deterministic, ::google::protobuf::uint8* target) const final;
167  int GetCachedSize() const final { return _cached_size_.Get(); }
168 
169  private:
170  void SharedCtor();
171  void SharedDtor();
172  void SetCachedSize(int size) const final;
173  void InternalSwap(Fog* other);
174  private:
175  inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
176  return NULL;
177  }
178  inline void* MaybeArenaPtr() const {
179  return NULL;
180  }
181  public:
182 
183  ::google::protobuf::Metadata GetMetadata() const final;
184 
185  // nested types ----------------------------------------------------
186 
188  static const FogType NONE =
190  static const FogType LINEAR =
192  static const FogType EXPONENTIAL =
194  static const FogType EXPONENTIAL2 =
196  static inline bool FogType_IsValid(int value) {
197  return Fog_FogType_IsValid(value);
198  }
199  static const FogType FogType_MIN =
201  static const FogType FogType_MAX =
203  static const int FogType_ARRAYSIZE =
205  static inline const ::google::protobuf::EnumDescriptor*
207  return Fog_FogType_descriptor();
208  }
209  static inline const ::std::string& FogType_Name(FogType value) {
210  return Fog_FogType_Name(value);
211  }
212  static inline bool FogType_Parse(const ::std::string& name,
213  FogType* value) {
214  return Fog_FogType_Parse(name, value);
215  }
216 
217  // accessors -------------------------------------------------------
218 
219  // .ignition.msgs.Header header = 1;
220  bool has_header() const;
221  void clear_header();
222  static const int kHeaderFieldNumber = 1;
223  private:
224  const ::ignition::msgs::Header& _internal_header() const;
225  public:
226  const ::ignition::msgs::Header& header() const;
227  ::ignition::msgs::Header* release_header();
228  ::ignition::msgs::Header* mutable_header();
229  void set_allocated_header(::ignition::msgs::Header* header);
230 
231  // .ignition.msgs.Color color = 3;
232  bool has_color() const;
233  void clear_color();
234  static const int kColorFieldNumber = 3;
235  private:
236  const ::ignition::msgs::Color& _internal_color() const;
237  public:
238  const ::ignition::msgs::Color& color() const;
239  ::ignition::msgs::Color* release_color();
240  ::ignition::msgs::Color* mutable_color();
241  void set_allocated_color(::ignition::msgs::Color* color);
242 
243  // .ignition.msgs.Fog.FogType type = 2;
244  void clear_type();
245  static const int kTypeFieldNumber = 2;
246  ::ignition::msgs::Fog_FogType type() const;
247  void set_type(::ignition::msgs::Fog_FogType value);
248 
249  // float density = 4;
250  void clear_density();
251  static const int kDensityFieldNumber = 4;
252  float density() const;
253  void set_density(float value);
254 
255  // float start = 5;
256  void clear_start();
257  static const int kStartFieldNumber = 5;
258  float start() const;
259  void set_start(float value);
260 
261  // float end = 6;
262  void clear_end();
263  static const int kEndFieldNumber = 6;
264  float end() const;
265  void set_end(float value);
266 
267  // @@protoc_insertion_point(class_scope:ignition.msgs.Fog)
268  private:
269 
270  ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
271  ::ignition::msgs::Header* header_;
272  ::ignition::msgs::Color* color_;
273  int type_;
274  float density_;
275  float start_;
276  float end_;
277  mutable ::google::protobuf::internal::CachedSize _cached_size_;
278  friend struct ::protobuf_ignition_2fmsgs_2ffog_2eproto::TableStruct;
279 };
280 // ===================================================================
281 
282 
283 // ===================================================================
284 
285 #ifdef __GNUC__
286  #pragma GCC diagnostic push
287  #pragma GCC diagnostic ignored "-Wstrict-aliasing"
288 #endif // __GNUC__
289 // Fog
290 
291 // .ignition.msgs.Header header = 1;
292 inline bool Fog::has_header() const {
293  return this != internal_default_instance() && header_ != NULL;
294 }
295 inline const ::ignition::msgs::Header& Fog::_internal_header() const {
296  return *header_;
297 }
298 inline const ::ignition::msgs::Header& Fog::header() const {
299  const ::ignition::msgs::Header* p = header_;
300  // @@protoc_insertion_point(field_get:ignition.msgs.Fog.header)
301  return p != NULL ? *p : *reinterpret_cast<const ::ignition::msgs::Header*>(
303 }
304 inline ::ignition::msgs::Header* Fog::release_header() {
305  // @@protoc_insertion_point(field_release:ignition.msgs.Fog.header)
306 
307  ::ignition::msgs::Header* temp = header_;
308  header_ = NULL;
309  return temp;
310 }
311 inline ::ignition::msgs::Header* Fog::mutable_header() {
312 
313  if (header_ == NULL) {
314  auto* p = CreateMaybeMessage<::ignition::msgs::Header>(GetArenaNoVirtual());
315  header_ = p;
316  }
317  // @@protoc_insertion_point(field_mutable:ignition.msgs.Fog.header)
318  return header_;
319 }
321  ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
322  if (message_arena == NULL) {
323  delete reinterpret_cast< ::google::protobuf::MessageLite*>(header_);
324  }
325  if (header) {
326  ::google::protobuf::Arena* submessage_arena = NULL;
327  if (message_arena != submessage_arena) {
328  header = ::google::protobuf::internal::GetOwnedMessage(
329  message_arena, header, submessage_arena);
330  }
331 
332  } else {
333 
334  }
335  header_ = header;
336  // @@protoc_insertion_point(field_set_allocated:ignition.msgs.Fog.header)
337 }
338 
339 // .ignition.msgs.Fog.FogType type = 2;
340 inline void Fog::clear_type() {
341  type_ = 0;
342 }
344  // @@protoc_insertion_point(field_get:ignition.msgs.Fog.type)
345  return static_cast< ::ignition::msgs::Fog_FogType >(type_);
346 }
348 
349  type_ = value;
350  // @@protoc_insertion_point(field_set:ignition.msgs.Fog.type)
351 }
352 
353 // .ignition.msgs.Color color = 3;
354 inline bool Fog::has_color() const {
355  return this != internal_default_instance() && color_ != NULL;
356 }
357 inline const ::ignition::msgs::Color& Fog::_internal_color() const {
358  return *color_;
359 }
360 inline const ::ignition::msgs::Color& Fog::color() const {
361  const ::ignition::msgs::Color* p = color_;
362  // @@protoc_insertion_point(field_get:ignition.msgs.Fog.color)
363  return p != NULL ? *p : *reinterpret_cast<const ::ignition::msgs::Color*>(
365 }
366 inline ::ignition::msgs::Color* Fog::release_color() {
367  // @@protoc_insertion_point(field_release:ignition.msgs.Fog.color)
368 
369  ::ignition::msgs::Color* temp = color_;
370  color_ = NULL;
371  return temp;
372 }
373 inline ::ignition::msgs::Color* Fog::mutable_color() {
374 
375  if (color_ == NULL) {
376  auto* p = CreateMaybeMessage<::ignition::msgs::Color>(GetArenaNoVirtual());
377  color_ = p;
378  }
379  // @@protoc_insertion_point(field_mutable:ignition.msgs.Fog.color)
380  return color_;
381 }
383  ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
384  if (message_arena == NULL) {
385  delete reinterpret_cast< ::google::protobuf::MessageLite*>(color_);
386  }
387  if (color) {
388  ::google::protobuf::Arena* submessage_arena = NULL;
389  if (message_arena != submessage_arena) {
390  color = ::google::protobuf::internal::GetOwnedMessage(
391  message_arena, color, submessage_arena);
392  }
393 
394  } else {
395 
396  }
397  color_ = color;
398  // @@protoc_insertion_point(field_set_allocated:ignition.msgs.Fog.color)
399 }
400 
401 // float density = 4;
402 inline void Fog::clear_density() {
403  density_ = 0;
404 }
405 inline float Fog::density() const {
406  // @@protoc_insertion_point(field_get:ignition.msgs.Fog.density)
407  return density_;
408 }
409 inline void Fog::set_density(float value) {
410 
411  density_ = value;
412  // @@protoc_insertion_point(field_set:ignition.msgs.Fog.density)
413 }
414 
415 // float start = 5;
416 inline void Fog::clear_start() {
417  start_ = 0;
418 }
419 inline float Fog::start() const {
420  // @@protoc_insertion_point(field_get:ignition.msgs.Fog.start)
421  return start_;
422 }
423 inline void Fog::set_start(float value) {
424 
425  start_ = value;
426  // @@protoc_insertion_point(field_set:ignition.msgs.Fog.start)
427 }
428 
429 // float end = 6;
430 inline void Fog::clear_end() {
431  end_ = 0;
432 }
433 inline float Fog::end() const {
434  // @@protoc_insertion_point(field_get:ignition.msgs.Fog.end)
435  return end_;
436 }
437 inline void Fog::set_end(float value) {
438 
439  end_ = value;
440  // @@protoc_insertion_point(field_set:ignition.msgs.Fog.end)
441 }
442 
443 #ifdef __GNUC__
444  #pragma GCC diagnostic pop
445 #endif // __GNUC__
446 
451 // @@protoc_insertion_point(namespace_scope)
452 
453 } // namespace msgs
454 } // namespace ignition
455 
456 namespace google {
457 namespace protobuf {
458 
459 template <> struct is_proto_enum< ::ignition::msgs::Fog_FogType> : ::std::true_type {};
460 template <>
461 inline const EnumDescriptor* GetEnumDescriptor< ::ignition::msgs::Fog_FogType>() {
463 }
464 
465 } // namespace protobuf
466 } // namespace google
467 
468 #ifdef _MSC_VER
469 #pragma warning(pop)
470 #endif
471 // @@protoc_insertion_point(global_scope)
472 
473 #endif // PROTOBUF_INCLUDED_ignition_2fmsgs_2ffog_2eproto
std::unique_ptr< Fog > FogUniquePtr
Definition: build/ignition-msgs5/include/ignition/msgs/fog.pb.h:447
const Fog_FogType Fog_FogType_FogType_MIN
Definition: build/ignition-msgs5/include/ignition/msgs/fog.pb.h:86
bool Fog_FogType_Parse(const ::std::string &name, Fog_FogType *value)
Definition: build/ignition-msgs5/include/ignition/msgs/fog.pb.h:95
STL class.
Definition: build/ignition-msgs5/include/ignition/msgs/fog.pb.h:52
Fog_FogType
Definition: build/ignition-msgs5/include/ignition/msgs/fog.pb.h:77
void Swap(Fog *other)
void set_density(float value)
Definition: build/ignition-msgs5/include/ignition/msgs/fog.pb.h:409
::ignition::msgs::Header * mutable_header()
Definition: build/ignition-msgs5/include/ignition/msgs/fog.pb.h:311
::ignition::msgs::Fog_FogType type() const
Definition: build/ignition-msgs5/include/ignition/msgs/fog.pb.h:343
static const ::google::protobuf::EnumDescriptor * FogType_descriptor()
Definition: build/ignition-msgs5/include/ignition/msgs/fog.pb.h:206
void set_allocated_color(::ignition::msgs::Color *color)
Definition: build/ignition-msgs5/include/ignition/msgs/fog.pb.h:382
float density() const
Definition: build/ignition-msgs5/include/ignition/msgs/fog.pb.h:405
std::unique_ptr< const Fog > ConstFogUniquePtr
Definition: build/ignition-msgs5/include/ignition/msgs/fog.pb.h:448
void set_end(float value)
Definition: build/ignition-msgs5/include/ignition/msgs/fog.pb.h:437
static const Fog * internal_default_instance()
Definition: build/ignition-msgs5/include/ignition/msgs/fog.pb.h:132
IGNITION_MSGS_VISIBLE bool Fog_FogType_IsValid(int value)
@ Fog_FogType_Fog_FogType_INT_MIN_SENTINEL_DO_NOT_USE_
Definition: build/ignition-msgs5/include/ignition/msgs/fog.pb.h:82
const ::std::string & Fog_FogType_Name(Fog_FogType value)
Definition: build/ignition-msgs5/include/ignition/msgs/fog.pb.h:91
Fog & operator=(const Fog &from)
Definition: build/ignition-msgs5/include/ignition/msgs/fog.pb.h:109
@ Fog_FogType_EXPONENTIAL2
Definition: build/ignition-msgs5/include/ignition/msgs/fog.pb.h:81
void set_allocated_header(::ignition::msgs::Header *header)
Definition: build/ignition-msgs5/include/ignition/msgs/fog.pb.h:320
Definition: build/ignition-msgs5/include/ignition/msgs/fog.pb.h:102
::ignition::msgs::Color * release_color()
Definition: build/ignition-msgs5/include/ignition/msgs/fog.pb.h:366
@ Fog_FogType_LINEAR
Definition: build/ignition-msgs5/include/ignition/msgs/fog.pb.h:79
IGNITION_MSGS_VISIBLE FogDefaultTypeInternal _Fog_default_instance_
@ Fog_FogType_NONE
Definition: build/ignition-msgs5/include/ignition/msgs/fog.pb.h:78
IGNITION_MSGS_VISIBLE ColorDefaultTypeInternal _Color_default_instance_
void clear_density()
Definition: build/ignition-msgs5/include/ignition/msgs/fog.pb.h:402
@ Fog_FogType_EXPONENTIAL
Definition: build/ignition-msgs5/include/ignition/msgs/fog.pb.h:80
void set_type(::ignition::msgs::Fog_FogType value)
Definition: build/ignition-msgs5/include/ignition/msgs/fog.pb.h:347
Definition: build/ignition-msgs5/include/ignition/msgs/color.pb.h:77
Definition: build/ignition-msgs5/include/ignition/msgs/fog.pb.h:50
bool has_color() const
Definition: build/ignition-msgs5/include/ignition/msgs/fog.pb.h:354
static bool FogType_Parse(const ::std::string &name, FogType *value)
Definition: build/ignition-msgs5/include/ignition/msgs/fog.pb.h:212
float end() const
Definition: build/ignition-msgs5/include/ignition/msgs/fog.pb.h:433
static const ::std::string & FogType_Name(FogType value)
Definition: build/ignition-msgs5/include/ignition/msgs/fog.pb.h:209
Fog * New(::google::protobuf::Arena *arena) const final
Definition: build/ignition-msgs5/include/ignition/msgs/fog.pb.h:150
const IGNITION_MSGS_VISIBLE ::google::protobuf::EnumDescriptor * Fog_FogType_descriptor()
IGNITION_MSGS_VISIBLE HeaderDefaultTypeInternal _Header_default_instance_
const ::ignition::msgs::Color & color() const
Definition: build/ignition-msgs5/include/ignition/msgs/fog.pb.h:360
bool has_header() const
Definition: build/ignition-msgs5/include/ignition/msgs/fog.pb.h:292
friend void swap(Fog &a, Fog &b)
Definition: build/ignition-msgs5/include/ignition/msgs/fog.pb.h:140
Definition: build/ignition-msgs5/include/ignition/msgs/header.pb.h:215
const Fog_FogType Fog_FogType_FogType_MAX
Definition: build/ignition-msgs5/include/ignition/msgs/fog.pb.h:87
@ Fog_FogType_Fog_FogType_INT_MAX_SENTINEL_DO_NOT_USE_
Definition: build/ignition-msgs5/include/ignition/msgs/fog.pb.h:83
const ::ignition::msgs::Header & header() const
Definition: build/ignition-msgs5/include/ignition/msgs/fog.pb.h:298
Fog * New() const final
Definition: build/ignition-msgs5/include/ignition/msgs/fog.pb.h:146
void set_start(float value)
Definition: build/ignition-msgs5/include/ignition/msgs/fog.pb.h:423
void clear_start()
Definition: build/ignition-msgs5/include/ignition/msgs/fog.pb.h:416
void IGNITION_MSGS_VISIBLE AddDescriptors()
const int Fog_FogType_FogType_ARRAYSIZE
Definition: build/ignition-msgs5/include/ignition/msgs/fog.pb.h:88
float start() const
Definition: build/ignition-msgs5/include/ignition/msgs/fog.pb.h:419
STL class.
void clear_type()
Definition: build/ignition-msgs5/include/ignition/msgs/fog.pb.h:340
::ignition::msgs::Header * release_header()
Definition: build/ignition-msgs5/include/ignition/msgs/fog.pb.h:304
Definition: build/ignition-msgs5/include/ignition/msgs/actor.pb.h:78
void clear_end()
Definition: build/ignition-msgs5/include/ignition/msgs/fog.pb.h:430
std::shared_ptr< const Fog > ConstFogSharedPtr
Definition: build/ignition-msgs5/include/ignition/msgs/fog.pb.h:450
std::shared_ptr< Fog > FogSharedPtr
Definition: build/ignition-msgs5/include/ignition/msgs/fog.pb.h:449
::ignition::msgs::Color * mutable_color()
Definition: build/ignition-msgs5/include/ignition/msgs/fog.pb.h:373