39 #ifndef __SIM_XML_LOADER__
40 #define __SIM_XML_LOADER__
48 #include "mengeCommon.h"
50 #include "tinyxml/tinyxml.h"
57 class XMLSimulatorBase;
58 class AgentInitializer;
83 bool loadFromXML(
const std::string & xmlName,
AgentInitializer * agentInit,
bool verbose=
false );
113 bool parseObstacleSet( TiXmlElement * node );
122 bool parseAgentProfile( TiXmlElement * node,
AgentInitializer * agentInit );
136 #endif // __SIM_XML_LOADER__
The core namespace. All elements of Menge are contained in this namespace.
Definition: AgentGenerator.cpp:43
Class which determines the agent properties for each new agent.
Definition: AgentInitializer.h:75
unsigned int _agtCount
The number of agents loaded.
Definition: SimXMLLoader.h:127
HASH_MAP< std::string, AgentInitializer * > _profiles
Mapping from agent profile name to agent initializer.
Definition: SimXMLLoader.h:132
XMLSimulatorBase * _sim
The simulator to populate based on the contents of the xml.
Definition: SimXMLLoader.h:95
std::string _sceneFldr
The folder in which the scene configuration file appears.
Definition: SimXMLLoader.h:89
The base class for extracting simulator settings from the XML specification.
Definition: XMLSimulatorBase.h:126
The namespace that contains the basic simulation mechanisms.
Class for parsing the SCENE XML specification and initialize a simulator It only knows the most funda...
Definition: SimXMLLoader.h:65