Go to the documentation of this file.
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;
namespace for Simulation Description Format parser
Definition: Actor.hh:32
std::vector< Error > Errors
A vector of Error.
Definition: Types.hh:89
#define SDFORMAT_VISIBLE
Definition: system_util.hh:48
The physics element specifies the type and properties of a dynamics engine.
Definition: Physics.hh:38
std::shared_ptr< Element > ElementPtr
Definition: Element.hh:53
class SDFORMAT_VISIBLE Element
Definition: Element.hh:49