18 #ifndef _GAZEBO_DARTJOINT_HH_
19 #define _GAZEBO_DARTJOINT_HH_
21 #include <boost/any.hpp>
44 public:
virtual void Load(sdf::ElementPtr _sdf);
47 public:
virtual void Init();
50 public:
virtual void Reset();
62 public:
virtual void Detach();
69 public:
virtual void SetDamping(
int _index,
double _damping);
90 public:
virtual void SetAttribute(
const std::string &_key,
int _index,
91 const boost::any &_value);
94 public:
virtual double GetAttribute(
const std::string &_key,
104 public:
virtual void SetForce(
int _index,
double _force);
107 public:
virtual double GetForce(
unsigned int _index);
123 protected:
virtual void SetForceImpl(
int _index,
double _force) = 0;
128 private:
void SaveForce(
int _index,
double _force);