21 #ifndef _WAVE_GAZEBO_PLUGINS_UTILITIES_HH_ 22 #define _WAVE_GAZEBO_PLUGINS_UTILITIES_HH_ 24 #include <ignition/math/Vector2.hh> 25 #include <ignition/math/Vector3.hh> 60 public:
static bool SdfParamBool(sdf::Element& _sdf,
61 const std::string &_paramName,
const bool _defaultVal);
71 public:
static size_t SdfParamSizeT(sdf::Element& _sdf,
72 const std::string &_paramName,
const size_t _defaultVal);
82 public:
static double SdfParamDouble(sdf::Element& _sdf,
83 const std::string &_paramName,
const double _defaultVal);
93 public:
static std::string SdfParamString(sdf::Element& _sdf,
94 const std::string &_paramName,
const std::string &_defaultVal);
104 public:
static ignition::math::Vector2d SdfParamVector2(
106 const std::string &_paramName,
107 const ignition::math::Vector2d _defaultVal);
117 public:
static ignition::math::Vector3d SdfParamVector3(sdf::Element& _sdf,
118 const std::string &_paramName,
119 const ignition::math::Vector3d _defaultVal);
123 #endif // _WAVE_GAZEBO_PLUGINS_UTILITIES_HH_
A collection of static methods for common tasks.