21 #ifndef _PHYSICSENGINE_HH_
22 #define _PHYSICSENGINE_HH_
24 #include <boost/thread/recursive_mutex.hpp>
54 public:
virtual void Load(sdf::ElementPtr _sdf);
57 public:
virtual void Init() = 0;
60 public:
virtual void Fini();
73 public:
virtual std::string
GetType()
const = 0;
77 public:
virtual void SetSeed(uint32_t _seed) = 0;
122 const std::string &_shapeType,
LinkPtr _link) = 0;
128 const std::string &_linkName);
262 public:
virtual void SetParam(std::string _key,
263 const boost::any &_value);
268 public:
virtual boost::any
GetParam(std::string _key)
const;
284 protected:
virtual void OnRequest(ConstRequestPtr &_msg);
288 protected:
virtual void OnPhysicsMsg(ConstPhysicsPtr &_msg);
294 protected: sdf::ElementPtr
sdf;