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