44 #ifndef __PROJECT_SPEC_H__
45 #define __PROJECT_SPEC_H__
51 using namespace Menge;
98 std::string
getScene()
const {
return _sceneXML; }
112 std::string
getModel()
const {
return _modelName; }
142 std::string
getView()
const {
return _viewConfig; }
190 bool parseCommandParameters(
int argc,
char* argv[],
const SimulatorDB * simDB );
199 bool fullySpecified()
const;
216 void setOutputName(
const std::string & fileName );
229 bool loadFromXML(
const std::string & xmlName );
306 #endif // __PROJECT_SPEC_H__
std::string getView() const
Get the view specification file.
Definition: ProjectSpec.h:142
float getTimeStep() const
Get the override simulation time step.
Definition: ProjectSpec.h:178
The core namespace. All elements of Menge are contained in this namespace.
Definition: AgentGenerator.cpp:43
Logger & operator<<(Logger &out, const BFSM::PropertyOperand op)
Friend function for printing string versions of the PropertyOperand enum.
Definition: FSMEnumeration.cpp:43
float _duration
The maximum allowable duration of the simulation (in simulation seconds).
Definition: ProjectSpec.h:276
std::string getBehavior() const
Get the beahvior specification file name.
Definition: ProjectSpec.h:105
float getDuration() const
Get the maximum simulation duration.
Definition: ProjectSpec.h:170
std::string _projPath
The path to the project – it is the folder containing the project xml. Defaults to the current worki...
Definition: ProjectSpec.h:235
std::string _sceneXML
The full path to the scene specification xml file.
Definition: ProjectSpec.h:240
std::string getOutputName() const
Get the name of the trajectory output file.
Definition: ProjectSpec.h:120
std::string _modelName
The name of the pedestrian model.
Definition: ProjectSpec.h:250
size_t _subSteps
The number of intermediate simulation steps to take.
Definition: ProjectSpec.h:302
std::string _imgDumpPath
The path to the output folder for screen grab images.
Definition: ProjectSpec.h:291
std::string getModel() const
Get the model name.
Definition: ProjectSpec.h:112
An html logger - writes messages to a formatted html file.
Definition: Logger.h:59
The simulator database class.
Definition: SimulatorDB.h:117
float _timeStep
The size of the simulation time step.
Definition: ProjectSpec.h:281
std::string getDumpPath() const
Get the path at which to dump files.
Definition: ProjectSpec.h:156
std::string _scbVersion
The scb version to write.
Definition: ProjectSpec.h:260
The specificaiton of a message logger for menge, such that all messages to the system get properly re...
The specificaiton of a simulation project.
Definition: ProjectSpec.h:80
bool _verbose
Determines if the simulator should be verbose (printing status to the console.
Definition: ProjectSpec.h:266
size_t getSubSteps() const
Get the number of simulation sub steps to take.
Definition: ProjectSpec.h:163
bool getVerbosity() const
Get the verbosity state for the application.
Definition: ProjectSpec.h:134
int _seed
The seed number for the global random number generator.
Definition: ProjectSpec.h:286
std::string _scbFileName
The name of the output trajectory file to write.
Definition: ProjectSpec.h:255
std::string _behaviorXML
The full path to the behavior specification xml file.
Definition: ProjectSpec.h:245
int getRandomSeed() const
Get the random number seed value.
Definition: ProjectSpec.h:149
std::string getScene() const
Get the scene specification file name.
Definition: ProjectSpec.h:98
std::string _viewConfig
The path to the file that specifies the view configuration.
Definition: ProjectSpec.h:271
std::string getSCBVersion() const
Get the version string for the trajectory output file.
Definition: ProjectSpec.h:127