Gazebo Msgs

API Reference

8.7.0
build/ignition-msgs8/include/ignition/msgs/distortion.pb.h
Go to the documentation of this file.
1 // Generated by the protocol buffer compiler. DO NOT EDIT!
2 // source: ignition/msgs/distortion.proto
3 
4 #ifndef PROTOBUF_INCLUDED_ignition_2fmsgs_2fdistortion_2eproto
5 #define PROTOBUF_INCLUDED_ignition_2fmsgs_2fdistortion_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_2fdistortion_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_2fdistortion_2eproto
61 namespace ignition {
62 namespace msgs {
63 class Distortion;
64 class DistortionDefaultTypeInternal;
65 IGNITION_MSGS_VISIBLE extern DistortionDefaultTypeInternal _Distortion_default_instance_;
66 } // namespace msgs
67 } // namespace ignition
68 namespace google {
69 namespace protobuf {
70 template<> IGNITION_MSGS_VISIBLE ::ignition::msgs::Distortion* Arena::CreateMaybeMessage<::ignition::msgs::Distortion>(Arena*);
71 } // namespace protobuf
72 } // namespace google
73 namespace ignition {
74 namespace msgs {
75 
76 // ===================================================================
77 
78 class IGNITION_MSGS_VISIBLE Distortion : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:ignition.msgs.Distortion) */ {
79  public:
80  Distortion();
81  virtual ~Distortion();
82 
83  Distortion(const Distortion& from);
84 
85  inline Distortion& operator=(const Distortion& from) {
86  CopyFrom(from);
87  return *this;
88  }
89  #if LANG_CXX11
90  Distortion(Distortion&& from) noexcept
91  : Distortion() {
92  *this = ::std::move(from);
93  }
94 
95  inline Distortion& operator=(Distortion&& 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 Distortion& default_instance();
106 
107  static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
108  static inline const Distortion* internal_default_instance() {
109  return reinterpret_cast<const Distortion*>(
111  }
112  static constexpr int kIndexInFileMessages =
113  0;
114 
115  void Swap(Distortion* other);
116  friend void swap(Distortion& a, Distortion& b) {
117  a.Swap(&b);
118  }
119 
120  // implements Message ----------------------------------------------
121 
122  inline Distortion* New() const final {
123  return CreateMaybeMessage<Distortion>(NULL);
124  }
125 
126  Distortion* New(::google::protobuf::Arena* arena) const final {
127  return CreateMaybeMessage<Distortion>(arena);
128  }
129  void CopyFrom(const ::google::protobuf::Message& from) final;
130  void MergeFrom(const ::google::protobuf::Message& from) final;
131  void CopyFrom(const Distortion& from);
132  void MergeFrom(const Distortion& 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(Distortion* 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.Vector2d center = 2;
178  bool has_center() const;
179  void clear_center();
180  static const int kCenterFieldNumber = 2;
181  private:
182  const ::ignition::msgs::Vector2d& _internal_center() const;
183  public:
184  const ::ignition::msgs::Vector2d& center() const;
185  ::ignition::msgs::Vector2d* release_center();
186  ::ignition::msgs::Vector2d* mutable_center();
187  void set_allocated_center(::ignition::msgs::Vector2d* center);
188 
189  // double k1 = 3;
190  void clear_k1();
191  static const int kK1FieldNumber = 3;
192  double k1() const;
193  void set_k1(double value);
194 
195  // double k2 = 4;
196  void clear_k2();
197  static const int kK2FieldNumber = 4;
198  double k2() const;
199  void set_k2(double value);
200 
201  // double k3 = 5;
202  void clear_k3();
203  static const int kK3FieldNumber = 5;
204  double k3() const;
205  void set_k3(double value);
206 
207  // double p1 = 6;
208  void clear_p1();
209  static const int kP1FieldNumber = 6;
210  double p1() const;
211  void set_p1(double value);
212 
213  // double p2 = 7;
214  void clear_p2();
215  static const int kP2FieldNumber = 7;
216  double p2() const;
217  void set_p2(double value);
218 
219  // @@protoc_insertion_point(class_scope:ignition.msgs.Distortion)
220  private:
221 
222  ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
223  ::ignition::msgs::Header* header_;
224  ::ignition::msgs::Vector2d* center_;
225  double k1_;
226  double k2_;
227  double k3_;
228  double p1_;
229  double p2_;
230  mutable ::google::protobuf::internal::CachedSize _cached_size_;
231  friend struct ::protobuf_ignition_2fmsgs_2fdistortion_2eproto::TableStruct;
232 };
233 // ===================================================================
234 
235 
236 // ===================================================================
237 
238 #ifdef __GNUC__
239  #pragma GCC diagnostic push
240  #pragma GCC diagnostic ignored "-Wstrict-aliasing"
241 #endif // __GNUC__
242 // Distortion
243 
244 // .ignition.msgs.Header header = 1;
245 inline bool Distortion::has_header() const {
246  return this != internal_default_instance() && header_ != NULL;
247 }
248 inline const ::ignition::msgs::Header& Distortion::_internal_header() const {
249  return *header_;
250 }
251 inline const ::ignition::msgs::Header& Distortion::header() const {
252  const ::ignition::msgs::Header* p = header_;
253  // @@protoc_insertion_point(field_get:ignition.msgs.Distortion.header)
254  return p != NULL ? *p : *reinterpret_cast<const ::ignition::msgs::Header*>(
256 }
257 inline ::ignition::msgs::Header* Distortion::release_header() {
258  // @@protoc_insertion_point(field_release:ignition.msgs.Distortion.header)
259 
260  ::ignition::msgs::Header* temp = header_;
261  header_ = NULL;
262  return temp;
263 }
264 inline ::ignition::msgs::Header* Distortion::mutable_header() {
265 
266  if (header_ == NULL) {
267  auto* p = CreateMaybeMessage<::ignition::msgs::Header>(GetArenaNoVirtual());
268  header_ = p;
269  }
270  // @@protoc_insertion_point(field_mutable:ignition.msgs.Distortion.header)
271  return header_;
272 }
274  ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
275  if (message_arena == NULL) {
276  delete reinterpret_cast< ::google::protobuf::MessageLite*>(header_);
277  }
278  if (header) {
279  ::google::protobuf::Arena* submessage_arena = NULL;
280  if (message_arena != submessage_arena) {
281  header = ::google::protobuf::internal::GetOwnedMessage(
282  message_arena, header, submessage_arena);
283  }
284 
285  } else {
286 
287  }
288  header_ = header;
289  // @@protoc_insertion_point(field_set_allocated:ignition.msgs.Distortion.header)
290 }
291 
292 // .ignition.msgs.Vector2d center = 2;
293 inline bool Distortion::has_center() const {
294  return this != internal_default_instance() && center_ != NULL;
295 }
296 inline const ::ignition::msgs::Vector2d& Distortion::_internal_center() const {
297  return *center_;
298 }
299 inline const ::ignition::msgs::Vector2d& Distortion::center() const {
300  const ::ignition::msgs::Vector2d* p = center_;
301  // @@protoc_insertion_point(field_get:ignition.msgs.Distortion.center)
302  return p != NULL ? *p : *reinterpret_cast<const ::ignition::msgs::Vector2d*>(
304 }
305 inline ::ignition::msgs::Vector2d* Distortion::release_center() {
306  // @@protoc_insertion_point(field_release:ignition.msgs.Distortion.center)
307 
308  ::ignition::msgs::Vector2d* temp = center_;
309  center_ = NULL;
310  return temp;
311 }
312 inline ::ignition::msgs::Vector2d* Distortion::mutable_center() {
313 
314  if (center_ == NULL) {
315  auto* p = CreateMaybeMessage<::ignition::msgs::Vector2d>(GetArenaNoVirtual());
316  center_ = p;
317  }
318  // @@protoc_insertion_point(field_mutable:ignition.msgs.Distortion.center)
319  return center_;
320 }
322  ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
323  if (message_arena == NULL) {
324  delete reinterpret_cast< ::google::protobuf::MessageLite*>(center_);
325  }
326  if (center) {
327  ::google::protobuf::Arena* submessage_arena = NULL;
328  if (message_arena != submessage_arena) {
329  center = ::google::protobuf::internal::GetOwnedMessage(
330  message_arena, center, submessage_arena);
331  }
332 
333  } else {
334 
335  }
336  center_ = center;
337  // @@protoc_insertion_point(field_set_allocated:ignition.msgs.Distortion.center)
338 }
339 
340 // double k1 = 3;
341 inline void Distortion::clear_k1() {
342  k1_ = 0;
343 }
344 inline double Distortion::k1() const {
345  // @@protoc_insertion_point(field_get:ignition.msgs.Distortion.k1)
346  return k1_;
347 }
348 inline void Distortion::set_k1(double value) {
349 
350  k1_ = value;
351  // @@protoc_insertion_point(field_set:ignition.msgs.Distortion.k1)
352 }
353 
354 // double k2 = 4;
355 inline void Distortion::clear_k2() {
356  k2_ = 0;
357 }
358 inline double Distortion::k2() const {
359  // @@protoc_insertion_point(field_get:ignition.msgs.Distortion.k2)
360  return k2_;
361 }
362 inline void Distortion::set_k2(double value) {
363 
364  k2_ = value;
365  // @@protoc_insertion_point(field_set:ignition.msgs.Distortion.k2)
366 }
367 
368 // double k3 = 5;
369 inline void Distortion::clear_k3() {
370  k3_ = 0;
371 }
372 inline double Distortion::k3() const {
373  // @@protoc_insertion_point(field_get:ignition.msgs.Distortion.k3)
374  return k3_;
375 }
376 inline void Distortion::set_k3(double value) {
377 
378  k3_ = value;
379  // @@protoc_insertion_point(field_set:ignition.msgs.Distortion.k3)
380 }
381 
382 // double p1 = 6;
383 inline void Distortion::clear_p1() {
384  p1_ = 0;
385 }
386 inline double Distortion::p1() const {
387  // @@protoc_insertion_point(field_get:ignition.msgs.Distortion.p1)
388  return p1_;
389 }
390 inline void Distortion::set_p1(double value) {
391 
392  p1_ = value;
393  // @@protoc_insertion_point(field_set:ignition.msgs.Distortion.p1)
394 }
395 
396 // double p2 = 7;
397 inline void Distortion::clear_p2() {
398  p2_ = 0;
399 }
400 inline double Distortion::p2() const {
401  // @@protoc_insertion_point(field_get:ignition.msgs.Distortion.p2)
402  return p2_;
403 }
404 inline void Distortion::set_p2(double value) {
405 
406  p2_ = value;
407  // @@protoc_insertion_point(field_set:ignition.msgs.Distortion.p2)
408 }
409 
410 #ifdef __GNUC__
411  #pragma GCC diagnostic pop
412 #endif // __GNUC__
413 
418 // @@protoc_insertion_point(namespace_scope)
419 
420 } // namespace msgs
421 } // namespace ignition
422 
423 #ifdef _MSC_VER
424 #pragma warning(pop)
425 #endif
426 // @@protoc_insertion_point(global_scope)
427 
428 #endif // PROTOBUF_INCLUDED_ignition_2fmsgs_2fdistortion_2eproto
Distortion & operator=(const Distortion &from)
Definition: build/ignition-msgs8/include/ignition/msgs/distortion.pb.h:85
void set_allocated_center(::ignition::msgs::Vector2d *center)
Definition: build/ignition-msgs8/include/ignition/msgs/distortion.pb.h:321
void Swap(Distortion *other)
STL class.
std::unique_ptr< const Distortion > ConstDistortionUniquePtr
Definition: build/ignition-msgs8/include/ignition/msgs/distortion.pb.h:415
void set_k3(double value)
Definition: build/ignition-msgs8/include/ignition/msgs/distortion.pb.h:376
Definition: build/ignition-msgs8/include/ignition/msgs/distortion.pb.h:78
::ignition::msgs::Vector2d * release_center()
Definition: build/ignition-msgs8/include/ignition/msgs/distortion.pb.h:305
const ::ignition::msgs::Vector2d & center() const
Definition: build/ignition-msgs8/include/ignition/msgs/distortion.pb.h:299
Distortion * New(::google::protobuf::Arena *arena) const final
Definition: build/ignition-msgs8/include/ignition/msgs/distortion.pb.h:126
void set_allocated_header(::ignition::msgs::Header *header)
Definition: build/ignition-msgs8/include/ignition/msgs/distortion.pb.h:273
Definition: build/ignition-msgs8/include/ignition/msgs/distortion.pb.h:49
::ignition::msgs::Header * mutable_header()
Definition: build/ignition-msgs8/include/ignition/msgs/distortion.pb.h:264
std::shared_ptr< Distortion > DistortionSharedPtr
Definition: build/ignition-msgs8/include/ignition/msgs/distortion.pb.h:416
std::unique_ptr< Distortion > DistortionUniquePtr
Definition: build/ignition-msgs8/include/ignition/msgs/distortion.pb.h:414
bool has_header() const
Definition: build/ignition-msgs8/include/ignition/msgs/distortion.pb.h:245
void clear_k2()
Definition: build/ignition-msgs8/include/ignition/msgs/distortion.pb.h:355
static const Distortion * internal_default_instance()
Definition: build/ignition-msgs8/include/ignition/msgs/distortion.pb.h:108
void clear_k1()
Definition: build/ignition-msgs8/include/ignition/msgs/distortion.pb.h:341
void clear_p2()
Definition: build/ignition-msgs8/include/ignition/msgs/distortion.pb.h:397
std::shared_ptr< const Distortion > ConstDistortionSharedPtr
Definition: build/ignition-msgs8/include/ignition/msgs/distortion.pb.h:417
const ::ignition::msgs::Header & header() const
Definition: build/ignition-msgs8/include/ignition/msgs/distortion.pb.h:251
double k1() const
Definition: build/ignition-msgs8/include/ignition/msgs/distortion.pb.h:344
::ignition::msgs::Vector2d * mutable_center()
Definition: build/ignition-msgs8/include/ignition/msgs/distortion.pb.h:312
double p1() const
Definition: build/ignition-msgs8/include/ignition/msgs/distortion.pb.h:386
Definition: build/ignition-msgs8/include/ignition/msgs/distortion.pb.h:51
void set_p1(double value)
Definition: build/ignition-msgs8/include/ignition/msgs/distortion.pb.h:390
Definition: build/ignition-msgs8/include/ignition/msgs/vector2d.pb.h:77
double k2() const
Definition: build/ignition-msgs8/include/ignition/msgs/distortion.pb.h:358
bool has_center() const
Definition: build/ignition-msgs8/include/ignition/msgs/distortion.pb.h:293
double k3() const
Definition: build/ignition-msgs8/include/ignition/msgs/distortion.pb.h:372
IGNITION_MSGS_VISIBLE HeaderDefaultTypeInternal _Header_default_instance_
void clear_k3()
Definition: build/ignition-msgs8/include/ignition/msgs/distortion.pb.h:369
Definition: build/ignition-msgs8/include/ignition/msgs/header.pb.h:215
void set_p2(double value)
Definition: build/ignition-msgs8/include/ignition/msgs/distortion.pb.h:404
void IGNITION_MSGS_VISIBLE AddDescriptors()
IGNITION_MSGS_VISIBLE Vector2dDefaultTypeInternal _Vector2d_default_instance_
friend void swap(Distortion &a, Distortion &b)
Definition: build/ignition-msgs8/include/ignition/msgs/distortion.pb.h:116
void clear_p1()
Definition: build/ignition-msgs8/include/ignition/msgs/distortion.pb.h:383
double p2() const
Definition: build/ignition-msgs8/include/ignition/msgs/distortion.pb.h:400
STL class.
void set_k1(double value)
Definition: build/ignition-msgs8/include/ignition/msgs/distortion.pb.h:348
Distortion * New() const final
Definition: build/ignition-msgs8/include/ignition/msgs/distortion.pb.h:122
::ignition::msgs::Header * release_header()
Definition: build/ignition-msgs8/include/ignition/msgs/distortion.pb.h:257
IGNITION_MSGS_VISIBLE DistortionDefaultTypeInternal _Distortion_default_instance_
Definition: build/ignition-msgs8/include/ignition/msgs/actor.pb.h:78
void set_k2(double value)
Definition: build/ignition-msgs8/include/ignition/msgs/distortion.pb.h:362