Gazebo Msgs

API Reference

5.11.0
build/ignition-msgs5/include/ignition/msgs/friction.pb.h
Go to the documentation of this file.
1 // Generated by the protocol buffer compiler. DO NOT EDIT!
2 // source: ignition/msgs/friction.proto
3 
4 #ifndef PROTOBUF_INCLUDED_ignition_2fmsgs_2ffriction_2eproto
5 #define PROTOBUF_INCLUDED_ignition_2fmsgs_2ffriction_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_2ffriction_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[3];
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_2ffriction_2eproto
61 namespace ignition {
62 namespace msgs {
63 class Friction;
64 class FrictionDefaultTypeInternal;
65 IGNITION_MSGS_VISIBLE extern FrictionDefaultTypeInternal _Friction_default_instance_;
66 class Friction_Torsional;
67 class Friction_TorsionalDefaultTypeInternal;
68 IGNITION_MSGS_VISIBLE extern Friction_TorsionalDefaultTypeInternal _Friction_Torsional_default_instance_;
69 class Friction_Torsional_ODE;
70 class Friction_Torsional_ODEDefaultTypeInternal;
71 IGNITION_MSGS_VISIBLE extern Friction_Torsional_ODEDefaultTypeInternal _Friction_Torsional_ODE_default_instance_;
72 } // namespace msgs
73 } // namespace ignition
74 namespace google {
75 namespace protobuf {
76 template<> IGNITION_MSGS_VISIBLE ::ignition::msgs::Friction* Arena::CreateMaybeMessage<::ignition::msgs::Friction>(Arena*);
77 template<> IGNITION_MSGS_VISIBLE ::ignition::msgs::Friction_Torsional* Arena::CreateMaybeMessage<::ignition::msgs::Friction_Torsional>(Arena*);
78 template<> IGNITION_MSGS_VISIBLE ::ignition::msgs::Friction_Torsional_ODE* Arena::CreateMaybeMessage<::ignition::msgs::Friction_Torsional_ODE>(Arena*);
79 } // namespace protobuf
80 } // namespace google
81 namespace ignition {
82 namespace msgs {
83 
84 // ===================================================================
85 
86 class IGNITION_MSGS_VISIBLE Friction_Torsional_ODE : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:ignition.msgs.Friction.Torsional.ODE) */ {
87  public:
89  virtual ~Friction_Torsional_ODE();
90 
92 
94  CopyFrom(from);
95  return *this;
96  }
97  #if LANG_CXX11
100  *this = ::std::move(from);
101  }
102 
103  inline Friction_Torsional_ODE& operator=(Friction_Torsional_ODE&& from) noexcept {
104  if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
105  if (this != &from) InternalSwap(&from);
106  } else {
107  CopyFrom(from);
108  }
109  return *this;
110  }
111  #endif
112  static const ::google::protobuf::Descriptor* descriptor();
113  static const Friction_Torsional_ODE& default_instance();
114 
115  static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
117  return reinterpret_cast<const Friction_Torsional_ODE*>(
119  }
120  static constexpr int kIndexInFileMessages =
121  0;
122 
123  void Swap(Friction_Torsional_ODE* other);
125  a.Swap(&b);
126  }
127 
128  // implements Message ----------------------------------------------
129 
130  inline Friction_Torsional_ODE* New() const final {
131  return CreateMaybeMessage<Friction_Torsional_ODE>(NULL);
132  }
133 
134  Friction_Torsional_ODE* New(::google::protobuf::Arena* arena) const final {
135  return CreateMaybeMessage<Friction_Torsional_ODE>(arena);
136  }
137  void CopyFrom(const ::google::protobuf::Message& from) final;
138  void MergeFrom(const ::google::protobuf::Message& from) final;
139  void CopyFrom(const Friction_Torsional_ODE& from);
140  void MergeFrom(const Friction_Torsional_ODE& from);
141  void Clear() final;
142  bool IsInitialized() const final;
143 
144  size_t ByteSizeLong() const final;
145  bool MergePartialFromCodedStream(
146  ::google::protobuf::io::CodedInputStream* input) final;
147  void SerializeWithCachedSizes(
148  ::google::protobuf::io::CodedOutputStream* output) const final;
149  ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
150  bool deterministic, ::google::protobuf::uint8* target) const final;
151  int GetCachedSize() const final { return _cached_size_.Get(); }
152 
153  private:
154  void SharedCtor();
155  void SharedDtor();
156  void SetCachedSize(int size) const final;
157  void InternalSwap(Friction_Torsional_ODE* other);
158  private:
159  inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
160  return NULL;
161  }
162  inline void* MaybeArenaPtr() const {
163  return NULL;
164  }
165  public:
166 
167  ::google::protobuf::Metadata GetMetadata() const final;
168 
169  // nested types ----------------------------------------------------
170 
171  // accessors -------------------------------------------------------
172 
173  // double slip = 1;
174  void clear_slip();
175  static const int kSlipFieldNumber = 1;
176  double slip() const;
177  void set_slip(double value);
178 
179  // @@protoc_insertion_point(class_scope:ignition.msgs.Friction.Torsional.ODE)
180  private:
181 
182  ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
183  double slip_;
184  mutable ::google::protobuf::internal::CachedSize _cached_size_;
185  friend struct ::protobuf_ignition_2fmsgs_2ffriction_2eproto::TableStruct;
186 };
187 // -------------------------------------------------------------------
188 
189 class IGNITION_MSGS_VISIBLE Friction_Torsional : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:ignition.msgs.Friction.Torsional) */ {
190  public:
192  virtual ~Friction_Torsional();
193 
195 
197  CopyFrom(from);
198  return *this;
199  }
200  #if LANG_CXX11
201  Friction_Torsional(Friction_Torsional&& from) noexcept
202  : Friction_Torsional() {
203  *this = ::std::move(from);
204  }
205 
206  inline Friction_Torsional& operator=(Friction_Torsional&& from) noexcept {
207  if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
208  if (this != &from) InternalSwap(&from);
209  } else {
210  CopyFrom(from);
211  }
212  return *this;
213  }
214  #endif
215  static const ::google::protobuf::Descriptor* descriptor();
216  static const Friction_Torsional& default_instance();
217 
218  static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
220  return reinterpret_cast<const Friction_Torsional*>(
222  }
223  static constexpr int kIndexInFileMessages =
224  1;
225 
226  void Swap(Friction_Torsional* other);
228  a.Swap(&b);
229  }
230 
231  // implements Message ----------------------------------------------
232 
233  inline Friction_Torsional* New() const final {
234  return CreateMaybeMessage<Friction_Torsional>(NULL);
235  }
236 
237  Friction_Torsional* New(::google::protobuf::Arena* arena) const final {
238  return CreateMaybeMessage<Friction_Torsional>(arena);
239  }
240  void CopyFrom(const ::google::protobuf::Message& from) final;
241  void MergeFrom(const ::google::protobuf::Message& from) final;
242  void CopyFrom(const Friction_Torsional& from);
243  void MergeFrom(const Friction_Torsional& from);
244  void Clear() final;
245  bool IsInitialized() const final;
246 
247  size_t ByteSizeLong() const final;
248  bool MergePartialFromCodedStream(
249  ::google::protobuf::io::CodedInputStream* input) final;
250  void SerializeWithCachedSizes(
251  ::google::protobuf::io::CodedOutputStream* output) const final;
252  ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
253  bool deterministic, ::google::protobuf::uint8* target) const final;
254  int GetCachedSize() const final { return _cached_size_.Get(); }
255 
256  private:
257  void SharedCtor();
258  void SharedDtor();
259  void SetCachedSize(int size) const final;
260  void InternalSwap(Friction_Torsional* other);
261  private:
262  inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
263  return NULL;
264  }
265  inline void* MaybeArenaPtr() const {
266  return NULL;
267  }
268  public:
269 
270  ::google::protobuf::Metadata GetMetadata() const final;
271 
272  // nested types ----------------------------------------------------
273 
275 
276  // accessors -------------------------------------------------------
277 
278  // .ignition.msgs.Friction.Torsional.ODE ode = 5;
279  bool has_ode() const;
280  void clear_ode();
281  static const int kOdeFieldNumber = 5;
282  private:
283  const ::ignition::msgs::Friction_Torsional_ODE& _internal_ode() const;
284  public:
285  const ::ignition::msgs::Friction_Torsional_ODE& ode() const;
286  ::ignition::msgs::Friction_Torsional_ODE* release_ode();
287  ::ignition::msgs::Friction_Torsional_ODE* mutable_ode();
288  void set_allocated_ode(::ignition::msgs::Friction_Torsional_ODE* ode);
289 
290  // double coefficient = 1;
291  void clear_coefficient();
292  static const int kCoefficientFieldNumber = 1;
293  double coefficient() const;
294  void set_coefficient(double value);
295 
296  // double patch_radius = 3;
297  void clear_patch_radius();
298  static const int kPatchRadiusFieldNumber = 3;
299  double patch_radius() const;
300  void set_patch_radius(double value);
301 
302  // double surface_radius = 4;
303  void clear_surface_radius();
304  static const int kSurfaceRadiusFieldNumber = 4;
305  double surface_radius() const;
306  void set_surface_radius(double value);
307 
308  // bool use_patch_radius = 2;
309  void clear_use_patch_radius();
310  static const int kUsePatchRadiusFieldNumber = 2;
311  bool use_patch_radius() const;
312  void set_use_patch_radius(bool value);
313 
314  // @@protoc_insertion_point(class_scope:ignition.msgs.Friction.Torsional)
315  private:
316 
317  ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
318  ::ignition::msgs::Friction_Torsional_ODE* ode_;
319  double coefficient_;
320  double patch_radius_;
321  double surface_radius_;
322  bool use_patch_radius_;
323  mutable ::google::protobuf::internal::CachedSize _cached_size_;
324  friend struct ::protobuf_ignition_2fmsgs_2ffriction_2eproto::TableStruct;
325 };
326 // -------------------------------------------------------------------
327 
328 class IGNITION_MSGS_VISIBLE Friction : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:ignition.msgs.Friction) */ {
329  public:
330  Friction();
331  virtual ~Friction();
332 
333  Friction(const Friction& from);
334 
335  inline Friction& operator=(const Friction& from) {
336  CopyFrom(from);
337  return *this;
338  }
339  #if LANG_CXX11
340  Friction(Friction&& from) noexcept
341  : Friction() {
342  *this = ::std::move(from);
343  }
344 
345  inline Friction& operator=(Friction&& from) noexcept {
346  if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
347  if (this != &from) InternalSwap(&from);
348  } else {
349  CopyFrom(from);
350  }
351  return *this;
352  }
353  #endif
354  static const ::google::protobuf::Descriptor* descriptor();
355  static const Friction& default_instance();
356 
357  static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
358  static inline const Friction* internal_default_instance() {
359  return reinterpret_cast<const Friction*>(
361  }
362  static constexpr int kIndexInFileMessages =
363  2;
364 
365  void Swap(Friction* other);
366  friend void swap(Friction& a, Friction& b) {
367  a.Swap(&b);
368  }
369 
370  // implements Message ----------------------------------------------
371 
372  inline Friction* New() const final {
373  return CreateMaybeMessage<Friction>(NULL);
374  }
375 
376  Friction* New(::google::protobuf::Arena* arena) const final {
377  return CreateMaybeMessage<Friction>(arena);
378  }
379  void CopyFrom(const ::google::protobuf::Message& from) final;
380  void MergeFrom(const ::google::protobuf::Message& from) final;
381  void CopyFrom(const Friction& from);
382  void MergeFrom(const Friction& from);
383  void Clear() final;
384  bool IsInitialized() const final;
385 
386  size_t ByteSizeLong() const final;
387  bool MergePartialFromCodedStream(
388  ::google::protobuf::io::CodedInputStream* input) final;
389  void SerializeWithCachedSizes(
390  ::google::protobuf::io::CodedOutputStream* output) const final;
391  ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
392  bool deterministic, ::google::protobuf::uint8* target) const final;
393  int GetCachedSize() const final { return _cached_size_.Get(); }
394 
395  private:
396  void SharedCtor();
397  void SharedDtor();
398  void SetCachedSize(int size) const final;
399  void InternalSwap(Friction* other);
400  private:
401  inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
402  return NULL;
403  }
404  inline void* MaybeArenaPtr() const {
405  return NULL;
406  }
407  public:
408 
409  ::google::protobuf::Metadata GetMetadata() const final;
410 
411  // nested types ----------------------------------------------------
412 
414 
415  // accessors -------------------------------------------------------
416 
417  // .ignition.msgs.Header header = 1;
418  bool has_header() const;
419  void clear_header();
420  static const int kHeaderFieldNumber = 1;
421  private:
422  const ::ignition::msgs::Header& _internal_header() const;
423  public:
424  const ::ignition::msgs::Header& header() const;
425  ::ignition::msgs::Header* release_header();
426  ::ignition::msgs::Header* mutable_header();
427  void set_allocated_header(::ignition::msgs::Header* header);
428 
429  // .ignition.msgs.Vector3d fdir1 = 4;
430  bool has_fdir1() const;
431  void clear_fdir1();
432  static const int kFdir1FieldNumber = 4;
433  private:
434  const ::ignition::msgs::Vector3d& _internal_fdir1() const;
435  public:
436  const ::ignition::msgs::Vector3d& fdir1() const;
437  ::ignition::msgs::Vector3d* release_fdir1();
438  ::ignition::msgs::Vector3d* mutable_fdir1();
439  void set_allocated_fdir1(::ignition::msgs::Vector3d* fdir1);
440 
441  // .ignition.msgs.Friction.Torsional torsional = 7;
442  bool has_torsional() const;
443  void clear_torsional();
444  static const int kTorsionalFieldNumber = 7;
445  private:
446  const ::ignition::msgs::Friction_Torsional& _internal_torsional() const;
447  public:
448  const ::ignition::msgs::Friction_Torsional& torsional() const;
449  ::ignition::msgs::Friction_Torsional* release_torsional();
450  ::ignition::msgs::Friction_Torsional* mutable_torsional();
451  void set_allocated_torsional(::ignition::msgs::Friction_Torsional* torsional);
452 
453  // double mu = 2;
454  void clear_mu();
455  static const int kMuFieldNumber = 2;
456  double mu() const;
457  void set_mu(double value);
458 
459  // double mu2 = 3;
460  void clear_mu2();
461  static const int kMu2FieldNumber = 3;
462  double mu2() const;
463  void set_mu2(double value);
464 
465  // double slip1 = 5;
466  void clear_slip1();
467  static const int kSlip1FieldNumber = 5;
468  double slip1() const;
469  void set_slip1(double value);
470 
471  // double slip2 = 6;
472  void clear_slip2();
473  static const int kSlip2FieldNumber = 6;
474  double slip2() const;
475  void set_slip2(double value);
476 
477  // @@protoc_insertion_point(class_scope:ignition.msgs.Friction)
478  private:
479 
480  ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
481  ::ignition::msgs::Header* header_;
482  ::ignition::msgs::Vector3d* fdir1_;
483  ::ignition::msgs::Friction_Torsional* torsional_;
484  double mu_;
485  double mu2_;
486  double slip1_;
487  double slip2_;
488  mutable ::google::protobuf::internal::CachedSize _cached_size_;
489  friend struct ::protobuf_ignition_2fmsgs_2ffriction_2eproto::TableStruct;
490 };
491 // ===================================================================
492 
493 
494 // ===================================================================
495 
496 #ifdef __GNUC__
497  #pragma GCC diagnostic push
498  #pragma GCC diagnostic ignored "-Wstrict-aliasing"
499 #endif // __GNUC__
500 // Friction_Torsional_ODE
501 
502 // double slip = 1;
504  slip_ = 0;
505 }
506 inline double Friction_Torsional_ODE::slip() const {
507  // @@protoc_insertion_point(field_get:ignition.msgs.Friction.Torsional.ODE.slip)
508  return slip_;
509 }
510 inline void Friction_Torsional_ODE::set_slip(double value) {
511 
512  slip_ = value;
513  // @@protoc_insertion_point(field_set:ignition.msgs.Friction.Torsional.ODE.slip)
514 }
515 
516 // -------------------------------------------------------------------
517 
518 // Friction_Torsional
519 
520 // double coefficient = 1;
522  coefficient_ = 0;
523 }
524 inline double Friction_Torsional::coefficient() const {
525  // @@protoc_insertion_point(field_get:ignition.msgs.Friction.Torsional.coefficient)
526  return coefficient_;
527 }
528 inline void Friction_Torsional::set_coefficient(double value) {
529 
530  coefficient_ = value;
531  // @@protoc_insertion_point(field_set:ignition.msgs.Friction.Torsional.coefficient)
532 }
533 
534 // bool use_patch_radius = 2;
536  use_patch_radius_ = false;
537 }
539  // @@protoc_insertion_point(field_get:ignition.msgs.Friction.Torsional.use_patch_radius)
540  return use_patch_radius_;
541 }
543 
544  use_patch_radius_ = value;
545  // @@protoc_insertion_point(field_set:ignition.msgs.Friction.Torsional.use_patch_radius)
546 }
547 
548 // double patch_radius = 3;
550  patch_radius_ = 0;
551 }
552 inline double Friction_Torsional::patch_radius() const {
553  // @@protoc_insertion_point(field_get:ignition.msgs.Friction.Torsional.patch_radius)
554  return patch_radius_;
555 }
556 inline void Friction_Torsional::set_patch_radius(double value) {
557 
558  patch_radius_ = value;
559  // @@protoc_insertion_point(field_set:ignition.msgs.Friction.Torsional.patch_radius)
560 }
561 
562 // double surface_radius = 4;
564  surface_radius_ = 0;
565 }
566 inline double Friction_Torsional::surface_radius() const {
567  // @@protoc_insertion_point(field_get:ignition.msgs.Friction.Torsional.surface_radius)
568  return surface_radius_;
569 }
570 inline void Friction_Torsional::set_surface_radius(double value) {
571 
572  surface_radius_ = value;
573  // @@protoc_insertion_point(field_set:ignition.msgs.Friction.Torsional.surface_radius)
574 }
575 
576 // .ignition.msgs.Friction.Torsional.ODE ode = 5;
577 inline bool Friction_Torsional::has_ode() const {
578  return this != internal_default_instance() && ode_ != NULL;
579 }
581  if (GetArenaNoVirtual() == NULL && ode_ != NULL) {
582  delete ode_;
583  }
584  ode_ = NULL;
585 }
586 inline const ::ignition::msgs::Friction_Torsional_ODE& Friction_Torsional::_internal_ode() const {
587  return *ode_;
588 }
589 inline const ::ignition::msgs::Friction_Torsional_ODE& Friction_Torsional::ode() const {
590  const ::ignition::msgs::Friction_Torsional_ODE* p = ode_;
591  // @@protoc_insertion_point(field_get:ignition.msgs.Friction.Torsional.ode)
592  return p != NULL ? *p : *reinterpret_cast<const ::ignition::msgs::Friction_Torsional_ODE*>(
594 }
595 inline ::ignition::msgs::Friction_Torsional_ODE* Friction_Torsional::release_ode() {
596  // @@protoc_insertion_point(field_release:ignition.msgs.Friction.Torsional.ode)
597 
599  ode_ = NULL;
600  return temp;
601 }
602 inline ::ignition::msgs::Friction_Torsional_ODE* Friction_Torsional::mutable_ode() {
603 
604  if (ode_ == NULL) {
605  auto* p = CreateMaybeMessage<::ignition::msgs::Friction_Torsional_ODE>(GetArenaNoVirtual());
606  ode_ = p;
607  }
608  // @@protoc_insertion_point(field_mutable:ignition.msgs.Friction.Torsional.ode)
609  return ode_;
610 }
612  ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
613  if (message_arena == NULL) {
614  delete ode_;
615  }
616  if (ode) {
617  ::google::protobuf::Arena* submessage_arena = NULL;
618  if (message_arena != submessage_arena) {
619  ode = ::google::protobuf::internal::GetOwnedMessage(
620  message_arena, ode, submessage_arena);
621  }
622 
623  } else {
624 
625  }
626  ode_ = ode;
627  // @@protoc_insertion_point(field_set_allocated:ignition.msgs.Friction.Torsional.ode)
628 }
629 
630 // -------------------------------------------------------------------
631 
632 // Friction
633 
634 // .ignition.msgs.Header header = 1;
635 inline bool Friction::has_header() const {
636  return this != internal_default_instance() && header_ != NULL;
637 }
638 inline const ::ignition::msgs::Header& Friction::_internal_header() const {
639  return *header_;
640 }
641 inline const ::ignition::msgs::Header& Friction::header() const {
642  const ::ignition::msgs::Header* p = header_;
643  // @@protoc_insertion_point(field_get:ignition.msgs.Friction.header)
644  return p != NULL ? *p : *reinterpret_cast<const ::ignition::msgs::Header*>(
646 }
647 inline ::ignition::msgs::Header* Friction::release_header() {
648  // @@protoc_insertion_point(field_release:ignition.msgs.Friction.header)
649 
650  ::ignition::msgs::Header* temp = header_;
651  header_ = NULL;
652  return temp;
653 }
654 inline ::ignition::msgs::Header* Friction::mutable_header() {
655 
656  if (header_ == NULL) {
657  auto* p = CreateMaybeMessage<::ignition::msgs::Header>(GetArenaNoVirtual());
658  header_ = p;
659  }
660  // @@protoc_insertion_point(field_mutable:ignition.msgs.Friction.header)
661  return header_;
662 }
664  ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
665  if (message_arena == NULL) {
666  delete reinterpret_cast< ::google::protobuf::MessageLite*>(header_);
667  }
668  if (header) {
669  ::google::protobuf::Arena* submessage_arena = NULL;
670  if (message_arena != submessage_arena) {
671  header = ::google::protobuf::internal::GetOwnedMessage(
672  message_arena, header, submessage_arena);
673  }
674 
675  } else {
676 
677  }
678  header_ = header;
679  // @@protoc_insertion_point(field_set_allocated:ignition.msgs.Friction.header)
680 }
681 
682 // double mu = 2;
683 inline void Friction::clear_mu() {
684  mu_ = 0;
685 }
686 inline double Friction::mu() const {
687  // @@protoc_insertion_point(field_get:ignition.msgs.Friction.mu)
688  return mu_;
689 }
690 inline void Friction::set_mu(double value) {
691 
692  mu_ = value;
693  // @@protoc_insertion_point(field_set:ignition.msgs.Friction.mu)
694 }
695 
696 // double mu2 = 3;
697 inline void Friction::clear_mu2() {
698  mu2_ = 0;
699 }
700 inline double Friction::mu2() const {
701  // @@protoc_insertion_point(field_get:ignition.msgs.Friction.mu2)
702  return mu2_;
703 }
704 inline void Friction::set_mu2(double value) {
705 
706  mu2_ = value;
707  // @@protoc_insertion_point(field_set:ignition.msgs.Friction.mu2)
708 }
709 
710 // .ignition.msgs.Vector3d fdir1 = 4;
711 inline bool Friction::has_fdir1() const {
712  return this != internal_default_instance() && fdir1_ != NULL;
713 }
714 inline const ::ignition::msgs::Vector3d& Friction::_internal_fdir1() const {
715  return *fdir1_;
716 }
717 inline const ::ignition::msgs::Vector3d& Friction::fdir1() const {
718  const ::ignition::msgs::Vector3d* p = fdir1_;
719  // @@protoc_insertion_point(field_get:ignition.msgs.Friction.fdir1)
720  return p != NULL ? *p : *reinterpret_cast<const ::ignition::msgs::Vector3d*>(
722 }
723 inline ::ignition::msgs::Vector3d* Friction::release_fdir1() {
724  // @@protoc_insertion_point(field_release:ignition.msgs.Friction.fdir1)
725 
726  ::ignition::msgs::Vector3d* temp = fdir1_;
727  fdir1_ = NULL;
728  return temp;
729 }
730 inline ::ignition::msgs::Vector3d* Friction::mutable_fdir1() {
731 
732  if (fdir1_ == NULL) {
733  auto* p = CreateMaybeMessage<::ignition::msgs::Vector3d>(GetArenaNoVirtual());
734  fdir1_ = p;
735  }
736  // @@protoc_insertion_point(field_mutable:ignition.msgs.Friction.fdir1)
737  return fdir1_;
738 }
740  ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
741  if (message_arena == NULL) {
742  delete reinterpret_cast< ::google::protobuf::MessageLite*>(fdir1_);
743  }
744  if (fdir1) {
745  ::google::protobuf::Arena* submessage_arena = NULL;
746  if (message_arena != submessage_arena) {
747  fdir1 = ::google::protobuf::internal::GetOwnedMessage(
748  message_arena, fdir1, submessage_arena);
749  }
750 
751  } else {
752 
753  }
754  fdir1_ = fdir1;
755  // @@protoc_insertion_point(field_set_allocated:ignition.msgs.Friction.fdir1)
756 }
757 
758 // double slip1 = 5;
759 inline void Friction::clear_slip1() {
760  slip1_ = 0;
761 }
762 inline double Friction::slip1() const {
763  // @@protoc_insertion_point(field_get:ignition.msgs.Friction.slip1)
764  return slip1_;
765 }
766 inline void Friction::set_slip1(double value) {
767 
768  slip1_ = value;
769  // @@protoc_insertion_point(field_set:ignition.msgs.Friction.slip1)
770 }
771 
772 // double slip2 = 6;
773 inline void Friction::clear_slip2() {
774  slip2_ = 0;
775 }
776 inline double Friction::slip2() const {
777  // @@protoc_insertion_point(field_get:ignition.msgs.Friction.slip2)
778  return slip2_;
779 }
780 inline void Friction::set_slip2(double value) {
781 
782  slip2_ = value;
783  // @@protoc_insertion_point(field_set:ignition.msgs.Friction.slip2)
784 }
785 
786 // .ignition.msgs.Friction.Torsional torsional = 7;
787 inline bool Friction::has_torsional() const {
788  return this != internal_default_instance() && torsional_ != NULL;
789 }
791  if (GetArenaNoVirtual() == NULL && torsional_ != NULL) {
792  delete torsional_;
793  }
794  torsional_ = NULL;
795 }
796 inline const ::ignition::msgs::Friction_Torsional& Friction::_internal_torsional() const {
797  return *torsional_;
798 }
799 inline const ::ignition::msgs::Friction_Torsional& Friction::torsional() const {
800  const ::ignition::msgs::Friction_Torsional* p = torsional_;
801  // @@protoc_insertion_point(field_get:ignition.msgs.Friction.torsional)
802  return p != NULL ? *p : *reinterpret_cast<const ::ignition::msgs::Friction_Torsional*>(
804 }
805 inline ::ignition::msgs::Friction_Torsional* Friction::release_torsional() {
806  // @@protoc_insertion_point(field_release:ignition.msgs.Friction.torsional)
807 
808  ::ignition::msgs::Friction_Torsional* temp = torsional_;
809  torsional_ = NULL;
810  return temp;
811 }
812 inline ::ignition::msgs::Friction_Torsional* Friction::mutable_torsional() {
813 
814  if (torsional_ == NULL) {
815  auto* p = CreateMaybeMessage<::ignition::msgs::Friction_Torsional>(GetArenaNoVirtual());
816  torsional_ = p;
817  }
818  // @@protoc_insertion_point(field_mutable:ignition.msgs.Friction.torsional)
819  return torsional_;
820 }
822  ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
823  if (message_arena == NULL) {
824  delete torsional_;
825  }
826  if (torsional) {
827  ::google::protobuf::Arena* submessage_arena = NULL;
828  if (message_arena != submessage_arena) {
829  torsional = ::google::protobuf::internal::GetOwnedMessage(
830  message_arena, torsional, submessage_arena);
831  }
832 
833  } else {
834 
835  }
836  torsional_ = torsional;
837  // @@protoc_insertion_point(field_set_allocated:ignition.msgs.Friction.torsional)
838 }
839 
840 #ifdef __GNUC__
841  #pragma GCC diagnostic pop
842 #endif // __GNUC__
843 // -------------------------------------------------------------------
844 
845 // -------------------------------------------------------------------
846 
847 
852 // @@protoc_insertion_point(namespace_scope)
853 
854 } // namespace msgs
855 } // namespace ignition
856 
857 #ifdef _MSC_VER
858 #pragma warning(pop)
859 #endif
860 // @@protoc_insertion_point(global_scope)
861 
862 #endif // PROTOBUF_INCLUDED_ignition_2fmsgs_2ffriction_2eproto
Friction * New(::google::protobuf::Arena *arena) const final
Definition: build/ignition-msgs5/include/ignition/msgs/friction.pb.h:376
Friction & operator=(const Friction &from)
Definition: build/ignition-msgs5/include/ignition/msgs/friction.pb.h:335
static const Friction_Torsional_ODE * internal_default_instance()
Definition: build/ignition-msgs5/include/ignition/msgs/friction.pb.h:116
IGNITION_MSGS_VISIBLE Friction_Torsional_ODEDefaultTypeInternal _Friction_Torsional_ODE_default_instance_
void set_use_patch_radius(bool value)
Definition: build/ignition-msgs5/include/ignition/msgs/friction.pb.h:542
double slip2() const
Definition: build/ignition-msgs5/include/ignition/msgs/friction.pb.h:776
double slip1() const
Definition: build/ignition-msgs5/include/ignition/msgs/friction.pb.h:762
::ignition::msgs::Friction_Torsional * mutable_torsional()
Definition: build/ignition-msgs5/include/ignition/msgs/friction.pb.h:812
Friction_Torsional * New(::google::protobuf::Arena *arena) const final
Definition: build/ignition-msgs5/include/ignition/msgs/friction.pb.h:237
STL class.
void set_coefficient(double value)
Definition: build/ignition-msgs5/include/ignition/msgs/friction.pb.h:528
::ignition::msgs::Header * mutable_header()
Definition: build/ignition-msgs5/include/ignition/msgs/friction.pb.h:654
void clear_surface_radius()
Definition: build/ignition-msgs5/include/ignition/msgs/friction.pb.h:563
bool has_ode() const
Definition: build/ignition-msgs5/include/ignition/msgs/friction.pb.h:577
void clear_slip2()
Definition: build/ignition-msgs5/include/ignition/msgs/friction.pb.h:773
void set_slip2(double value)
Definition: build/ignition-msgs5/include/ignition/msgs/friction.pb.h:780
Definition: build/ignition-msgs5/include/ignition/msgs/vector3d.pb.h:77
void set_allocated_fdir1(::ignition::msgs::Vector3d *fdir1)
Definition: build/ignition-msgs5/include/ignition/msgs/friction.pb.h:739
::ignition::msgs::Vector3d * release_fdir1()
Definition: build/ignition-msgs5/include/ignition/msgs/friction.pb.h:723
Friction_Torsional_ODE * New() const final
Definition: build/ignition-msgs5/include/ignition/msgs/friction.pb.h:130
Definition: build/ignition-msgs5/include/ignition/msgs/friction.pb.h:51
double slip() const
Definition: build/ignition-msgs5/include/ignition/msgs/friction.pb.h:506
::ignition::msgs::Friction_Torsional_ODE * release_ode()
Definition: build/ignition-msgs5/include/ignition/msgs/friction.pb.h:595
friend void swap(Friction &a, Friction &b)
Definition: build/ignition-msgs5/include/ignition/msgs/friction.pb.h:366
Definition: build/ignition-msgs5/include/ignition/msgs/friction.pb.h:189
void clear_mu()
Definition: build/ignition-msgs5/include/ignition/msgs/friction.pb.h:683
Friction_Torsional & operator=(const Friction_Torsional &from)
Definition: build/ignition-msgs5/include/ignition/msgs/friction.pb.h:196
void set_mu2(double value)
Definition: build/ignition-msgs5/include/ignition/msgs/friction.pb.h:704
void Swap(Friction *other)
static const Friction * internal_default_instance()
Definition: build/ignition-msgs5/include/ignition/msgs/friction.pb.h:358
void clear_ode()
Definition: build/ignition-msgs5/include/ignition/msgs/friction.pb.h:580
IGNITION_MSGS_VISIBLE FrictionDefaultTypeInternal _Friction_default_instance_
void set_allocated_ode(::ignition::msgs::Friction_Torsional_ODE *ode)
Definition: build/ignition-msgs5/include/ignition/msgs/friction.pb.h:611
void clear_coefficient()
Definition: build/ignition-msgs5/include/ignition/msgs/friction.pb.h:521
Friction_Torsional_ODE * New(::google::protobuf::Arena *arena) const final
Definition: build/ignition-msgs5/include/ignition/msgs/friction.pb.h:134
std::shared_ptr< Friction > FrictionSharedPtr
Definition: build/ignition-msgs5/include/ignition/msgs/friction.pb.h:850
void set_surface_radius(double value)
Definition: build/ignition-msgs5/include/ignition/msgs/friction.pb.h:570
double coefficient() const
Definition: build/ignition-msgs5/include/ignition/msgs/friction.pb.h:524
void set_slip1(double value)
Definition: build/ignition-msgs5/include/ignition/msgs/friction.pb.h:766
Definition: build/ignition-msgs5/include/ignition/msgs/friction.pb.h:49
void IGNITION_MSGS_VISIBLE AddDescriptors()
bool has_torsional() const
Definition: build/ignition-msgs5/include/ignition/msgs/friction.pb.h:787
double mu() const
Definition: build/ignition-msgs5/include/ignition/msgs/friction.pb.h:686
void clear_patch_radius()
Definition: build/ignition-msgs5/include/ignition/msgs/friction.pb.h:549
std::unique_ptr< const Friction > ConstFrictionUniquePtr
Definition: build/ignition-msgs5/include/ignition/msgs/friction.pb.h:849
const ::ignition::msgs::Friction_Torsional_ODE & ode() const
Definition: build/ignition-msgs5/include/ignition/msgs/friction.pb.h:589
void clear_mu2()
Definition: build/ignition-msgs5/include/ignition/msgs/friction.pb.h:697
friend void swap(Friction_Torsional &a, Friction_Torsional &b)
Definition: build/ignition-msgs5/include/ignition/msgs/friction.pb.h:227
double patch_radius() const
Definition: build/ignition-msgs5/include/ignition/msgs/friction.pb.h:552
void clear_slip()
Definition: build/ignition-msgs5/include/ignition/msgs/friction.pb.h:503
void set_allocated_header(::ignition::msgs::Header *header)
Definition: build/ignition-msgs5/include/ignition/msgs/friction.pb.h:663
std::shared_ptr< const Friction > ConstFrictionSharedPtr
Definition: build/ignition-msgs5/include/ignition/msgs/friction.pb.h:851
std::unique_ptr< Friction > FrictionUniquePtr
Definition: build/ignition-msgs5/include/ignition/msgs/friction.pb.h:848
const ::ignition::msgs::Vector3d & fdir1() const
Definition: build/ignition-msgs5/include/ignition/msgs/friction.pb.h:717
void clear_slip1()
Definition: build/ignition-msgs5/include/ignition/msgs/friction.pb.h:759
bool use_patch_radius() const
Definition: build/ignition-msgs5/include/ignition/msgs/friction.pb.h:538
IGNITION_MSGS_VISIBLE Vector3dDefaultTypeInternal _Vector3d_default_instance_
double surface_radius() const
Definition: build/ignition-msgs5/include/ignition/msgs/friction.pb.h:566
::ignition::msgs::Vector3d * mutable_fdir1()
Definition: build/ignition-msgs5/include/ignition/msgs/friction.pb.h:730
void Swap(Friction_Torsional *other)
void Swap(Friction_Torsional_ODE *other)
IGNITION_MSGS_VISIBLE HeaderDefaultTypeInternal _Header_default_instance_
const ::ignition::msgs::Header & header() const
Definition: build/ignition-msgs5/include/ignition/msgs/friction.pb.h:641
double mu2() const
Definition: build/ignition-msgs5/include/ignition/msgs/friction.pb.h:700
bool has_fdir1() const
Definition: build/ignition-msgs5/include/ignition/msgs/friction.pb.h:711
Definition: build/ignition-msgs5/include/ignition/msgs/header.pb.h:215
void set_allocated_torsional(::ignition::msgs::Friction_Torsional *torsional)
Definition: build/ignition-msgs5/include/ignition/msgs/friction.pb.h:821
bool has_header() const
Definition: build/ignition-msgs5/include/ignition/msgs/friction.pb.h:635
IGNITION_MSGS_VISIBLE Friction_TorsionalDefaultTypeInternal _Friction_Torsional_default_instance_
Friction * New() const final
Definition: build/ignition-msgs5/include/ignition/msgs/friction.pb.h:372
Friction_Torsional_ODE & operator=(const Friction_Torsional_ODE &from)
Definition: build/ignition-msgs5/include/ignition/msgs/friction.pb.h:93
::ignition::msgs::Header * release_header()
Definition: build/ignition-msgs5/include/ignition/msgs/friction.pb.h:647
void clear_use_patch_radius()
Definition: build/ignition-msgs5/include/ignition/msgs/friction.pb.h:535
static const Friction_Torsional * internal_default_instance()
Definition: build/ignition-msgs5/include/ignition/msgs/friction.pb.h:219
friend void swap(Friction_Torsional_ODE &a, Friction_Torsional_ODE &b)
Definition: build/ignition-msgs5/include/ignition/msgs/friction.pb.h:124
Definition: build/ignition-msgs5/include/ignition/msgs/friction.pb.h:86
Friction_Torsional * New() const final
Definition: build/ignition-msgs5/include/ignition/msgs/friction.pb.h:233
STL class.
::ignition::msgs::Friction_Torsional * release_torsional()
Definition: build/ignition-msgs5/include/ignition/msgs/friction.pb.h:805
::ignition::msgs::Friction_Torsional_ODE * mutable_ode()
Definition: build/ignition-msgs5/include/ignition/msgs/friction.pb.h:602
void set_mu(double value)
Definition: build/ignition-msgs5/include/ignition/msgs/friction.pb.h:690
const ::ignition::msgs::Friction_Torsional & torsional() const
Definition: build/ignition-msgs5/include/ignition/msgs/friction.pb.h:799
void set_patch_radius(double value)
Definition: build/ignition-msgs5/include/ignition/msgs/friction.pb.h:556
Definition: build/ignition-msgs5/include/ignition/msgs/friction.pb.h:328
void clear_torsional()
Definition: build/ignition-msgs5/include/ignition/msgs/friction.pb.h:790
Definition: build/ignition-msgs5/include/ignition/msgs/actor.pb.h:78
void set_slip(double value)
Definition: build/ignition-msgs5/include/ignition/msgs/friction.pb.h:510