Eclipse SUMO - Simulation of Urban MObility
Loading...
Searching...
No Matches
GUIGlobals Class Reference

#include <GUIGlobals.h>

Static Public Attributes

static bool gDemoAutoReload = false
 the simulation shall reload when it has ended (demo)
 
static bool gQuitOnEnd = false
 the window shall be closed when the simulation has ended
 
static bool gRunAfterLoad = false
 the simulation shall start direct after loading
 
static bool gSecondaryShape = false
 whether secondary shapes are currently being drawn
 
static double gTrackerInterval = 1.0
 the aggregation period for tracker windows in seconds
 

Detailed Description

This class holds some static variables, filled mostly with values coming from the command line, application settings or the registry.

Definition at line 34 of file GUIGlobals.h.

Field Documentation

◆ gDemoAutoReload

bool GUIGlobals::gDemoAutoReload = false
static

the simulation shall reload when it has ended (demo)

Definition at line 43 of file GUIGlobals.h.

Referenced by GUIApplicationWindow::handleEvent_SimulationEnded(), GUIDialog_AppSettings::onCmdOk(), and GUILoadThread::run().

◆ gQuitOnEnd

bool GUIGlobals::gQuitOnEnd = false
static

the window shall be closed when the simulation has ended

Definition at line 40 of file GUIGlobals.h.

Referenced by GUIApplicationWindow::handleEvent_SimulationEnded(), GUIApplicationWindow::handleEvent_SimulationLoaded(), GUIDialog_AppSettings::onCmdOk(), and GUILoadThread::run().

◆ gRunAfterLoad

bool GUIGlobals::gRunAfterLoad = false
static

the simulation shall start direct after loading

Definition at line 37 of file GUIGlobals.h.

Referenced by GUIApplicationWindow::handleEvent_SimulationLoaded(), GUIDialog_AppSettings::onCmdOk(), and GUILoadThread::run().

◆ gSecondaryShape

bool GUIGlobals::gSecondaryShape = false
static

whether secondary shapes are currently being drawn

Definition at line 49 of file GUIGlobals.h.

Referenced by GUIViewTraffic::doPaintGL(), GUIBaseVehicle::getCenteringBoundary(), GUIBusStop::getCenteringBoundary(), and GUINet::registerRenderedObject().

◆ gTrackerInterval

double GUIGlobals::gTrackerInterval = 1.0
static

the aggregation period for tracker windows in seconds

Definition at line 46 of file GUIGlobals.h.

Referenced by GUIApplicationWindow::getTrackerInterval(), and GUILoadThread::run().


The documentation for this class was generated from the following files: