Ignition Msgs

API Reference

5.8.1
surface.pb.h
Go to the documentation of this file.
1 // Generated by the protocol buffer compiler. DO NOT EDIT!
2 // source: ignition/msgs/surface.proto
3 
4 #ifndef GOOGLE_PROTOBUF_INCLUDED_ignition_2fmsgs_2fsurface_2eproto
5 #define GOOGLE_PROTOBUF_INCLUDED_ignition_2fmsgs_2fsurface_2eproto
6 
7 #include <limits>
8 #include <string>
9 
10 #include <google/protobuf/port_def.inc>
11 #if PROTOBUF_VERSION < 3014000
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 3014000 < 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/port_undef.inc>
23 #include <google/protobuf/io/coded_stream.h>
24 #include <google/protobuf/arena.h>
25 #include <google/protobuf/arenastring.h>
26 #include <google/protobuf/generated_message_table_driven.h>
27 #include <google/protobuf/generated_message_util.h>
28 #include <google/protobuf/metadata_lite.h>
29 #include <google/protobuf/generated_message_reflection.h>
30 #include <google/protobuf/message.h>
31 #include <google/protobuf/repeated_field.h> // IWYU pragma: export
32 #include <google/protobuf/extension_set.h> // IWYU pragma: export
33 #include <google/protobuf/unknown_field_set.h>
36 #ifndef _MSC_VER
37 #pragma GCC system_header
38 #else
39 #pragma warning(push)
40 #pragma warning(disable: 4244 4267 4100 4244 4512 4127 4068 4275 4251)
41 #endif
42 #ifdef __linux__
43 #include <sys/sysmacros.h>
44 #endif
45 #include <memory>
46 #include <ignition/msgs/Export.hh>
47 // @@protoc_insertion_point(includes)
48 #include <google/protobuf/port_def.inc>
49 #define PROTOBUF_INTERNAL_EXPORT_ignition_2fmsgs_2fsurface_2eproto IGNITION_MSGS_VISIBLE
50 PROTOBUF_NAMESPACE_OPEN
51 namespace internal {
52 class AnyMetadata;
53 } // namespace internal
54 PROTOBUF_NAMESPACE_CLOSE
55 
56 // Internal implementation detail -- do not use these members.
57 struct IGNITION_MSGS_VISIBLE TableStruct_ignition_2fmsgs_2fsurface_2eproto {
58  static const ::PROTOBUF_NAMESPACE_ID::internal::ParseTableField entries[]
59  PROTOBUF_SECTION_VARIABLE(protodesc_cold);
60  static const ::PROTOBUF_NAMESPACE_ID::internal::AuxiliaryParseTableField aux[]
61  PROTOBUF_SECTION_VARIABLE(protodesc_cold);
62  static const ::PROTOBUF_NAMESPACE_ID::internal::ParseTable schema[1]
63  PROTOBUF_SECTION_VARIABLE(protodesc_cold);
64  static const ::PROTOBUF_NAMESPACE_ID::internal::FieldMetadata field_metadata[];
65  static const ::PROTOBUF_NAMESPACE_ID::internal::SerializationTable serialization_table[];
66  static const ::PROTOBUF_NAMESPACE_ID::uint32 offsets[];
67 };
68 extern IGNITION_MSGS_VISIBLE const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable descriptor_table_ignition_2fmsgs_2fsurface_2eproto;
69 namespace ignition {
70 namespace msgs {
71 class Surface;
72 class SurfaceDefaultTypeInternal;
73 IGNITION_MSGS_VISIBLE extern SurfaceDefaultTypeInternal _Surface_default_instance_;
74 } // namespace msgs
75 } // namespace ignition
76 PROTOBUF_NAMESPACE_OPEN
77 template<> IGNITION_MSGS_VISIBLE ::ignition::msgs::Surface* Arena::CreateMaybeMessage<::ignition::msgs::Surface>(Arena*);
78 PROTOBUF_NAMESPACE_CLOSE
79 namespace ignition {
80 namespace msgs {
81 
82 // ===================================================================
83 
84 class IGNITION_MSGS_VISIBLE Surface PROTOBUF_FINAL :
85  public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:ignition.msgs.Surface) */ {
86  public:
87  inline Surface() : Surface(nullptr) {}
88  virtual ~Surface();
89 
90  Surface(const Surface& from);
91  Surface(Surface&& from) noexcept
92  : Surface() {
93  *this = ::std::move(from);
94  }
95 
96  inline Surface& operator=(const Surface& from) {
97  CopyFrom(from);
98  return *this;
99  }
100  inline Surface& operator=(Surface&& from) noexcept {
101  if (GetArena() == from.GetArena()) {
102  if (this != &from) InternalSwap(&from);
103  } else {
104  CopyFrom(from);
105  }
106  return *this;
107  }
108 
109  static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
110  return GetDescriptor();
111  }
112  static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
113  return GetMetadataStatic().descriptor;
114  }
115  static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
116  return GetMetadataStatic().reflection;
117  }
118  static const Surface& default_instance();
119 
120  static inline const Surface* internal_default_instance() {
121  return reinterpret_cast<const Surface*>(
123  }
124  static constexpr int kIndexInFileMessages =
125  0;
126 
127  friend void swap(Surface& a, Surface& b) {
128  a.Swap(&b);
129  }
130  inline void Swap(Surface* other) {
131  if (other == this) return;
132  if (GetArena() == other->GetArena()) {
133  InternalSwap(other);
134  } else {
135  ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
136  }
137  }
138  void UnsafeArenaSwap(Surface* other) {
139  if (other == this) return;
140  GOOGLE_DCHECK(GetArena() == other->GetArena());
141  InternalSwap(other);
142  }
143 
144  // implements Message ----------------------------------------------
145 
146  inline Surface* New() const final {
147  return CreateMaybeMessage<Surface>(nullptr);
148  }
149 
150  Surface* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
151  return CreateMaybeMessage<Surface>(arena);
152  }
153  void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
154  void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
155  void CopyFrom(const Surface& from);
156  void MergeFrom(const Surface& from);
157  PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
158  bool IsInitialized() const final;
159 
160  size_t ByteSizeLong() const final;
161  const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
162  ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize(
163  ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
164  int GetCachedSize() const final { return _cached_size_.Get(); }
165 
166  private:
167  inline void SharedCtor();
168  inline void SharedDtor();
169  void SetCachedSize(int size) const final;
170  void InternalSwap(Surface* other);
171  friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
172  static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
173  return "ignition.msgs.Surface";
174  }
175  protected:
176  explicit Surface(::PROTOBUF_NAMESPACE_ID::Arena* arena);
177  private:
178  static void ArenaDtor(void* object);
179  inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
180  public:
181 
182  ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
183  private:
184  static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() {
185  ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&::descriptor_table_ignition_2fmsgs_2fsurface_2eproto);
186  return ::descriptor_table_ignition_2fmsgs_2fsurface_2eproto.file_level_metadata[kIndexInFileMessages];
187  }
188 
189  public:
190 
191  // nested types ----------------------------------------------------
192 
193  // accessors -------------------------------------------------------
194 
195  enum : int {
196  kHeaderFieldNumber = 1,
197  kFrictionFieldNumber = 2,
198  kRestitutionCoefficientFieldNumber = 3,
199  kBounceThresholdFieldNumber = 4,
200  kSoftCfmFieldNumber = 5,
201  kSoftErpFieldNumber = 6,
202  kKpFieldNumber = 7,
203  kKdFieldNumber = 8,
204  kMaxVelFieldNumber = 9,
205  kMinDepthFieldNumber = 10,
206  kCollideWithoutContactFieldNumber = 11,
207  kCollideWithoutContactBitmaskFieldNumber = 12,
208  kElasticModulusFieldNumber = 14,
209  kCollideBitmaskFieldNumber = 13,
210  };
211  // .ignition.msgs.Header header = 1;
212  bool has_header() const;
213  private:
214  bool _internal_has_header() const;
215  public:
216  void clear_header();
217  const ::ignition::msgs::Header& header() const;
218  ::ignition::msgs::Header* release_header();
219  ::ignition::msgs::Header* mutable_header();
220  void set_allocated_header(::ignition::msgs::Header* header);
221  private:
222  const ::ignition::msgs::Header& _internal_header() const;
223  ::ignition::msgs::Header* _internal_mutable_header();
224  public:
226  ::ignition::msgs::Header* header);
227  ::ignition::msgs::Header* unsafe_arena_release_header();
228 
229  // .ignition.msgs.Friction friction = 2;
230  bool has_friction() const;
231  private:
232  bool _internal_has_friction() const;
233  public:
235  const ::ignition::msgs::Friction& friction() const;
236  ::ignition::msgs::Friction* release_friction();
237  ::ignition::msgs::Friction* mutable_friction();
238  void set_allocated_friction(::ignition::msgs::Friction* friction);
239  private:
240  const ::ignition::msgs::Friction& _internal_friction() const;
241  ::ignition::msgs::Friction* _internal_mutable_friction();
242  public:
244  ::ignition::msgs::Friction* friction);
245  ::ignition::msgs::Friction* unsafe_arena_release_friction();
246 
247  // double restitution_coefficient = 3;
249  double restitution_coefficient() const;
250  void set_restitution_coefficient(double value);
251  private:
252  double _internal_restitution_coefficient() const;
253  void _internal_set_restitution_coefficient(double value);
254  public:
255 
256  // double bounce_threshold = 4;
258  double bounce_threshold() const;
259  void set_bounce_threshold(double value);
260  private:
261  double _internal_bounce_threshold() const;
262  void _internal_set_bounce_threshold(double value);
263  public:
264 
265  // double soft_cfm = 5;
267  double soft_cfm() const;
268  void set_soft_cfm(double value);
269  private:
270  double _internal_soft_cfm() const;
271  void _internal_set_soft_cfm(double value);
272  public:
273 
274  // double soft_erp = 6;
276  double soft_erp() const;
277  void set_soft_erp(double value);
278  private:
279  double _internal_soft_erp() const;
280  void _internal_set_soft_erp(double value);
281  public:
282 
283  // double kp = 7;
284  void clear_kp();
285  double kp() const;
286  void set_kp(double value);
287  private:
288  double _internal_kp() const;
289  void _internal_set_kp(double value);
290  public:
291 
292  // double kd = 8;
293  void clear_kd();
294  double kd() const;
295  void set_kd(double value);
296  private:
297  double _internal_kd() const;
298  void _internal_set_kd(double value);
299  public:
300 
301  // double max_vel = 9;
303  double max_vel() const;
304  void set_max_vel(double value);
305  private:
306  double _internal_max_vel() const;
307  void _internal_set_max_vel(double value);
308  public:
309 
310  // double min_depth = 10;
312  double min_depth() const;
313  void set_min_depth(double value);
314  private:
315  double _internal_min_depth() const;
316  void _internal_set_min_depth(double value);
317  public:
318 
319  // bool collide_without_contact = 11;
322  void set_collide_without_contact(bool value);
323  private:
324  bool _internal_collide_without_contact() const;
325  void _internal_set_collide_without_contact(bool value);
326  public:
327 
328  // uint32 collide_without_contact_bitmask = 12;
330  ::PROTOBUF_NAMESPACE_ID::uint32 collide_without_contact_bitmask() const;
331  void set_collide_without_contact_bitmask(::PROTOBUF_NAMESPACE_ID::uint32 value);
332  private:
333  ::PROTOBUF_NAMESPACE_ID::uint32 _internal_collide_without_contact_bitmask() const;
334  void _internal_set_collide_without_contact_bitmask(::PROTOBUF_NAMESPACE_ID::uint32 value);
335  public:
336 
337  // double elastic_modulus = 14;
339  double elastic_modulus() const;
340  void set_elastic_modulus(double value);
341  private:
342  double _internal_elastic_modulus() const;
343  void _internal_set_elastic_modulus(double value);
344  public:
345 
346  // uint32 collide_bitmask = 13;
348  ::PROTOBUF_NAMESPACE_ID::uint32 collide_bitmask() const;
349  void set_collide_bitmask(::PROTOBUF_NAMESPACE_ID::uint32 value);
350  private:
351  ::PROTOBUF_NAMESPACE_ID::uint32 _internal_collide_bitmask() const;
352  void _internal_set_collide_bitmask(::PROTOBUF_NAMESPACE_ID::uint32 value);
353  public:
354 
355  // @@protoc_insertion_point(class_scope:ignition.msgs.Surface)
356  private:
357  class _Internal;
358 
359  template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
360  typedef void InternalArenaConstructable_;
361  typedef void DestructorSkippable_;
362  ::ignition::msgs::Header* header_;
363  ::ignition::msgs::Friction* friction_;
364  double restitution_coefficient_;
365  double bounce_threshold_;
366  double soft_cfm_;
367  double soft_erp_;
368  double kp_;
369  double kd_;
370  double max_vel_;
371  double min_depth_;
372  bool collide_without_contact_;
373  ::PROTOBUF_NAMESPACE_ID::uint32 collide_without_contact_bitmask_;
374  double elastic_modulus_;
375  ::PROTOBUF_NAMESPACE_ID::uint32 collide_bitmask_;
376  mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
377  friend struct ::TableStruct_ignition_2fmsgs_2fsurface_2eproto;
378 };
379 // ===================================================================
380 
381 
382 // ===================================================================
383 
384 #ifdef __GNUC__
385  #pragma GCC diagnostic push
386  #pragma GCC diagnostic ignored "-Wstrict-aliasing"
387 #endif // __GNUC__
388 // Surface
389 
390 // .ignition.msgs.Header header = 1;
391 inline bool Surface::_internal_has_header() const {
392  return this != internal_default_instance() && header_ != nullptr;
393 }
394 inline bool Surface::has_header() const {
395  return _internal_has_header();
396 }
397 inline const ::ignition::msgs::Header& Surface::_internal_header() const {
398  const ::ignition::msgs::Header* p = header_;
399  return p != nullptr ? *p : reinterpret_cast<const ::ignition::msgs::Header&>(
401 }
402 inline const ::ignition::msgs::Header& Surface::header() const {
403  // @@protoc_insertion_point(field_get:ignition.msgs.Surface.header)
404  return _internal_header();
405 }
406 inline void Surface::unsafe_arena_set_allocated_header(
407  ::ignition::msgs::Header* header) {
408  if (GetArena() == nullptr) {
409  delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(header_);
410  }
411  header_ = header;
412  if (header) {
413 
414  } else {
415 
416  }
417  // @@protoc_insertion_point(field_unsafe_arena_set_allocated:ignition.msgs.Surface.header)
418 }
419 inline ::ignition::msgs::Header* Surface::release_header() {
420 
421  ::ignition::msgs::Header* temp = header_;
422  header_ = nullptr;
423  if (GetArena() != nullptr) {
424  temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
425  }
426  return temp;
427 }
428 inline ::ignition::msgs::Header* Surface::unsafe_arena_release_header() {
429  // @@protoc_insertion_point(field_release:ignition.msgs.Surface.header)
430 
431  ::ignition::msgs::Header* temp = header_;
432  header_ = nullptr;
433  return temp;
434 }
435 inline ::ignition::msgs::Header* Surface::_internal_mutable_header() {
436 
437  if (header_ == nullptr) {
438  auto* p = CreateMaybeMessage<::ignition::msgs::Header>(GetArena());
439  header_ = p;
440  }
441  return header_;
442 }
443 inline ::ignition::msgs::Header* Surface::mutable_header() {
444  // @@protoc_insertion_point(field_mutable:ignition.msgs.Surface.header)
445  return _internal_mutable_header();
446 }
447 inline void Surface::set_allocated_header(::ignition::msgs::Header* header) {
448  ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArena();
449  if (message_arena == nullptr) {
450  delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(header_);
451  }
452  if (header) {
453  ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
454  reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(header)->GetArena();
455  if (message_arena != submessage_arena) {
456  header = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
457  message_arena, header, submessage_arena);
458  }
459 
460  } else {
461 
462  }
463  header_ = header;
464  // @@protoc_insertion_point(field_set_allocated:ignition.msgs.Surface.header)
465 }
466 
467 // .ignition.msgs.Friction friction = 2;
468 inline bool Surface::_internal_has_friction() const {
469  return this != internal_default_instance() && friction_ != nullptr;
470 }
471 inline bool Surface::has_friction() const {
472  return _internal_has_friction();
473 }
474 inline const ::ignition::msgs::Friction& Surface::_internal_friction() const {
475  const ::ignition::msgs::Friction* p = friction_;
476  return p != nullptr ? *p : reinterpret_cast<const ::ignition::msgs::Friction&>(
478 }
479 inline const ::ignition::msgs::Friction& Surface::friction() const {
480  // @@protoc_insertion_point(field_get:ignition.msgs.Surface.friction)
481  return _internal_friction();
482 }
483 inline void Surface::unsafe_arena_set_allocated_friction(
484  ::ignition::msgs::Friction* friction) {
485  if (GetArena() == nullptr) {
486  delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(friction_);
487  }
488  friction_ = friction;
489  if (friction) {
490 
491  } else {
492 
493  }
494  // @@protoc_insertion_point(field_unsafe_arena_set_allocated:ignition.msgs.Surface.friction)
495 }
496 inline ::ignition::msgs::Friction* Surface::release_friction() {
497 
498  ::ignition::msgs::Friction* temp = friction_;
499  friction_ = nullptr;
500  if (GetArena() != nullptr) {
501  temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
502  }
503  return temp;
504 }
505 inline ::ignition::msgs::Friction* Surface::unsafe_arena_release_friction() {
506  // @@protoc_insertion_point(field_release:ignition.msgs.Surface.friction)
507 
508  ::ignition::msgs::Friction* temp = friction_;
509  friction_ = nullptr;
510  return temp;
511 }
512 inline ::ignition::msgs::Friction* Surface::_internal_mutable_friction() {
513 
514  if (friction_ == nullptr) {
515  auto* p = CreateMaybeMessage<::ignition::msgs::Friction>(GetArena());
516  friction_ = p;
517  }
518  return friction_;
519 }
520 inline ::ignition::msgs::Friction* Surface::mutable_friction() {
521  // @@protoc_insertion_point(field_mutable:ignition.msgs.Surface.friction)
522  return _internal_mutable_friction();
523 }
524 inline void Surface::set_allocated_friction(::ignition::msgs::Friction* friction) {
525  ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArena();
526  if (message_arena == nullptr) {
527  delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(friction_);
528  }
529  if (friction) {
530  ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
531  reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(friction)->GetArena();
532  if (message_arena != submessage_arena) {
533  friction = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
534  message_arena, friction, submessage_arena);
535  }
536 
537  } else {
538 
539  }
540  friction_ = friction;
541  // @@protoc_insertion_point(field_set_allocated:ignition.msgs.Surface.friction)
542 }
543 
544 // double restitution_coefficient = 3;
545 inline void Surface::clear_restitution_coefficient() {
546  restitution_coefficient_ = 0;
547 }
548 inline double Surface::_internal_restitution_coefficient() const {
549  return restitution_coefficient_;
550 }
551 inline double Surface::restitution_coefficient() const {
552  // @@protoc_insertion_point(field_get:ignition.msgs.Surface.restitution_coefficient)
553  return _internal_restitution_coefficient();
554 }
555 inline void Surface::_internal_set_restitution_coefficient(double value) {
556 
557  restitution_coefficient_ = value;
558 }
559 inline void Surface::set_restitution_coefficient(double value) {
560  _internal_set_restitution_coefficient(value);
561  // @@protoc_insertion_point(field_set:ignition.msgs.Surface.restitution_coefficient)
562 }
563 
564 // double bounce_threshold = 4;
565 inline void Surface::clear_bounce_threshold() {
566  bounce_threshold_ = 0;
567 }
568 inline double Surface::_internal_bounce_threshold() const {
569  return bounce_threshold_;
570 }
571 inline double Surface::bounce_threshold() const {
572  // @@protoc_insertion_point(field_get:ignition.msgs.Surface.bounce_threshold)
573  return _internal_bounce_threshold();
574 }
575 inline void Surface::_internal_set_bounce_threshold(double value) {
576 
577  bounce_threshold_ = value;
578 }
579 inline void Surface::set_bounce_threshold(double value) {
580  _internal_set_bounce_threshold(value);
581  // @@protoc_insertion_point(field_set:ignition.msgs.Surface.bounce_threshold)
582 }
583 
584 // double soft_cfm = 5;
585 inline void Surface::clear_soft_cfm() {
586  soft_cfm_ = 0;
587 }
588 inline double Surface::_internal_soft_cfm() const {
589  return soft_cfm_;
590 }
591 inline double Surface::soft_cfm() const {
592  // @@protoc_insertion_point(field_get:ignition.msgs.Surface.soft_cfm)
593  return _internal_soft_cfm();
594 }
595 inline void Surface::_internal_set_soft_cfm(double value) {
596 
597  soft_cfm_ = value;
598 }
599 inline void Surface::set_soft_cfm(double value) {
600  _internal_set_soft_cfm(value);
601  // @@protoc_insertion_point(field_set:ignition.msgs.Surface.soft_cfm)
602 }
603 
604 // double soft_erp = 6;
605 inline void Surface::clear_soft_erp() {
606  soft_erp_ = 0;
607 }
608 inline double Surface::_internal_soft_erp() const {
609  return soft_erp_;
610 }
611 inline double Surface::soft_erp() const {
612  // @@protoc_insertion_point(field_get:ignition.msgs.Surface.soft_erp)
613  return _internal_soft_erp();
614 }
615 inline void Surface::_internal_set_soft_erp(double value) {
616 
617  soft_erp_ = value;
618 }
619 inline void Surface::set_soft_erp(double value) {
620  _internal_set_soft_erp(value);
621  // @@protoc_insertion_point(field_set:ignition.msgs.Surface.soft_erp)
622 }
623 
624 // double kp = 7;
625 inline void Surface::clear_kp() {
626  kp_ = 0;
627 }
628 inline double Surface::_internal_kp() const {
629  return kp_;
630 }
631 inline double Surface::kp() const {
632  // @@protoc_insertion_point(field_get:ignition.msgs.Surface.kp)
633  return _internal_kp();
634 }
635 inline void Surface::_internal_set_kp(double value) {
636 
637  kp_ = value;
638 }
639 inline void Surface::set_kp(double value) {
640  _internal_set_kp(value);
641  // @@protoc_insertion_point(field_set:ignition.msgs.Surface.kp)
642 }
643 
644 // double kd = 8;
645 inline void Surface::clear_kd() {
646  kd_ = 0;
647 }
648 inline double Surface::_internal_kd() const {
649  return kd_;
650 }
651 inline double Surface::kd() const {
652  // @@protoc_insertion_point(field_get:ignition.msgs.Surface.kd)
653  return _internal_kd();
654 }
655 inline void Surface::_internal_set_kd(double value) {
656 
657  kd_ = value;
658 }
659 inline void Surface::set_kd(double value) {
660  _internal_set_kd(value);
661  // @@protoc_insertion_point(field_set:ignition.msgs.Surface.kd)
662 }
663 
664 // double max_vel = 9;
665 inline void Surface::clear_max_vel() {
666  max_vel_ = 0;
667 }
668 inline double Surface::_internal_max_vel() const {
669  return max_vel_;
670 }
671 inline double Surface::max_vel() const {
672  // @@protoc_insertion_point(field_get:ignition.msgs.Surface.max_vel)
673  return _internal_max_vel();
674 }
675 inline void Surface::_internal_set_max_vel(double value) {
676 
677  max_vel_ = value;
678 }
679 inline void Surface::set_max_vel(double value) {
680  _internal_set_max_vel(value);
681  // @@protoc_insertion_point(field_set:ignition.msgs.Surface.max_vel)
682 }
683 
684 // double min_depth = 10;
685 inline void Surface::clear_min_depth() {
686  min_depth_ = 0;
687 }
688 inline double Surface::_internal_min_depth() const {
689  return min_depth_;
690 }
691 inline double Surface::min_depth() const {
692  // @@protoc_insertion_point(field_get:ignition.msgs.Surface.min_depth)
693  return _internal_min_depth();
694 }
695 inline void Surface::_internal_set_min_depth(double value) {
696 
697  min_depth_ = value;
698 }
699 inline void Surface::set_min_depth(double value) {
700  _internal_set_min_depth(value);
701  // @@protoc_insertion_point(field_set:ignition.msgs.Surface.min_depth)
702 }
703 
704 // bool collide_without_contact = 11;
705 inline void Surface::clear_collide_without_contact() {
706  collide_without_contact_ = false;
707 }
708 inline bool Surface::_internal_collide_without_contact() const {
709  return collide_without_contact_;
710 }
711 inline bool Surface::collide_without_contact() const {
712  // @@protoc_insertion_point(field_get:ignition.msgs.Surface.collide_without_contact)
713  return _internal_collide_without_contact();
714 }
715 inline void Surface::_internal_set_collide_without_contact(bool value) {
716 
717  collide_without_contact_ = value;
718 }
719 inline void Surface::set_collide_without_contact(bool value) {
720  _internal_set_collide_without_contact(value);
721  // @@protoc_insertion_point(field_set:ignition.msgs.Surface.collide_without_contact)
722 }
723 
724 // uint32 collide_without_contact_bitmask = 12;
725 inline void Surface::clear_collide_without_contact_bitmask() {
726  collide_without_contact_bitmask_ = 0u;
727 }
728 inline ::PROTOBUF_NAMESPACE_ID::uint32 Surface::_internal_collide_without_contact_bitmask() const {
729  return collide_without_contact_bitmask_;
730 }
731 inline ::PROTOBUF_NAMESPACE_ID::uint32 Surface::collide_without_contact_bitmask() const {
732  // @@protoc_insertion_point(field_get:ignition.msgs.Surface.collide_without_contact_bitmask)
733  return _internal_collide_without_contact_bitmask();
734 }
735 inline void Surface::_internal_set_collide_without_contact_bitmask(::PROTOBUF_NAMESPACE_ID::uint32 value) {
736 
737  collide_without_contact_bitmask_ = value;
738 }
739 inline void Surface::set_collide_without_contact_bitmask(::PROTOBUF_NAMESPACE_ID::uint32 value) {
740  _internal_set_collide_without_contact_bitmask(value);
741  // @@protoc_insertion_point(field_set:ignition.msgs.Surface.collide_without_contact_bitmask)
742 }
743 
744 // uint32 collide_bitmask = 13;
745 inline void Surface::clear_collide_bitmask() {
746  collide_bitmask_ = 0u;
747 }
748 inline ::PROTOBUF_NAMESPACE_ID::uint32 Surface::_internal_collide_bitmask() const {
749  return collide_bitmask_;
750 }
751 inline ::PROTOBUF_NAMESPACE_ID::uint32 Surface::collide_bitmask() const {
752  // @@protoc_insertion_point(field_get:ignition.msgs.Surface.collide_bitmask)
753  return _internal_collide_bitmask();
754 }
755 inline void Surface::_internal_set_collide_bitmask(::PROTOBUF_NAMESPACE_ID::uint32 value) {
756 
757  collide_bitmask_ = value;
758 }
759 inline void Surface::set_collide_bitmask(::PROTOBUF_NAMESPACE_ID::uint32 value) {
760  _internal_set_collide_bitmask(value);
761  // @@protoc_insertion_point(field_set:ignition.msgs.Surface.collide_bitmask)
762 }
763 
764 // double elastic_modulus = 14;
765 inline void Surface::clear_elastic_modulus() {
766  elastic_modulus_ = 0;
767 }
768 inline double Surface::_internal_elastic_modulus() const {
769  return elastic_modulus_;
770 }
771 inline double Surface::elastic_modulus() const {
772  // @@protoc_insertion_point(field_get:ignition.msgs.Surface.elastic_modulus)
773  return _internal_elastic_modulus();
774 }
775 inline void Surface::_internal_set_elastic_modulus(double value) {
776 
777  elastic_modulus_ = value;
778 }
779 inline void Surface::set_elastic_modulus(double value) {
780  _internal_set_elastic_modulus(value);
781  // @@protoc_insertion_point(field_set:ignition.msgs.Surface.elastic_modulus)
782 }
783 
784 #ifdef __GNUC__
785  #pragma GCC diagnostic pop
786 #endif // __GNUC__
787 
792 // @@protoc_insertion_point(namespace_scope)
793 
794 } // namespace msgs
795 } // namespace ignition
796 
797 #ifdef _MSC_VER
798 #pragma warning(pop)
799 #endif
800 // @@protoc_insertion_point(global_scope)
801 
802 #include <google/protobuf/port_undef.inc>
803 #endif // GOOGLE_PROTOBUF_INCLUDED_GOOGLE_PROTOBUF_INCLUDED_ignition_2fmsgs_2fsurface_2eproto
double restitution_coefficient() const
const ::ignition::msgs::Friction & friction() const
static const ::PROTOBUF_NAMESPACE_ID::Reflection * GetReflection()
Definition: surface.pb.h:115
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final
::ignition::msgs::Header * release_header()
Surface & operator=(Surface &&from) noexcept
Definition: surface.pb.h:100
void unsafe_arena_set_allocated_friction(::ignition::msgs::Friction *friction)
Surface(Surface &&from) noexcept
Definition: surface.pb.h:91
::ignition::msgs::Header * mutable_header()
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * descriptor()
Definition: surface.pb.h:109
void set_collide_bitmask(::PROTOBUF_NAMESPACE_ID::uint32 value)
void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message &from) final
void set_restitution_coefficient(double value)
Surface(::PROTOBUF_NAMESPACE_ID::Arena *arena)
static const Surface & default_instance()
Surface * New(::PROTOBUF_NAMESPACE_ID::Arena *arena) const final
Definition: surface.pb.h:150
void set_bounce_threshold(double value)
void unsafe_arena_set_allocated_header(::ignition::msgs::Header *header)
void set_min_depth(double value)
friend void swap(Surface &a, Surface &b)
Definition: surface.pb.h:127
void MergeFrom(const Surface &from)
Surface()
Definition: surface.pb.h:87
void Swap(Surface *other)
Definition: surface.pb.h:130
::PROTOBUF_NAMESPACE_ID::uint32 collide_without_contact_bitmask() const
Surface & operator=(const Surface &from)
Definition: surface.pb.h:96
::ignition::msgs::Header * unsafe_arena_release_header()
void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message &from) final
void set_max_vel(double value)
void CopyFrom(const Surface &from)
void set_collide_without_contact_bitmask(::PROTOBUF_NAMESPACE_ID::uint32 value)
static const Surface * internal_default_instance()
Definition: surface.pb.h:120
void set_allocated_header(::ignition::msgs::Header *header)
::ignition::msgs::Friction * mutable_friction()
void UnsafeArenaSwap(Surface *other)
Definition: surface.pb.h:138
void set_soft_erp(double value)
::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * GetDescriptor()
Definition: surface.pb.h:112
void set_collide_without_contact(bool value)
Surface(const Surface &from)
::ignition::msgs::Friction * release_friction()
void set_allocated_friction(::ignition::msgs::Friction *friction)
::PROTOBUF_NAMESPACE_ID::uint32 collide_bitmask() const
void set_elastic_modulus(double value)
void set_soft_cfm(double value)
::ignition::msgs::Friction * unsafe_arena_release_friction()
const ::ignition::msgs::Header & header() const
Surface * New() const final
Definition: surface.pb.h:146
IGNITION_MSGS_VISIBLE SurfaceDefaultTypeInternal _Surface_default_instance_
std::unique_ptr< Surface > SurfaceUniquePtr
Definition: surface.pb.h:788
IGNITION_MSGS_VISIBLE FrictionDefaultTypeInternal _Friction_default_instance_
std::unique_ptr< const Surface > ConstSurfaceUniquePtr
Definition: surface.pb.h:789
std::shared_ptr< const Surface > ConstSurfaceSharedPtr
Definition: surface.pb.h:791
IGNITION_MSGS_VISIBLE HeaderDefaultTypeInternal _Header_default_instance_
std::shared_ptr< Surface > SurfaceSharedPtr
Definition: surface.pb.h:790
Definition: actor.pb.h:52
static const ::PROTOBUF_NAMESPACE_ID::internal::AuxiliaryParseTableField aux[] PROTOBUF_SECTION_VARIABLE(protodesc_cold)
static const ::PROTOBUF_NAMESPACE_ID::internal::ParseTableField entries[] PROTOBUF_SECTION_VARIABLE(protodesc_cold)
static const ::PROTOBUF_NAMESPACE_ID::internal::ParseTable schema[1] PROTOBUF_SECTION_VARIABLE(protodesc_cold)
IGNITION_MSGS_VISIBLEconst ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable descriptor_table_ignition_2fmsgs_2fsurface_2eproto