Gazebo Msgs

API Reference

9.5.1
sensor_noise.pb.h
Go to the documentation of this file.
1 // Generated by the protocol buffer compiler. DO NOT EDIT!
2 // source: gz/msgs/sensor_noise.proto
3 
4 #ifndef PROTOBUF_INCLUDED_gz_2fmsgs_2fsensor_5fnoise_2eproto
5 #define PROTOBUF_INCLUDED_gz_2fmsgs_2fsensor_5fnoise_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 "gz/msgs/header.pb.h"
35 // @@protoc_insertion_point(includes)
36 #define PROTOBUF_INTERNAL_EXPORT_protobuf_gz_2fmsgs_2fsensor_5fnoise_2eproto GZ_MSGS_VISIBLE
37 
39 // Internal implementation detail -- do not use these members.
40 struct GZ_MSGS_VISIBLE TableStruct {
41  static const ::google::protobuf::internal::ParseTableField entries[];
42  static const ::google::protobuf::internal::AuxillaryParseTableField aux[];
43  static const ::google::protobuf::internal::ParseTable schema[1];
44  static const ::google::protobuf::internal::FieldMetadata field_metadata[];
45  static const ::google::protobuf::internal::SerializationTable serialization_table[];
46  static const ::google::protobuf::uint32 offsets[];
47 };
48 void GZ_MSGS_VISIBLE AddDescriptors();
49 } // namespace protobuf_gz_2fmsgs_2fsensor_5fnoise_2eproto
50 namespace gz {
51 namespace msgs {
52 class SensorNoise;
53 class SensorNoiseDefaultTypeInternal;
54 GZ_MSGS_VISIBLE extern SensorNoiseDefaultTypeInternal _SensorNoise_default_instance_;
55 } // namespace msgs
56 } // namespace gz
57 namespace google {
58 namespace protobuf {
59 template<> GZ_MSGS_VISIBLE ::gz::msgs::SensorNoise* Arena::CreateMaybeMessage<::gz::msgs::SensorNoise>(Arena*);
60 } // namespace protobuf
61 } // namespace google
62 namespace gz {
63 namespace msgs {
64 
71 };
72 GZ_MSGS_VISIBLE bool SensorNoise_Type_IsValid(int value);
76 
77 GZ_MSGS_VISIBLE const ::google::protobuf::EnumDescriptor* SensorNoise_Type_descriptor();
78 inline const ::std::string& SensorNoise_Type_Name(SensorNoise_Type value) {
79  return ::google::protobuf::internal::NameOfEnum(
81 }
83  const ::std::string& name, SensorNoise_Type* value) {
84  return ::google::protobuf::internal::ParseNamedEnum<SensorNoise_Type>(
85  SensorNoise_Type_descriptor(), name, value);
86 }
87 // ===================================================================
88 
89 class GZ_MSGS_VISIBLE SensorNoise : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:gz.msgs.SensorNoise) */ {
90  public:
91  SensorNoise();
92  virtual ~SensorNoise();
93 
94  SensorNoise(const SensorNoise& from);
95 
96  inline SensorNoise& operator=(const SensorNoise& from) {
97  CopyFrom(from);
98  return *this;
99  }
100  #if LANG_CXX11
101  SensorNoise(SensorNoise&& from) noexcept
102  : SensorNoise() {
103  *this = ::std::move(from);
104  }
105 
106  inline SensorNoise& operator=(SensorNoise&& from) noexcept {
107  if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
108  if (this != &from) InternalSwap(&from);
109  } else {
110  CopyFrom(from);
111  }
112  return *this;
113  }
114  #endif
115  static const ::google::protobuf::Descriptor* descriptor();
116  static const SensorNoise& default_instance();
117 
118  static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
119  static inline const SensorNoise* internal_default_instance() {
120  return reinterpret_cast<const SensorNoise*>(
122  }
123  static constexpr int kIndexInFileMessages =
124  0;
125 
126  void Swap(SensorNoise* other);
127  friend void swap(SensorNoise& a, SensorNoise& b) {
128  a.Swap(&b);
129  }
130 
131  // implements Message ----------------------------------------------
132 
133  inline SensorNoise* New() const final {
134  return CreateMaybeMessage<SensorNoise>(NULL);
135  }
136 
137  SensorNoise* New(::google::protobuf::Arena* arena) const final {
138  return CreateMaybeMessage<SensorNoise>(arena);
139  }
140  void CopyFrom(const ::google::protobuf::Message& from) final;
141  void MergeFrom(const ::google::protobuf::Message& from) final;
142  void CopyFrom(const SensorNoise& from);
143  void MergeFrom(const SensorNoise& from);
144  void Clear() final;
145  bool IsInitialized() const final;
146 
147  size_t ByteSizeLong() const final;
148  bool MergePartialFromCodedStream(
149  ::google::protobuf::io::CodedInputStream* input) final;
150  void SerializeWithCachedSizes(
151  ::google::protobuf::io::CodedOutputStream* output) const final;
152  ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
153  bool deterministic, ::google::protobuf::uint8* target) const final;
154  int GetCachedSize() const final { return _cached_size_.Get(); }
155 
156  private:
157  void SharedCtor();
158  void SharedDtor();
159  void SetCachedSize(int size) const final;
160  void InternalSwap(SensorNoise* other);
161  private:
162  inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
163  return NULL;
164  }
165  inline void* MaybeArenaPtr() const {
166  return NULL;
167  }
168  public:
169 
170  ::google::protobuf::Metadata GetMetadata() const final;
171 
172  // nested types ----------------------------------------------------
173 
175  static const Type NONE =
177  static const Type GAUSSIAN =
179  static const Type GAUSSIAN_QUANTIZED =
181  static inline bool Type_IsValid(int value) {
182  return SensorNoise_Type_IsValid(value);
183  }
184  static const Type Type_MIN =
186  static const Type Type_MAX =
188  static const int Type_ARRAYSIZE =
190  static inline const ::google::protobuf::EnumDescriptor*
193  }
194  static inline const ::std::string& Type_Name(Type value) {
195  return SensorNoise_Type_Name(value);
196  }
197  static inline bool Type_Parse(const ::std::string& name,
198  Type* value) {
199  return SensorNoise_Type_Parse(name, value);
200  }
201 
202  // accessors -------------------------------------------------------
203 
204  // .gz.msgs.Header header = 1;
205  bool has_header() const;
206  void clear_header();
207  static const int kHeaderFieldNumber = 1;
208  private:
209  const ::gz::msgs::Header& _internal_header() const;
210  public:
211  const ::gz::msgs::Header& header() const;
212  ::gz::msgs::Header* release_header();
213  ::gz::msgs::Header* mutable_header();
214  void set_allocated_header(::gz::msgs::Header* header);
215 
216  // double mean = 3;
217  void clear_mean();
218  static const int kMeanFieldNumber = 3;
219  double mean() const;
220  void set_mean(double value);
221 
222  // double stddev = 4;
223  void clear_stddev();
224  static const int kStddevFieldNumber = 4;
225  double stddev() const;
226  void set_stddev(double value);
227 
228  // double bias_mean = 5;
229  void clear_bias_mean();
230  static const int kBiasMeanFieldNumber = 5;
231  double bias_mean() const;
232  void set_bias_mean(double value);
233 
234  // double bias_stddev = 6;
235  void clear_bias_stddev();
236  static const int kBiasStddevFieldNumber = 6;
237  double bias_stddev() const;
238  void set_bias_stddev(double value);
239 
240  // double precision = 7;
241  void clear_precision();
242  static const int kPrecisionFieldNumber = 7;
243  double precision() const;
244  void set_precision(double value);
245 
246  // double dynamic_bias_stddev = 8;
247  void clear_dynamic_bias_stddev();
248  static const int kDynamicBiasStddevFieldNumber = 8;
249  double dynamic_bias_stddev() const;
250  void set_dynamic_bias_stddev(double value);
251 
252  // double dynamic_bias_correlation_time = 9;
253  void clear_dynamic_bias_correlation_time();
254  static const int kDynamicBiasCorrelationTimeFieldNumber = 9;
255  double dynamic_bias_correlation_time() const;
256  void set_dynamic_bias_correlation_time(double value);
257 
258  // .gz.msgs.SensorNoise.Type type = 2;
259  void clear_type();
260  static const int kTypeFieldNumber = 2;
261  ::gz::msgs::SensorNoise_Type type() const;
262  void set_type(::gz::msgs::SensorNoise_Type value);
263 
264  // @@protoc_insertion_point(class_scope:gz.msgs.SensorNoise)
265  private:
266 
267  ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
268  ::gz::msgs::Header* header_;
269  double mean_;
270  double stddev_;
271  double bias_mean_;
272  double bias_stddev_;
273  double precision_;
274  double dynamic_bias_stddev_;
275  double dynamic_bias_correlation_time_;
276  int type_;
277  mutable ::google::protobuf::internal::CachedSize _cached_size_;
278  friend struct ::protobuf_gz_2fmsgs_2fsensor_5fnoise_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 // SensorNoise
290 
291 // .gz.msgs.Header header = 1;
292 inline bool SensorNoise::has_header() const {
293  return this != internal_default_instance() && header_ != NULL;
294 }
295 inline const ::gz::msgs::Header& SensorNoise::_internal_header() const {
296  return *header_;
297 }
298 inline const ::gz::msgs::Header& SensorNoise::header() const {
299  const ::gz::msgs::Header* p = header_;
300  // @@protoc_insertion_point(field_get:gz.msgs.SensorNoise.header)
301  return p != NULL ? *p : *reinterpret_cast<const ::gz::msgs::Header*>(
303 }
304 inline ::gz::msgs::Header* SensorNoise::release_header() {
305  // @@protoc_insertion_point(field_release:gz.msgs.SensorNoise.header)
306 
307  ::gz::msgs::Header* temp = header_;
308  header_ = NULL;
309  return temp;
310 }
311 inline ::gz::msgs::Header* SensorNoise::mutable_header() {
312 
313  if (header_ == NULL) {
314  auto* p = CreateMaybeMessage<::gz::msgs::Header>(GetArenaNoVirtual());
315  header_ = p;
316  }
317  // @@protoc_insertion_point(field_mutable:gz.msgs.SensorNoise.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:gz.msgs.SensorNoise.header)
337 }
338 
339 // .gz.msgs.SensorNoise.Type type = 2;
340 inline void SensorNoise::clear_type() {
341  type_ = 0;
342 }
344  // @@protoc_insertion_point(field_get:gz.msgs.SensorNoise.type)
345  return static_cast< ::gz::msgs::SensorNoise_Type >(type_);
346 }
348 
349  type_ = value;
350  // @@protoc_insertion_point(field_set:gz.msgs.SensorNoise.type)
351 }
352 
353 // double mean = 3;
354 inline void SensorNoise::clear_mean() {
355  mean_ = 0;
356 }
357 inline double SensorNoise::mean() const {
358  // @@protoc_insertion_point(field_get:gz.msgs.SensorNoise.mean)
359  return mean_;
360 }
361 inline void SensorNoise::set_mean(double value) {
362 
363  mean_ = value;
364  // @@protoc_insertion_point(field_set:gz.msgs.SensorNoise.mean)
365 }
366 
367 // double stddev = 4;
369  stddev_ = 0;
370 }
371 inline double SensorNoise::stddev() const {
372  // @@protoc_insertion_point(field_get:gz.msgs.SensorNoise.stddev)
373  return stddev_;
374 }
375 inline void SensorNoise::set_stddev(double value) {
376 
377  stddev_ = value;
378  // @@protoc_insertion_point(field_set:gz.msgs.SensorNoise.stddev)
379 }
380 
381 // double bias_mean = 5;
383  bias_mean_ = 0;
384 }
385 inline double SensorNoise::bias_mean() const {
386  // @@protoc_insertion_point(field_get:gz.msgs.SensorNoise.bias_mean)
387  return bias_mean_;
388 }
389 inline void SensorNoise::set_bias_mean(double value) {
390 
391  bias_mean_ = value;
392  // @@protoc_insertion_point(field_set:gz.msgs.SensorNoise.bias_mean)
393 }
394 
395 // double bias_stddev = 6;
397  bias_stddev_ = 0;
398 }
399 inline double SensorNoise::bias_stddev() const {
400  // @@protoc_insertion_point(field_get:gz.msgs.SensorNoise.bias_stddev)
401  return bias_stddev_;
402 }
403 inline void SensorNoise::set_bias_stddev(double value) {
404 
405  bias_stddev_ = value;
406  // @@protoc_insertion_point(field_set:gz.msgs.SensorNoise.bias_stddev)
407 }
408 
409 // double precision = 7;
411  precision_ = 0;
412 }
413 inline double SensorNoise::precision() const {
414  // @@protoc_insertion_point(field_get:gz.msgs.SensorNoise.precision)
415  return precision_;
416 }
417 inline void SensorNoise::set_precision(double value) {
418 
419  precision_ = value;
420  // @@protoc_insertion_point(field_set:gz.msgs.SensorNoise.precision)
421 }
422 
423 // double dynamic_bias_stddev = 8;
425  dynamic_bias_stddev_ = 0;
426 }
427 inline double SensorNoise::dynamic_bias_stddev() const {
428  // @@protoc_insertion_point(field_get:gz.msgs.SensorNoise.dynamic_bias_stddev)
429  return dynamic_bias_stddev_;
430 }
431 inline void SensorNoise::set_dynamic_bias_stddev(double value) {
432 
433  dynamic_bias_stddev_ = value;
434  // @@protoc_insertion_point(field_set:gz.msgs.SensorNoise.dynamic_bias_stddev)
435 }
436 
437 // double dynamic_bias_correlation_time = 9;
439  dynamic_bias_correlation_time_ = 0;
440 }
442  // @@protoc_insertion_point(field_get:gz.msgs.SensorNoise.dynamic_bias_correlation_time)
443  return dynamic_bias_correlation_time_;
444 }
446 
447  dynamic_bias_correlation_time_ = value;
448  // @@protoc_insertion_point(field_set:gz.msgs.SensorNoise.dynamic_bias_correlation_time)
449 }
450 
451 #ifdef __GNUC__
452  #pragma GCC diagnostic pop
453 #endif // __GNUC__
454 
455 // @@protoc_insertion_point(namespace_scope)
456 
457 } // namespace msgs
458 } // namespace gz
459 
460 namespace google {
461 namespace protobuf {
462 
463 template <> struct is_proto_enum< ::gz::msgs::SensorNoise_Type> : ::std::true_type {};
464 template <>
465 inline const EnumDescriptor* GetEnumDescriptor< ::gz::msgs::SensorNoise_Type>() {
467 }
468 
469 } // namespace protobuf
470 } // namespace google
471 
472 // @@protoc_insertion_point(global_scope)
473 
474 #endif // PROTOBUF_INCLUDED_gz_2fmsgs_2fsensor_5fnoise_2eproto