![]() |
Eclipse SUMO - Simulation of Urban MObility
|
The main window of the SUMO-gui. More...
#include <GUIApplicationWindow.h>
Public Member Functions | |
void | addChild (FXMainWindow *child) |
Adds a further child window to the list (FXMainWindow) | |
void | addGLChild (GUIGlChildWindow *child) |
Adds a further child window to the list (GUIGlChildWindow) | |
void | addHotkey (int key, Command *press, Command *release) |
register custom hotkey action | |
void | addOnlineMap (const std::string &name, const std::string &url) |
void | addRecentConfig (const FX::FXString &f) |
add recent config to recent file list | |
void | addRecentNetwork (const FX::FXString &f) |
add recent network to recent file list | |
void | dependentBuild (const bool isLibsumo) |
build dependt | |
void | eraseBreakpointDialog () |
erase current breakpoint dialog | |
GUISUMOAbstractView * | getActiveView () const |
get the active view or 0 | |
FXFont * | getBoldFont () |
get bold front | |
FXGLCanvas * | getBuildGLCanvas () const |
get build GLCanvas | |
FXLabel * | getCartesianLabel () |
get cartesian label | |
SUMOTime | getCurrentSimTime () const |
get current simulation time | |
FXCursor * | getDefaultCursor () |
get default cursor | |
virtual double | getDelay () const |
Returns the simulation delay in miliseconds. | |
FXFont * | getFallbackFont () |
get fallback front | |
FXLabel * | getGeoLabel () |
get geo label | |
FXGLVisual * | getGLVisual () const |
get GL Visual | |
const std::map< std::string, std::string > & | getOnlineMaps () const |
GUIRunThread * | getRunner () |
get run thread | |
MFXStaticToolTip * | getStaticTooltipMenu () const |
get static toolTip for menus | |
MFXStaticToolTip * | getStaticTooltipView () const |
get static toolTip for view | |
FXHorizontalFrame * | getTestFrame () |
get test frame | |
FXLabel * | getTestLabel () |
get test label | |
FXDockSite * | getTopDock () |
get top dock | |
double | getTrackerInterval () const |
get tracker interval | |
GUIGlChildWindow * | getViewByID (const std::string &id) const |
get specific view by ID | |
std::vector< std::string > | getViewIDs () const |
get view IDs | |
const std::vector< GUIGlChildWindow * > & | getViews () const |
get views | |
GUIApplicationWindow (FXApp *a, const std::string &configPattern) | |
Constructor. | |
bool | isFullScreen () |
bool | isGaming () const |
return whether the gui is in gaming mode | |
bool | listInternal () const |
return whether to list internal structures | |
bool | listParking () const |
return whether to list parking vehicles | |
bool | listTeleporting () const |
return whether to list teleporting vehicles | |
void | loadOnStartup (const bool wait=false) |
config or net on startup | |
long | onCmdChangeLanguage (FXObject *, FXSelector, void *) |
long | onUpdChangeLanguage (FXObject *, FXSelector, void *) |
void | removeChild (FXMainWindow *child) |
removes the given child window from the list (FXMainWindow) | |
void | removeGLChild (GUIGlChildWindow *child) |
removes the given child window from the list (GUIGlChildWindow) | |
void | removeViewByID (const std::string &id) |
const std::vector< SUMOTime > | retrieveBreakpoints () const |
retrieve list of breakpoints | |
virtual void | sendBlockingEvent (GUIEvent *event) |
Sends an event from the application thread to the GUI and waits until it is handled. | |
virtual void | setBreakpoints (const std::vector< SUMOTime > &breakpoints) |
Sets the breakpoints of the parent application. | |
virtual void | setDelay (double delay) |
Sets the delay of the parent application in milliseconds. | |
void | setStatusBarText (const std::string &text) |
set status bar text | |
void | updateChildren (int msg=MID_SIMSTEP) |
update childrens | |
virtual | ~GUIApplicationWindow () |
Destructor. | |
FOX-interactions | |
{ | |
virtual void | create () |
Creates the main window (required by FOX) | |
virtual void | detach () |
Detaches the tool/menu bar. | |
Inter-thread event handling | |
virtual void | eventOccurred () |
a certaint event ocurred | |
void | handleEvent_SimulationLoaded (GUIEvent *e) |
called when event "simulation loaded" ocurred | |
void | handleEvent_SimulationStep (GUIEvent *e) |
called when event "simulation step" ocurred | |
void | handleEvent_Message (GUIEvent *e) |
called when event "message" ocurred | |
void | handleEvent_SimulationEnded (GUIEvent *e) |
called when event "simulation ended" ocurred | |
FOX-callbacks | |
long | onCmdNewWindow (FXObject *, FXSelector, void *) |
Called on menu File->New Window. | |
long | onCmdOpenConfiguration (FXObject *, FXSelector, void *) |
Called on menu File->Open Configuration. | |
long | onCmdOpenNetwork (FXObject *, FXSelector, void *) |
Called on menu File->Open Network. | |
long | onCmdOpenShapes (FXObject *, FXSelector, void *) |
Called on menu File->Load Shapes. | |
long | onCmdOpenEdgeData (FXObject *, FXSelector, void *) |
Called on menu File->Load EdgeData. | |
long | onCmdReload (FXObject *, FXSelector, void *) |
Called on reload. | |
long | onCmdQuickReload (FXObject *, FXSelector, void *) |
Called on quick-reload. | |
long | onCmdOpenRecent (FXObject *, FXSelector, void *) |
Called on opening a recent file. | |
long | onCmdSaveConfig (FXObject *, FXSelector, void *) |
Called on menu File->Close. | |
long | onCmdClose (FXObject *, FXSelector, void *) |
Called on menu File->Close. | |
long | onCmdQuit (FXObject *, FXSelector, void *) |
Called by FOX if the application shall be closed (Called either by FileMenu->Quit, the normal close-menu or SIGINT) | |
long | onCmdEditChosen (FXObject *, FXSelector, void *) |
Called on menu Edit->Edit Chosen. | |
long | onCmdEditBreakpoints (FXObject *, FXSelector, void *) |
Called on menu Edit->Edit Breakpoints. | |
long | onCmdEditViewScheme (FXObject *, FXSelector, void *) |
Called on menu Edit->Visualization. | |
long | onCmdEditViewport (FXObject *, FXSelector, void *) |
Called on menu Edit->Viewport. | |
long | onCmdHelp (FXObject *sender, FXSelector sel, void *ptr) |
called if the user selects help->Documentation | |
long | onCmdChangelog (FXObject *sender, FXSelector sel, void *ptr) |
called if the user selects help->Changelog | |
long | onCmdHotkeys (FXObject *sender, FXSelector sel, void *ptr) |
called if the user selects help->Hotkeys | |
long | onCmdTutorial (FXObject *sender, FXSelector sel, void *ptr) |
called if the user selects help->Tutorial | |
long | onCmdNeteditNetwork (FXObject *, FXSelector, void *) |
Called on menu Edit->Netedit (network) | |
long | onCmdNeteditSUMOConfig (FXObject *, FXSelector, void *) |
Called on menu Edit->Netedit (SUMOCfg) | |
long | onUpdNeteditSUMOConfig (FXObject *, FXSelector, void *) |
Enable or disable open SUMOConfig in netedit. | |
long | onCmdAppSettings (FXObject *, FXSelector, void *) |
Opens the application settings menu (Settings->Application Settings...) | |
long | onCmdGaming (FXObject *, FXSelector, void *) |
Toggle gaming mode. | |
long | onCmdToggleDrawJunctionShape (FXObject *, FXSelector, void *) |
Toggle draw junction shape. | |
long | onCmdToggleSecondaryShape (FXObject *, FXSelector, void *) |
Toggle draw junction shape. | |
long | onCmdFullScreen (FXObject *, FXSelector, void *) |
Toggle full screen mode. | |
long | onCmdListInternal (FXObject *, FXSelector, void *) |
Toggle listing of internal structures. | |
long | onCmdListParking (FXObject *, FXSelector, void *) |
Toggle listing of parking vehicles. | |
long | onCmdListTeleporting (FXObject *, FXSelector, void *) |
Toggle listing of teleporting vehicles. | |
long | onCmdFeedback (FXObject *, FXSelector, void *) |
Shows the feedback dialog. | |
long | onCmdAbout (FXObject *, FXSelector, void *) |
Shows the about dialog. | |
long | onCmdHallOfFame (FXObject *, FXSelector, void *) |
Shows the Hall of Fame dialog. | |
long | onCmdStart (FXObject *, FXSelector, void *) |
Called on "play". | |
long | onCmdStop (FXObject *, FXSelector, void *) |
Called on "stop". | |
long | onCmdStep (FXObject *, FXSelector, void *) |
Called on "step". | |
long | onCmdSaveState (FXObject *, FXSelector, void *) |
Called on "save state". | |
long | onCmdLoadState (FXObject *, FXSelector, void *) |
Called on "save state". | |
long | onCmdTimeToggle (FXObject *, FXSelector, void *) |
Called on "time toggle". | |
long | onCmdDelayInc (FXObject *, FXSelector, void *) |
Called on "delay inc". | |
long | onCmdDelayDec (FXObject *, FXSelector, void *) |
Called on "delay dec". | |
long | onCmdDelayToggle (FXObject *, FXSelector, void *) |
Called on "delay toggle". | |
long | onCmdDemandScale (FXObject *, FXSelector, void *) |
Called on "demand scale". | |
long | onCmdNewView (FXObject *, FXSelector, void *) |
Called if a new view shall be opened (2D view) | |
long | onUpdOpen (FXObject *, FXSelector, void *) |
Determines whether opening is enabled. | |
long | onUpdReload (FXObject *, FXSelector, void *) |
Determines whether reloading is enabled. | |
long | onUpdOpenRecent (FXObject *, FXSelector, void *) |
Determines whether opening a recent file is enabled. | |
long | onUpdAddView (FXObject *, FXSelector, void *) |
Determines whether adding a view is enabled. | |
long | onUpdStart (FXObject *sender, FXSelector, void *ptr) |
Determines whether "play" is enabled. | |
long | onUpdStop (FXObject *, FXSelector, void *) |
Determines whether "stop" is enabled. | |
long | onUpdStep (FXObject *, FXSelector, void *) |
Determines whether "step" is enabled. | |
long | onUpdNeedsSimulation (FXObject *, FXSelector, void *) |
Determines whether some buttons which require an active simulation may be shown. | |
long | onUpdTraCIStatus (FXObject *, FXSelector, void *) |
Determines whether traci is active. | |
long | onCmdClearMsgWindow (FXObject *, FXSelector, void *) |
Called if the message window shall be cleared. | |
long | onCmdLocate (FXObject *, FXSelector, void *) |
Called on menu commands from the Locator menu. | |
long | onCmdShowStats (FXObject *, FXSelector, void *) |
Called on commands from the statistic buttons. | |
long | onLoadThreadEvent (FXObject *, FXSelector, void *) |
Called on an event from the loading thread. | |
long | onRunThreadEvent (FXObject *, FXSelector, void *) |
Called on an event from the simulation thread. | |
long | onClipboardRequest (FXObject *sender, FXSelector sel, void *ptr) |
Somebody wants our clipped text. | |
long | onKeyPress (FXObject *o, FXSelector sel, void *data) |
called when a key is pressed | |
long | onKeyRelease (FXObject *o, FXSelector sel, void *data) |
called when a key is released | |
Static Public Member Functions | |
static GUIMainWindow * | getInstance () |
get instance | |
Protected Member Functions | |
virtual void | addToWindowsMenu (FXMenuPane *menuPane) |
FOX need this. | |
void | buildLanguageMenu (FXMenuBar *menuBar) |
void | buildRecentConfigs (FXMenuPane *fileMenu, FXMenuPane *fileMenuRecentConfigs) |
build recent configs | |
void | buildRecentNetworks (FXMenuPane *fileMenu, FXMenuPane *fileMenuRecentNetworks) |
build recent networks | |
virtual void | buildToolBars () |
Builds the tool bar. | |
virtual void | fillMenuBar () |
Builds the menu bar. | |
void | setWindowSizeAndPos () |
perform initial window positioning and sizing according to user options / previous call | |
void | storeWindowSizeAndPos () |
record window position and size in registry | |
Protected Attributes | |
bool | hadDependentBuild = false |
flag to mark if GUIApplicationWIndow has depend build | |
double | myAlternateSimDelay = 0 |
The alternate simulation delay in milliseconds for toggling. | |
bool | myAmFullScreen |
FOX need this. | |
bool | myAmGaming |
information whether the gui is currently in gaming mode | |
bool | myAmLoading = false |
information whether the gui is currently loading and the load-options shall be greyed out | |
FXFont * | myBoldFont = nullptr |
Font used for popup-menu titles. | |
FXDockSite * | myBottomDock = nullptr |
FXLabel * | myCartesianCoordinate = nullptr |
Labels for the current cartesian, geo-coordinate and test coordinates. | |
FXHorizontalFrame * | myCartesianFrame = nullptr |
std::string | myConfigPattern |
Input file pattern. | |
FXMenuPane * | myControlMenu = nullptr |
FXRealSpinner * | myDemandScaleSpinner = nullptr |
the demand scale | |
FXMenuPane * | myEditMenu = nullptr |
FXCondition | myEventCondition |
the semaphore when waiting for event completion | |
FXMutex | myEventMutex |
the mutex for the waiting semaphore | |
MFXSynchQue< GUIEvent * > | myEvents |
List of got requests. | |
FXFont * | myFallbackFont = nullptr |
Fallback font for extended characters support. | |
FXMenuPane * | myFileMenu = nullptr |
the submenus | |
FXMenuPane * | myFileMenuRecentConfigs = nullptr |
FXMenu pane for recent configs. | |
FXMenuPane * | myFileMenuRecentNetworks = nullptr |
FXMenu pane for recent networks. | |
FXMenuCheck * | myGamingModeCheckbox |
menu checkbox to activate game mode | |
FXLabel * | myGeoCoordinate = nullptr |
FXHorizontalFrame * | myGeoFrame = nullptr |
FXGLVisual * | myGLVisual = nullptr |
The gl-visual used. | |
std::vector< GUIGlChildWindow * > | myGLWindows |
list of GLWindows | |
long long | myGuiSettingsFileMTime = -2 |
last modification time of the gui setting file | |
bool | myHaveNotifiedAboutSimEnd = false |
whether the simulation end was already announced | |
FXMenuPane * | myHelpMenu = nullptr |
bool | myIsReload = false |
whether we are reloading the simulation | |
FXMenuPane * | myLanguageMenu = nullptr |
Language menu common to all applications. | |
MFXLCDLabel * | myLCDLabel = nullptr |
the simulation step display | |
FXDockSite * | myLeftDock = nullptr |
bool | myListInternal |
information whether the locator should list internal structures | |
bool | myListParking |
information whether the locator should list parking vehicles | |
bool | myListTeleporting |
information whether the locator should list teleporting vehicles | |
GUILoadThread * | myLoadThread = nullptr |
the thread that loads simulations | |
FXEX::MFXThreadEvent | myLoadThreadEvent |
io-event with the load-thread | |
FXMenuPane * | myLocatorMenu = nullptr |
FXSplitter * | myMainSplitter = nullptr |
The splitter that divides the main window into views and the log window. | |
FXMDIClient * | myMDIClient = nullptr |
The multi view panel. | |
FXMDIMenu * | myMDIMenu = nullptr |
The menu used for the MDI-windows. | |
FXMenuBar * | myMenuBar = nullptr |
The application menu bar. | |
FXToolBarShell * | myMenuBarDrag = nullptr |
GUIMessageWindow * | myMessageWindow = nullptr |
A window to display messages, warnings and error in. | |
std::string | myName |
the name of the simulation | |
std::map< std::string, std::string > | myOnlineMaps |
online mapping services for the context menu | |
MFXRecentNetworks | myRecentConfigs |
List of recent configs. | |
MFXRecentNetworks | myRecentNetworks |
List of recent networks. | |
FXDockSite * | myRightDock = nullptr |
GUIRunThread * | myRunThread = nullptr |
the thread that runs simulations | |
FXEX::MFXThreadEvent | myRunThreadEvent |
io-event with the run-thread | |
FXMenuPane * | mySelectByPermissions = nullptr |
FXMenuCascade * | mySelectLanesMenuCascade = nullptr |
the menu cascades | |
FXMenuPane * | mySettingsMenu = nullptr |
bool | myShowTimeAsHMS = false |
whether to show time as hour:minute:second | |
double | mySimDelay = 0. |
the simulation delay in milliseconds | |
FXSlider * | mySimDelaySlider = nullptr |
Simulation delay slider. | |
FXRealSpinner * | mySimDelaySpinner = nullptr |
Simulation delay spinner. | |
FXDataTarget * | mySimDelayTarget = nullptr |
Simulation delay target. | |
std::vector< FXButton * > | myStatButtons |
Buttons showing and running values and triggering statistic windows. | |
MFXStaticToolTip * | myStaticTooltipMenu = nullptr |
static toolTip used in menus | |
MFXStaticToolTip * | myStaticTooltipView = nullptr |
static toolTip used in view | |
FXStatusBar * | myStatusbar = nullptr |
The status bar. | |
FXLabel * | myTestCoordinate = nullptr |
FXHorizontalFrame * | myTestFrame = nullptr |
FXToolBar * | myToolBar1 = nullptr |
The application tool bar. | |
FXToolBar * | myToolBar2 = nullptr |
FXToolBar * | myToolBar3 = nullptr |
FXToolBar * | myToolBar4 = nullptr |
FXToolBar * | myToolBar5 = nullptr |
FXToolBar * | myToolBar8 = nullptr |
FXToolBarShell * | myToolBarDrag1 = nullptr |
for some menu detaching fun | |
FXToolBarShell * | myToolBarDrag2 = nullptr |
FXToolBarShell * | myToolBarDrag3 = nullptr |
FXToolBarShell * | myToolBarDrag4 = nullptr |
FXToolBarShell * | myToolBarDrag5 = nullptr |
FXToolBarShell * | myToolBarDrag8 = nullptr |
FXDockSite * | myTopDock = nullptr |
dock sites | |
FXHorizontalFrame * | myTraCiFrame = nullptr |
frames for coordinates | |
FXMutex | myTrackerLock |
A lock to make the removal and addition of trackers secure. | |
std::vector< FXMainWindow * > | myTrackerWindows |
list of tracker windows | |
int | myViewNumber |
The current view number. | |
bool | myWasStarted = false |
the information whether the simulation was started before | |
FXMenuPane * | myWindowMenu = nullptr |
Static Protected Attributes | |
static GUIMainWindow * | myInstance = nullptr |
the singleton window instance | |
game related things | |
{ | |
RandomDistributor< std::string > | myJamSounds |
random list of jam sounds | |
RandomDistributor< std::string > | myCollisionSounds |
random list of collision sounds | |
double | myJamSoundTime = 60 |
waiting time after which vehicles trigger jam sounds | |
int | myPreviousCollisionNumber = 0 |
previous collision number | |
bool | myTLSGame = false |
flag for enable TLS gameMode | |
MFXLCDLabel * | myWaitingTimeLabel = nullptr |
waiting time label | |
SUMOTime | myWaitingTime = 0 |
waiting time | |
MFXLCDLabel * | myTimeLossLabel = nullptr |
time loss label | |
SUMOTime | myTimeLoss = 0 |
time loss | |
MFXLCDLabel * | myTotalDistanceLabel = nullptr |
total distance label | |
double | myTotalDistance = 0 |
total distance | |
MFXLCDLabel * | myEmergencyVehicleLabel = nullptr |
emergency vehicle label | |
SUMOTime | myEmergencyVehicleCount = 0 |
emergency vehicle count | |
FXToolBar * | myToolBar6 = nullptr |
toolbars used in game | |
FXToolBar * | myToolBar7 = nullptr |
FXToolBar * | myToolBar9 = nullptr |
FXToolBar * | myToolBar10 = nullptr |
FXToolBarShell * | myToolBarDrag6 = nullptr |
toolbars shell used in game | |
FXToolBarShell * | myToolBarDrag7 = nullptr |
FXToolBarShell * | myToolBarDrag9 = nullptr |
FXToolBarShell * | myToolBarDrag10 = nullptr |
long | myLastStepEventMillis |
last time the simulation view was redrawn due to a simStep | |
std::map< int, Command * > | myHotkeyPress |
custom hotkeys pressed | |
std::map< int, Command * > | myHotkeyRelease |
custom hotkeys released | |
GUIDialog_Breakpoints * | myBreakpointDialog = nullptr |
breakpoint dialog | |
static std::mt19937 | myGamingRNG |
A random number generator used to choose a gaming sound. | |
void | loadConfigOrNet (const std::string &file) |
starts to load a simulation | |
void | closeAllWindows () |
this method closes all windows and deletes the current simulation | |
void | updateTimeLCD (SUMOTime time) |
updates the simulation time display | |
void | updateTimeLCDTooltip () |
update LCD timer tooltip | |
GUISUMOAbstractView * | openNewView (GUISUMOViewParent::ViewType vt=GUISUMOViewParent::VIEW_2D_OPENGL, std::string caption="") |
opens a new simulation display | |
void | checkGamingEvents () |
handles additional game-related events | |
void | checkGamingEventsDRT () |
handles additional game-related events (DRT) | |
GUIApplicationWindow (const GUIApplicationWindow &s)=delete | |
invalidate copy constructor | |
GUIApplicationWindow & | operator= (const GUIApplicationWindow &s)=delete |
invalidate assignment operator | |
The main window of the SUMO-gui.
Beside views on the simulation, shown within a MDI-window, the main window may also have some further views (children) assigned which are stored within a separate list.
Definition at line 59 of file GUIApplicationWindow.h.
GUIApplicationWindow::GUIApplicationWindow | ( | FXApp * | a, |
const std::string & | configPattern | ||
) |
Constructor.
[in] | a | The FOX application |
[in] | configPattern | The pattern used for loading configurations |
Definition at line 232 of file GUIApplicationWindow.cpp.
References GUICursorSubSys::initCursors(), and GUIIconSubSys::initIcons().
|
virtual |
Destructor.
Definition at line 384 of file GUIApplicationWindow.cpp.
References GUICursorSubSys::close(), GUIIconSubSys::close(), closeAllWindows(), MFXSynchQue< T, Container >::empty(), myControlMenu, myEditMenu, myEvents, myFileMenu, myFileMenuRecentConfigs, myFileMenuRecentNetworks, GUIMainWindow::myGLVisual, myHelpMenu, myHotkeyPress, myHotkeyRelease, GUIMainWindow::myLanguageMenu, myLoadThread, myLocatorMenu, myRunThread, mySelectByPermissions, mySettingsMenu, mySimDelayTarget, myToolBarDrag1, myWindowMenu, MFXSynchQue< T, Container >::pop(), GUIRunThread::prepareDestruction(), and MFXSynchQue< T, Container >::top().
|
privatedelete |
invalidate copy constructor
|
inherited |
Adds a further child window to the list (FXMainWindow)
Definition at line 117 of file GUIMainWindow.cpp.
References GUIMainWindow::myTrackerLock, and GUIMainWindow::myTrackerWindows.
Referenced by GUIParameterTableWindow::closeBuilding(), GUIParameterTracker::GUIParameterTracker(), and GUITLLogicPhasesTrackerWindow::GUITLLogicPhasesTrackerWindow().
|
inherited |
Adds a further child window to the list (GUIGlChildWindow)
Definition at line 102 of file GUIMainWindow.cpp.
References GUIMainWindow::myGLWindows.
register custom hotkey action
Definition at line 2333 of file GUIApplicationWindow.cpp.
References myHotkeyPress, and myHotkeyRelease.
Referenced by GUINet::addHotkey().
|
inlineinherited |
Definition at line 174 of file GUIMainWindow.h.
References GUIMainWindow::myOnlineMaps.
Referenced by GUIDialog_AppSettings::onCmdOk().
void GUIApplicationWindow::addRecentConfig | ( | const FX::FXString & | f | ) |
add recent config to recent file list
Definition at line 2273 of file GUIApplicationWindow.cpp.
References myRecentConfigs.
Referenced by GUILoadThread::run().
void GUIApplicationWindow::addRecentNetwork | ( | const FX::FXString & | f | ) |
add recent network to recent file list
Definition at line 2267 of file GUIApplicationWindow.cpp.
References myRecentNetworks.
Referenced by GUILoadThread::run().
|
protectedvirtual |
FOX need this.
add the given menuPane to windows Menu
Definition at line 435 of file GUIApplicationWindow.cpp.
Referenced by fillMenuBar().
|
protectedinherited |
Definition at line 338 of file GUIMainWindow.cpp.
References GUIDesigns::buildFXMenuCommandShortcut(), GUIDesigns::buildFXMenuTitle(), GUIIconSubSys::getIcon(), LANGUAGE_DE, LANGUAGE_EN, LANGUAGE_ES, LANGUAGE_FR, LANGUAGE_HU, LANGUAGE_IT, LANGUAGE_TR, LANGUAGE_ZH, LANGUAGE_ZHT, MID_LANGUAGE_DE, MID_LANGUAGE_EN, MID_LANGUAGE_ES, MID_LANGUAGE_FR, MID_LANGUAGE_HU, MID_LANGUAGE_IT, MID_LANGUAGE_TR, MID_LANGUAGE_ZH, MID_LANGUAGE_ZHT, GUIMainWindow::myLanguageMenu, and TL.
Referenced by fillMenuBar(), and GNEApplicationWindow::fillMenuBar().
|
protected |
build recent configs
Definition at line 828 of file GUIApplicationWindow.cpp.
References GUIDesigns::buildFXMenuCommand(), GUIDesigns::buildFXMenuCommandRecentFile(), MFXRecentNetworks::ID_NOFILES, MID_RECENTFILE, myRecentConfigs, and TL.
Referenced by fillMenuBar().
|
protected |
build recent networks
Definition at line 805 of file GUIApplicationWindow.cpp.
References GUIDesigns::buildFXMenuCommand(), GUIDesigns::buildFXMenuCommandRecentFile(), MFXRecentNetworks::ID_NOFILES, MID_RECENTFILE, myRecentNetworks, and TL.
Referenced by fillMenuBar().
|
protectedvirtual |
Builds the tool bar.
game specific stuff
Definition at line 666 of file GUIApplicationWindow.cpp.
References GUIIconSubSys::getIcon(), GUIDesignButtonToolbar, GUIDesignButtonToolbarText, GUIDesignSlider, GUIDesignSpinDial, GUIDesignToolBar, GUIDesignToolBarGrip, GUIDesignToolBarRaisedNextTop, GUIDesignToolBarRaisedSameTop, MICROVIEW, MID_DELAY_TOGGLE, MID_DEMAND_SCALE, MID_HOTKEY_CTRL_A_STARTSIMULATION_OPENADDITIONALS, MID_HOTKEY_CTRL_D_SINGLESIMULATIONSTEP_OPENDEMANDELEMENTS, MID_HOTKEY_CTRL_N_OPENNETWORK_NEWNETWORK, MID_HOTKEY_CTRL_O_OPENSIMULATION_OPENNETWORK, MID_HOTKEY_CTRL_R_RELOAD, MID_HOTKEY_CTRL_S_STOPSIMULATION_SAVENETWORK, MID_NEW_MICROVIEW, MID_NEW_OSGVIEW, MID_TIME_TOGGLE, myDemandScaleSpinner, myEmergencyVehicleLabel, myLCDLabel, mySimDelay, mySimDelaySlider, mySimDelaySpinner, mySimDelayTarget, GUIMainWindow::myStaticTooltipMenu, myTimeLossLabel, myToolBar1, myToolBar10, myToolBar2, myToolBar3, myToolBar4, myToolBar5, myToolBar6, myToolBar7, myToolBar8, myToolBar9, myToolBarDrag1, myToolBarDrag10, myToolBarDrag2, myToolBarDrag3, myToolBarDrag4, myToolBarDrag5, myToolBarDrag6, myToolBarDrag7, myToolBarDrag8, myToolBarDrag9, GUIMainWindow::myTopDock, myTotalDistanceLabel, myWaitingTimeLabel, OPEN_NET, OPEN_SUMOCONFIG, OSGVIEW, RELOAD, MFXLCDLabel::setGroove(), MFXLCDLabel::setHorizontal(), MFXLCDLabel::setText(), MFXLCDLabel::setThickness(), MFXLCDLabel::setVertical(), START, STEP, STOP, and TL.
Referenced by dependentBuild().
|
private |
handles additional game-related events
Definition at line 2051 of file GUIApplicationWindow.cpp.
References DELTA_T, RandomDistributor< T >::get(), MSVehicleControl::getCollisionCount(), MSNet::getInstance(), MSVehicle::getLane(), RandomDistributor< T >::getOverallProb(), MSVehicle::getSpeed(), MSBaseVehicle::getVClass(), MSNet::getVehicleControl(), MSLane::getVehicleMaxSpeed(), MSVehicle::isOnRoad(), MSBaseVehicle::isStopped(), MSVehicleControl::loadedVehBegin(), MSVehicleControl::loadedVehEnd(), myCollisionSounds, myEmergencyVehicleCount, myEmergencyVehicleLabel, myGamingRNG, myJamSounds, myJamSoundTime, myPreviousCollisionNumber, myShowTimeAsHMS, myTimeLoss, myTimeLossLabel, myWaitingTime, myWaitingTimeLabel, SysUtils::runHiddenCommand(), MFXLCDLabel::setText(), SUMO_const_haltingSpeed, SVC_EMERGENCY, TIME2STEPS, time2string(), and TS.
Referenced by handleEvent_SimulationStep().
|
private |
handles additional game-related events (DRT)
Definition at line 2106 of file GUIApplicationWindow.cpp.
References DELTA_T, MSNet::getInstance(), GUIRunThread::getNet(), GUINet::getPersonControl(), MSVehicle::getSpeed(), MSNet::getVehicleControl(), MSTransportableControl::getWaitingForVehicleNumber(), MSVehicle::isOnRoad(), MSBaseVehicle::isStopped(), MSVehicleControl::loadedVehBegin(), MSVehicleControl::loadedVehEnd(), myRunThread, myTotalDistance, myTotalDistanceLabel, myWaitingTime, myWaitingTimeLabel, MFXLCDLabel::setText(), SPEED2DIST, time2string(), and toString().
Referenced by handleEvent_SimulationStep().
|
private |
this method closes all windows and deletes the current simulation
Definition at line 2189 of file GUIApplicationWindow.cpp.
References GUIMessageWindow::addSeparator(), GUISelectedStorage::clear(), GUITexturesHelper::clearTextures(), GUIRunThread::deleteSim(), MFXUtils::getTitleText(), gSelected, GUIMainWindow::myCartesianCoordinate, GUIMainWindow::myGeoCoordinate, GUIMainWindow::myGLWindows, myLCDLabel, myMessageWindow, myRunThread, myStatButtons, GUIMainWindow::myTestCoordinate, GUIMainWindow::myTrackerLock, GUIMainWindow::myTrackerWindows, GLHelper::resetFont(), MFXLCDLabel::setText(), and TL.
Referenced by handleEvent_SimulationEnded(), handleEvent_SimulationLoaded(), loadConfigOrNet(), onCmdClose(), onCmdQuit(), onCmdReload(), and ~GUIApplicationWindow().
|
virtual |
Creates the main window (required by FOX)
Definition at line 334 of file GUIApplicationWindow.cpp.
References gCurrentFolder, OptionsCont::getOptions(), StringTokenizer::getVector(), myAlternateSimDelay, GUIMainWindow::myCartesianFrame, myControlMenu, myEditMenu, myFileMenu, GUIMainWindow::myGeoFrame, myHelpMenu, GUIMainWindow::myLanguageMenu, myLocatorMenu, myMenuBarDrag, GUIMainWindow::myOnlineMaps, mySelectByPermissions, mySettingsMenu, myShowTimeAsHMS, GUIMainWindow::myTestFrame, myToolBarDrag1, myToolBarDrag2, myToolBarDrag3, myToolBarDrag4, myToolBarDrag5, myToolBarDrag6, myToolBarDrag7, myWindowMenu, GUIMainWindow::setWindowSizeAndPos(), split(), and updateTimeLCDTooltip().
void GUIApplicationWindow::dependentBuild | ( | const bool | isLibsumo | ) |
build dependt
Definition at line 257 of file GUIApplicationWindow.cpp.
References buildToolBars(), fillMenuBar(), GUIIconSubSys::getIcon(), TraCIServer::getInstance(), MFXUtils::getTitleText(), gLanguage, GREENCONTAINER, GREENPERSON, GREENVEHICLE, GUIDesignButtonStatusBarFixed, GUIDesignHorizontalFrameStatusBar, GUIDesignMDIButtonLeft, GUIDesignMDIButtonRight, GUIDesignSplitter, GUIDesignSplitterMDI, GUIDesignStatusBar, GUIDesignToolBar, GUIDesignToolBarGrip, GUIDesignToolbarMenuBar, hadDependentBuild, ID_LOADTHREAD_EVENT, ID_RUNTHREAD_EVENT, MID_SHOWPERSONSTATS, MID_SHOWVEHSTATS, MID_TRACI_STATUS, MID_WINDOW, GUIMainWindow::myCartesianCoordinate, GUIMainWindow::myCartesianFrame, myEvents, GUIMainWindow::myGeoCoordinate, GUIMainWindow::myGeoFrame, myLoadThread, myLoadThreadEvent, myMainSplitter, GUIMainWindow::myMDIClient, myMDIMenu, myMenuBar, myMenuBarDrag, myMessageWindow, myRunThread, myRunThreadEvent, mySimDelay, myStatButtons, GUIMainWindow::myStatusbar, myToolBar10, myToolBar6, myToolBar7, myToolBar9, GUIMainWindow::myTopDock, GUIMainWindow::myTraCiFrame, FXEX::MFXBaseObject::setSelector(), setStatusBarText(), FXEX::MFXBaseObject::setTarget(), MsgHandler::setupI18n(), SUMO, SUMO_MINI, and TL.
Referenced by main().
|
virtual |
Detaches the tool/menu bar.
Definition at line 427 of file GUIApplicationWindow.cpp.
References myMenuBarDrag, and myToolBarDrag1.
void GUIApplicationWindow::eraseBreakpointDialog | ( | ) |
erase current breakpoint dialog
Definition at line 2434 of file GUIApplicationWindow.cpp.
References myBreakpointDialog.
Referenced by GUIDialog_Breakpoints::~GUIDialog_Breakpoints().
|
virtual |
a certaint event ocurred
Implements MFXInterThreadEventClient.
Definition at line 1755 of file GUIApplicationWindow.cpp.
References ADD_VIEW, CLOSE_VIEW, DEBUG_OCCURRED, MFXSynchQue< T, Container >::empty(), ERROR_OCCURRED, GUIEvent_AddView::getCaption(), GUIEvent_CloseView::getCaption(), GUISUMOAbstractView::getColoringSchemesCombo(), GUIEvent::getOwnType(), GUIEvent_AddView::getSchemeName(), GLDEBUG_OCCURRED, handleEvent_Message(), handleEvent_SimulationEnded(), handleEvent_SimulationLoaded(), handleEvent_SimulationStep(), GUIEvent_AddView::in3D(), MESSAGE_OCCURRED, myEvents, myRunThread, myToolBar2, myToolBar3, openNewView(), MFXSynchQue< T, Container >::pop(), GUIMainWindow::removeViewByID(), SIMULATION_ENDED, SIMULATION_LOADED, SIMULATION_STEP, GUIRunThread::simulationAvailable(), STATUS_OCCURRED, MFXSynchQue< T, Container >::top(), GUISUMOViewParent::VIEW_2D_OPENGL, GUISUMOViewParent::VIEW_3D_OSG, and WARNING_OCCURRED.
Referenced by onLoadThreadEvent(), and onRunThreadEvent().
|
protectedvirtual |
Builds the menu bar.
Definition at line 441 of file GUIApplicationWindow.cpp.
References addToWindowsMenu(), APP_BREAKPOINTS, GUIShortcutsSubSys::buildAccelerators(), GUIDesigns::buildFXMenuCommand(), GUIDesigns::buildFXMenuCommandShortcut(), GUIDesigns::buildFXMenuTitle(), GUIMainWindow::buildLanguageMenu(), buildRecentConfigs(), buildRecentNetworks(), CLEARMESSAGEWINDOW, CLOSE, COLORWHEEL, EDITVIEWPORT, FLAG, FULL_SCREEN, GUIIconSubSys::getIcon(), VClassIcons::getVClassIcon(), GUIMainWindow::listParking(), LOCATEADD, LOCATECONTAINER, LOCATEEDGE, LOCATEJUNCTION, LOCATEPERSON, LOCATEPOI, LOCATEPOLY, LOCATETLS, LOCATEVEHICLE, MICROVIEW, MID_CHANGELOG, MID_CLEARMESSAGEWINDOW, MID_DELAY_DEC, MID_DELAY_INC, MID_FEEDBACK, MID_HOTKEY_CTRL_A_STARTSIMULATION_OPENADDITIONALS, MID_HOTKEY_CTRL_B_EDITBREAKPOINT_OPENDATAELEMENTS, MID_HOTKEY_CTRL_D_SINGLESIMULATIONSTEP_OPENDEMANDELEMENTS, MID_HOTKEY_CTRL_E_EDITSELECTION_LOADNETEDITCONFIG, MID_HOTKEY_CTRL_F_FULSCREENMODE, MID_HOTKEY_CTRL_G_GAMINGMODE_TOGGLEGRID, MID_HOTKEY_CTRL_H_APPSETTINGS_OPENEDGETYPES, MID_HOTKEY_CTRL_I_EDITVIEWPORT, MID_HOTKEY_CTRL_N_OPENNETWORK_NEWNETWORK, MID_HOTKEY_CTRL_O_OPENSIMULATION_OPENNETWORK, MID_HOTKEY_CTRL_P_OPENSHAPES, MID_HOTKEY_CTRL_Q_CLOSE, MID_HOTKEY_CTRL_QUICK_RELOAD, MID_HOTKEY_CTRL_R_RELOAD, MID_HOTKEY_CTRL_S_STOPSIMULATION_SAVENETWORK, MID_HOTKEY_CTRL_SHIFT_N_NEWWINDOW, MID_HOTKEY_CTRL_SHIFT_S_SAVESUMOCONFIG, MID_HOTKEY_CTRL_T_OPENNETEDIT_OPENSUMO, MID_HOTKEY_CTRL_U_OPENEDGEDATA, MID_HOTKEY_CTRL_W_CLOSESIMULATION, MID_HOTKEY_F12_ABOUT, MID_HOTKEY_F1_ONLINEDOCUMENTATION, MID_HOTKEY_F9_EDIT_VIEWSCHEME, MID_HOTKEY_SHIFT_A_LOCATEADDITIONAL, MID_HOTKEY_SHIFT_C_LOCATECONTAINER, MID_HOTKEY_SHIFT_E_LOCATEEDGE, MID_HOTKEY_SHIFT_J_LOCATEJUNCTION, MID_HOTKEY_SHIFT_L_LOCATEPOLY, MID_HOTKEY_SHIFT_O_LOCATEPOI, MID_HOTKEY_SHIFT_P_LOCATEPERSON, MID_HOTKEY_SHIFT_T_LOCATETLS, MID_HOTKEY_SHIFT_V_LOCATEVEHICLE, MID_HOTKEYS, MID_LISTINTERNAL, MID_LISTPARKING, MID_LISTTELEPORTING, MID_NEW_MICROVIEW, MID_NEW_OSGVIEW, MID_SIMLOAD, MID_SIMSAVE, MID_TUTORIAL, myControlMenu, myEditMenu, myFileMenu, myFileMenuRecentConfigs, myFileMenuRecentNetworks, myGamingModeCheckbox, myHelpMenu, GUIMainWindow::myListParking, myLocatorMenu, GUIMainWindow::myMDIClient, myMenuBar, myMessageWindow, mySelectByPermissions, mySelectLanesMenuCascade, mySettingsMenu, GUIMainWindow::myStatusbar, myToolBar3, myToolBar4, myWindowMenu, NETEDIT_MINI, OPEN, OPEN_NET, OPEN_SHAPES, OPEN_SUMOCONFIG, OSGVIEW, RELOAD, SAVE, SAVE_SUMOCONFIG, START, STEP, STOP, SUMO_MINI, SumoVehicleClassStrings, TL, TLC, WINDOWS_CASCADE, WINDOWS_TILE_HORI, and WINDOWS_TILE_VERT.
Referenced by dependentBuild().
|
inherited |
get the active view or 0
Definition at line 277 of file GUIMainWindow.cpp.
References GUIGlChildWindow::getView(), and GUIMainWindow::myMDIClient.
Referenced by GUIVehicle::drawOutsideNetwork().
|
inherited |
get bold front
Definition at line 173 of file GUIMainWindow.cpp.
References GUIMainWindow::myBoldFont.
Referenced by GUICursorDialog::buildDialogElements(), GUIGlObject::buildPopupHeader(), and GNEElementTree::createPopUpMenu().
|
virtual |
get build GLCanvas
Implements GUIMainWindow.
Definition at line 2178 of file GUIApplicationWindow.cpp.
References GUIGlChildWindow::getBuildGLCanvas(), and GUIMainWindow::myMDIClient.
Referenced by openNewView().
|
inherited |
get cartesian label
Definition at line 220 of file GUIMainWindow.cpp.
References GUIMainWindow::myCartesianCoordinate.
Referenced by GUISUMOAbstractView::updatePositionInformationLabel().
|
virtual |
get current simulation time
Implements GUIMainWindow.
Definition at line 2237 of file GUIApplicationWindow.cpp.
References MSNet::getCurrentTimeStep(), GUIRunThread::getNet(), and myRunThread.
FXCursor * GUIApplicationWindow::getDefaultCursor | ( | ) |
get default cursor
Definition at line 2231 of file GUIApplicationWindow.cpp.
|
virtual |
Returns the simulation delay in miliseconds.
Reimplemented from GUIMainWindow.
Definition at line 2392 of file GUIApplicationWindow.cpp.
References mySimDelay.
|
inherited |
get fallback front
Definition at line 178 of file GUIMainWindow.cpp.
References GUIMainWindow::myFallbackFont.
Referenced by GUIParameterTableWindow::checkFont().
|
inherited |
get geo label
Definition at line 226 of file GUIMainWindow.cpp.
References GUIMainWindow::myGeoCoordinate.
Referenced by GUISUMOAbstractView::updatePositionInformationLabel().
|
inherited |
get GL Visual
Definition at line 202 of file GUIMainWindow.cpp.
References GUIMainWindow::myGLVisual.
Referenced by GUISUMOViewParent::init().
|
staticinherited |
get instance
Definition at line 268 of file GUIMainWindow.cpp.
References GUIMainWindow::myInstance.
Referenced by GUINet::addHotkey(), GUIVehicle::drawOutsideNetwork(), GUITexturesHelper::getTextureID(), GUIMessageWindow::setCursorPos(), GUINet::updateGUI(), and GUIRunThread::waitForSnapshots().
|
inlineinherited |
Definition at line 170 of file GUIMainWindow.h.
References GUIMainWindow::myOnlineMaps.
Referenced by GUIGlObject::buildPositionCopyEntry(), and GUIGLObjectPopupMenu::onCmdShowCursorGeoPositionOnline().
GUIRunThread * GUIApplicationWindow::getRunner | ( | ) |
|
inherited |
get static toolTip for menus
Definition at line 208 of file GUIMainWindow.cpp.
References GUIMainWindow::myStaticTooltipMenu.
Referenced by GNEPythonToolDialogElements::Argument::Argument(), GUIGlChildWindow::buildColoringToolBar(), GUIGlChildWindow::buildNavigationToolBar(), GUIGlChildWindow::buildScreenshotToolBar(), GUIViewTraffic::buildViewToolBars(), GNEViewNet::buildViewToolBars(), GNETLSTable::Cell::Cell(), GNETLSTable::Column::Column(), MFXDecalsTable::Column::Column(), GNEPythonToolDialogElements::EdgeVectorArgument::EdgeVectorArgument(), GNEPythonToolDialogElements::FileNameArgument::FileNameArgument(), GNEOptionsDialog::GNEOptionsDialog(), GNEProhibitionFrame::Legend::Legend(), GNEOptionsDialog::onCmdShowToolTipsMenu(), GNEPythonToolDialog::onCmdShowToolTipsMenu(), GUIGlChildWindow::onCmdShowToolTipsMenu(), GNETLSTable::Row::Row(), GNEProhibitionFrame::Selection::Selection(), GNETLSEditorFrame::TLSAttributes::TLSAttributes(), GNETLSEditorFrame::TLSJunction::TLSJunction(), GNETLSEditorFrame::TLSPhases::TLSPhases(), and GNETypeDistributionFrame::TypeAttributesEditorRow::TypeAttributesEditorRow().
|
inherited |
get static toolTip for view
Definition at line 214 of file GUIMainWindow.cpp.
References GUIMainWindow::myStaticTooltipView.
Referenced by GUIGlChildWindow::buildNavigationToolBar(), GUIGlChildWindow::onCmdShowToolTipsView(), GUISUMOAbstractView::paintGL(), GNEUndoListDialog::recalcList(), GUISUMOAbstractView::showToolTipFor(), and GUISUMOAbstractView::updateToolTip().
|
inherited |
get test frame
Definition at line 238 of file GUIMainWindow.cpp.
References GUIMainWindow::myTestFrame.
Referenced by GUISUMOAbstractView::updatePositionInformationLabel().
|
inherited |
get test label
Definition at line 232 of file GUIMainWindow.cpp.
References GUIMainWindow::myTestCoordinate.
Referenced by GUISUMOAbstractView::updatePositionInformationLabel().
|
inherited |
|
virtual |
get tracker interval
Implements GUIMainWindow.
Definition at line 2243 of file GUIApplicationWindow.cpp.
References GUIGlobals::gTrackerInterval.
|
inherited |
get specific view by ID
Definition at line 150 of file GUIMainWindow.cpp.
References GUIMainWindow::myGLWindows.
|
inherited |
get view IDs
Definition at line 140 of file GUIMainWindow.cpp.
References GUIMainWindow::myGLWindows.
|
inherited |
get views
Definition at line 183 of file GUIMainWindow.cpp.
References GUIMainWindow::myGLWindows.
Referenced by GUIRunThread::waitForSnapshots().
void GUIApplicationWindow::handleEvent_Message | ( | GUIEvent * | e | ) |
called when event "message" ocurred
Definition at line 2005 of file GUIApplicationWindow.cpp.
References GUIMessageWindow::appendMsg(), GUIEvent_Message::getMsg(), GUIEvent::getOwnType(), myMessageWindow, setStatusBarText(), and STATUS_OCCURRED.
Referenced by eventOccurred().
void GUIApplicationWindow::handleEvent_SimulationEnded | ( | GUIEvent * | e | ) |
called when event "simulation ended" ocurred
Definition at line 2016 of file GUIApplicationWindow.cpp.
References GUIMessageWindow::appendMsg(), closeAllWindows(), GUINet::flushOutputsAtEnd(), GUIGlobals::gDemoAutoReload, GUINet::getGUIInstance(), GUIEvent_SimulationEnded::getReason(), MSNet::getStateMessage(), GUIEvent_SimulationEnded::getTimeStep(), GUIGlobals::gQuitOnEnd, MESSAGE_OCCURRED, myHaveNotifiedAboutSimEnd, myMessageWindow, onCmdReload(), onCmdStop(), MSNet::SIMSTATE_ERROR_IN_SIM, MSNet::SIMSTATE_LOADING, time2string(), TL, TLF, and GUIMainWindow::updateChildren().
Referenced by eventOccurred().
void GUIApplicationWindow::handleEvent_SimulationLoaded | ( | GUIEvent * | e | ) |
called when event "simulation loaded" ocurred
Definition at line 1811 of file GUIApplicationWindow.cpp.
References GUISUMOAbstractView::addDecals(), GUISettingsHandler::applyViewport(), GUICompleteSchemeStorage::clearDecals(), closeAllWindows(), DELTA_T, GUIRunThread::getBreakpointLock(), GUIRunThread::getBreakpoints(), GUISettingsHandler::getBreakpoints(), GUISUMOAbstractView::getColoringSchemesCombo(), GUISettingsHandler::getDecals(), GUISettingsHandler::getDelay(), GUISettingsHandler::getEventDistribution(), OptionsCont::getFloat(), GUISettingsHandler::getJamSoundTime(), SysUtils::getModifiedTime(), GUIRunThread::getNet(), OptionsCont::getOptions(), GUISettingsHandler::getSettingName(), OptionsCont::getString(), OptionsCont::getStringVector(), MFXUtils::getTitleText(), MSNet::getVehicleControl(), GUISettingsHandler::getViewType(), GUIGlobals::gQuitOnEnd, GUIGlobals::gRunAfterLoad, gSchemeStorage, GUIRunThread::init(), OptionsCont::isDefault(), MAX2(), myAmLoading, GUIEvent_SimulationLoaded::myBegin, myCollisionSounds, myDemandScaleSpinner, GUIEvent_SimulationLoaded::myEnd, GUIEvent_SimulationLoaded::myFile, GUIMainWindow::myGLWindows, myGuiSettingsFileMTime, myHaveNotifiedAboutSimEnd, myIsReload, myJamSounds, myJamSoundTime, myLCDLabel, GUIEvent_SimulationLoaded::myNet, GUIEvent_SimulationLoaded::myOsgView, myRunThread, GUIEvent_SimulationLoaded::mySettingsFiles, mySimDelay, mySimDelaySlider, mySimDelaySpinner, myStatButtons, myTLSGame, myViewNumber, GUIEvent_SimulationLoaded::myViewportFromRegistry, myWasStarted, onCmdGaming(), onCmdStart(), openNewView(), Position::set(), GUISUMOAbstractView::setColorScheme(), setDelay(), MSVehicleControl::setScale(), GUISettingsHandler::setSnapshots(), setStatusBarText(), MFXLCDLabel::setText(), GUISUMOAbstractView::setViewportFromToRot(), GUIMainWindow::setWindowSizeAndPos(), GUIRunThread::simulationIsStartable(), string2time(), TLF, GUISUMOViewParent::VIEW_2D_OPENGL, GUISUMOViewParent::VIEW_3D_OSG, Position::x(), and Position::y().
Referenced by eventOccurred().
void GUIApplicationWindow::handleEvent_SimulationStep | ( | GUIEvent * | e | ) |
called when event "simulation step" ocurred
Definition at line 1954 of file GUIApplicationWindow.cpp.
References checkGamingEvents(), checkGamingEventsDRT(), GUINet::getContainerControl(), SysUtils::getCurrentMillis(), MSNet::getCurrentTimeStep(), GUIIconSubSys::getIcon(), MSNet::getInsertionControl(), GUIRunThread::getNet(), GUINet::getPersonControl(), MSTransportableControl::getRunningNumber(), MSVehicleControl::getRunningVehicleNo(), MSNet::getVehicleControl(), MSInsertionControl::getWaitingVehicleNo(), GREENVEHICLE, MSNet::hasContainers(), MSNet::hasPersons(), GUIMainWindow::myAmGaming, myLastStepEventMillis, myRunThread, myStatButtons, myTLSGame, GUIRunThread::simulationIsStartable(), toString(), GUIMainWindow::updateChildren(), updateTimeLCD(), and YELLOWVEHICLE.
Referenced by eventOccurred(), and GUINet::updateGUI().
|
inlineinherited |
Definition at line 166 of file GUIMainWindow.h.
References GUIMainWindow::myAmFullScreen.
Referenced by GUIViewTraffic::onDoubleClicked().
|
inherited |
return whether the gui is in gaming mode
Definition at line 244 of file GUIMainWindow.cpp.
References GUIMainWindow::myAmGaming.
Referenced by GUISUMOViewParent::init(), GUISUMOAbstractView::onLeftBtnRelease(), GUISUMOAbstractView::onMiddleBtnPress(), GUISUMOAbstractView::onMiddleBtnRelease(), GUISUMOAbstractView::onMouseWheel(), GUISUMOAbstractView::onRightBtnPress(), GUISUMOAbstractView::onRightBtnRelease(), and GUIViewTraffic::setColorScheme().
|
inherited |
return whether to list internal structures
Definition at line 250 of file GUIMainWindow.cpp.
References GUIMainWindow::myListInternal.
Referenced by GUISUMOViewParent::getObjectIDs().
|
inherited |
return whether to list parking vehicles
Definition at line 256 of file GUIMainWindow.cpp.
References GUIMainWindow::myListParking.
Referenced by fillMenuBar(), and GUISUMOViewParent::getObjectIDs().
|
inherited |
return whether to list teleporting vehicles
Definition at line 262 of file GUIMainWindow.cpp.
References GUIMainWindow::myListTeleporting.
Referenced by GUISUMOViewParent::getObjectIDs().
|
private |
starts to load a simulation
Definition at line 2126 of file GUIApplicationWindow.cpp.
References closeAllWindows(), gSchemeStorage, GUILoadThread::loadConfigOrNet(), myAmLoading, myIsReload, myLoadThread, GUICompleteSchemeStorage::saveViewport(), setStatusBarText(), GUIMainWindow::storeWindowSizeAndPos(), and TLF.
Referenced by loadOnStartup(), onCmdOpenConfiguration(), onCmdOpenNetwork(), and onCmdOpenRecent().
void GUIApplicationWindow::loadOnStartup | ( | const bool | wait = false | ) |
config or net on startup
Definition at line 2249 of file GUIApplicationWindow.cpp.
References loadConfigOrNet(), myAmLoading, myRunThread, and MFXSingleEventThread::sleep().
Referenced by main().
long GUIApplicationWindow::onClipboardRequest | ( | FXObject * | sender, |
FXSelector | sel, | ||
void * | ptr | ||
) |
Somebody wants our clipped text.
Definition at line 1732 of file GUIApplicationWindow.cpp.
References GUIUserIO::clipped.
Referenced by FXDEFMAP().
long GUIApplicationWindow::onCmdAbout | ( | FXObject * | , |
FXSelector | , | ||
void * | |||
) |
Shows the about dialog.
Definition at line 1715 of file GUIApplicationWindow.cpp.
References GUIDialog_AboutSUMO::create().
Referenced by FXDEFMAP().
long GUIApplicationWindow::onCmdAppSettings | ( | FXObject * | , |
FXSelector | , | ||
void * | |||
) |
Opens the application settings menu (Settings->Application Settings...)
Definition at line 1528 of file GUIApplicationWindow.cpp.
Referenced by FXDEFMAP().
|
inherited |
Definition at line 364 of file GUIMainWindow.cpp.
References gLanguage, MID_LANGUAGE_DE, MID_LANGUAGE_ES, MID_LANGUAGE_FR, MID_LANGUAGE_HU, MID_LANGUAGE_IT, MID_LANGUAGE_TR, MID_LANGUAGE_ZH, MID_LANGUAGE_ZHT, TL, and WRITE_MESSAGE.
Referenced by FXDEFMAP(), and FXDEFMAP().
long GUIApplicationWindow::onCmdChangelog | ( | FXObject * | sender, |
FXSelector | sel, | ||
void * | ptr | ||
) |
called if the user selects help->Changelog
Definition at line 937 of file GUIApplicationWindow.cpp.
References MFXLinkLabel::fxexecute().
Referenced by FXDEFMAP().
long GUIApplicationWindow::onCmdClearMsgWindow | ( | FXObject * | , |
FXSelector | , | ||
void * | |||
) |
Called if the message window shall be cleared.
Definition at line 1436 of file GUIApplicationWindow.cpp.
References GUIMessageWindow::clear(), and myMessageWindow.
Referenced by FXDEFMAP().
long GUIApplicationWindow::onCmdClose | ( | FXObject * | , |
FXSelector | , | ||
void * | |||
) |
Called on menu File->Close.
Definition at line 1234 of file GUIApplicationWindow.cpp.
References closeAllWindows().
Referenced by FXDEFMAP().
long GUIApplicationWindow::onCmdDelayDec | ( | FXObject * | , |
FXSelector | , | ||
void * | |||
) |
Called on "delay dec".
Definition at line 1401 of file GUIApplicationWindow.cpp.
References mySimDelay, mySimDelaySlider, and mySimDelaySpinner.
Referenced by FXDEFMAP(), and onKeyPress().
long GUIApplicationWindow::onCmdDelayInc | ( | FXObject * | , |
FXSelector | , | ||
void * | |||
) |
Called on "delay inc".
Definition at line 1380 of file GUIApplicationWindow.cpp.
References mySimDelay, mySimDelaySlider, and mySimDelaySpinner.
Referenced by FXDEFMAP(), and onKeyPress().
long GUIApplicationWindow::onCmdDelayToggle | ( | FXObject * | , |
FXSelector | , | ||
void * | |||
) |
Called on "delay toggle".
Definition at line 1418 of file GUIApplicationWindow.cpp.
References myAlternateSimDelay, and mySimDelay.
Referenced by FXDEFMAP().
long GUIApplicationWindow::onCmdDemandScale | ( | FXObject * | , |
FXSelector | , | ||
void * | |||
) |
Called on "demand scale".
Definition at line 1427 of file GUIApplicationWindow.cpp.
References GUIRunThread::getNet(), MSNet::getVehicleControl(), myDemandScaleSpinner, myRunThread, MSVehicleControl::setScale(), and GUIRunThread::simulationAvailable().
Referenced by FXDEFMAP().
long GUIApplicationWindow::onCmdEditBreakpoints | ( | FXObject * | , |
FXSelector | , | ||
void * | |||
) |
Called on menu Edit->Edit Breakpoints.
Definition at line 899 of file GUIApplicationWindow.cpp.
References GUIRunThread::getBreakpointLock(), GUIRunThread::getBreakpoints(), GUIRunThread::getSimBegin(), myBreakpointDialog, and myRunThread.
Referenced by FXDEFMAP().
long GUIApplicationWindow::onCmdEditChosen | ( | FXObject * | menu, |
FXSelector | , | ||
void * | |||
) |
Called on menu Edit->Edit Chosen.
Definition at line 864 of file GUIApplicationWindow.cpp.
References GUISUMOAbstractView::editVisualisationSettings(), MSEdge::getAllEdges(), GUIGlObject::getGlID(), MSLane::getPermissions(), GUIGlChildWindow::getView(), gSelected, GUIVisualizationSettings::laneColorer, myAmLoading, GUIMainWindow::myMDIClient, myRunThread, GUISelectedStorage::select(), GUIPropertySchemeStorage< T >::setActive(), GUIRunThread::simulationAvailable(), SumoVehicleClassStrings, and GUIMainWindow::updateChildren().
Referenced by FXDEFMAP().
long GUIApplicationWindow::onCmdEditViewport | ( | FXObject * | , |
FXSelector | , | ||
void * | |||
) |
Called on menu Edit->Viewport.
Definition at line 912 of file GUIApplicationWindow.cpp.
References GUIMainWindow::myGLWindows.
Referenced by FXDEFMAP().
long GUIApplicationWindow::onCmdEditViewScheme | ( | FXObject * | , |
FXSelector | , | ||
void * | |||
) |
Called on menu Edit->Visualization.
Definition at line 921 of file GUIApplicationWindow.cpp.
References GUIMainWindow::myGLWindows.
Referenced by FXDEFMAP().
long GUIApplicationWindow::onCmdFeedback | ( | FXObject * | , |
FXSelector | , | ||
void * | |||
) |
Shows the feedback dialog.
Definition at line 1705 of file GUIApplicationWindow.cpp.
References GUIDialog_Feedback::create().
Referenced by FXDEFMAP().
|
virtual |
Toggle full screen mode.
Reimplemented from GUIMainWindow.
Definition at line 1621 of file GUIApplicationWindow.cpp.
References GUIMainWindow::myAmFullScreen, GUIMainWindow::myAmGaming, GUIMainWindow::myGLWindows, GUIMainWindow::myMDIClient, myMenuBar, myMessageWindow, GUIMainWindow::myStatusbar, myToolBar1, myToolBar2, myToolBar3, myToolBar4, myToolBar5, myToolBar6, myToolBar7, myToolBar8, onCmdGaming(), and GUISUMOViewParent::setToolBarVisibility().
Referenced by FXDEFMAP().
long GUIApplicationWindow::onCmdGaming | ( | FXObject * | , |
FXSelector | , | ||
void * | |||
) |
Toggle gaming mode.
Definition at line 1537 of file GUIApplicationWindow.cpp.
References MFXUtils::getFXColor(), RGBColor::GREEN, GUIMainWindow::myAmFullScreen, GUIMainWindow::myAmGaming, myEmergencyVehicleLabel, myGamingModeCheckbox, GUIMainWindow::myGLWindows, myLCDLabel, GUIMainWindow::myMDIClient, myMenuBar, myMessageWindow, GUIMainWindow::myStatusbar, myTimeLossLabel, myTLSGame, myToolBar1, myToolBar10, myToolBar2, myToolBar4, myToolBar5, myToolBar6, myToolBar7, myToolBar8, myToolBar9, myTotalDistanceLabel, myWaitingTimeLabel, RGBColor::RED, MFXLCDLabel::setFgColor(), and GUISUMOViewParent::setToolBarVisibility().
Referenced by FXDEFMAP(), handleEvent_SimulationLoaded(), and onCmdFullScreen().
long GUIApplicationWindow::onCmdHallOfFame | ( | FXObject * | , |
FXSelector | , | ||
void * | |||
) |
Shows the Hall of Fame dialog.
Definition at line 1724 of file GUIApplicationWindow.cpp.
References GUIDialog_HallOfFame::create().
Referenced by FXDEFMAP().
long GUIApplicationWindow::onCmdHelp | ( | FXObject * | sender, |
FXSelector | sel, | ||
void * | ptr | ||
) |
called if the user selects help->Documentation
Definition at line 930 of file GUIApplicationWindow.cpp.
References MFXLinkLabel::fxexecute().
Referenced by FXDEFMAP().
long GUIApplicationWindow::onCmdHotkeys | ( | FXObject * | sender, |
FXSelector | sel, | ||
void * | ptr | ||
) |
called if the user selects help->Hotkeys
Definition at line 945 of file GUIApplicationWindow.cpp.
References MFXLinkLabel::fxexecute().
Referenced by FXDEFMAP().
long GUIApplicationWindow::onCmdListInternal | ( | FXObject * | , |
FXSelector | , | ||
void * | |||
) |
Toggle listing of internal structures.
Definition at line 1669 of file GUIApplicationWindow.cpp.
References GUIMainWindow::myListInternal.
Referenced by FXDEFMAP().
long GUIApplicationWindow::onCmdListParking | ( | FXObject * | , |
FXSelector | , | ||
void * | |||
) |
Toggle listing of parking vehicles.
Definition at line 1676 of file GUIApplicationWindow.cpp.
References GUIMainWindow::myListParking.
Referenced by FXDEFMAP().
long GUIApplicationWindow::onCmdListTeleporting | ( | FXObject * | , |
FXSelector | , | ||
void * | |||
) |
Toggle listing of teleporting vehicles.
Definition at line 1682 of file GUIApplicationWindow.cpp.
References GUIMainWindow::myListTeleporting.
Referenced by FXDEFMAP().
long GUIApplicationWindow::onCmdLoadState | ( | FXObject * | , |
FXSelector | , | ||
void * | |||
) |
Called on "save state".
Definition at line 1344 of file GUIApplicationWindow.cpp.
References gCurrentFolder, GUIIconSubSys::getIcon(), MSNet::getInstance(), MSNet::loadState(), OPEN, setStatusBarText(), TL, and TLF.
Referenced by FXDEFMAP().
long GUIApplicationWindow::onCmdLocate | ( | FXObject * | , |
FXSelector | sel, | ||
void * | |||
) |
Called on menu commands from the Locator menu.
Definition at line 1506 of file GUIApplicationWindow.cpp.
References GUIMainWindow::myMDIClient, and GUISUMOViewParent::onCmdLocate().
Referenced by FXDEFMAP().
long GUIApplicationWindow::onCmdNeteditNetwork | ( | FXObject * | , |
FXSelector | , | ||
void * | |||
) |
Called on menu Edit->Netedit (network)
Definition at line 959 of file GUIApplicationWindow.cpp.
References GUISUMOAbstractView::getChanger(), OptionsCont::getOptions(), OptionsCont::getString(), GUIPerspectiveChanger::getXPos(), GUIPerspectiveChanger::getYPos(), GUIPerspectiveChanger::getZPos(), FileHelpers::isReadable(), GUIMainWindow::myGLWindows, SysUtils::runHiddenCommand(), TL, and WRITE_MESSAGEF.
Referenced by FXDEFMAP().
long GUIApplicationWindow::onCmdNeteditSUMOConfig | ( | FXObject * | , |
FXSelector | , | ||
void * | |||
) |
Called on menu Edit->Netedit (SUMOCfg)
Definition at line 994 of file GUIApplicationWindow.cpp.
References GUISUMOAbstractView::getChanger(), OptionsCont::getOptions(), OptionsCont::getString(), GUIPerspectiveChanger::getXPos(), GUIPerspectiveChanger::getYPos(), GUIPerspectiveChanger::getZPos(), FileHelpers::isReadable(), GUIMainWindow::myGLWindows, SysUtils::runHiddenCommand(), TL, and WRITE_MESSAGEF.
long GUIApplicationWindow::onCmdNewView | ( | FXObject * | , |
FXSelector | , | ||
void * | |||
) |
Called if a new view shall be opened (2D view)
Definition at line 1689 of file GUIApplicationWindow.cpp.
References openNewView(), and GUISUMOViewParent::VIEW_2D_OPENGL.
Referenced by FXDEFMAP().
long GUIApplicationWindow::onCmdNewWindow | ( | FXObject * | , |
FXSelector | , | ||
void * | |||
) |
Called on menu File->New Window.
Definition at line 1040 of file GUIApplicationWindow.cpp.
References FileHelpers::isReadable(), SysUtils::runHiddenCommand(), TL, and WRITE_MESSAGEF.
Referenced by FXDEFMAP().
long GUIApplicationWindow::onCmdOpenConfiguration | ( | FXObject * | , |
FXSelector | , | ||
void * | |||
) |
Called on menu File->Open Configuration.
Definition at line 1066 of file GUIApplicationWindow.cpp.
References gCurrentFolder, GUIIconSubSys::getIcon(), loadConfigOrNet(), myConfigPattern, myRecentConfigs, OPEN_SUMOCONFIG, and TL.
Referenced by FXDEFMAP().
long GUIApplicationWindow::onCmdOpenEdgeData | ( | FXObject * | , |
FXSelector | , | ||
void * | |||
) |
Called on menu File->Load EdgeData.
Definition at line 1137 of file GUIApplicationWindow.cpp.
References gCurrentFolder, GUINet::getGUIInstance(), GUIIconSubSys::getIcon(), GUIGlChildWindow::getView(), GUIMainWindow::myMDIClient, OPEN_NET, TL, and WRITE_MESSAGEF.
Referenced by FXDEFMAP().
long GUIApplicationWindow::onCmdOpenNetwork | ( | FXObject * | , |
FXSelector | , | ||
void * | |||
) |
Called on menu File->Open Network.
Definition at line 1086 of file GUIApplicationWindow.cpp.
References gCurrentFolder, GUIIconSubSys::getIcon(), loadConfigOrNet(), myRecentNetworks, OPEN_NET, and TL.
Referenced by FXDEFMAP().
long GUIApplicationWindow::onCmdOpenRecent | ( | FXObject * | , |
FXSelector | , | ||
void * | ptr | ||
) |
Called on opening a recent file.
Definition at line 1195 of file GUIApplicationWindow.cpp.
References loadConfigOrNet(), myAmLoading, GUIMainWindow::myStatusbar, and TL.
Referenced by FXDEFMAP().
long GUIApplicationWindow::onCmdOpenShapes | ( | FXObject * | , |
FXSelector | , | ||
void * | |||
) |
Called on menu File->Load Shapes.
Definition at line 1106 of file GUIApplicationWindow.cpp.
References gCurrentFolder, GUIIconSubSys::getIcon(), GUIRunThread::getNet(), MSNet::getShapeContainer(), GUIGlChildWindow::getView(), GUIMainWindow::myMDIClient, myRunThread, OPEN_SHAPES, XMLSubSys::runParser(), TL, and WRITE_MESSAGEF.
Referenced by FXDEFMAP().
long GUIApplicationWindow::onCmdQuickReload | ( | FXObject * | , |
FXSelector | , | ||
void * | |||
) |
Called on quick-reload.
Definition at line 1185 of file GUIApplicationWindow.cpp.
References MSNet::getInstance(), myAmLoading, MSNet::quickReload(), setStatusBarText(), and TL.
Referenced by FXDEFMAP().
long GUIApplicationWindow::onCmdQuit | ( | FXObject * | , |
FXSelector | , | ||
void * | |||
) |
Called by FOX if the application shall be closed (Called either by FileMenu->Quit, the normal close-menu or SIGINT)
Definition at line 851 of file GUIApplicationWindow.cpp.
References closeAllWindows(), gCurrentFolder, myAlternateSimDelay, myShowTimeAsHMS, and GUIMainWindow::storeWindowSizeAndPos().
Referenced by FXDEFMAP().
long GUIApplicationWindow::onCmdReload | ( | FXObject * | sender, |
FXSelector | sel, | ||
void * | |||
) |
Called on reload.
Definition at line 1165 of file GUIApplicationWindow.cpp.
References closeAllWindows(), TraCIServer::getInstance(), myAmLoading, myIsReload, myLoadThread, setStatusBarText(), GUIMainWindow::storeWindowSizeAndPos(), and TL.
Referenced by FXDEFMAP(), and handleEvent_SimulationEnded().
long GUIApplicationWindow::onCmdSaveConfig | ( | FXObject * | , |
FXSelector | , | ||
void * | |||
) |
Called on menu File->Close.
Definition at line 1207 of file GUIApplicationWindow.cpp.
References MFXUtils::assureExtension(), gCurrentFolder, GUIIconSubSys::getIcon(), OptionsCont::getOptions(), SAVE, setStatusBarText(), TL, TLF, StringUtils::transcodeToLocal(), MFXUtils::userPermitsOverwritingWhenFileExists(), and OptionsCont::writeConfiguration().
Referenced by FXDEFMAP().
long GUIApplicationWindow::onCmdSaveState | ( | FXObject * | , |
FXSelector | , | ||
void * | |||
) |
Called on "save state".
Definition at line 1322 of file GUIApplicationWindow.cpp.
References MFXUtils::assureExtension(), gCurrentFolder, GUIIconSubSys::getIcon(), MSNet::getInstance(), SAVE, MSStateHandler::saveState(), setStatusBarText(), TL, TLF, and MFXUtils::userPermitsOverwritingWhenFileExists().
Referenced by FXDEFMAP().
long GUIApplicationWindow::onCmdShowStats | ( | FXObject * | , |
FXSelector | , | ||
void * | |||
) |
Called on commands from the statistic buttons.
Definition at line 1518 of file GUIApplicationWindow.cpp.
References GUINet::getGUIInstance(), GUINet::getParameterWindow(), GUIGlChildWindow::getView(), and GUIMainWindow::myMDIClient.
Referenced by FXDEFMAP().
long GUIApplicationWindow::onCmdStart | ( | FXObject * | , |
FXSelector | , | ||
void * | |||
) |
Called on "play".
Definition at line 1279 of file GUIApplicationWindow.cpp.
References GUIRunThread::begin(), myRunThread, GUIMainWindow::myStatusbar, myWasStarted, GUIRunThread::resume(), GUIRunThread::simulationAvailable(), and TL.
Referenced by FXDEFMAP(), and handleEvent_SimulationLoaded().
long GUIApplicationWindow::onCmdStep | ( | FXObject * | , |
FXSelector | , | ||
void * | |||
) |
Called on "step".
Definition at line 1305 of file GUIApplicationWindow.cpp.
References GUIRunThread::begin(), myRunThread, GUIMainWindow::myStatusbar, myWasStarted, GUIRunThread::simulationAvailable(), GUIRunThread::singleStep(), and TL.
Referenced by FXDEFMAP().
long GUIApplicationWindow::onCmdStop | ( | FXObject * | , |
FXSelector | , | ||
void * | |||
) |
Called on "stop".
Definition at line 1297 of file GUIApplicationWindow.cpp.
References myRunThread, and GUIRunThread::stop().
Referenced by FXDEFMAP(), and handleEvent_SimulationEnded().
long GUIApplicationWindow::onCmdTimeToggle | ( | FXObject * | , |
FXSelector | , | ||
void * | |||
) |
Called on "time toggle".
Definition at line 1368 of file GUIApplicationWindow.cpp.
References MSNet::getCurrentTimeStep(), GUIRunThread::getNet(), myRunThread, myShowTimeAsHMS, GUIRunThread::simulationAvailable(), updateTimeLCD(), and updateTimeLCDTooltip().
Referenced by FXDEFMAP().
long GUIApplicationWindow::onCmdToggleDrawJunctionShape | ( | FXObject * | , |
FXSelector | , | ||
void * | |||
) |
Toggle draw junction shape.
Definition at line 1593 of file GUIApplicationWindow.cpp.
References GUIVisualizationSettings::drawJunctionShape, GUISUMOAbstractView::editVisualisationSettings(), GUIGlChildWindow::getView(), GUISUMOAbstractView::getVisualisationSettings(), and GUIMainWindow::myMDIClient.
Referenced by FXDEFMAP().
long GUIApplicationWindow::onCmdToggleSecondaryShape | ( | FXObject * | , |
FXSelector | , | ||
void * | |||
) |
Toggle draw junction shape.
Definition at line 1609 of file GUIApplicationWindow.cpp.
References GUISUMOAbstractView::editVisualisationSettings(), GUIGlChildWindow::getView(), GUISUMOAbstractView::getVisualisationSettings(), GUIMainWindow::myMDIClient, and GUIVisualizationSettings::secondaryShape.
Referenced by FXDEFMAP().
long GUIApplicationWindow::onCmdTutorial | ( | FXObject * | sender, |
FXSelector | sel, | ||
void * | ptr | ||
) |
called if the user selects help->Tutorial
Definition at line 952 of file GUIApplicationWindow.cpp.
References MFXLinkLabel::fxexecute().
Referenced by FXDEFMAP().
long GUIApplicationWindow::onKeyPress | ( | FXObject * | o, |
FXSelector | sel, | ||
void * | data | ||
) |
called when a key is pressed
Definition at line 2344 of file GUIApplicationWindow.cpp.
References GUIMainWindow::myAmGaming, myHotkeyPress, GUIMainWindow::myMDIClient, onCmdDelayDec(), onCmdDelayInc(), GUISUMOViewParent::onKeyPress(), and SIMSTEP.
Referenced by FXDEFMAP().
long GUIApplicationWindow::onKeyRelease | ( | FXObject * | o, |
FXSelector | sel, | ||
void * | data | ||
) |
called when a key is released
Definition at line 2374 of file GUIApplicationWindow.cpp.
References myHotkeyRelease, GUIMainWindow::myMDIClient, GUISUMOViewParent::onKeyRelease(), and SIMSTEP.
Referenced by FXDEFMAP().
long GUIApplicationWindow::onLoadThreadEvent | ( | FXObject * | , |
FXSelector | , | ||
void * | |||
) |
Called on an event from the loading thread.
Definition at line 1741 of file GUIApplicationWindow.cpp.
References eventOccurred().
Referenced by FXDEFMAP().
long GUIApplicationWindow::onRunThreadEvent | ( | FXObject * | , |
FXSelector | , | ||
void * | |||
) |
Called on an event from the simulation thread.
Definition at line 1748 of file GUIApplicationWindow.cpp.
References eventOccurred().
Referenced by FXDEFMAP().
long GUIApplicationWindow::onUpdAddView | ( | FXObject * | sender, |
FXSelector | , | ||
void * | ptr | ||
) |
Determines whether adding a view is enabled.
Definition at line 1269 of file GUIApplicationWindow.cpp.
References myAmLoading, myRunThread, and GUIRunThread::simulationAvailable().
Referenced by FXDEFMAP().
|
inherited |
Definition at line 441 of file GUIMainWindow.cpp.
References GUIIconSubSys::getIcon(), gLanguage, LANGUAGE_DE, LANGUAGE_EN, LANGUAGE_ES, LANGUAGE_FR, LANGUAGE_HU, LANGUAGE_IT, LANGUAGE_TR, LANGUAGE_ZH, and LANGUAGE_ZHT.
Referenced by FXDEFMAP(), and FXDEFMAP().
long GUIApplicationWindow::onUpdNeedsSimulation | ( | FXObject * | sender, |
FXSelector | , | ||
void * | ptr | ||
) |
Determines whether some buttons which require an active simulation may be shown.
Definition at line 1481 of file GUIApplicationWindow.cpp.
References myAmLoading, myRunThread, mySelectLanesMenuCascade, and GUIRunThread::simulationAvailable().
Referenced by FXDEFMAP().
long GUIApplicationWindow::onUpdNeteditSUMOConfig | ( | FXObject * | sender, |
FXSelector | , | ||
void * | ptr | ||
) |
Enable or disable open SUMOConfig in netedit.
Definition at line 1030 of file GUIApplicationWindow.cpp.
References OptionsCont::getOptions(), myAmLoading, myRunThread, and GUIRunThread::simulationAvailable().
long GUIApplicationWindow::onUpdOpen | ( | FXObject * | sender, |
FXSelector | , | ||
void * | ptr | ||
) |
Determines whether opening is enabled.
Definition at line 1241 of file GUIApplicationWindow.cpp.
References myAmLoading.
Referenced by FXDEFMAP().
long GUIApplicationWindow::onUpdOpenRecent | ( | FXObject * | sender, |
FXSelector | , | ||
void * | ptr | ||
) |
Determines whether opening a recent file is enabled.
Definition at line 1260 of file GUIApplicationWindow.cpp.
References myAmLoading.
Referenced by FXDEFMAP().
long GUIApplicationWindow::onUpdReload | ( | FXObject * | sender, |
FXSelector | , | ||
void * | ptr | ||
) |
Determines whether reloading is enabled.
Definition at line 1250 of file GUIApplicationWindow.cpp.
References GUILoadThread::getFileName(), TraCIServer::getInstance(), myAmLoading, and myLoadThread.
Referenced by FXDEFMAP().
long GUIApplicationWindow::onUpdStart | ( | FXObject * | sender, |
FXSelector | , | ||
void * | ptr | ||
) |
Determines whether "play" is enabled.
Definition at line 1443 of file GUIApplicationWindow.cpp.
References GUIShortcutsSubSys::changeAccelerator(), KEY_SPACE, MID_HOTKEY_CTRL_A_STARTSIMULATION_OPENADDITIONALS, myAmLoading, myRunThread, and GUIRunThread::simulationIsStartable().
Referenced by FXDEFMAP().
long GUIApplicationWindow::onUpdStep | ( | FXObject * | sender, |
FXSelector | , | ||
void * | ptr | ||
) |
Determines whether "step" is enabled.
Definition at line 1471 of file GUIApplicationWindow.cpp.
References myAmLoading, myRunThread, and GUIRunThread::simulationIsStepable().
Referenced by FXDEFMAP().
long GUIApplicationWindow::onUpdStop | ( | FXObject * | sender, |
FXSelector | , | ||
void * | ptr | ||
) |
Determines whether "stop" is enabled.
Definition at line 1457 of file GUIApplicationWindow.cpp.
References GUIShortcutsSubSys::changeAccelerator(), KEY_SPACE, MID_HOTKEY_CTRL_S_STOPSIMULATION_SAVENETWORK, myAmLoading, myRunThread, and GUIRunThread::simulationIsStopable().
Referenced by FXDEFMAP().
long GUIApplicationWindow::onUpdTraCIStatus | ( | FXObject * | , |
FXSelector | , | ||
void * | |||
) |
Determines whether traci is active.
Definition at line 1495 of file GUIApplicationWindow.cpp.
References TraCIServer::getInstance(), and GUIMainWindow::myTraCiFrame.
Referenced by FXDEFMAP().
|
private |
opens a new simulation display
Definition at line 2142 of file GUIApplicationWindow.cpp.
References GUISUMOAbstractView::copyViewportTo(), GUIGlChildWindow::create(), getBuildGLCanvas(), GUIIconSubSys::getIcon(), GUIRunThread::getNet(), GUIGlChildWindow::getView(), GUISUMOViewParent::init(), GUIMainWindow::myMDIClient, myMDIMenu, myRunThread, GUIMainWindow::myStatusbar, myViewNumber, GUIRunThread::simulationAvailable(), SUMO_MINI, TL, and toString().
Referenced by eventOccurred(), handleEvent_SimulationLoaded(), and onCmdNewView().
|
privatedelete |
invalidate assignment operator
|
inherited |
removes the given child window from the list (FXMainWindow)
Definition at line 125 of file GUIMainWindow.cpp.
References GUIMainWindow::myTrackerLock, and GUIMainWindow::myTrackerWindows.
Referenced by GUIDialog_Breakpoints::~GUIDialog_Breakpoints(), GUIDialog_ChooserAbstract::~GUIDialog_ChooserAbstract(), GUIDialog_GLChosenEditor::~GUIDialog_GLChosenEditor(), GUIParameterTableWindow::~GUIParameterTableWindow(), GUIParameterTracker::~GUIParameterTracker(), and GUITLLogicPhasesTrackerWindow::~GUITLLogicPhasesTrackerWindow().
|
inherited |
removes the given child window from the list (GUIGlChildWindow)
Definition at line 108 of file GUIMainWindow.cpp.
References GUIMainWindow::myGLWindows.
Referenced by GUIMainWindow::removeViewByID(), GNEViewParent::~GNEViewParent(), and GUISUMOViewParent::~GUISUMOViewParent().
|
inherited |
Definition at line 161 of file GUIMainWindow.cpp.
References GUIMainWindow::myGLWindows, and GUIMainWindow::removeGLChild().
Referenced by eventOccurred().
|
virtual |
retrieve list of breakpoints
Reimplemented from GUIMainWindow.
Definition at line 2425 of file GUIApplicationWindow.cpp.
References GUIRunThread::getBreakpointLock(), GUIRunThread::getBreakpoints(), and myRunThread.
|
virtual |
Sends an event from the application thread to the GUI and waits until it is handled.
Reimplemented from GUIMainWindow.
Definition at line 2404 of file GUIApplicationWindow.cpp.
References myEventMutex, myEvents, myRunThreadEvent, MFXSynchQue< T, Container >::push_back(), and FXEX::MFXThreadEvent::signal().
|
virtual |
Sets the breakpoints of the parent application.
Reimplemented from GUIMainWindow.
Definition at line 2414 of file GUIApplicationWindow.cpp.
References GUIRunThread::getBreakpointLock(), GUIRunThread::getBreakpoints(), MID_TIMELINK_BREAKPOINT, myRunThread, and GUIMainWindow::updateChildren().
|
virtual |
Sets the delay of the parent application in milliseconds.
Reimplemented from GUIMainWindow.
Definition at line 2398 of file GUIApplicationWindow.cpp.
References mySimDelay.
Referenced by handleEvent_SimulationLoaded().
|
virtual |
set status bar text
Reimplemented from GUIMainWindow.
Definition at line 2260 of file GUIApplicationWindow.cpp.
References GUIMainWindow::myStatusbar.
Referenced by dependentBuild(), handleEvent_Message(), handleEvent_SimulationLoaded(), loadConfigOrNet(), onCmdLoadState(), onCmdQuickReload(), onCmdReload(), onCmdSaveConfig(), and onCmdSaveState().
|
protectedinherited |
perform initial window positioning and sizing according to user options / previous call
Definition at line 287 of file GUIMainWindow.cpp.
References OptionsCont::getOptions(), OptionsCont::getStringVector(), OptionsCont::isSet(), MAX2(), MIN2(), TL, StringUtils::toInt(), toString(), and WRITE_ERROR.
Referenced by create(), GNEApplicationWindow::create(), GNEApplicationWindow::handleEvent_NetworkLoaded(), and handleEvent_SimulationLoaded().
|
protectedinherited |
record window position and size in registry
Definition at line 327 of file GUIMainWindow.cpp.
References GUIMainWindow::myAmFullScreen.
Referenced by GNEApplicationWindow::createNewNetwork(), loadConfigOrNet(), GNEApplicationWindow::loadConfiguration(), GNEApplicationWindow::loadNetwork(), GNEApplicationWindow::loadOSM(), onCmdQuit(), GNEApplicationWindow::onCmdQuit(), onCmdReload(), GNEApplicationWindow::onCmdReloadNetwork(), and GNEApplicationWindow::onCmdSmartReload().
|
inherited |
update childrens
Definition at line 189 of file GUIMainWindow.cpp.
References GUIMainWindow::myMDIClient, GUIMainWindow::myTrackerLock, and GUIMainWindow::myTrackerWindows.
Referenced by handleEvent_SimulationEnded(), handleEvent_SimulationStep(), GUIDialog_GLChosenEditor::onCmdClear(), GUIDialog_GLChosenEditor::onCmdDeselect(), onCmdEditChosen(), GUIDialog_GLChosenEditor::onCmdLoad(), and setBreakpoints().
|
private |
updates the simulation time display
Definition at line 2299 of file GUIApplicationWindow.cpp.
References DELTA_T, GUIRunThread::getSimEndTime(), GUIMainWindow::myAmGaming, myLCDLabel, myRunThread, myShowTimeAsHMS, and MFXLCDLabel::setText().
Referenced by handleEvent_SimulationStep(), and onCmdTimeToggle().
|
private |
update LCD timer tooltip
Definition at line 2279 of file GUIApplicationWindow.cpp.
References GUIMainWindow::myAmGaming, myEmergencyVehicleLabel, myLCDLabel, myShowTimeAsHMS, myTimeLossLabel, myWaitingTimeLabel, MFXLCDLabel::setToolTipText(), and TL.
Referenced by create(), and onCmdTimeToggle().
|
protected |
flag to mark if GUIApplicationWIndow has depend build
Definition at line 482 of file GUIApplicationWindow.h.
Referenced by dependentBuild().
|
protected |
The alternate simulation delay in milliseconds for toggling.
Definition at line 444 of file GUIApplicationWindow.h.
Referenced by create(), onCmdDelayToggle(), and onCmdQuit().
|
protectedinherited |
FOX need this.
whether to show the window in full screen mode
Definition at line 194 of file GUIMainWindow.h.
Referenced by GUIMainWindow::isFullScreen(), onCmdFullScreen(), onCmdGaming(), and GUIMainWindow::storeWindowSizeAndPos().
|
protectedinherited |
information whether the gui is currently in gaming mode
Definition at line 247 of file GUIMainWindow.h.
Referenced by handleEvent_SimulationStep(), GUIMainWindow::isGaming(), onCmdFullScreen(), onCmdGaming(), onKeyPress(), updateTimeLCD(), and updateTimeLCDTooltip().
|
protected |
information whether the gui is currently loading and the load-options shall be greyed out
Definition at line 383 of file GUIApplicationWindow.h.
Referenced by handleEvent_SimulationLoaded(), loadConfigOrNet(), loadOnStartup(), onCmdEditChosen(), onCmdOpenRecent(), onCmdQuickReload(), onCmdReload(), onUpdAddView(), onUpdNeedsSimulation(), onUpdNeteditSUMOConfig(), onUpdOpen(), onUpdOpenRecent(), onUpdReload(), onUpdStart(), onUpdStep(), and onUpdStop().
|
protectedinherited |
Font used for popup-menu titles.
Definition at line 206 of file GUIMainWindow.h.
Referenced by GUIMainWindow::getBoldFont(), GUIMainWindow::GUIMainWindow(), and GUIMainWindow::~GUIMainWindow().
|
protectedinherited |
Definition at line 233 of file GUIMainWindow.h.
Referenced by GUIMainWindow::GUIMainWindow(), and GUIMainWindow::~GUIMainWindow().
|
protected |
breakpoint dialog
Definition at line 567 of file GUIApplicationWindow.h.
Referenced by eraseBreakpointDialog(), and onCmdEditBreakpoints().
|
protectedinherited |
Labels for the current cartesian, geo-coordinate and test coordinates.
Definition at line 218 of file GUIMainWindow.h.
Referenced by closeAllWindows(), GNEApplicationWindow::closeAllWindows(), GNEApplicationWindow::dependentBuild(), dependentBuild(), and GUIMainWindow::getCartesianLabel().
|
protectedinherited |
Definition at line 224 of file GUIMainWindow.h.
Referenced by create(), GNEApplicationWindow::create(), GNEApplicationWindow::dependentBuild(), and dependentBuild().
|
protected |
random list of collision sounds
Definition at line 506 of file GUIApplicationWindow.h.
Referenced by checkGamingEvents(), and handleEvent_SimulationLoaded().
|
protected |
Input file pattern.
Definition at line 479 of file GUIApplicationWindow.h.
Referenced by onCmdOpenConfiguration().
|
protected |
Definition at line 397 of file GUIApplicationWindow.h.
Referenced by create(), fillMenuBar(), and ~GUIApplicationWindow().
|
protected |
the demand scale
Definition at line 441 of file GUIApplicationWindow.h.
Referenced by buildToolBars(), handleEvent_SimulationLoaded(), and onCmdDemandScale().
|
protected |
Definition at line 393 of file GUIApplicationWindow.h.
Referenced by create(), fillMenuBar(), and ~GUIApplicationWindow().
|
protected |
emergency vehicle count
Definition at line 542 of file GUIApplicationWindow.h.
Referenced by checkGamingEvents().
|
protected |
emergency vehicle label
Definition at line 539 of file GUIApplicationWindow.h.
Referenced by buildToolBars(), checkGamingEvents(), onCmdGaming(), and updateTimeLCDTooltip().
|
protected |
the semaphore when waiting for event completion
Definition at line 494 of file GUIApplicationWindow.h.
|
protected |
the mutex for the waiting semaphore
Definition at line 491 of file GUIApplicationWindow.h.
Referenced by sendBlockingEvent().
|
protected |
List of got requests.
Definition at line 447 of file GUIApplicationWindow.h.
Referenced by dependentBuild(), eventOccurred(), sendBlockingEvent(), and ~GUIApplicationWindow().
|
protectedinherited |
Fallback font for extended characters support.
Definition at line 209 of file GUIMainWindow.h.
Referenced by GUIMainWindow::getFallbackFont(), GUIMainWindow::GUIMainWindow(), and GUIMainWindow::~GUIMainWindow().
|
protected |
the submenus
Definition at line 392 of file GUIApplicationWindow.h.
Referenced by create(), fillMenuBar(), and ~GUIApplicationWindow().
|
protected |
FXMenu pane for recent configs.
Definition at line 405 of file GUIApplicationWindow.h.
Referenced by fillMenuBar(), and ~GUIApplicationWindow().
|
protected |
FXMenu pane for recent networks.
Definition at line 402 of file GUIApplicationWindow.h.
Referenced by fillMenuBar(), and ~GUIApplicationWindow().
|
protected |
menu checkbox to activate game mode
Definition at line 497 of file GUIApplicationWindow.h.
Referenced by fillMenuBar(), and onCmdGaming().
|
staticprotected |
A random number generator used to choose a gaming sound.
Definition at line 512 of file GUIApplicationWindow.h.
Referenced by checkGamingEvents().
|
protectedinherited |
Definition at line 219 of file GUIMainWindow.h.
Referenced by closeAllWindows(), GNEApplicationWindow::closeAllWindows(), GNEApplicationWindow::dependentBuild(), dependentBuild(), and GUIMainWindow::getGeoLabel().
|
protectedinherited |
Definition at line 225 of file GUIMainWindow.h.
Referenced by create(), GNEApplicationWindow::create(), GNEApplicationWindow::dependentBuild(), and dependentBuild().
|
protectedinherited |
The gl-visual used.
Definition at line 229 of file GUIMainWindow.h.
Referenced by GUIMainWindow::getGLVisual(), GNEApplicationWindow::~GNEApplicationWindow(), and ~GUIApplicationWindow().
|
protectedinherited |
list of GLWindows
Definition at line 197 of file GUIMainWindow.h.
Referenced by GUIMainWindow::addGLChild(), closeAllWindows(), GNEApplicationWindow::closeAllWindows(), GUIMainWindow::getViewByID(), GUIMainWindow::getViewIDs(), GUIMainWindow::getViews(), handleEvent_SimulationLoaded(), onCmdEditViewport(), onCmdEditViewScheme(), onCmdFullScreen(), onCmdGaming(), onCmdNeteditNetwork(), onCmdNeteditSUMOConfig(), GUIMainWindow::removeGLChild(), and GUIMainWindow::removeViewByID().
|
protected |
last modification time of the gui setting file
Definition at line 389 of file GUIApplicationWindow.h.
Referenced by handleEvent_SimulationLoaded().
|
protected |
whether the simulation end was already announced
Definition at line 488 of file GUIApplicationWindow.h.
Referenced by handleEvent_SimulationEnded(), and handleEvent_SimulationLoaded().
|
protected |
Definition at line 399 of file GUIApplicationWindow.h.
Referenced by create(), fillMenuBar(), and ~GUIApplicationWindow().
|
protected |
custom hotkeys pressed
Definition at line 561 of file GUIApplicationWindow.h.
Referenced by addHotkey(), onKeyPress(), and ~GUIApplicationWindow().
|
protected |
custom hotkeys released
Definition at line 564 of file GUIApplicationWindow.h.
Referenced by addHotkey(), onKeyRelease(), and ~GUIApplicationWindow().
|
staticprotectedinherited |
the singleton window instance
Definition at line 262 of file GUIMainWindow.h.
Referenced by GUIMainWindow::getInstance(), GUIMainWindow::GUIMainWindow(), and GUIMainWindow::~GUIMainWindow().
|
protected |
whether we are reloading the simulation
Definition at line 386 of file GUIApplicationWindow.h.
Referenced by handleEvent_SimulationLoaded(), loadConfigOrNet(), and onCmdReload().
|
protected |
random list of jam sounds
Definition at line 503 of file GUIApplicationWindow.h.
Referenced by checkGamingEvents(), and handleEvent_SimulationLoaded().
|
protected |
waiting time after which vehicles trigger jam sounds
Definition at line 509 of file GUIApplicationWindow.h.
Referenced by checkGamingEvents(), and handleEvent_SimulationLoaded().
|
protectedinherited |
Language menu common to all applications.
Definition at line 238 of file GUIMainWindow.h.
Referenced by GUIMainWindow::buildLanguageMenu(), create(), GNEApplicationWindow::~GNEApplicationWindow(), and ~GUIApplicationWindow().
|
protected |
last time the simulation view was redrawn due to a simStep
Definition at line 558 of file GUIApplicationWindow.h.
Referenced by handleEvent_SimulationStep().
|
protected |
the simulation step display
Definition at line 464 of file GUIApplicationWindow.h.
Referenced by buildToolBars(), closeAllWindows(), handleEvent_SimulationLoaded(), onCmdGaming(), updateTimeLCD(), and updateTimeLCDTooltip().
|
protectedinherited |
Definition at line 234 of file GUIMainWindow.h.
Referenced by GUIMainWindow::GUIMainWindow(), and GUIMainWindow::~GUIMainWindow().
|
protectedinherited |
information whether the locator should list internal structures
Definition at line 250 of file GUIMainWindow.h.
Referenced by GUIMainWindow::listInternal(), and onCmdListInternal().
|
protectedinherited |
information whether the locator should list parking vehicles
Definition at line 253 of file GUIMainWindow.h.
Referenced by fillMenuBar(), GUIMainWindow::listParking(), and onCmdListParking().
|
protectedinherited |
information whether the locator should list teleporting vehicles
Definition at line 256 of file GUIMainWindow.h.
Referenced by GUIMainWindow::listTeleporting(), and onCmdListTeleporting().
|
protected |
the thread that loads simulations
Definition at line 371 of file GUIApplicationWindow.h.
Referenced by dependentBuild(), loadConfigOrNet(), onCmdReload(), onUpdReload(), and ~GUIApplicationWindow().
|
protected |
io-event with the load-thread
Definition at line 467 of file GUIApplicationWindow.h.
Referenced by dependentBuild().
|
protected |
Definition at line 396 of file GUIApplicationWindow.h.
Referenced by create(), fillMenuBar(), and ~GUIApplicationWindow().
|
protected |
The splitter that divides the main window into views and the log window.
Definition at line 417 of file GUIApplicationWindow.h.
Referenced by dependentBuild().
|
protectedinherited |
The multi view panel.
Definition at line 212 of file GUIMainWindow.h.
Referenced by GNEApplicationWindow::dependentBuild(), dependentBuild(), fillMenuBar(), GUIMainWindow::getActiveView(), getBuildGLCanvas(), GNEApplicationWindow::handleEvent_NetworkLoaded(), onCmdEditChosen(), onCmdFullScreen(), onCmdGaming(), onCmdLocate(), GNEApplicationWindow::onCmdLocate(), onCmdOpenEdgeData(), onCmdOpenShapes(), onCmdShowStats(), onCmdToggleDrawJunctionShape(), onCmdToggleSecondaryShape(), onKeyPress(), GNEApplicationWindow::onKeyPress(), onKeyRelease(), GNEApplicationWindow::onKeyRelease(), openNewView(), and GUIMainWindow::updateChildren().
|
protected |
The menu used for the MDI-windows.
Definition at line 450 of file GUIApplicationWindow.h.
Referenced by dependentBuild(), and openNewView().
|
protected |
The application menu bar.
Definition at line 453 of file GUIApplicationWindow.h.
Referenced by dependentBuild(), fillMenuBar(), onCmdFullScreen(), and onCmdGaming().
|
protected |
Definition at line 425 of file GUIApplicationWindow.h.
Referenced by create(), dependentBuild(), and detach().
|
protected |
A window to display messages, warnings and error in.
Definition at line 414 of file GUIApplicationWindow.h.
Referenced by closeAllWindows(), dependentBuild(), fillMenuBar(), handleEvent_Message(), handleEvent_SimulationEnded(), onCmdClearMsgWindow(), onCmdFullScreen(), and onCmdGaming().
|
protected |
the name of the simulation
Definition at line 368 of file GUIApplicationWindow.h.
|
protectedinherited |
online mapping services for the context menu
Definition at line 259 of file GUIMainWindow.h.
Referenced by GUIMainWindow::addOnlineMap(), create(), GNEApplicationWindow::create(), and GUIMainWindow::getOnlineMaps().
|
protected |
previous collision number
Definition at line 515 of file GUIApplicationWindow.h.
Referenced by checkGamingEvents().
|
protected |
List of recent configs.
Definition at line 476 of file GUIApplicationWindow.h.
Referenced by addRecentConfig(), buildRecentConfigs(), and onCmdOpenConfiguration().
|
protected |
List of recent networks.
Definition at line 473 of file GUIApplicationWindow.h.
Referenced by addRecentNetwork(), buildRecentNetworks(), and onCmdOpenNetwork().
|
protectedinherited |
Definition at line 235 of file GUIMainWindow.h.
Referenced by GUIMainWindow::GUIMainWindow(), and GUIMainWindow::~GUIMainWindow().
|
protected |
the thread that runs simulations
Definition at line 374 of file GUIApplicationWindow.h.
Referenced by checkGamingEventsDRT(), closeAllWindows(), dependentBuild(), eventOccurred(), getCurrentSimTime(), getRunner(), handleEvent_SimulationLoaded(), handleEvent_SimulationStep(), loadOnStartup(), onCmdDemandScale(), onCmdEditBreakpoints(), onCmdEditChosen(), onCmdOpenShapes(), onCmdStart(), onCmdStep(), onCmdStop(), onCmdTimeToggle(), onUpdAddView(), onUpdNeedsSimulation(), onUpdNeteditSUMOConfig(), onUpdStart(), onUpdStep(), onUpdStop(), openNewView(), retrieveBreakpoints(), setBreakpoints(), updateTimeLCD(), and ~GUIApplicationWindow().
|
protected |
io-event with the run-thread
Definition at line 470 of file GUIApplicationWindow.h.
Referenced by dependentBuild(), and sendBlockingEvent().
|
protected |
Definition at line 394 of file GUIApplicationWindow.h.
Referenced by create(), fillMenuBar(), and ~GUIApplicationWindow().
|
protected |
the menu cascades
Definition at line 408 of file GUIApplicationWindow.h.
Referenced by fillMenuBar(), and onUpdNeedsSimulation().
|
protected |
Definition at line 395 of file GUIApplicationWindow.h.
Referenced by create(), fillMenuBar(), and ~GUIApplicationWindow().
|
protected |
whether to show time as hour:minute:second
Definition at line 485 of file GUIApplicationWindow.h.
Referenced by checkGamingEvents(), create(), onCmdQuit(), onCmdTimeToggle(), updateTimeLCD(), and updateTimeLCDTooltip().
|
protected |
the simulation delay in milliseconds
Definition at line 429 of file GUIApplicationWindow.h.
Referenced by buildToolBars(), dependentBuild(), getDelay(), handleEvent_SimulationLoaded(), onCmdDelayDec(), onCmdDelayInc(), onCmdDelayToggle(), and setDelay().
|
protected |
Simulation delay slider.
Definition at line 438 of file GUIApplicationWindow.h.
Referenced by buildToolBars(), handleEvent_SimulationLoaded(), onCmdDelayDec(), and onCmdDelayInc().
|
protected |
Simulation delay spinner.
Definition at line 435 of file GUIApplicationWindow.h.
Referenced by buildToolBars(), handleEvent_SimulationLoaded(), onCmdDelayDec(), and onCmdDelayInc().
|
protected |
Simulation delay target.
Definition at line 432 of file GUIApplicationWindow.h.
Referenced by buildToolBars(), and ~GUIApplicationWindow().
|
protected |
Buttons showing and running values and triggering statistic windows.
Definition at line 411 of file GUIApplicationWindow.h.
Referenced by closeAllWindows(), dependentBuild(), handleEvent_SimulationLoaded(), and handleEvent_SimulationStep().
|
protectedinherited |
static toolTip used in menus
Definition at line 241 of file GUIMainWindow.h.
Referenced by buildToolBars(), GNEApplicationWindow::dependentBuild(), GUIMainWindow::getStaticTooltipMenu(), GUIMainWindow::GUIMainWindow(), and GUIMainWindow::~GUIMainWindow().
|
protectedinherited |
static toolTip used in view
Definition at line 244 of file GUIMainWindow.h.
Referenced by GUIMainWindow::getStaticTooltipView(), GUIMainWindow::GUIMainWindow(), and GUIMainWindow::~GUIMainWindow().
|
protectedinherited |
The status bar.
Definition at line 215 of file GUIMainWindow.h.
Referenced by GNEApplicationWindow::dependentBuild(), dependentBuild(), fillMenuBar(), GNEApplicationWindow::fillMenuBar(), onCmdFullScreen(), onCmdGaming(), onCmdOpenRecent(), GNEApplicationWindow::onCmdOpenRecent(), onCmdStart(), onCmdStep(), openNewView(), GNEApplicationWindow::setStatusBarText(), and setStatusBarText().
|
protectedinherited |
Definition at line 220 of file GUIMainWindow.h.
Referenced by closeAllWindows(), GNEApplicationWindow::closeAllWindows(), GNEApplicationWindow::dependentBuild(), and GUIMainWindow::getTestLabel().
|
protectedinherited |
Definition at line 226 of file GUIMainWindow.h.
Referenced by GNEApplicationWindow::closeAllWindows(), create(), GNEApplicationWindow::dependentBuild(), and GUIMainWindow::getTestFrame().
|
protected |
|
protected |
time loss label
Definition at line 527 of file GUIApplicationWindow.h.
Referenced by buildToolBars(), checkGamingEvents(), onCmdGaming(), and updateTimeLCDTooltip().
|
protected |
flag for enable TLS gameMode
Definition at line 518 of file GUIApplicationWindow.h.
Referenced by handleEvent_SimulationLoaded(), handleEvent_SimulationStep(), and onCmdGaming().
|
protected |
The application tool bar.
Definition at line 456 of file GUIApplicationWindow.h.
Referenced by buildToolBars(), onCmdFullScreen(), and onCmdGaming().
|
protected |
Definition at line 548 of file GUIApplicationWindow.h.
Referenced by buildToolBars(), dependentBuild(), and onCmdGaming().
|
protected |
Definition at line 457 of file GUIApplicationWindow.h.
Referenced by buildToolBars(), eventOccurred(), onCmdFullScreen(), and onCmdGaming().
|
protected |
Definition at line 458 of file GUIApplicationWindow.h.
Referenced by buildToolBars(), eventOccurred(), fillMenuBar(), and onCmdFullScreen().
|
protected |
Definition at line 459 of file GUIApplicationWindow.h.
Referenced by buildToolBars(), fillMenuBar(), onCmdFullScreen(), and onCmdGaming().
|
protected |
Definition at line 460 of file GUIApplicationWindow.h.
Referenced by buildToolBars(), onCmdFullScreen(), and onCmdGaming().
|
protected |
toolbars used in game
Definition at line 545 of file GUIApplicationWindow.h.
Referenced by buildToolBars(), dependentBuild(), onCmdFullScreen(), and onCmdGaming().
|
protected |
Definition at line 546 of file GUIApplicationWindow.h.
Referenced by buildToolBars(), dependentBuild(), onCmdFullScreen(), and onCmdGaming().
|
protected |
Definition at line 461 of file GUIApplicationWindow.h.
Referenced by buildToolBars(), onCmdFullScreen(), and onCmdGaming().
|
protected |
Definition at line 547 of file GUIApplicationWindow.h.
Referenced by buildToolBars(), dependentBuild(), and onCmdGaming().
|
protected |
for some menu detaching fun
Definition at line 420 of file GUIApplicationWindow.h.
Referenced by buildToolBars(), create(), detach(), and ~GUIApplicationWindow().
|
protected |
Definition at line 554 of file GUIApplicationWindow.h.
Referenced by buildToolBars().
|
protected |
Definition at line 421 of file GUIApplicationWindow.h.
Referenced by buildToolBars(), and create().
|
protected |
Definition at line 422 of file GUIApplicationWindow.h.
Referenced by buildToolBars(), and create().
|
protected |
Definition at line 423 of file GUIApplicationWindow.h.
Referenced by buildToolBars(), and create().
|
protected |
Definition at line 424 of file GUIApplicationWindow.h.
Referenced by buildToolBars(), and create().
|
protected |
toolbars shell used in game
Definition at line 551 of file GUIApplicationWindow.h.
Referenced by buildToolBars(), and create().
|
protected |
Definition at line 552 of file GUIApplicationWindow.h.
Referenced by buildToolBars(), and create().
|
protected |
Definition at line 426 of file GUIApplicationWindow.h.
Referenced by buildToolBars().
|
protected |
Definition at line 553 of file GUIApplicationWindow.h.
Referenced by buildToolBars().
|
protectedinherited |
dock sites
Definition at line 232 of file GUIMainWindow.h.
Referenced by buildToolBars(), dependentBuild(), GUIMainWindow::getTopDock(), GUIMainWindow::GUIMainWindow(), and GUIMainWindow::~GUIMainWindow().
|
protected |
total distance
Definition at line 536 of file GUIApplicationWindow.h.
Referenced by checkGamingEventsDRT().
|
protected |
total distance label
Definition at line 533 of file GUIApplicationWindow.h.
Referenced by buildToolBars(), checkGamingEventsDRT(), and onCmdGaming().
|
protectedinherited |
frames for coordinates
Definition at line 223 of file GUIMainWindow.h.
Referenced by dependentBuild(), and onUpdTraCIStatus().
|
protectedinherited |
A lock to make the removal and addition of trackers secure.
Definition at line 203 of file GUIMainWindow.h.
Referenced by GUIMainWindow::addChild(), closeAllWindows(), GNEApplicationWindow::closeAllWindows(), GUIMainWindow::removeChild(), and GUIMainWindow::updateChildren().
|
protectedinherited |
list of tracker windows
Definition at line 200 of file GUIMainWindow.h.
Referenced by GUIMainWindow::addChild(), closeAllWindows(), GNEApplicationWindow::closeAllWindows(), GUIMainWindow::removeChild(), and GUIMainWindow::updateChildren().
|
protected |
The current view number.
Definition at line 380 of file GUIApplicationWindow.h.
Referenced by handleEvent_SimulationLoaded(), and openNewView().
|
protected |
waiting time
Definition at line 524 of file GUIApplicationWindow.h.
Referenced by checkGamingEvents(), and checkGamingEventsDRT().
|
protected |
waiting time label
Definition at line 521 of file GUIApplicationWindow.h.
Referenced by buildToolBars(), checkGamingEvents(), checkGamingEventsDRT(), onCmdGaming(), and updateTimeLCDTooltip().
|
protected |
the information whether the simulation was started before
Definition at line 377 of file GUIApplicationWindow.h.
Referenced by handleEvent_SimulationLoaded(), onCmdStart(), and onCmdStep().
|
protected |
Definition at line 398 of file GUIApplicationWindow.h.
Referenced by create(), fillMenuBar(), and ~GUIApplicationWindow().