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