Go to the documentation of this file.
   17 #ifndef SDF_PHYSICS_HH_ 
   18 #define SDF_PHYSICS_HH_ 
   21 #include <gz/utils/ImplPtr.hh> 
   31   inline namespace SDF_VERSION_NAMESPACE {
 
   51     public: std::string Name() 
const;
 
   55     public: 
void SetName(
const std::string &_name);
 
   69     public: 
bool IsDefault() 
const;
 
   73     public: 
void SetDefault(
const bool _default);
 
   79     public: std::string EngineType() 
const;
 
   83     public: 
void SetEngineType(
const std::string &_type);
 
   89     public: 
double MaxStepSize() 
const;
 
   93     public: 
void SetMaxStepSize(
const double _step);
 
   99     public: 
double RealTimeFactor() 
const;
 
  103     public: 
void SetRealTimeFactor(
const double _factor);
 
  109     public: 
int MaxContacts() 
const;
 
  115     public: 
void SetMaxContacts(
int _maxContacts);
 
  125     GZ_UTILS_IMPL_PTR(dataPtr)
 
  
namespace for Simulation Description Format parser
Definition: Actor.hh:34
 
The physics element specifies the type and properties of a dynamics engine.
Definition: Physics.hh:36
 
#define SDFORMAT_VISIBLE
Definition: system_util.hh:25
 
class GZ_SDFORMAT_VISIBLE Element
Definition: Element.hh:50
 
std::vector< Error > Errors
A vector of Error.
Definition: Types.hh:80
 
std::shared_ptr< Element > ElementPtr
Definition: Element.hh:54