Moby
Public Member Functions | Static Public Member Functions | Public Attributes | List of all members
Moby::Base Class Reference

Class from which all Moby classes are derived. More...

#include <Base.h>

Inheritance diagram for Moby::Base:
Moby::CollisionDetection Moby::CollisionGeometry Moby::ContactParameters Moby::Dissipation Moby::OSGGroupWrapper Moby::Primitive Moby::RCArticulatedBodyInvDynAlgo Moby::RecurrentForce Moby::Simulator Moby::Visualizable

Public Member Functions

 Base (const Base *b)
 
virtual void save_to_xml (XMLTreePtr node, std::list< boost::shared_ptr< const Base > > &shared_objects) const
 Method for saving this object to XML. More...
 
virtual void load_from_xml (boost::shared_ptr< const XMLTree > node, std::map< std::string, BasePtr > &id_map)
 Method for loading the data for this object from XML. More...
 

Static Public Member Functions

template<class T >
static boost::shared_ptr< T > clone (boost::shared_ptr< T > x)
 Static method for cloning a shared pointer.
 

Public Attributes

boost::shared_ptr< void > userdata
 Any relevant userdata.
 
std::string id
 The unique ID for this object.
 

Detailed Description

Class from which all Moby classes are derived.

Member Function Documentation

void Base::load_from_xml ( boost::shared_ptr< const XMLTree node,
std::map< std::string, BasePtr > &  id_map 
)
virtual
void Base::save_to_xml ( XMLTreePtr  node,
std::list< boost::shared_ptr< const Base > > &  shared_objects 
) const
virtual

The documentation for this class was generated from the following files: