50 #ifndef __XML_SIMULATOR_BASE__
51 #define __XML_SIMULATOR_BASE__
54 #include "mengeCommon.h"
72 #pragma warning( disable : 4290 )
161 virtual bool isExpTarget(
const std::string & tagName ) = 0;
178 virtual bool setExpParam(
const std::string & paramName,
const std::string & value )
throw(
XMLParamException ) = 0;
197 virtual void setElevationInstance(
Elevation * elevation ) = 0;
204 virtual bool hasElevation()
const = 0;
211 virtual void setSpatialQuery(
SpatialQuery * spatialQuery ) = 0;
225 virtual bool hasSpatialQuery()
const = 0;
230 virtual bool initSpatialQuery() = 0;
253 #endif // __XML_SIMULATOR_BASE__
SimulatorState * _initState
The initial state of the simulator.
Definition: XMLSimulatorBase.h:249
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
XMLParamFatalException(const std::string &s)
Constructor with message.
Definition: XMLSimulatorBase.h:110
Base exception class for menge operations.
Definition: MengeException.h:58
SimulatorState * getInitialState()
Returns a pointer to the simulator's initial state.
Definition: XMLSimulatorBase.h:243
virtual void finalize()
After all agents and all obstacles have been added to the scene does the work to finish preparing the...
Definition: XMLSimulatorBase.h:236
virtual bool hasExpTarget()
Reports if there are any target-specific experiment parameters.
Definition: XMLSimulatorBase.h:147
Exception thrown when the xml parameter parser has an error which cannot be recovered from...
Definition: XMLSimulatorBase.h:98
XMLParamException(const std::string &s)
Constructor with message.
Definition: XMLSimulatorBase.h:90
Exception for invalid parameters from XML specification.
Definition: XMLSimulatorBase.h:78
XMLParamFatalException()
Default constructor.
Definition: XMLSimulatorBase.h:103
Base class for fatal exceptions.
Definition: MengeException.h:99
Contains functionality for parsing simulation specifcation from an XML file.
The base class for determining an agent's elevation.
Definition: Elevation.h:107
The base class for performing spatial queries.
Definition: SpatialQuery.h:114
Defines the basic agent properties and functionality that all simulation agents share.
Definition: BaseAgent.h:123
XMLParamException()
Default constructor.
Definition: XMLSimulatorBase.h:83
The base class for extracting simulator settings from the XML specification.
Definition: XMLSimulatorBase.h:126
The namespace that contains the basic simulation mechanisms.
A class which caches the state of the simulator.
Definition: SimulatorState.h:64