Moby
Classes | Static Public Member Functions | List of all members
Moby::SDFReader Class Reference

Used to read the simulator state from XML. More...

#include <SDFReader.h>

Static Public Member Functions

static boost::shared_ptr
< TimeSteppingSimulator
read (const std::string &fname)
 Reads an XML file and constructs all read objects. More...
 
static std::map< std::string,
ControlledBodyPtr
read_models (const std::string &fname)
 Reads models only from SDF file. More...
 

Detailed Description

Used to read the simulator state from XML.

Member Function Documentation

shared_ptr< TimeSteppingSimulator > SDFReader::read ( const std::string &  fname)
static

Reads an XML file and constructs all read objects.

Returns
a map of IDs to read objects

References Moby::XMLTree::processed.

std::map< std::string, ControlledBodyPtr > SDFReader::read_models ( const std::string &  fname)
static

Reads models only from SDF file.

Returns
a map of IDs to read objects

References Moby::XMLTree::processed.


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