10 #include <Moby/RecurrentForce.h>
18 void apply(
const std::vector<boost::shared_ptr<Ravelin::DynamicBodyd> >& bodies);
19 virtual void load_from_xml(boost::shared_ptr<const XMLTree> node, std::map<std::string, BasePtr>& id_map);
20 virtual void save_to_xml(
XMLTreePtr node, std::list<boost::shared_ptr<const Base> >& shared_objects)
const;
23 std::map<boost::shared_ptr<Ravelin::DynamicBodyd>,
double>
_coeffs;
Class from which all Moby classes are derived.
Definition: Base.h:20
Definition: Dissipation.h:13
std::map< boost::shared_ptr< Ravelin::DynamicBodyd >, double > _coeffs
The mapping from bodies to decay coefficients.
Definition: Dissipation.h:23
boost::shared_ptr< XMLTree > XMLTreePtr
XML tree smart pointer.
Definition: Types.h:104
virtual void save_to_xml(XMLTreePtr node, std::list< boost::shared_ptr< const Base > > &shared_objects) const
Implements Base::save_to_xml()
Definition: Dissipation.cpp:107
virtual void load_from_xml(boost::shared_ptr< const XMLTree > node, std::map< std::string, BasePtr > &id_map)
Implements Base::load_from_xml()
Definition: Dissipation.cpp:58