62 main(
int argc,
char** argv) {
84 if (std::string(e.what()) != std::string(
"Process Error") && std::string(e.what()) != std::string(
"")) {
90 }
catch (
const std::exception& e) {
91 if (std::string(e.what()) != std::string(
"")) {
static void init()
Initialises the xml-subsystem.
static MsgHandler * getErrorInstance()
Returns the instance to add errors to.
void setApplicationDescription(const std::string &appDesc)
Sets the application description.
SimulationState simulate(SUMOTime start, SUMOTime stop)
Simulates from timestep start to stop.
static void close()
Closes all of an applications subsystems.
int main(int argc, char **argv)
SimulationState
Possible states of a simulation - running or stopped with different reasons.
The simulated network and simulation perfomer.
static void setArgs(int argc, char **argv)
Stores the command line arguments for later parsing.
static OptionsCont & getOptions()
Retrieves the options.
static void close()
request termination of connection
std::string getString(const std::string &name) const
Returns the string-value of the named option (only for Option_String)
SUMOTime string2time(const std::string &r)
The simulation is loading.
void inform(std::string msg, bool addType=true)
adds a new error to the list
A storage for options typed value containers)
void setApplicationName(const std::string &appName, const std::string &fullName)
Sets the application name.