 |
Eclipse SUMO - Simulation of Urban MObility
|
Go to the documentation of this file.
44 main(
int argc,
char** argv) {
68 FXApp application(
"SUMO netedit",
"Eclipse");
70 application.init(argc, argv);
72 if (!FXGLVisual::supported(&application, major, minor)) {
73 throw ProcessError(
"This system has no OpenGL support. Exiting.");
93 ret = application.run();
95 }
catch (
const std::exception& e) {
96 if (std::string(e.what()) != std::string(
"")) {
bool processMetaOptions(bool missingOptions)
Checks for help and configuration output, returns whether we should exit.
static void close()
Closes all of an applications subsystems.
void loadOptionOnStartup()
load net on startup
virtual void inform(std::string msg, bool addType=true)
adds a new error to the list
static OptionsCont & getOptions()
Retrieves the options.
The main window of the Netedit.
static MsgHandler * create(MsgType type)
static void setFactory(Factory func)
Sets the factory function to use for new MsgHandlers.
void setApplicationName(const std::string &appName, const std::string &fullName)
Sets the application name.
int main(int argc, char **argv)
GUICompleteSchemeStorage gSchemeStorage
static void init()
Initialises the xml-subsystem.
A storage for options typed value containers)
void dependentBuild()
build dependent
static void getOptions(const bool commandLineOnly=false)
Parses the command line arguments and loads the configuration.
void setApplicationDescription(const std::string &appDesc)
Sets the application description.
static void setArgs(int argc, char **argv)
Stores the command line arguments for later parsing.
static void fillOptions(OptionsCont &oc)
clears and initializes the OptionsCont
void init(FXApp *app, bool netedit=false)
Initialises the storage with some default settings.
static MsgHandler * getErrorInstance()
Returns the instance to add errors to.