#include <WorldElementBase.h>
Public Member Functions | |
virtual void | loadConfigFrom (const rapidxml::xml_node< char > *root)=0 |
WorldElementBase (World *parent) | |
virtual | ~WorldElementBase () |
Static Public Member Functions | |
static WorldElementBase * | factory (World *parent, const rapidxml::xml_node< char > *xml_node, const char *class_name=NULL) |
Definition at line 18 of file WorldElementBase.h.
mvsim::WorldElementBase::WorldElementBase | ( | World * | parent | ) | [inline] |
Definition at line 21 of file WorldElementBase.h.
virtual mvsim::WorldElementBase::~WorldElementBase | ( | ) | [inline, virtual] |
Definition at line 22 of file WorldElementBase.h.
WorldElementBase * WorldElementBase::factory | ( | World * | parent, |
const rapidxml::xml_node< char > * | xml_node, | ||
const char * | class_name = NULL |
||
) | [static] |
Class factory: Creates a world element from XML description of type "<element class='*'>...</element>". Only if xml_node==NULL, the world element name can be passed in class_name. Otherwise, class_name is ignored.
Definition at line 50 of file WorldElementBase.cpp.
virtual void mvsim::WorldElementBase::loadConfigFrom | ( | const rapidxml::xml_node< char > * | root | ) | [pure virtual] |
Implemented in mvsim::ElevationMap, mvsim::OccupancyGridMap, and mvsim::GroundGrid.