17 #ifndef SDF_PHYSICS_HH_ 18 #define SDF_PHYSICS_HH_ 24 #include "sdf/sdf_config.h" 30 inline namespace SDF_VERSION_NAMESPACE {
74 public: std::string Name()
const;
78 public:
void SetName(
const std::string &_name)
const;
92 public:
bool IsDefault()
const;
96 public:
void SetDefault(
const bool _default)
const;
102 public: std::string EngineType()
const;
106 public:
void SetEngineType(
const std::string &_type);
112 public:
double MaxStepSize()
const;
116 public:
void SetMaxStepSize(
const double _step);
122 public:
double RealTimeFactor()
const;
126 public:
void SetRealTimeFactor(
const double _factor);
129 private: PhysicsPrivate *dataPtr =
nullptr;
class SDFORMAT_VISIBLE Element
Definition: Element.hh:47
std::shared_ptr< Element > ElementPtr
Definition: Element.hh:51
std::vector< Error > Errors
A vector of Error.
Definition: Types.hh:74
#define SDFORMAT_VISIBLE
Use to represent "symbol visible" if supported.
Definition: system_util.hh:48
The physics element specifies the type and properties of a dynamics engine.
Definition: Physics.hh:38
namespace for Simulation Description Format parser
Definition: AirPressure.hh:25