Gazebo Msgs

API Reference

5.11.0
build/ignition-msgs5/include/ignition/msgs/magnetometer_sensor.pb.h
Go to the documentation of this file.
1 // Generated by the protocol buffer compiler. DO NOT EDIT!
2 // source: ignition/msgs/magnetometer_sensor.proto
3 
4 #ifndef PROTOBUF_INCLUDED_ignition_2fmsgs_2fmagnetometer_5fsensor_2eproto
5 #define PROTOBUF_INCLUDED_ignition_2fmsgs_2fmagnetometer_5fsensor_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/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_2fmagnetometer_5fsensor_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_2fmagnetometer_5fsensor_2eproto
61 namespace ignition {
62 namespace msgs {
63 class MagnetometerSensor;
64 class MagnetometerSensorDefaultTypeInternal;
65 IGNITION_MSGS_VISIBLE extern MagnetometerSensorDefaultTypeInternal _MagnetometerSensor_default_instance_;
66 } // namespace msgs
67 } // namespace ignition
68 namespace google {
69 namespace protobuf {
70 template<> IGNITION_MSGS_VISIBLE ::ignition::msgs::MagnetometerSensor* Arena::CreateMaybeMessage<::ignition::msgs::MagnetometerSensor>(Arena*);
71 } // namespace protobuf
72 } // namespace google
73 namespace ignition {
74 namespace msgs {
75 
76 // ===================================================================
77 
78 class IGNITION_MSGS_VISIBLE MagnetometerSensor : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:ignition.msgs.MagnetometerSensor) */ {
79  public:
81  virtual ~MagnetometerSensor();
82 
84 
86  CopyFrom(from);
87  return *this;
88  }
89  #if LANG_CXX11
90  MagnetometerSensor(MagnetometerSensor&& from) noexcept
91  : MagnetometerSensor() {
92  *this = ::std::move(from);
93  }
94 
95  inline MagnetometerSensor& operator=(MagnetometerSensor&& from) noexcept {
96  if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
97  if (this != &from) InternalSwap(&from);
98  } else {
99  CopyFrom(from);
100  }
101  return *this;
102  }
103  #endif
104  static const ::google::protobuf::Descriptor* descriptor();
105  static const MagnetometerSensor& default_instance();
106 
107  static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
109  return reinterpret_cast<const MagnetometerSensor*>(
111  }
112  static constexpr int kIndexInFileMessages =
113  0;
114 
115  void Swap(MagnetometerSensor* other);
117  a.Swap(&b);
118  }
119 
120  // implements Message ----------------------------------------------
121 
122  inline MagnetometerSensor* New() const final {
123  return CreateMaybeMessage<MagnetometerSensor>(NULL);
124  }
125 
126  MagnetometerSensor* New(::google::protobuf::Arena* arena) const final {
127  return CreateMaybeMessage<MagnetometerSensor>(arena);
128  }
129  void CopyFrom(const ::google::protobuf::Message& from) final;
130  void MergeFrom(const ::google::protobuf::Message& from) final;
131  void CopyFrom(const MagnetometerSensor& from);
132  void MergeFrom(const MagnetometerSensor& from);
133  void Clear() final;
134  bool IsInitialized() const final;
135 
136  size_t ByteSizeLong() const final;
137  bool MergePartialFromCodedStream(
138  ::google::protobuf::io::CodedInputStream* input) final;
139  void SerializeWithCachedSizes(
140  ::google::protobuf::io::CodedOutputStream* output) const final;
141  ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
142  bool deterministic, ::google::protobuf::uint8* target) const final;
143  int GetCachedSize() const final { return _cached_size_.Get(); }
144 
145  private:
146  void SharedCtor();
147  void SharedDtor();
148  void SetCachedSize(int size) const final;
149  void InternalSwap(MagnetometerSensor* other);
150  private:
151  inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
152  return NULL;
153  }
154  inline void* MaybeArenaPtr() const {
155  return NULL;
156  }
157  public:
158 
159  ::google::protobuf::Metadata GetMetadata() const final;
160 
161  // nested types ----------------------------------------------------
162 
163  // accessors -------------------------------------------------------
164 
165  // .ignition.msgs.Header header = 1;
166  bool has_header() const;
167  void clear_header();
168  static const int kHeaderFieldNumber = 1;
169  private:
170  const ::ignition::msgs::Header& _internal_header() const;
171  public:
172  const ::ignition::msgs::Header& header() const;
173  ::ignition::msgs::Header* release_header();
174  ::ignition::msgs::Header* mutable_header();
175  void set_allocated_header(::ignition::msgs::Header* header);
176 
177  // .ignition.msgs.SensorNoise x_noise = 2;
178  bool has_x_noise() const;
179  void clear_x_noise();
180  static const int kXNoiseFieldNumber = 2;
181  private:
182  const ::ignition::msgs::SensorNoise& _internal_x_noise() const;
183  public:
184  const ::ignition::msgs::SensorNoise& x_noise() const;
185  ::ignition::msgs::SensorNoise* release_x_noise();
186  ::ignition::msgs::SensorNoise* mutable_x_noise();
187  void set_allocated_x_noise(::ignition::msgs::SensorNoise* x_noise);
188 
189  // .ignition.msgs.SensorNoise y_noise = 3;
190  bool has_y_noise() const;
191  void clear_y_noise();
192  static const int kYNoiseFieldNumber = 3;
193  private:
194  const ::ignition::msgs::SensorNoise& _internal_y_noise() const;
195  public:
196  const ::ignition::msgs::SensorNoise& y_noise() const;
197  ::ignition::msgs::SensorNoise* release_y_noise();
198  ::ignition::msgs::SensorNoise* mutable_y_noise();
199  void set_allocated_y_noise(::ignition::msgs::SensorNoise* y_noise);
200 
201  // .ignition.msgs.SensorNoise z_noise = 4;
202  bool has_z_noise() const;
203  void clear_z_noise();
204  static const int kZNoiseFieldNumber = 4;
205  private:
206  const ::ignition::msgs::SensorNoise& _internal_z_noise() const;
207  public:
208  const ::ignition::msgs::SensorNoise& z_noise() const;
209  ::ignition::msgs::SensorNoise* release_z_noise();
210  ::ignition::msgs::SensorNoise* mutable_z_noise();
211  void set_allocated_z_noise(::ignition::msgs::SensorNoise* z_noise);
212 
213  // @@protoc_insertion_point(class_scope:ignition.msgs.MagnetometerSensor)
214  private:
215 
216  ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
217  ::ignition::msgs::Header* header_;
218  ::ignition::msgs::SensorNoise* x_noise_;
219  ::ignition::msgs::SensorNoise* y_noise_;
220  ::ignition::msgs::SensorNoise* z_noise_;
221  mutable ::google::protobuf::internal::CachedSize _cached_size_;
223 };
224 // ===================================================================
225 
226 
227 // ===================================================================
228 
229 #ifdef __GNUC__
230  #pragma GCC diagnostic push
231  #pragma GCC diagnostic ignored "-Wstrict-aliasing"
232 #endif // __GNUC__
233 // MagnetometerSensor
234 
235 // .ignition.msgs.Header header = 1;
236 inline bool MagnetometerSensor::has_header() const {
237  return this != internal_default_instance() && header_ != NULL;
238 }
239 inline const ::ignition::msgs::Header& MagnetometerSensor::_internal_header() const {
240  return *header_;
241 }
242 inline const ::ignition::msgs::Header& MagnetometerSensor::header() const {
243  const ::ignition::msgs::Header* p = header_;
244  // @@protoc_insertion_point(field_get:ignition.msgs.MagnetometerSensor.header)
245  return p != NULL ? *p : *reinterpret_cast<const ::ignition::msgs::Header*>(
247 }
248 inline ::ignition::msgs::Header* MagnetometerSensor::release_header() {
249  // @@protoc_insertion_point(field_release:ignition.msgs.MagnetometerSensor.header)
250 
251  ::ignition::msgs::Header* temp = header_;
252  header_ = NULL;
253  return temp;
254 }
255 inline ::ignition::msgs::Header* MagnetometerSensor::mutable_header() {
256 
257  if (header_ == NULL) {
258  auto* p = CreateMaybeMessage<::ignition::msgs::Header>(GetArenaNoVirtual());
259  header_ = p;
260  }
261  // @@protoc_insertion_point(field_mutable:ignition.msgs.MagnetometerSensor.header)
262  return header_;
263 }
265  ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
266  if (message_arena == NULL) {
267  delete reinterpret_cast< ::google::protobuf::MessageLite*>(header_);
268  }
269  if (header) {
270  ::google::protobuf::Arena* submessage_arena = NULL;
271  if (message_arena != submessage_arena) {
272  header = ::google::protobuf::internal::GetOwnedMessage(
273  message_arena, header, submessage_arena);
274  }
275 
276  } else {
277 
278  }
279  header_ = header;
280  // @@protoc_insertion_point(field_set_allocated:ignition.msgs.MagnetometerSensor.header)
281 }
282 
283 // .ignition.msgs.SensorNoise x_noise = 2;
284 inline bool MagnetometerSensor::has_x_noise() const {
285  return this != internal_default_instance() && x_noise_ != NULL;
286 }
287 inline const ::ignition::msgs::SensorNoise& MagnetometerSensor::_internal_x_noise() const {
288  return *x_noise_;
289 }
290 inline const ::ignition::msgs::SensorNoise& MagnetometerSensor::x_noise() const {
291  const ::ignition::msgs::SensorNoise* p = x_noise_;
292  // @@protoc_insertion_point(field_get:ignition.msgs.MagnetometerSensor.x_noise)
293  return p != NULL ? *p : *reinterpret_cast<const ::ignition::msgs::SensorNoise*>(
295 }
296 inline ::ignition::msgs::SensorNoise* MagnetometerSensor::release_x_noise() {
297  // @@protoc_insertion_point(field_release:ignition.msgs.MagnetometerSensor.x_noise)
298 
299  ::ignition::msgs::SensorNoise* temp = x_noise_;
300  x_noise_ = NULL;
301  return temp;
302 }
303 inline ::ignition::msgs::SensorNoise* MagnetometerSensor::mutable_x_noise() {
304 
305  if (x_noise_ == NULL) {
306  auto* p = CreateMaybeMessage<::ignition::msgs::SensorNoise>(GetArenaNoVirtual());
307  x_noise_ = p;
308  }
309  // @@protoc_insertion_point(field_mutable:ignition.msgs.MagnetometerSensor.x_noise)
310  return x_noise_;
311 }
313  ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
314  if (message_arena == NULL) {
315  delete reinterpret_cast< ::google::protobuf::MessageLite*>(x_noise_);
316  }
317  if (x_noise) {
318  ::google::protobuf::Arena* submessage_arena = NULL;
319  if (message_arena != submessage_arena) {
320  x_noise = ::google::protobuf::internal::GetOwnedMessage(
321  message_arena, x_noise, submessage_arena);
322  }
323 
324  } else {
325 
326  }
327  x_noise_ = x_noise;
328  // @@protoc_insertion_point(field_set_allocated:ignition.msgs.MagnetometerSensor.x_noise)
329 }
330 
331 // .ignition.msgs.SensorNoise y_noise = 3;
332 inline bool MagnetometerSensor::has_y_noise() const {
333  return this != internal_default_instance() && y_noise_ != NULL;
334 }
335 inline const ::ignition::msgs::SensorNoise& MagnetometerSensor::_internal_y_noise() const {
336  return *y_noise_;
337 }
338 inline const ::ignition::msgs::SensorNoise& MagnetometerSensor::y_noise() const {
339  const ::ignition::msgs::SensorNoise* p = y_noise_;
340  // @@protoc_insertion_point(field_get:ignition.msgs.MagnetometerSensor.y_noise)
341  return p != NULL ? *p : *reinterpret_cast<const ::ignition::msgs::SensorNoise*>(
343 }
344 inline ::ignition::msgs::SensorNoise* MagnetometerSensor::release_y_noise() {
345  // @@protoc_insertion_point(field_release:ignition.msgs.MagnetometerSensor.y_noise)
346 
347  ::ignition::msgs::SensorNoise* temp = y_noise_;
348  y_noise_ = NULL;
349  return temp;
350 }
351 inline ::ignition::msgs::SensorNoise* MagnetometerSensor::mutable_y_noise() {
352 
353  if (y_noise_ == NULL) {
354  auto* p = CreateMaybeMessage<::ignition::msgs::SensorNoise>(GetArenaNoVirtual());
355  y_noise_ = p;
356  }
357  // @@protoc_insertion_point(field_mutable:ignition.msgs.MagnetometerSensor.y_noise)
358  return y_noise_;
359 }
361  ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
362  if (message_arena == NULL) {
363  delete reinterpret_cast< ::google::protobuf::MessageLite*>(y_noise_);
364  }
365  if (y_noise) {
366  ::google::protobuf::Arena* submessage_arena = NULL;
367  if (message_arena != submessage_arena) {
368  y_noise = ::google::protobuf::internal::GetOwnedMessage(
369  message_arena, y_noise, submessage_arena);
370  }
371 
372  } else {
373 
374  }
375  y_noise_ = y_noise;
376  // @@protoc_insertion_point(field_set_allocated:ignition.msgs.MagnetometerSensor.y_noise)
377 }
378 
379 // .ignition.msgs.SensorNoise z_noise = 4;
380 inline bool MagnetometerSensor::has_z_noise() const {
381  return this != internal_default_instance() && z_noise_ != NULL;
382 }
383 inline const ::ignition::msgs::SensorNoise& MagnetometerSensor::_internal_z_noise() const {
384  return *z_noise_;
385 }
386 inline const ::ignition::msgs::SensorNoise& MagnetometerSensor::z_noise() const {
387  const ::ignition::msgs::SensorNoise* p = z_noise_;
388  // @@protoc_insertion_point(field_get:ignition.msgs.MagnetometerSensor.z_noise)
389  return p != NULL ? *p : *reinterpret_cast<const ::ignition::msgs::SensorNoise*>(
391 }
392 inline ::ignition::msgs::SensorNoise* MagnetometerSensor::release_z_noise() {
393  // @@protoc_insertion_point(field_release:ignition.msgs.MagnetometerSensor.z_noise)
394 
395  ::ignition::msgs::SensorNoise* temp = z_noise_;
396  z_noise_ = NULL;
397  return temp;
398 }
399 inline ::ignition::msgs::SensorNoise* MagnetometerSensor::mutable_z_noise() {
400 
401  if (z_noise_ == NULL) {
402  auto* p = CreateMaybeMessage<::ignition::msgs::SensorNoise>(GetArenaNoVirtual());
403  z_noise_ = p;
404  }
405  // @@protoc_insertion_point(field_mutable:ignition.msgs.MagnetometerSensor.z_noise)
406  return z_noise_;
407 }
409  ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
410  if (message_arena == NULL) {
411  delete reinterpret_cast< ::google::protobuf::MessageLite*>(z_noise_);
412  }
413  if (z_noise) {
414  ::google::protobuf::Arena* submessage_arena = NULL;
415  if (message_arena != submessage_arena) {
416  z_noise = ::google::protobuf::internal::GetOwnedMessage(
417  message_arena, z_noise, submessage_arena);
418  }
419 
420  } else {
421 
422  }
423  z_noise_ = z_noise;
424  // @@protoc_insertion_point(field_set_allocated:ignition.msgs.MagnetometerSensor.z_noise)
425 }
426 
427 #ifdef __GNUC__
428  #pragma GCC diagnostic pop
429 #endif // __GNUC__
430 
435 // @@protoc_insertion_point(namespace_scope)
436 
437 } // namespace msgs
438 } // namespace ignition
439 
440 #ifdef _MSC_VER
441 #pragma warning(pop)
442 #endif
443 // @@protoc_insertion_point(global_scope)
444 
445 #endif // PROTOBUF_INCLUDED_ignition_2fmsgs_2fmagnetometer_5fsensor_2eproto
void set_allocated_header(::ignition::msgs::Header *header)
Definition: build/ignition-msgs5/include/ignition/msgs/magnetometer_sensor.pb.h:264
::ignition::msgs::SensorNoise * mutable_z_noise()
Definition: build/ignition-msgs5/include/ignition/msgs/magnetometer_sensor.pb.h:399
STL class.
const ::ignition::msgs::SensorNoise & y_noise() const
Definition: build/ignition-msgs5/include/ignition/msgs/magnetometer_sensor.pb.h:338
void Swap(MagnetometerSensor *other)
bool has_header() const
Definition: build/ignition-msgs5/include/ignition/msgs/magnetometer_sensor.pb.h:236
::ignition::msgs::SensorNoise * mutable_x_noise()
Definition: build/ignition-msgs5/include/ignition/msgs/magnetometer_sensor.pb.h:303
Definition: build/ignition-msgs5/include/ignition/msgs/magnetometer_sensor.pb.h:78
MagnetometerSensor * New() const final
Definition: build/ignition-msgs5/include/ignition/msgs/magnetometer_sensor.pb.h:122
bool has_y_noise() const
Definition: build/ignition-msgs5/include/ignition/msgs/magnetometer_sensor.pb.h:332
::ignition::msgs::Header * mutable_header()
Definition: build/ignition-msgs5/include/ignition/msgs/magnetometer_sensor.pb.h:255
std::unique_ptr< MagnetometerSensor > MagnetometerSensorUniquePtr
Definition: build/ignition-msgs5/include/ignition/msgs/magnetometer_sensor.pb.h:431
MagnetometerSensor * New(::google::protobuf::Arena *arena) const final
Definition: build/ignition-msgs5/include/ignition/msgs/magnetometer_sensor.pb.h:126
::ignition::msgs::Header * release_header()
Definition: build/ignition-msgs5/include/ignition/msgs/magnetometer_sensor.pb.h:248
std::shared_ptr< const MagnetometerSensor > ConstMagnetometerSensorSharedPtr
Definition: build/ignition-msgs5/include/ignition/msgs/magnetometer_sensor.pb.h:434
::ignition::msgs::SensorNoise * release_x_noise()
Definition: build/ignition-msgs5/include/ignition/msgs/magnetometer_sensor.pb.h:296
std::shared_ptr< MagnetometerSensor > MagnetometerSensorSharedPtr
Definition: build/ignition-msgs5/include/ignition/msgs/magnetometer_sensor.pb.h:433
::ignition::msgs::SensorNoise * release_y_noise()
Definition: build/ignition-msgs5/include/ignition/msgs/magnetometer_sensor.pb.h:344
::ignition::msgs::SensorNoise * release_z_noise()
Definition: build/ignition-msgs5/include/ignition/msgs/magnetometer_sensor.pb.h:392
void set_allocated_y_noise(::ignition::msgs::SensorNoise *y_noise)
Definition: build/ignition-msgs5/include/ignition/msgs/magnetometer_sensor.pb.h:360
const ::ignition::msgs::Header & header() const
Definition: build/ignition-msgs5/include/ignition/msgs/magnetometer_sensor.pb.h:242
::ignition::msgs::SensorNoise * mutable_y_noise()
Definition: build/ignition-msgs5/include/ignition/msgs/magnetometer_sensor.pb.h:351
IGNITION_MSGS_VISIBLE SensorNoiseDefaultTypeInternal _SensorNoise_default_instance_
const ::ignition::msgs::SensorNoise & z_noise() const
Definition: build/ignition-msgs5/include/ignition/msgs/magnetometer_sensor.pb.h:386
MagnetometerSensor & operator=(const MagnetometerSensor &from)
Definition: build/ignition-msgs5/include/ignition/msgs/magnetometer_sensor.pb.h:85
bool has_z_noise() const
Definition: build/ignition-msgs5/include/ignition/msgs/magnetometer_sensor.pb.h:380
void set_allocated_x_noise(::ignition::msgs::SensorNoise *x_noise)
Definition: build/ignition-msgs5/include/ignition/msgs/magnetometer_sensor.pb.h:312
void set_allocated_z_noise(::ignition::msgs::SensorNoise *z_noise)
Definition: build/ignition-msgs5/include/ignition/msgs/magnetometer_sensor.pb.h:408
IGNITION_MSGS_VISIBLE HeaderDefaultTypeInternal _Header_default_instance_
Definition: build/ignition-msgs5/include/ignition/msgs/magnetometer_sensor.pb.h:51
Definition: build/ignition-msgs5/include/ignition/msgs/header.pb.h:215
bool has_x_noise() const
Definition: build/ignition-msgs5/include/ignition/msgs/magnetometer_sensor.pb.h:284
friend void swap(MagnetometerSensor &a, MagnetometerSensor &b)
Definition: build/ignition-msgs5/include/ignition/msgs/magnetometer_sensor.pb.h:116
Definition: build/ignition-msgs5/include/ignition/msgs/magnetometer_sensor.pb.h:49
Definition: build/ignition-msgs5/include/ignition/msgs/sensor_noise.pb.h:100
std::unique_ptr< const MagnetometerSensor > ConstMagnetometerSensorUniquePtr
Definition: build/ignition-msgs5/include/ignition/msgs/magnetometer_sensor.pb.h:432
STL class.
IGNITION_MSGS_VISIBLE MagnetometerSensorDefaultTypeInternal _MagnetometerSensor_default_instance_
const ::ignition::msgs::SensorNoise & x_noise() const
Definition: build/ignition-msgs5/include/ignition/msgs/magnetometer_sensor.pb.h:290
Definition: build/ignition-msgs5/include/ignition/msgs/actor.pb.h:78
static const MagnetometerSensor * internal_default_instance()
Definition: build/ignition-msgs5/include/ignition/msgs/magnetometer_sensor.pb.h:108