Ignition Msgs

API Reference

5.8.1
physics.pb.h
Go to the documentation of this file.
1 // Generated by the protocol buffer compiler. DO NOT EDIT!
2 // source: ignition/msgs/physics.proto
3 
4 #ifndef GOOGLE_PROTOBUF_INCLUDED_ignition_2fmsgs_2fphysics_2eproto
5 #define GOOGLE_PROTOBUF_INCLUDED_ignition_2fmsgs_2fphysics_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/generated_enum_reflection.h>
34 #include <google/protobuf/unknown_field_set.h>
37 #ifndef _MSC_VER
38 #pragma GCC system_header
39 #else
40 #pragma warning(push)
41 #pragma warning(disable: 4244 4267 4100 4244 4512 4127 4068 4275 4251)
42 #endif
43 #ifdef __linux__
44 #include <sys/sysmacros.h>
45 #endif
46 #include <memory>
47 #include <ignition/msgs/Export.hh>
48 // @@protoc_insertion_point(includes)
49 #include <google/protobuf/port_def.inc>
50 #define PROTOBUF_INTERNAL_EXPORT_ignition_2fmsgs_2fphysics_2eproto IGNITION_MSGS_VISIBLE
51 PROTOBUF_NAMESPACE_OPEN
52 namespace internal {
53 class AnyMetadata;
54 } // namespace internal
55 PROTOBUF_NAMESPACE_CLOSE
56 
57 // Internal implementation detail -- do not use these members.
58 struct IGNITION_MSGS_VISIBLE TableStruct_ignition_2fmsgs_2fphysics_2eproto {
59  static const ::PROTOBUF_NAMESPACE_ID::internal::ParseTableField entries[]
60  PROTOBUF_SECTION_VARIABLE(protodesc_cold);
61  static const ::PROTOBUF_NAMESPACE_ID::internal::AuxiliaryParseTableField aux[]
62  PROTOBUF_SECTION_VARIABLE(protodesc_cold);
63  static const ::PROTOBUF_NAMESPACE_ID::internal::ParseTable schema[1]
64  PROTOBUF_SECTION_VARIABLE(protodesc_cold);
65  static const ::PROTOBUF_NAMESPACE_ID::internal::FieldMetadata field_metadata[];
66  static const ::PROTOBUF_NAMESPACE_ID::internal::SerializationTable serialization_table[];
67  static const uint32_t offsets[];
68 };
69 IGNITION_MSGS_VISIBLE extern const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable descriptor_table_ignition_2fmsgs_2fphysics_2eproto;
70 namespace ignition {
71 namespace msgs {
72 class Physics;
73 struct PhysicsDefaultTypeInternal;
74 IGNITION_MSGS_VISIBLE extern PhysicsDefaultTypeInternal _Physics_default_instance_;
75 } // namespace msgs
76 } // namespace ignition
77 PROTOBUF_NAMESPACE_OPEN
78 template<> IGNITION_MSGS_VISIBLE ::ignition::msgs::Physics* Arena::CreateMaybeMessage<::ignition::msgs::Physics>(Arena*);
79 PROTOBUF_NAMESPACE_CLOSE
80 namespace ignition {
81 namespace msgs {
82 
83 enum Physics_Type : int {
90 };
91 IGNITION_MSGS_VISIBLE bool Physics_Type_IsValid(int value);
95 
96 IGNITION_MSGS_VISIBLE const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* Physics_Type_descriptor();
97 template<typename T>
98 inline const std::string& Physics_Type_Name(T enum_t_value) {
99  static_assert(::std::is_same<T, Physics_Type>::value ||
101  "Incorrect type passed to function Physics_Type_Name.");
102  return ::PROTOBUF_NAMESPACE_ID::internal::NameOfEnum(
103  Physics_Type_descriptor(), enum_t_value);
104 }
105 inline bool Physics_Type_Parse(
106  ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, Physics_Type* value) {
107  return ::PROTOBUF_NAMESPACE_ID::internal::ParseNamedEnum<Physics_Type>(
108  Physics_Type_descriptor(), name, value);
109 }
110 // ===================================================================
111 
112 class IGNITION_MSGS_VISIBLE Physics final :
113  public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:ignition.msgs.Physics) */ {
114  public:
115  inline Physics() : Physics(nullptr) {}
116  ~Physics() override;
117  explicit constexpr Physics(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
118 
119  Physics(const Physics& from);
120  Physics(Physics&& from) noexcept
121  : Physics() {
122  *this = ::std::move(from);
123  }
124 
125  inline Physics& operator=(const Physics& from) {
126  CopyFrom(from);
127  return *this;
128  }
129  inline Physics& operator=(Physics&& from) noexcept {
130  if (this == &from) return *this;
131  if (GetOwningArena() == from.GetOwningArena()
132  #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
133  && GetOwningArena() != nullptr
134  #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
135  ) {
136  InternalSwap(&from);
137  } else {
138  CopyFrom(from);
139  }
140  return *this;
141  }
142 
143  static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
144  return GetDescriptor();
145  }
146  static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
147  return default_instance().GetMetadata().descriptor;
148  }
149  static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
150  return default_instance().GetMetadata().reflection;
151  }
152  static const Physics& default_instance() {
153  return *internal_default_instance();
154  }
155  static inline const Physics* internal_default_instance() {
156  return reinterpret_cast<const Physics*>(
158  }
159  static constexpr int kIndexInFileMessages =
160  0;
161 
162  friend void swap(Physics& a, Physics& b) {
163  a.Swap(&b);
164  }
165  inline void Swap(Physics* other) {
166  if (other == this) return;
167  #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
168  if (GetOwningArena() != nullptr &&
169  GetOwningArena() == other->GetOwningArena()) {
170  #else // PROTOBUF_FORCE_COPY_IN_SWAP
171  if (GetOwningArena() == other->GetOwningArena()) {
172  #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
173  InternalSwap(other);
174  } else {
175  ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
176  }
177  }
178  void UnsafeArenaSwap(Physics* other) {
179  if (other == this) return;
180  GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
181  InternalSwap(other);
182  }
183 
184  // implements Message ----------------------------------------------
185 
186  Physics* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
187  return CreateMaybeMessage<Physics>(arena);
188  }
189  using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
190  void CopyFrom(const Physics& from);
191  using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
192  void MergeFrom(const Physics& from);
193  private:
194  static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from);
195  public:
196  PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
197  bool IsInitialized() const final;
198 
199  size_t ByteSizeLong() const final;
200  const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
201  uint8_t* _InternalSerialize(
202  uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
203  int GetCachedSize() const final { return _cached_size_.Get(); }
204 
205  private:
206  void SharedCtor();
207  void SharedDtor();
208  void SetCachedSize(int size) const final;
209  void InternalSwap(Physics* other);
210 
211  private:
212  friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
213  static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
214  return "ignition.msgs.Physics";
215  }
216  protected:
217  explicit Physics(::PROTOBUF_NAMESPACE_ID::Arena* arena,
218  bool is_message_owned = false);
219  private:
220  static void ArenaDtor(void* object);
221  inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
222  public:
223 
224  static const ClassData _class_data_;
225  const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
226 
227  ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
228 
229  // nested types ----------------------------------------------------
230 
232  static constexpr Type ODE =
234  static constexpr Type BULLET =
236  static constexpr Type SIMBODY =
238  static constexpr Type DART =
240  static inline bool Type_IsValid(int value) {
241  return Physics_Type_IsValid(value);
242  }
243  static constexpr Type Type_MIN =
245  static constexpr Type Type_MAX =
247  static constexpr int Type_ARRAYSIZE =
249  static inline const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor*
251  return Physics_Type_descriptor();
252  }
253  template<typename T>
254  static inline const std::string& Type_Name(T enum_t_value) {
255  static_assert(::std::is_same<T, Type>::value ||
257  "Incorrect type passed to function Type_Name.");
258  return Physics_Type_Name(enum_t_value);
259  }
260  static inline bool Type_Parse(::PROTOBUF_NAMESPACE_ID::ConstStringParam name,
261  Type* value) {
262  return Physics_Type_Parse(name, value);
263  }
264 
265  // accessors -------------------------------------------------------
266 
267  enum : int {
268  kSolverTypeFieldNumber = 3,
269  kProfileNameFieldNumber = 17,
270  kHeaderFieldNumber = 1,
271  kGravityFieldNumber = 12,
272  kMagneticFieldFieldNumber = 18,
273  kTypeFieldNumber = 2,
274  kPreconItersFieldNumber = 5,
275  kMinStepSizeFieldNumber = 4,
276  kSorFieldNumber = 7,
277  kCfmFieldNumber = 8,
278  kErpFieldNumber = 9,
279  kItersFieldNumber = 6,
280  kEnablePhysicsFieldNumber = 13,
281  kContactMaxCorrectingVelFieldNumber = 10,
282  kContactSurfaceLayerFieldNumber = 11,
283  kRealTimeFactorFieldNumber = 14,
284  kRealTimeUpdateRateFieldNumber = 15,
285  kMaxStepSizeFieldNumber = 16,
286  };
287  // string solver_type = 3;
288  void clear_solver_type();
289  const std::string& solver_type() const;
290  template <typename ArgT0 = const std::string&, typename... ArgT>
291  void set_solver_type(ArgT0&& arg0, ArgT... args);
292  std::string* mutable_solver_type();
293  PROTOBUF_NODISCARD std::string* release_solver_type();
294  void set_allocated_solver_type(std::string* solver_type);
295  private:
296  const std::string& _internal_solver_type() const;
297  inline PROTOBUF_ALWAYS_INLINE void _internal_set_solver_type(const std::string& value);
298  std::string* _internal_mutable_solver_type();
299  public:
300 
301  // string profile_name = 17;
302  void clear_profile_name();
303  const std::string& profile_name() const;
304  template <typename ArgT0 = const std::string&, typename... ArgT>
305  void set_profile_name(ArgT0&& arg0, ArgT... args);
306  std::string* mutable_profile_name();
307  PROTOBUF_NODISCARD std::string* release_profile_name();
308  void set_allocated_profile_name(std::string* profile_name);
309  private:
310  const std::string& _internal_profile_name() const;
311  inline PROTOBUF_ALWAYS_INLINE void _internal_set_profile_name(const std::string& value);
312  std::string* _internal_mutable_profile_name();
313  public:
314 
315  // .ignition.msgs.Header header = 1;
316  bool has_header() const;
317  private:
318  bool _internal_has_header() const;
319  public:
320  void clear_header();
321  const ::ignition::msgs::Header& header() const;
322  PROTOBUF_NODISCARD ::ignition::msgs::Header* release_header();
323  ::ignition::msgs::Header* mutable_header();
324  void set_allocated_header(::ignition::msgs::Header* header);
325  private:
326  const ::ignition::msgs::Header& _internal_header() const;
327  ::ignition::msgs::Header* _internal_mutable_header();
328  public:
329  void unsafe_arena_set_allocated_header(
330  ::ignition::msgs::Header* header);
331  ::ignition::msgs::Header* unsafe_arena_release_header();
332 
333  // .ignition.msgs.Vector3d gravity = 12;
334  bool has_gravity() const;
335  private:
336  bool _internal_has_gravity() const;
337  public:
339  const ::ignition::msgs::Vector3d& gravity() const;
340  PROTOBUF_NODISCARD ::ignition::msgs::Vector3d* release_gravity();
341  ::ignition::msgs::Vector3d* mutable_gravity();
342  void set_allocated_gravity(::ignition::msgs::Vector3d* gravity);
343  private:
344  const ::ignition::msgs::Vector3d& _internal_gravity() const;
345  ::ignition::msgs::Vector3d* _internal_mutable_gravity();
346  public:
347  void unsafe_arena_set_allocated_gravity(
348  ::ignition::msgs::Vector3d* gravity);
349  ::ignition::msgs::Vector3d* unsafe_arena_release_gravity();
350 
351  // .ignition.msgs.Vector3d magnetic_field = 18;
352  bool has_magnetic_field() const;
353  private:
354  bool _internal_has_magnetic_field() const;
355  public:
357  const ::ignition::msgs::Vector3d& magnetic_field() const;
358  PROTOBUF_NODISCARD ::ignition::msgs::Vector3d* release_magnetic_field();
359  ::ignition::msgs::Vector3d* mutable_magnetic_field();
360  void set_allocated_magnetic_field(::ignition::msgs::Vector3d* magnetic_field);
361  private:
362  const ::ignition::msgs::Vector3d& _internal_magnetic_field() const;
363  ::ignition::msgs::Vector3d* _internal_mutable_magnetic_field();
364  public:
365  void unsafe_arena_set_allocated_magnetic_field(
366  ::ignition::msgs::Vector3d* magnetic_field);
367  ::ignition::msgs::Vector3d* unsafe_arena_release_magnetic_field();
368 
369  // .ignition.msgs.Physics.Type type = 2;
370  void clear_type();
371  ::ignition::msgs::Physics_Type type() const;
372  void set_type(::ignition::msgs::Physics_Type value);
373  private:
374  ::ignition::msgs::Physics_Type _internal_type() const;
375  void _internal_set_type(::ignition::msgs::Physics_Type value);
376  public:
377 
378  // int32 precon_iters = 5;
379  void clear_precon_iters();
380  int32_t precon_iters() const;
381  void set_precon_iters(int32_t value);
382  private:
383  int32_t _internal_precon_iters() const;
384  void _internal_set_precon_iters(int32_t value);
385  public:
386 
387  // double min_step_size = 4;
388  void clear_min_step_size();
389  double min_step_size() const;
390  void set_min_step_size(double value);
391  private:
392  double _internal_min_step_size() const;
393  void _internal_set_min_step_size(double value);
394  public:
395 
396  // double sor = 7;
397  void clear_sor();
398  double sor() const;
399  void set_sor(double value);
400  private:
401  double _internal_sor() const;
402  void _internal_set_sor(double value);
403  public:
404 
405  // double cfm = 8;
406  void clear_cfm();
407  double cfm() const;
408  void set_cfm(double value);
409  private:
410  double _internal_cfm() const;
411  void _internal_set_cfm(double value);
412  public:
413 
414  // double erp = 9;
415  void clear_erp();
416  double erp() const;
417  void set_erp(double value);
418  private:
419  double _internal_erp() const;
420  void _internal_set_erp(double value);
421  public:
422 
423  // int32 iters = 6;
424  void clear_iters();
425  int32_t iters() const;
426  void set_iters(int32_t value);
427  private:
428  int32_t _internal_iters() const;
429  void _internal_set_iters(int32_t value);
430  public:
431 
432  // bool enable_physics = 13;
433  void clear_enable_physics();
434  bool enable_physics() const;
435  void set_enable_physics(bool value);
436  private:
437  bool _internal_enable_physics() const;
438  void _internal_set_enable_physics(bool value);
439  public:
440 
441  // double contact_max_correcting_vel = 10;
442  void clear_contact_max_correcting_vel();
443  double contact_max_correcting_vel() const;
444  void set_contact_max_correcting_vel(double value);
445  private:
446  double _internal_contact_max_correcting_vel() const;
447  void _internal_set_contact_max_correcting_vel(double value);
448  public:
449 
450  // double contact_surface_layer = 11;
451  void clear_contact_surface_layer();
452  double contact_surface_layer() const;
453  void set_contact_surface_layer(double value);
454  private:
455  double _internal_contact_surface_layer() const;
456  void _internal_set_contact_surface_layer(double value);
457  public:
458 
459  // double real_time_factor = 14;
460  void clear_real_time_factor();
461  double real_time_factor() const;
462  void set_real_time_factor(double value);
463  private:
464  double _internal_real_time_factor() const;
465  void _internal_set_real_time_factor(double value);
466  public:
467 
468  // double real_time_update_rate = 15;
469  void clear_real_time_update_rate();
470  double real_time_update_rate() const;
471  void set_real_time_update_rate(double value);
472  private:
473  double _internal_real_time_update_rate() const;
474  void _internal_set_real_time_update_rate(double value);
475  public:
476 
477  // double max_step_size = 16;
478  void clear_max_step_size();
479  double max_step_size() const;
480  void set_max_step_size(double value);
481  private:
482  double _internal_max_step_size() const;
483  void _internal_set_max_step_size(double value);
484  public:
485 
486  // @@protoc_insertion_point(class_scope:ignition.msgs.Physics)
487  private:
488  class _Internal;
489 
490  template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
491  typedef void InternalArenaConstructable_;
492  typedef void DestructorSkippable_;
493  ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr solver_type_;
494  ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr profile_name_;
495  ::ignition::msgs::Header* header_;
496  ::ignition::msgs::Vector3d* gravity_;
497  ::ignition::msgs::Vector3d* magnetic_field_;
498  int type_;
499  int32_t precon_iters_;
500  double min_step_size_;
501  double sor_;
502  double cfm_;
503  double erp_;
504  int32_t iters_;
505  bool enable_physics_;
506  double contact_max_correcting_vel_;
507  double contact_surface_layer_;
508  double real_time_factor_;
509  double real_time_update_rate_;
510  double max_step_size_;
511  mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
512  friend struct ::TableStruct_ignition_2fmsgs_2fphysics_2eproto;
513 };
514 // ===================================================================
515 
516 
517 // ===================================================================
518 
519 #ifdef __GNUC__
520  #pragma GCC diagnostic push
521  #pragma GCC diagnostic ignored "-Wstrict-aliasing"
522 #endif // __GNUC__
523 // Physics
524 
525 // .ignition.msgs.Header header = 1;
526 inline bool Physics::_internal_has_header() const {
527  return this != internal_default_instance() && header_ != nullptr;
528 }
529 inline bool Physics::has_header() const {
530  return _internal_has_header();
531 }
532 inline const ::ignition::msgs::Header& Physics::_internal_header() const {
533  const ::ignition::msgs::Header* p = header_;
534  return p != nullptr ? *p : reinterpret_cast<const ::ignition::msgs::Header&>(
536 }
537 inline const ::ignition::msgs::Header& Physics::header() const {
538  // @@protoc_insertion_point(field_get:ignition.msgs.Physics.header)
539  return _internal_header();
540 }
542  ::ignition::msgs::Header* header) {
543  if (GetArenaForAllocation() == nullptr) {
544  delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(header_);
545  }
546  header_ = header;
547  if (header) {
548 
549  } else {
550 
551  }
552  // @@protoc_insertion_point(field_unsafe_arena_set_allocated:ignition.msgs.Physics.header)
553 }
554 inline ::ignition::msgs::Header* Physics::release_header() {
555 
556  ::ignition::msgs::Header* temp = header_;
557  header_ = nullptr;
558 #ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
559  auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp);
560  temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
561  if (GetArenaForAllocation() == nullptr) { delete old; }
562 #else // PROTOBUF_FORCE_COPY_IN_RELEASE
563  if (GetArenaForAllocation() != nullptr) {
564  temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
565  }
566 #endif // !PROTOBUF_FORCE_COPY_IN_RELEASE
567  return temp;
568 }
569 inline ::ignition::msgs::Header* Physics::unsafe_arena_release_header() {
570  // @@protoc_insertion_point(field_release:ignition.msgs.Physics.header)
571 
572  ::ignition::msgs::Header* temp = header_;
573  header_ = nullptr;
574  return temp;
575 }
576 inline ::ignition::msgs::Header* Physics::_internal_mutable_header() {
577 
578  if (header_ == nullptr) {
579  auto* p = CreateMaybeMessage<::ignition::msgs::Header>(GetArenaForAllocation());
580  header_ = p;
581  }
582  return header_;
583 }
584 inline ::ignition::msgs::Header* Physics::mutable_header() {
585  ::ignition::msgs::Header* _msg = _internal_mutable_header();
586  // @@protoc_insertion_point(field_mutable:ignition.msgs.Physics.header)
587  return _msg;
588 }
590  ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
591  if (message_arena == nullptr) {
592  delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(header_);
593  }
594  if (header) {
595  ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
596  ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper<
597  ::PROTOBUF_NAMESPACE_ID::MessageLite>::GetOwningArena(
598  reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(header));
599  if (message_arena != submessage_arena) {
600  header = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
601  message_arena, header, submessage_arena);
602  }
603 
604  } else {
605 
606  }
607  header_ = header;
608  // @@protoc_insertion_point(field_set_allocated:ignition.msgs.Physics.header)
609 }
610 
611 // .ignition.msgs.Physics.Type type = 2;
612 inline void Physics::clear_type() {
613  type_ = 0;
614 }
615 inline ::ignition::msgs::Physics_Type Physics::_internal_type() const {
616  return static_cast< ::ignition::msgs::Physics_Type >(type_);
617 }
619  // @@protoc_insertion_point(field_get:ignition.msgs.Physics.type)
620  return _internal_type();
621 }
622 inline void Physics::_internal_set_type(::ignition::msgs::Physics_Type value) {
623 
624  type_ = value;
625 }
627  _internal_set_type(value);
628  // @@protoc_insertion_point(field_set:ignition.msgs.Physics.type)
629 }
630 
631 // string solver_type = 3;
633  solver_type_.ClearToEmpty();
634 }
635 inline const std::string& Physics::solver_type() const {
636  // @@protoc_insertion_point(field_get:ignition.msgs.Physics.solver_type)
637  return _internal_solver_type();
638 }
639 template <typename ArgT0, typename... ArgT>
640 inline PROTOBUF_ALWAYS_INLINE
641 void Physics::set_solver_type(ArgT0&& arg0, ArgT... args) {
642 
643  solver_type_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
644  // @@protoc_insertion_point(field_set:ignition.msgs.Physics.solver_type)
645 }
647  std::string* _s = _internal_mutable_solver_type();
648  // @@protoc_insertion_point(field_mutable:ignition.msgs.Physics.solver_type)
649  return _s;
650 }
651 inline const std::string& Physics::_internal_solver_type() const {
652  return solver_type_.Get();
653 }
654 inline void Physics::_internal_set_solver_type(const std::string& value) {
655 
656  solver_type_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation());
657 }
658 inline std::string* Physics::_internal_mutable_solver_type() {
659 
660  return solver_type_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
661 }
663  // @@protoc_insertion_point(field_release:ignition.msgs.Physics.solver_type)
664  return solver_type_.Release(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
665 }
667  if (solver_type != nullptr) {
668 
669  } else {
670 
671  }
672  solver_type_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), solver_type,
673  GetArenaForAllocation());
674 #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
675  if (solver_type_.IsDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited())) {
676  solver_type_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), "", GetArenaForAllocation());
677  }
678 #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
679  // @@protoc_insertion_point(field_set_allocated:ignition.msgs.Physics.solver_type)
680 }
681 
682 // double min_step_size = 4;
684  min_step_size_ = 0;
685 }
686 inline double Physics::_internal_min_step_size() const {
687  return min_step_size_;
688 }
689 inline double Physics::min_step_size() const {
690  // @@protoc_insertion_point(field_get:ignition.msgs.Physics.min_step_size)
691  return _internal_min_step_size();
692 }
693 inline void Physics::_internal_set_min_step_size(double value) {
694 
695  min_step_size_ = value;
696 }
697 inline void Physics::set_min_step_size(double value) {
698  _internal_set_min_step_size(value);
699  // @@protoc_insertion_point(field_set:ignition.msgs.Physics.min_step_size)
700 }
701 
702 // int32 precon_iters = 5;
704  precon_iters_ = 0;
705 }
706 inline int32_t Physics::_internal_precon_iters() const {
707  return precon_iters_;
708 }
709 inline int32_t Physics::precon_iters() const {
710  // @@protoc_insertion_point(field_get:ignition.msgs.Physics.precon_iters)
711  return _internal_precon_iters();
712 }
713 inline void Physics::_internal_set_precon_iters(int32_t value) {
714 
715  precon_iters_ = value;
716 }
717 inline void Physics::set_precon_iters(int32_t value) {
718  _internal_set_precon_iters(value);
719  // @@protoc_insertion_point(field_set:ignition.msgs.Physics.precon_iters)
720 }
721 
722 // int32 iters = 6;
723 inline void Physics::clear_iters() {
724  iters_ = 0;
725 }
726 inline int32_t Physics::_internal_iters() const {
727  return iters_;
728 }
729 inline int32_t Physics::iters() const {
730  // @@protoc_insertion_point(field_get:ignition.msgs.Physics.iters)
731  return _internal_iters();
732 }
733 inline void Physics::_internal_set_iters(int32_t value) {
734 
735  iters_ = value;
736 }
737 inline void Physics::set_iters(int32_t value) {
738  _internal_set_iters(value);
739  // @@protoc_insertion_point(field_set:ignition.msgs.Physics.iters)
740 }
741 
742 // double sor = 7;
743 inline void Physics::clear_sor() {
744  sor_ = 0;
745 }
746 inline double Physics::_internal_sor() const {
747  return sor_;
748 }
749 inline double Physics::sor() const {
750  // @@protoc_insertion_point(field_get:ignition.msgs.Physics.sor)
751  return _internal_sor();
752 }
753 inline void Physics::_internal_set_sor(double value) {
754 
755  sor_ = value;
756 }
757 inline void Physics::set_sor(double value) {
758  _internal_set_sor(value);
759  // @@protoc_insertion_point(field_set:ignition.msgs.Physics.sor)
760 }
761 
762 // double cfm = 8;
763 inline void Physics::clear_cfm() {
764  cfm_ = 0;
765 }
766 inline double Physics::_internal_cfm() const {
767  return cfm_;
768 }
769 inline double Physics::cfm() const {
770  // @@protoc_insertion_point(field_get:ignition.msgs.Physics.cfm)
771  return _internal_cfm();
772 }
773 inline void Physics::_internal_set_cfm(double value) {
774 
775  cfm_ = value;
776 }
777 inline void Physics::set_cfm(double value) {
778  _internal_set_cfm(value);
779  // @@protoc_insertion_point(field_set:ignition.msgs.Physics.cfm)
780 }
781 
782 // double erp = 9;
783 inline void Physics::clear_erp() {
784  erp_ = 0;
785 }
786 inline double Physics::_internal_erp() const {
787  return erp_;
788 }
789 inline double Physics::erp() const {
790  // @@protoc_insertion_point(field_get:ignition.msgs.Physics.erp)
791  return _internal_erp();
792 }
793 inline void Physics::_internal_set_erp(double value) {
794 
795  erp_ = value;
796 }
797 inline void Physics::set_erp(double value) {
798  _internal_set_erp(value);
799  // @@protoc_insertion_point(field_set:ignition.msgs.Physics.erp)
800 }
801 
802 // double contact_max_correcting_vel = 10;
804  contact_max_correcting_vel_ = 0;
805 }
806 inline double Physics::_internal_contact_max_correcting_vel() const {
807  return contact_max_correcting_vel_;
808 }
809 inline double Physics::contact_max_correcting_vel() const {
810  // @@protoc_insertion_point(field_get:ignition.msgs.Physics.contact_max_correcting_vel)
811  return _internal_contact_max_correcting_vel();
812 }
813 inline void Physics::_internal_set_contact_max_correcting_vel(double value) {
814 
815  contact_max_correcting_vel_ = value;
816 }
817 inline void Physics::set_contact_max_correcting_vel(double value) {
818  _internal_set_contact_max_correcting_vel(value);
819  // @@protoc_insertion_point(field_set:ignition.msgs.Physics.contact_max_correcting_vel)
820 }
821 
822 // double contact_surface_layer = 11;
824  contact_surface_layer_ = 0;
825 }
826 inline double Physics::_internal_contact_surface_layer() const {
827  return contact_surface_layer_;
828 }
829 inline double Physics::contact_surface_layer() const {
830  // @@protoc_insertion_point(field_get:ignition.msgs.Physics.contact_surface_layer)
831  return _internal_contact_surface_layer();
832 }
833 inline void Physics::_internal_set_contact_surface_layer(double value) {
834 
835  contact_surface_layer_ = value;
836 }
837 inline void Physics::set_contact_surface_layer(double value) {
838  _internal_set_contact_surface_layer(value);
839  // @@protoc_insertion_point(field_set:ignition.msgs.Physics.contact_surface_layer)
840 }
841 
842 // .ignition.msgs.Vector3d gravity = 12;
843 inline bool Physics::_internal_has_gravity() const {
844  return this != internal_default_instance() && gravity_ != nullptr;
845 }
846 inline bool Physics::has_gravity() const {
847  return _internal_has_gravity();
848 }
849 inline const ::ignition::msgs::Vector3d& Physics::_internal_gravity() const {
850  const ::ignition::msgs::Vector3d* p = gravity_;
851  return p != nullptr ? *p : reinterpret_cast<const ::ignition::msgs::Vector3d&>(
853 }
854 inline const ::ignition::msgs::Vector3d& Physics::gravity() const {
855  // @@protoc_insertion_point(field_get:ignition.msgs.Physics.gravity)
856  return _internal_gravity();
857 }
859  ::ignition::msgs::Vector3d* gravity) {
860  if (GetArenaForAllocation() == nullptr) {
861  delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(gravity_);
862  }
863  gravity_ = gravity;
864  if (gravity) {
865 
866  } else {
867 
868  }
869  // @@protoc_insertion_point(field_unsafe_arena_set_allocated:ignition.msgs.Physics.gravity)
870 }
871 inline ::ignition::msgs::Vector3d* Physics::release_gravity() {
872 
873  ::ignition::msgs::Vector3d* temp = gravity_;
874  gravity_ = nullptr;
875 #ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
876  auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp);
877  temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
878  if (GetArenaForAllocation() == nullptr) { delete old; }
879 #else // PROTOBUF_FORCE_COPY_IN_RELEASE
880  if (GetArenaForAllocation() != nullptr) {
881  temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
882  }
883 #endif // !PROTOBUF_FORCE_COPY_IN_RELEASE
884  return temp;
885 }
886 inline ::ignition::msgs::Vector3d* Physics::unsafe_arena_release_gravity() {
887  // @@protoc_insertion_point(field_release:ignition.msgs.Physics.gravity)
888 
889  ::ignition::msgs::Vector3d* temp = gravity_;
890  gravity_ = nullptr;
891  return temp;
892 }
893 inline ::ignition::msgs::Vector3d* Physics::_internal_mutable_gravity() {
894 
895  if (gravity_ == nullptr) {
896  auto* p = CreateMaybeMessage<::ignition::msgs::Vector3d>(GetArenaForAllocation());
897  gravity_ = p;
898  }
899  return gravity_;
900 }
901 inline ::ignition::msgs::Vector3d* Physics::mutable_gravity() {
902  ::ignition::msgs::Vector3d* _msg = _internal_mutable_gravity();
903  // @@protoc_insertion_point(field_mutable:ignition.msgs.Physics.gravity)
904  return _msg;
905 }
907  ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
908  if (message_arena == nullptr) {
909  delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(gravity_);
910  }
911  if (gravity) {
912  ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
913  ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper<
914  ::PROTOBUF_NAMESPACE_ID::MessageLite>::GetOwningArena(
915  reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(gravity));
916  if (message_arena != submessage_arena) {
917  gravity = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
918  message_arena, gravity, submessage_arena);
919  }
920 
921  } else {
922 
923  }
924  gravity_ = gravity;
925  // @@protoc_insertion_point(field_set_allocated:ignition.msgs.Physics.gravity)
926 }
927 
928 // bool enable_physics = 13;
930  enable_physics_ = false;
931 }
932 inline bool Physics::_internal_enable_physics() const {
933  return enable_physics_;
934 }
935 inline bool Physics::enable_physics() const {
936  // @@protoc_insertion_point(field_get:ignition.msgs.Physics.enable_physics)
937  return _internal_enable_physics();
938 }
939 inline void Physics::_internal_set_enable_physics(bool value) {
940 
941  enable_physics_ = value;
942 }
943 inline void Physics::set_enable_physics(bool value) {
944  _internal_set_enable_physics(value);
945  // @@protoc_insertion_point(field_set:ignition.msgs.Physics.enable_physics)
946 }
947 
948 // double real_time_factor = 14;
950  real_time_factor_ = 0;
951 }
952 inline double Physics::_internal_real_time_factor() const {
953  return real_time_factor_;
954 }
955 inline double Physics::real_time_factor() const {
956  // @@protoc_insertion_point(field_get:ignition.msgs.Physics.real_time_factor)
957  return _internal_real_time_factor();
958 }
959 inline void Physics::_internal_set_real_time_factor(double value) {
960 
961  real_time_factor_ = value;
962 }
963 inline void Physics::set_real_time_factor(double value) {
964  _internal_set_real_time_factor(value);
965  // @@protoc_insertion_point(field_set:ignition.msgs.Physics.real_time_factor)
966 }
967 
968 // double real_time_update_rate = 15;
970  real_time_update_rate_ = 0;
971 }
972 inline double Physics::_internal_real_time_update_rate() const {
973  return real_time_update_rate_;
974 }
975 inline double Physics::real_time_update_rate() const {
976  // @@protoc_insertion_point(field_get:ignition.msgs.Physics.real_time_update_rate)
977  return _internal_real_time_update_rate();
978 }
979 inline void Physics::_internal_set_real_time_update_rate(double value) {
980 
981  real_time_update_rate_ = value;
982 }
983 inline void Physics::set_real_time_update_rate(double value) {
984  _internal_set_real_time_update_rate(value);
985  // @@protoc_insertion_point(field_set:ignition.msgs.Physics.real_time_update_rate)
986 }
987 
988 // double max_step_size = 16;
990  max_step_size_ = 0;
991 }
992 inline double Physics::_internal_max_step_size() const {
993  return max_step_size_;
994 }
995 inline double Physics::max_step_size() const {
996  // @@protoc_insertion_point(field_get:ignition.msgs.Physics.max_step_size)
997  return _internal_max_step_size();
998 }
999 inline void Physics::_internal_set_max_step_size(double value) {
1000 
1001  max_step_size_ = value;
1002 }
1003 inline void Physics::set_max_step_size(double value) {
1004  _internal_set_max_step_size(value);
1005  // @@protoc_insertion_point(field_set:ignition.msgs.Physics.max_step_size)
1006 }
1007 
1008 // string profile_name = 17;
1010  profile_name_.ClearToEmpty();
1011 }
1012 inline const std::string& Physics::profile_name() const {
1013  // @@protoc_insertion_point(field_get:ignition.msgs.Physics.profile_name)
1014  return _internal_profile_name();
1015 }
1016 template <typename ArgT0, typename... ArgT>
1017 inline PROTOBUF_ALWAYS_INLINE
1018 void Physics::set_profile_name(ArgT0&& arg0, ArgT... args) {
1019 
1020  profile_name_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
1021  // @@protoc_insertion_point(field_set:ignition.msgs.Physics.profile_name)
1022 }
1024  std::string* _s = _internal_mutable_profile_name();
1025  // @@protoc_insertion_point(field_mutable:ignition.msgs.Physics.profile_name)
1026  return _s;
1027 }
1028 inline const std::string& Physics::_internal_profile_name() const {
1029  return profile_name_.Get();
1030 }
1031 inline void Physics::_internal_set_profile_name(const std::string& value) {
1032 
1033  profile_name_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation());
1034 }
1035 inline std::string* Physics::_internal_mutable_profile_name() {
1036 
1037  return profile_name_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
1038 }
1040  // @@protoc_insertion_point(field_release:ignition.msgs.Physics.profile_name)
1041  return profile_name_.Release(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
1042 }
1044  if (profile_name != nullptr) {
1045 
1046  } else {
1047 
1048  }
1049  profile_name_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), profile_name,
1050  GetArenaForAllocation());
1051 #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
1052  if (profile_name_.IsDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited())) {
1053  profile_name_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), "", GetArenaForAllocation());
1054  }
1055 #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
1056  // @@protoc_insertion_point(field_set_allocated:ignition.msgs.Physics.profile_name)
1057 }
1058 
1059 // .ignition.msgs.Vector3d magnetic_field = 18;
1060 inline bool Physics::_internal_has_magnetic_field() const {
1061  return this != internal_default_instance() && magnetic_field_ != nullptr;
1062 }
1063 inline bool Physics::has_magnetic_field() const {
1064  return _internal_has_magnetic_field();
1065 }
1066 inline const ::ignition::msgs::Vector3d& Physics::_internal_magnetic_field() const {
1067  const ::ignition::msgs::Vector3d* p = magnetic_field_;
1068  return p != nullptr ? *p : reinterpret_cast<const ::ignition::msgs::Vector3d&>(
1070 }
1071 inline const ::ignition::msgs::Vector3d& Physics::magnetic_field() const {
1072  // @@protoc_insertion_point(field_get:ignition.msgs.Physics.magnetic_field)
1073  return _internal_magnetic_field();
1074 }
1076  ::ignition::msgs::Vector3d* magnetic_field) {
1077  if (GetArenaForAllocation() == nullptr) {
1078  delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(magnetic_field_);
1079  }
1080  magnetic_field_ = magnetic_field;
1081  if (magnetic_field) {
1082 
1083  } else {
1084 
1085  }
1086  // @@protoc_insertion_point(field_unsafe_arena_set_allocated:ignition.msgs.Physics.magnetic_field)
1087 }
1088 inline ::ignition::msgs::Vector3d* Physics::release_magnetic_field() {
1089 
1090  ::ignition::msgs::Vector3d* temp = magnetic_field_;
1091  magnetic_field_ = nullptr;
1092 #ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
1093  auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp);
1094  temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
1095  if (GetArenaForAllocation() == nullptr) { delete old; }
1096 #else // PROTOBUF_FORCE_COPY_IN_RELEASE
1097  if (GetArenaForAllocation() != nullptr) {
1098  temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
1099  }
1100 #endif // !PROTOBUF_FORCE_COPY_IN_RELEASE
1101  return temp;
1102 }
1103 inline ::ignition::msgs::Vector3d* Physics::unsafe_arena_release_magnetic_field() {
1104  // @@protoc_insertion_point(field_release:ignition.msgs.Physics.magnetic_field)
1105 
1106  ::ignition::msgs::Vector3d* temp = magnetic_field_;
1107  magnetic_field_ = nullptr;
1108  return temp;
1109 }
1110 inline ::ignition::msgs::Vector3d* Physics::_internal_mutable_magnetic_field() {
1111 
1112  if (magnetic_field_ == nullptr) {
1113  auto* p = CreateMaybeMessage<::ignition::msgs::Vector3d>(GetArenaForAllocation());
1114  magnetic_field_ = p;
1115  }
1116  return magnetic_field_;
1117 }
1118 inline ::ignition::msgs::Vector3d* Physics::mutable_magnetic_field() {
1119  ::ignition::msgs::Vector3d* _msg = _internal_mutable_magnetic_field();
1120  // @@protoc_insertion_point(field_mutable:ignition.msgs.Physics.magnetic_field)
1121  return _msg;
1122 }
1124  ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
1125  if (message_arena == nullptr) {
1126  delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(magnetic_field_);
1127  }
1128  if (magnetic_field) {
1129  ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
1130  ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper<
1131  ::PROTOBUF_NAMESPACE_ID::MessageLite>::GetOwningArena(
1132  reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(magnetic_field));
1133  if (message_arena != submessage_arena) {
1134  magnetic_field = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
1135  message_arena, magnetic_field, submessage_arena);
1136  }
1137 
1138  } else {
1139 
1140  }
1141  magnetic_field_ = magnetic_field;
1142  // @@protoc_insertion_point(field_set_allocated:ignition.msgs.Physics.magnetic_field)
1143 }
1144 
1145 #ifdef __GNUC__
1146  #pragma GCC diagnostic pop
1147 #endif // __GNUC__
1148 
1153 // @@protoc_insertion_point(namespace_scope)
1154 
1155 } // namespace msgs
1156 } // namespace ignition
1157 
1158 PROTOBUF_NAMESPACE_OPEN
1159 
1160 template <> struct is_proto_enum< ::ignition::msgs::Physics_Type> : ::std::true_type {};
1161 template <>
1162 inline const EnumDescriptor* GetEnumDescriptor< ::ignition::msgs::Physics_Type>() {
1164 }
1165 
1166 PROTOBUF_NAMESPACE_CLOSE
1167 
1168 #ifdef _MSC_VER
1169 #pragma warning(pop)
1170 #endif
1171 // @@protoc_insertion_point(global_scope)
1172 
1173 #include <google/protobuf/port_undef.inc>
1174 #endif // GOOGLE_PROTOBUF_INCLUDED_GOOGLE_PROTOBUF_INCLUDED_ignition_2fmsgs_2fphysics_2eproto
Definition: header.pb.h:265
Definition: physics.pb.h:113
void set_real_time_update_rate(double value)
Definition: physics.pb.h:983
void clear_solver_type()
Definition: physics.pb.h:632
Physics()
Definition: physics.pb.h:115
void set_enable_physics(bool value)
Definition: physics.pb.h:943
std::string * mutable_solver_type()
Definition: physics.pb.h:646
void set_allocated_magnetic_field(::ignition::msgs::Vector3d *magnetic_field)
Definition: physics.pb.h:1123
static const ::PROTOBUF_NAMESPACE_ID::Reflection * GetReflection()
Definition: physics.pb.h:149
::ignition::msgs::Vector3d * mutable_gravity()
Definition: physics.pb.h:901
bool has_header() const
Definition: physics.pb.h:529
static const std::string & Type_Name(T enum_t_value)
Definition: physics.pb.h:254
::ignition::msgs::Header * mutable_header()
Definition: physics.pb.h:584
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final
int32_t iters() const
Definition: physics.pb.h:729
Physics & operator=(Physics &&from) noexcept
Definition: physics.pb.h:129
void clear_min_step_size()
Definition: physics.pb.h:683
void set_iters(int32_t value)
Definition: physics.pb.h:737
void set_cfm(double value)
Definition: physics.pb.h:777
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * descriptor()
Definition: physics.pb.h:143
void clear_iters()
Definition: physics.pb.h:723
void set_allocated_profile_name(std::string *profile_name)
Definition: physics.pb.h:1043
double contact_max_correcting_vel() const
Definition: physics.pb.h:809
double max_step_size() const
Definition: physics.pb.h:995
static const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor * Type_descriptor()
Definition: physics.pb.h:250
double real_time_update_rate() const
Definition: physics.pb.h:975
Physics(const Physics &from)
void clear_contact_max_correcting_vel()
Definition: physics.pb.h:803
double sor() const
Definition: physics.pb.h:749
void set_erp(double value)
Definition: physics.pb.h:797
void unsafe_arena_set_allocated_magnetic_field(::ignition::msgs::Vector3d *magnetic_field)
Definition: physics.pb.h:1075
PROTOBUF_NODISCARD std::string * release_profile_name()
Definition: physics.pb.h:1039
double min_step_size() const
Definition: physics.pb.h:689
::ignition::msgs::Physics_Type type() const
Definition: physics.pb.h:618
PROTOBUF_NODISCARD ::ignition::msgs::Vector3d * release_gravity()
Definition: physics.pb.h:871
void set_allocated_gravity(::ignition::msgs::Vector3d *gravity)
Definition: physics.pb.h:906
void clear_real_time_factor()
Definition: physics.pb.h:949
void set_min_step_size(double value)
Definition: physics.pb.h:697
Physics(Physics &&from) noexcept
Definition: physics.pb.h:120
Physics(::PROTOBUF_NAMESPACE_ID::Arena *arena, bool is_message_owned=false)
double real_time_factor() const
Definition: physics.pb.h:955
void clear_sor()
Definition: physics.pb.h:743
PROTOBUF_NODISCARD std::string * release_solver_type()
Definition: physics.pb.h:662
Physics & operator=(const Physics &from)
Definition: physics.pb.h:125
void unsafe_arena_set_allocated_header(::ignition::msgs::Header *header)
Definition: physics.pb.h:541
static const Physics & default_instance()
Definition: physics.pb.h:152
::ignition::msgs::Vector3d * mutable_magnetic_field()
Definition: physics.pb.h:1118
void set_contact_surface_layer(double value)
Definition: physics.pb.h:837
PROTOBUF_NODISCARD ::ignition::msgs::Vector3d * release_magnetic_field()
Definition: physics.pb.h:1088
void set_precon_iters(int32_t value)
Definition: physics.pb.h:717
void clear_erp()
Definition: physics.pb.h:783
const std::string & profile_name() const
Definition: physics.pb.h:1012
void clear_enable_physics()
Definition: physics.pb.h:929
void UnsafeArenaSwap(Physics *other)
Definition: physics.pb.h:178
void clear_cfm()
Definition: physics.pb.h:763
double cfm() const
Definition: physics.pb.h:769
void set_profile_name(ArgT0 &&arg0, ArgT... args)
void clear_contact_surface_layer()
Definition: physics.pb.h:823
const ::ignition::msgs::Vector3d & gravity() const
Definition: physics.pb.h:854
bool enable_physics() const
Definition: physics.pb.h:935
void set_allocated_solver_type(std::string *solver_type)
Definition: physics.pb.h:666
void Swap(Physics *other)
Definition: physics.pb.h:165
::ignition::msgs::Vector3d * unsafe_arena_release_gravity()
Definition: physics.pb.h:886
static bool Type_Parse(::PROTOBUF_NAMESPACE_ID::ConstStringParam name, Type *value)
Definition: physics.pb.h:260
void clear_type()
Definition: physics.pb.h:612
::ignition::msgs::Vector3d * unsafe_arena_release_magnetic_field()
Definition: physics.pb.h:1103
void set_allocated_header(::ignition::msgs::Header *header)
Definition: physics.pb.h:589
friend void swap(Physics &a, Physics &b)
Definition: physics.pb.h:162
bool has_magnetic_field() const
Definition: physics.pb.h:1063
constexpr Physics(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized)
PROTOBUF_NODISCARD ::ignition::msgs::Header * release_header()
Definition: physics.pb.h:554
Physics * New(::PROTOBUF_NAMESPACE_ID::Arena *arena=nullptr) const final
Definition: physics.pb.h:186
const std::string & solver_type() const
Definition: physics.pb.h:635
const ::PROTOBUF_NAMESPACE_ID::Message::ClassData * GetClassData() const final
void set_type(::ignition::msgs::Physics_Type value)
Definition: physics.pb.h:626
const ::ignition::msgs::Vector3d & magnetic_field() const
Definition: physics.pb.h:1071
int32_t precon_iters() const
Definition: physics.pb.h:709
void clear_profile_name()
Definition: physics.pb.h:1009
double contact_surface_layer() const
Definition: physics.pb.h:829
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * GetDescriptor()
Definition: physics.pb.h:146
const ::ignition::msgs::Header & header() const
Definition: physics.pb.h:537
void set_max_step_size(double value)
Definition: physics.pb.h:1003
void clear_real_time_update_rate()
Definition: physics.pb.h:969
void set_solver_type(ArgT0 &&arg0, ArgT... args)
void unsafe_arena_set_allocated_gravity(::ignition::msgs::Vector3d *gravity)
Definition: physics.pb.h:858
void set_sor(double value)
Definition: physics.pb.h:757
double erp() const
Definition: physics.pb.h:789
std::string * mutable_profile_name()
Definition: physics.pb.h:1023
static const ClassData _class_data_
Definition: physics.pb.h:224
void set_real_time_factor(double value)
Definition: physics.pb.h:963
::ignition::msgs::Header * unsafe_arena_release_header()
Definition: physics.pb.h:569
void clear_precon_iters()
Definition: physics.pb.h:703
static const Physics * internal_default_instance()
Definition: physics.pb.h:155
void CopyFrom(const Physics &from)
void MergeFrom(const Physics &from)
void clear_max_step_size()
Definition: physics.pb.h:989
bool has_gravity() const
Definition: physics.pb.h:846
void set_contact_max_correcting_vel(double value)
Definition: physics.pb.h:817
Definition: vector3d.pb.h:84
T max(T... args)
T min(T... args)
IGNITION_MSGS_VISIBLE PhysicsDefaultTypeInternal _Physics_default_instance_
std::shared_ptr< Physics > PhysicsSharedPtr
Definition: physics.pb.h:1151
std::unique_ptr< Physics > PhysicsUniquePtr
Definition: physics.pb.h:1149
IGNITION_MSGS_VISIBLE Vector3dDefaultTypeInternal _Vector3d_default_instance_
IGNITION_MSGS_VISIBLE bool Physics_Type_IsValid(int value)
IGNITION_MSGS_VISIBLEconst ::PROTOBUF_NAMESPACE_ID::EnumDescriptor * Physics_Type_descriptor()
constexpr Physics_Type Physics_Type_Type_MIN
Definition: physics.pb.h:92
IGNITION_MSGS_VISIBLE HeaderDefaultTypeInternal _Header_default_instance_
const std::string & Physics_Type_Name(T enum_t_value)
Definition: physics.pb.h:98
constexpr int Physics_Type_Type_ARRAYSIZE
Definition: physics.pb.h:94
std::unique_ptr< const Physics > ConstPhysicsUniquePtr
Definition: physics.pb.h:1150
bool Physics_Type_Parse(::PROTOBUF_NAMESPACE_ID::ConstStringParam name, Physics_Type *value)
Definition: physics.pb.h:105
Physics_Type
Definition: physics.pb.h:83
@ Physics_Type_ODE
Definition: physics.pb.h:84
@ Physics_Type_BULLET
Definition: physics.pb.h:85
@ Physics_Type_Physics_Type_INT_MAX_SENTINEL_DO_NOT_USE_
Definition: physics.pb.h:89
@ Physics_Type_DART
Definition: physics.pb.h:87
@ Physics_Type_SIMBODY
Definition: physics.pb.h:86
@ Physics_Type_Physics_Type_INT_MIN_SENTINEL_DO_NOT_USE_
Definition: physics.pb.h:88
std::shared_ptr< const Physics > ConstPhysicsSharedPtr
Definition: physics.pb.h:1152
constexpr Physics_Type Physics_Type_Type_MAX
Definition: physics.pb.h:93
Definition: actor.pb.h:52
IGNITION_MSGS_VISIBLEconst ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable descriptor_table_ignition_2fmsgs_2fphysics_2eproto
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)