Gazebo Msgs

API Reference

5.11.0
build/ignition-msgs5/include/ignition/msgs/atmosphere.pb.h
Go to the documentation of this file.
1 // Generated by the protocol buffer compiler. DO NOT EDIT!
2 // source: ignition/msgs/atmosphere.proto
3 
4 #ifndef PROTOBUF_INCLUDED_ignition_2fmsgs_2fatmosphere_2eproto
5 #define PROTOBUF_INCLUDED_ignition_2fmsgs_2fatmosphere_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_2fatmosphere_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_2fatmosphere_2eproto
61 namespace ignition {
62 namespace msgs {
63 class Atmosphere;
64 class AtmosphereDefaultTypeInternal;
65 IGNITION_MSGS_VISIBLE extern AtmosphereDefaultTypeInternal _Atmosphere_default_instance_;
66 } // namespace msgs
67 } // namespace ignition
68 namespace google {
69 namespace protobuf {
70 template<> IGNITION_MSGS_VISIBLE ::ignition::msgs::Atmosphere* Arena::CreateMaybeMessage<::ignition::msgs::Atmosphere>(Arena*);
71 } // namespace protobuf
72 } // namespace google
73 namespace ignition {
74 namespace msgs {
75 
80 };
81 IGNITION_MSGS_VISIBLE bool Atmosphere_Type_IsValid(int value);
85 
86 IGNITION_MSGS_VISIBLE const ::google::protobuf::EnumDescriptor* Atmosphere_Type_descriptor();
87 inline const ::std::string& Atmosphere_Type_Name(Atmosphere_Type value) {
88  return ::google::protobuf::internal::NameOfEnum(
90 }
92  const ::std::string& name, Atmosphere_Type* value) {
93  return ::google::protobuf::internal::ParseNamedEnum<Atmosphere_Type>(
94  Atmosphere_Type_descriptor(), name, value);
95 }
96 // ===================================================================
97 
98 class IGNITION_MSGS_VISIBLE Atmosphere : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:ignition.msgs.Atmosphere) */ {
99  public:
100  Atmosphere();
101  virtual ~Atmosphere();
102 
103  Atmosphere(const Atmosphere& from);
104 
105  inline Atmosphere& operator=(const Atmosphere& from) {
106  CopyFrom(from);
107  return *this;
108  }
109  #if LANG_CXX11
110  Atmosphere(Atmosphere&& from) noexcept
111  : Atmosphere() {
112  *this = ::std::move(from);
113  }
114 
115  inline Atmosphere& operator=(Atmosphere&& 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 Atmosphere& default_instance();
126 
127  static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
128  static inline const Atmosphere* internal_default_instance() {
129  return reinterpret_cast<const Atmosphere*>(
131  }
132  static constexpr int kIndexInFileMessages =
133  0;
134 
135  void Swap(Atmosphere* other);
136  friend void swap(Atmosphere& a, Atmosphere& b) {
137  a.Swap(&b);
138  }
139 
140  // implements Message ----------------------------------------------
141 
142  inline Atmosphere* New() const final {
143  return CreateMaybeMessage<Atmosphere>(NULL);
144  }
145 
146  Atmosphere* New(::google::protobuf::Arena* arena) const final {
147  return CreateMaybeMessage<Atmosphere>(arena);
148  }
149  void CopyFrom(const ::google::protobuf::Message& from) final;
150  void MergeFrom(const ::google::protobuf::Message& from) final;
151  void CopyFrom(const Atmosphere& from);
152  void MergeFrom(const Atmosphere& 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(Atmosphere* 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 Type ADIABATIC =
186  static inline bool Type_IsValid(int value) {
187  return Atmosphere_Type_IsValid(value);
188  }
189  static const Type Type_MIN =
191  static const Type Type_MAX =
193  static const int Type_ARRAYSIZE =
195  static inline const ::google::protobuf::EnumDescriptor*
198  }
199  static inline const ::std::string& Type_Name(Type value) {
200  return Atmosphere_Type_Name(value);
201  }
202  static inline bool Type_Parse(const ::std::string& name,
203  Type* value) {
204  return Atmosphere_Type_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 temperature = 3;
222  void clear_temperature();
223  static const int kTemperatureFieldNumber = 3;
224  double temperature() const;
225  void set_temperature(double value);
226 
227  // double pressure = 4;
228  void clear_pressure();
229  static const int kPressureFieldNumber = 4;
230  double pressure() const;
231  void set_pressure(double value);
232 
233  // .ignition.msgs.Atmosphere.Type type = 2;
234  void clear_type();
235  static const int kTypeFieldNumber = 2;
237  void set_type(::ignition::msgs::Atmosphere_Type value);
238 
239  // bool enable_atmosphere = 6;
240  void clear_enable_atmosphere();
241  static const int kEnableAtmosphereFieldNumber = 6;
242  bool enable_atmosphere() const;
243  void set_enable_atmosphere(bool value);
244 
245  // double mass_density = 5;
246  void clear_mass_density();
247  static const int kMassDensityFieldNumber = 5;
248  double mass_density() const;
249  void set_mass_density(double value);
250 
251  // @@protoc_insertion_point(class_scope:ignition.msgs.Atmosphere)
252  private:
253 
254  ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
255  ::ignition::msgs::Header* header_;
256  double temperature_;
257  double pressure_;
258  int type_;
259  bool enable_atmosphere_;
260  double mass_density_;
261  mutable ::google::protobuf::internal::CachedSize _cached_size_;
262  friend struct ::protobuf_ignition_2fmsgs_2fatmosphere_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 // Atmosphere
274 
275 // .ignition.msgs.Header header = 1;
276 inline bool Atmosphere::has_header() const {
277  return this != internal_default_instance() && header_ != NULL;
278 }
279 inline const ::ignition::msgs::Header& Atmosphere::_internal_header() const {
280  return *header_;
281 }
282 inline const ::ignition::msgs::Header& Atmosphere::header() const {
283  const ::ignition::msgs::Header* p = header_;
284  // @@protoc_insertion_point(field_get:ignition.msgs.Atmosphere.header)
285  return p != NULL ? *p : *reinterpret_cast<const ::ignition::msgs::Header*>(
287 }
288 inline ::ignition::msgs::Header* Atmosphere::release_header() {
289  // @@protoc_insertion_point(field_release:ignition.msgs.Atmosphere.header)
290 
291  ::ignition::msgs::Header* temp = header_;
292  header_ = NULL;
293  return temp;
294 }
295 inline ::ignition::msgs::Header* Atmosphere::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.Atmosphere.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.Atmosphere.header)
321 }
322 
323 // .ignition.msgs.Atmosphere.Type type = 2;
324 inline void Atmosphere::clear_type() {
325  type_ = 0;
326 }
328  // @@protoc_insertion_point(field_get:ignition.msgs.Atmosphere.type)
329  return static_cast< ::ignition::msgs::Atmosphere_Type >(type_);
330 }
332 
333  type_ = value;
334  // @@protoc_insertion_point(field_set:ignition.msgs.Atmosphere.type)
335 }
336 
337 // double temperature = 3;
339  temperature_ = 0;
340 }
341 inline double Atmosphere::temperature() const {
342  // @@protoc_insertion_point(field_get:ignition.msgs.Atmosphere.temperature)
343  return temperature_;
344 }
345 inline void Atmosphere::set_temperature(double value) {
346 
347  temperature_ = value;
348  // @@protoc_insertion_point(field_set:ignition.msgs.Atmosphere.temperature)
349 }
350 
351 // double pressure = 4;
353  pressure_ = 0;
354 }
355 inline double Atmosphere::pressure() const {
356  // @@protoc_insertion_point(field_get:ignition.msgs.Atmosphere.pressure)
357  return pressure_;
358 }
359 inline void Atmosphere::set_pressure(double value) {
360 
361  pressure_ = value;
362  // @@protoc_insertion_point(field_set:ignition.msgs.Atmosphere.pressure)
363 }
364 
365 // double mass_density = 5;
367  mass_density_ = 0;
368 }
369 inline double Atmosphere::mass_density() const {
370  // @@protoc_insertion_point(field_get:ignition.msgs.Atmosphere.mass_density)
371  return mass_density_;
372 }
373 inline void Atmosphere::set_mass_density(double value) {
374 
375  mass_density_ = value;
376  // @@protoc_insertion_point(field_set:ignition.msgs.Atmosphere.mass_density)
377 }
378 
379 // bool enable_atmosphere = 6;
381  enable_atmosphere_ = false;
382 }
383 inline bool Atmosphere::enable_atmosphere() const {
384  // @@protoc_insertion_point(field_get:ignition.msgs.Atmosphere.enable_atmosphere)
385  return enable_atmosphere_;
386 }
387 inline void Atmosphere::set_enable_atmosphere(bool value) {
388 
389  enable_atmosphere_ = value;
390  // @@protoc_insertion_point(field_set:ignition.msgs.Atmosphere.enable_atmosphere)
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::Atmosphere_Type> : ::std::true_type {};
410 template <>
411 inline const EnumDescriptor* GetEnumDescriptor< ::ignition::msgs::Atmosphere_Type>() {
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_2fatmosphere_2eproto
Atmosphere * New(::google::protobuf::Arena *arena) const final
Definition: build/ignition-msgs5/include/ignition/msgs/atmosphere.pb.h:146
void clear_pressure()
Definition: build/ignition-msgs5/include/ignition/msgs/atmosphere.pb.h:352
std::shared_ptr< const Atmosphere > ConstAtmosphereSharedPtr
Definition: build/ignition-msgs5/include/ignition/msgs/atmosphere.pb.h:400
STL class.
double temperature() const
Definition: build/ignition-msgs5/include/ignition/msgs/atmosphere.pb.h:341
Definition: build/ignition-msgs5/include/ignition/msgs/atmosphere.pb.h:98
friend void swap(Atmosphere &a, Atmosphere &b)
Definition: build/ignition-msgs5/include/ignition/msgs/atmosphere.pb.h:136
Definition: build/ignition-msgs5/include/ignition/msgs/atmosphere.pb.h:49
IGNITION_MSGS_VISIBLE bool Atmosphere_Type_IsValid(int value)
void Swap(Atmosphere *other)
::ignition::msgs::Header * mutable_header()
Definition: build/ignition-msgs5/include/ignition/msgs/atmosphere.pb.h:295
const Atmosphere_Type Atmosphere_Type_Type_MIN
Definition: build/ignition-msgs5/include/ignition/msgs/atmosphere.pb.h:82
void set_mass_density(double value)
Definition: build/ignition-msgs5/include/ignition/msgs/atmosphere.pb.h:373
std::shared_ptr< Atmosphere > AtmosphereSharedPtr
Definition: build/ignition-msgs5/include/ignition/msgs/atmosphere.pb.h:399
std::unique_ptr< Atmosphere > AtmosphereUniquePtr
Definition: build/ignition-msgs5/include/ignition/msgs/atmosphere.pb.h:397
@ Atmosphere_Type_ADIABATIC
Definition: build/ignition-msgs5/include/ignition/msgs/atmosphere.pb.h:77
IGNITION_MSGS_VISIBLE AtmosphereDefaultTypeInternal _Atmosphere_default_instance_
static const ::std::string & Type_Name(Type value)
Definition: build/ignition-msgs5/include/ignition/msgs/atmosphere.pb.h:199
const ::ignition::msgs::Header & header() const
Definition: build/ignition-msgs5/include/ignition/msgs/atmosphere.pb.h:282
const IGNITION_MSGS_VISIBLE ::google::protobuf::EnumDescriptor * Atmosphere_Type_descriptor()
bool has_header() const
Definition: build/ignition-msgs5/include/ignition/msgs/atmosphere.pb.h:276
void clear_mass_density()
Definition: build/ignition-msgs5/include/ignition/msgs/atmosphere.pb.h:366
const ::std::string & Atmosphere_Type_Name(Atmosphere_Type value)
Definition: build/ignition-msgs5/include/ignition/msgs/atmosphere.pb.h:87
static const ::google::protobuf::EnumDescriptor * Type_descriptor()
Definition: build/ignition-msgs5/include/ignition/msgs/atmosphere.pb.h:196
std::unique_ptr< const Atmosphere > ConstAtmosphereUniquePtr
Definition: build/ignition-msgs5/include/ignition/msgs/atmosphere.pb.h:398
void set_allocated_header(::ignition::msgs::Header *header)
Definition: build/ignition-msgs5/include/ignition/msgs/atmosphere.pb.h:304
Atmosphere * New() const final
Definition: build/ignition-msgs5/include/ignition/msgs/atmosphere.pb.h:142
static const Atmosphere * internal_default_instance()
Definition: build/ignition-msgs5/include/ignition/msgs/atmosphere.pb.h:128
static bool Type_Parse(const ::std::string &name, Type *value)
Definition: build/ignition-msgs5/include/ignition/msgs/atmosphere.pb.h:202
@ Atmosphere_Type_Atmosphere_Type_INT_MIN_SENTINEL_DO_NOT_USE_
Definition: build/ignition-msgs5/include/ignition/msgs/atmosphere.pb.h:78
void clear_temperature()
Definition: build/ignition-msgs5/include/ignition/msgs/atmosphere.pb.h:338
const int Atmosphere_Type_Type_ARRAYSIZE
Definition: build/ignition-msgs5/include/ignition/msgs/atmosphere.pb.h:84
::ignition::msgs::Header * release_header()
Definition: build/ignition-msgs5/include/ignition/msgs/atmosphere.pb.h:288
const Atmosphere_Type Atmosphere_Type_Type_MAX
Definition: build/ignition-msgs5/include/ignition/msgs/atmosphere.pb.h:83
double pressure() const
Definition: build/ignition-msgs5/include/ignition/msgs/atmosphere.pb.h:355
Atmosphere & operator=(const Atmosphere &from)
Definition: build/ignition-msgs5/include/ignition/msgs/atmosphere.pb.h:105
@ Atmosphere_Type_Atmosphere_Type_INT_MAX_SENTINEL_DO_NOT_USE_
Definition: build/ignition-msgs5/include/ignition/msgs/atmosphere.pb.h:79
IGNITION_MSGS_VISIBLE HeaderDefaultTypeInternal _Header_default_instance_
Atmosphere_Type
Definition: build/ignition-msgs5/include/ignition/msgs/atmosphere.pb.h:76
Definition: build/ignition-msgs5/include/ignition/msgs/header.pb.h:215
bool enable_atmosphere() const
Definition: build/ignition-msgs5/include/ignition/msgs/atmosphere.pb.h:383
void clear_enable_atmosphere()
Definition: build/ignition-msgs5/include/ignition/msgs/atmosphere.pb.h:380
void set_temperature(double value)
Definition: build/ignition-msgs5/include/ignition/msgs/atmosphere.pb.h:345
void set_pressure(double value)
Definition: build/ignition-msgs5/include/ignition/msgs/atmosphere.pb.h:359
void set_type(::ignition::msgs::Atmosphere_Type value)
Definition: build/ignition-msgs5/include/ignition/msgs/atmosphere.pb.h:331
::ignition::msgs::Atmosphere_Type type() const
Definition: build/ignition-msgs5/include/ignition/msgs/atmosphere.pb.h:327
void clear_type()
Definition: build/ignition-msgs5/include/ignition/msgs/atmosphere.pb.h:324
bool Atmosphere_Type_Parse(const ::std::string &name, Atmosphere_Type *value)
Definition: build/ignition-msgs5/include/ignition/msgs/atmosphere.pb.h:91
STL class.
double mass_density() const
Definition: build/ignition-msgs5/include/ignition/msgs/atmosphere.pb.h:369
void set_enable_atmosphere(bool value)
Definition: build/ignition-msgs5/include/ignition/msgs/atmosphere.pb.h:387
Definition: build/ignition-msgs5/include/ignition/msgs/actor.pb.h:78
void IGNITION_MSGS_VISIBLE AddDescriptors()
Definition: build/ignition-msgs5/include/ignition/msgs/atmosphere.pb.h:51