Eclipse SUMO - Simulation of Urban MObility
GUIApplicationWindow Class Reference

The main window of the SUMO-gui. More...

#include <GUIApplicationWindow.h>

Inheritance diagram for GUIApplicationWindow:
[legend]
Collaboration diagram for GUIApplicationWindow:
[legend]

Public Member Functions

void addBreakpoint (SUMOTime time)
 Adds the given breakpoint. More...
 
void addChild (FXMainWindow *child)
 Adds a further child window to the list (FXMainWindow) More...
 
void addGLChild (GUIGlChildWindow *child)
 Adds a further child window to the list (GUIGlChildWindow) More...
 
void addHotkey (int key, Command *press, Command *release)
 register custom hotkey action More...
 
void addOnlineMap (const std::string &name, const std::string &url)
 
void addRecentConfig (const FX::FXString &f)
 add recent config to recent file list More...
 
void addRecentNetwork (const FX::FXString &f)
 add recent network to recent file list More...
 
void dependentBuild (const bool isLibsumo)
 build dependt More...
 
void eraseBreakpointDialog ()
 erase current breakpoint dialog More...
 
GUISUMOAbstractViewgetActiveView () const
 get the active view or 0 More...
 
FXFont * getBoldFont ()
 get bold front More...
 
FXGLCanvas * getBuildGLCanvas () const
 get build GLCanvas More...
 
FXLabel * getCartesianLabel ()
 get cartesian label More...
 
SUMOTime getCurrentSimTime () const
 get current simulation time More...
 
FXCursor * getDefaultCursor ()
 get default cursor More...
 
virtual double getDelay () const
 Returns the simulation delay in miliseconds. More...
 
FXFont * getFallbackFont ()
 get fallback front More...
 
FXLabel * getGeoLabel ()
 get geo label More...
 
FXGLVisual * getGLVisual () const
 get GL Visual More...
 
const std::map< std::string, std::string > & getOnlineMaps () const
 
GUIRunThreadgetRunner ()
 get run thread More...
 
MFXStaticToolTipgetStaticTooltipMenu () const
 get static toolTip for menus More...
 
MFXStaticToolTipgetStaticTooltipView () const
 get static toolTip for view More...
 
FXHorizontalFrame * getTestFrame ()
 get test frame More...
 
FXLabel * getTestLabel ()
 get test label More...
 
FXDockSite * getTopDock ()
 get top dock More...
 
double getTrackerInterval () const
 get tracker interval More...
 
GUIGlChildWindowgetViewByID (const std::string &id) const
 get specific view by ID More...
 
std::vector< std::string > getViewIDs () const
 get view IDs More...
 
const std::vector< GUIGlChildWindow * > & getViews () const
 get views More...
 
 GUIApplicationWindow (FXApp *a, const std::string &configPattern)
 Constructor. More...
 
bool isFullScreen ()
 
bool isGaming () const
 return whether the gui is in gaming mode More...
 
bool listInternal () const
 return whether to list internal structures More...
 
bool listParking () const
 return whether to list parking vehicles More...
 
bool listTeleporting () const
 return whether to list teleporting vehicles More...
 
void loadOnStartup (const bool wait=false)
 config or net on startup More...
 
long onCmdChangeLanguage (FXObject *, FXSelector, void *)
 
long onUpdChangeLanguage (FXObject *, FXSelector, void *)
 
void removeChild (FXMainWindow *child)
 removes the given child window from the list (FXMainWindow) More...
 
void removeGLChild (GUIGlChildWindow *child)
 removes the given child window from the list (GUIGlChildWindow) More...
 
void removeViewByID (const std::string &id)
 
const std::vector< SUMOTimeretrieveBreakpoints () const
 retrieve list of breakpoints More...
 
virtual void sendBlockingEvent (GUIEvent *event)
 Sends an event from the application thread to the GUI and waits until it is handled. More...
 
virtual void setBreakpoints (const std::vector< SUMOTime > &breakpoints)
 Sets the breakpoints of the parent application. More...
 
virtual void setDelay (double delay)
 Sets the delay of the parent application in milliseconds. More...
 
void setStatusBarText (const std::string &text)
 set status bar text More...
 
void updateChildren (int msg=MID_SIMSTEP)
 update childrens More...
 
virtual ~GUIApplicationWindow ()
 Destructor. More...
 
FOX-interactions

{

virtual void create ()
 Creates the main window (required by FOX) More...
 
virtual void detach ()
 Detaches the tool/menu bar. More...
 
Inter-thread event handling
virtual void eventOccurred ()
 a certain event ocurred More...
 
void handleEvent_SimulationLoaded (GUIEvent *e)
 called when event "simulation loaded" ocurred More...
 
void handleEvent_SimulationStep (GUIEvent *e)
 called when event "simulation step" ocurred More...
 
void handleEvent_Message (GUIEvent *e)
 called when event "message" ocurred More...
 
void handleEvent_SimulationEnded (GUIEvent *e)
 called when event "simulation ended" ocurred More...
 
FOX-callbacks
long onCmdNewWindow (FXObject *, FXSelector, void *)
 Called on menu File->New Window. More...
 
long onCmdOpenConfiguration (FXObject *, FXSelector, void *)
 Called on menu File->Open Configuration. More...
 
long onCmdOpenNetwork (FXObject *, FXSelector, void *)
 Called on menu File->Open Network. More...
 
long onCmdOpenShapes (FXObject *, FXSelector, void *)
 Called on menu File->Load Shapes. More...
 
long onCmdOpenEdgeData (FXObject *, FXSelector, void *)
 Called on menu File->Load EdgeData. More...
 
long onCmdReload (FXObject *, FXSelector, void *)
 Called on reload. More...
 
long onCmdQuickReload (FXObject *, FXSelector, void *)
 Called on quick-reload. More...
 
long onCmdOpenRecent (FXObject *, FXSelector, void *)
 Called on opening a recent file. More...
 
long onCmdSaveConfig (FXObject *, FXSelector, void *)
 Called on menu File->Close. More...
 
long onCmdClose (FXObject *, FXSelector, void *)
 Called on menu File->Close. More...
 
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) More...
 
long onCmdEditChosen (FXObject *, FXSelector, void *)
 Called on menu Edit->Edit Chosen. More...
 
long onCmdEditBreakpoints (FXObject *, FXSelector, void *)
 Called on menu Edit->Edit Breakpoints. More...
 
long onCmdEditViewScheme (FXObject *, FXSelector, void *)
 Called on menu Edit->Visualization. More...
 
long onCmdEditViewport (FXObject *, FXSelector, void *)
 Called on menu Edit->Viewport. More...
 
long onCmdHelp (FXObject *sender, FXSelector sel, void *ptr)
 called if the user selects help->Documentation More...
 
long onCmdChangelog (FXObject *sender, FXSelector sel, void *ptr)
 called if the user selects help->Changelog More...
 
long onCmdHotkeys (FXObject *sender, FXSelector sel, void *ptr)
 called if the user selects help->Hotkeys More...
 
long onCmdTutorial (FXObject *sender, FXSelector sel, void *ptr)
 called if the user selects help->Tutorial More...
 
long onCmdOpenInNetedit (FXObject *, FXSelector, void *)
 Called on menu Edit->open in Netedit. More...
 
long onCmdAppSettings (FXObject *, FXSelector, void *)
 Opens the application settings menu (Settings->Application Settings...) More...
 
long onCmdGaming (FXObject *, FXSelector, void *)
 Toggle gaming mode. More...
 
long onCmdToggleDrawJunctionShape (FXObject *, FXSelector, void *)
 Toggle draw junction shape. More...
 
long onCmdToggleSecondaryShape (FXObject *, FXSelector, void *)
 Toggle draw junction shape. More...
 
long onCmdFullScreen (FXObject *, FXSelector, void *)
 Toggle full screen mode. More...
 
long onCmdListInternal (FXObject *, FXSelector, void *)
 Toggle listing of internal structures. More...
 
long onCmdListParking (FXObject *, FXSelector, void *)
 Toggle listing of parking vehicles. More...
 
long onCmdListTeleporting (FXObject *, FXSelector, void *)
 Toggle listing of teleporting vehicles. More...
 
long onCmdFeedback (FXObject *, FXSelector, void *)
 Shows the feedback dialog. More...
 
long onCmdAbout (FXObject *, FXSelector, void *)
 Shows the about dialog. More...
 
long onCmdHallOfFame (FXObject *, FXSelector, void *)
 Shows the Hall of Fame dialog. More...
 
long onCmdStart (FXObject *, FXSelector, void *)
 Called on "play". More...
 
long onCmdStop (FXObject *, FXSelector, void *)
 Called on "stop". More...
 
long onCmdStep (FXObject *, FXSelector, void *)
 Called on "step". More...
 
long onCmdSaveState (FXObject *, FXSelector, void *)
 Called on "save state". More...
 
long onCmdLoadState (FXObject *, FXSelector, void *)
 Called on "save state". More...
 
long onCmdTimeToggle (FXObject *, FXSelector, void *)
 Called on "time toggle". More...
 
long onCmdDelayInc (FXObject *, FXSelector, void *)
 Called on "delay inc". More...
 
long onCmdDelayDec (FXObject *, FXSelector, void *)
 Called on "delay dec". More...
 
long onCmdDelayToggle (FXObject *, FXSelector, void *)
 Called on "delay toggle". More...
 
long onCmdDemandScale (FXObject *, FXSelector, void *)
 Called on "demand scale". More...
 
long onCmdNewView (FXObject *, FXSelector, void *)
 Called if a new view shall be opened (2D view) More...
 
long onUpdOpen (FXObject *, FXSelector, void *)
 Determines whether opening is enabled. More...
 
long onUpdReload (FXObject *, FXSelector, void *)
 Determines whether reloading is enabled. More...
 
long onUpdOpenRecent (FXObject *, FXSelector, void *)
 Determines whether opening a recent file is enabled. More...
 
long onUpdAddView (FXObject *, FXSelector, void *)
 Determines whether adding a view is enabled. More...
 
long onUpdStart (FXObject *sender, FXSelector, void *ptr)
 Determines whether "play" is enabled. More...
 
long onUpdStop (FXObject *, FXSelector, void *)
 Determines whether "stop" is enabled. More...
 
long onUpdStep (FXObject *, FXSelector, void *)
 Determines whether "step" is enabled. More...
 
long onUpdNeedsNetwork (FXObject *, FXSelector, void *)
 Determines whether some buttons which require an active network may be shown. More...
 
long onUpdNeedsSumoConfig (FXObject *, FXSelector, void *)
 Determines whether some buttons which require an sumoConfig may be shown. More...
 
long onUpdTraCIStatus (FXObject *, FXSelector, void *)
 Determines whether traci is active. More...
 
long onCmdClearMsgWindow (FXObject *, FXSelector, void *)
 Called if the message window shall be cleared. More...
 
long onCmdBreakpoint (FXObject *, FXSelector, void *)
 Called to set a breakpoint via hotkey. More...
 
long onCmdBreakpointEarly (FXObject *, FXSelector, void *)
 Called to set an early breakpoint via hotkey. More...
 
long onCmdLocate (FXObject *, FXSelector, void *)
 Called on menu commands from the Locator menu. More...
 
long onCmdShowStats (FXObject *, FXSelector, void *)
 Called on commands from the statistic buttons. More...
 
long onLoadThreadEvent (FXObject *, FXSelector, void *)
 Called on an event from the loading thread. More...
 
long onRunThreadEvent (FXObject *, FXSelector, void *)
 Called on an event from the simulation thread. More...
 
long onClipboardRequest (FXObject *sender, FXSelector sel, void *ptr)
 Somebody wants our clipped text. More...
 
long onKeyPress (FXObject *o, FXSelector sel, void *data)
 called when a key is pressed More...
 
long onKeyRelease (FXObject *o, FXSelector sel, void *data)
 called when a key is released More...
 

Static Public Member Functions

static GUIMainWindowgetInstance ()
 get instance More...
 

Protected Member Functions

virtual void addToWindowsMenu (FXMenuPane *menuPane)
 FOX need this. More...
 
void buildLanguageMenu (FXMenuBar *menuBar)
 
void buildRecentConfigs (FXMenuPane *fileMenu, FXMenuPane *fileMenuRecentConfigs)
 build recent configs More...
 
void buildRecentNetworks (FXMenuPane *fileMenu, FXMenuPane *fileMenuRecentNetworks)
 build recent networks More...
 
virtual void buildToolBars ()
 Builds the tool bar. More...
 
virtual void fillMenuBar ()
 Builds the menu bar. More...
 
void setWindowSizeAndPos ()
 perform initial window positioning and sizing according to user options / previous call More...
 
void storeWindowSizeAndPos ()
 record window position and size in registry More...
 

Protected Attributes

bool hadDependentBuild = false
 flag to mark if GUIApplicationWIndow has depend build More...
 
double myAlternateSimDelay = 0
 The alternate simulation delay in milliseconds for toggling. More...
 
bool myAmFullScreen
 FOX need this. More...
 
bool myAmGaming
 information whether the gui is currently in gaming mode More...
 
bool myAmLoading = false
 information whether the gui is currently loading and the load-options shall be greyed out More...
 
FXFont * myBoldFont = nullptr
 Font used for popup-menu titles. More...
 
FXDockSite * myBottomDock = nullptr
 
FXLabel * myCartesianCoordinate = nullptr
 Labels for the current cartesian, geo-coordinate and test coordinates. More...
 
FXHorizontalFrame * myCartesianFrame = nullptr
 
std::string myConfigPattern
 Input file pattern. More...
 
FXMenuPane * myControlMenu = nullptr
 
FXRealSpinner * myDemandScaleSpinner = nullptr
 the demand scale More...
 
FXMenuPane * myEditMenu = nullptr
 
FXCondition myEventCondition
 the semaphore when waiting for event completion More...
 
FXMutex myEventMutex
 the mutex for the waiting semaphore More...
 
MFXSynchQue< GUIEvent * > myEvents
 List of got requests. More...
 
FXFont * myFallbackFont = nullptr
 Fallback font for extended characters support. More...
 
FXMenuPane * myFileMenu = nullptr
 the submenus More...
 
FXMenuPane * myFileMenuRecentConfigs = nullptr
 FXMenu pane for recent configs. More...
 
FXMenuPane * myFileMenuRecentNetworks = nullptr
 FXMenu pane for recent networks. More...
 
FXMenuCheck * myGamingModeCheckbox
 menu checkbox to activate game mode More...
 
FXLabel * myGeoCoordinate = nullptr
 
FXHorizontalFrame * myGeoFrame = nullptr
 
FXGLVisual * myGLVisual = nullptr
 The gl-visual used. More...
 
std::vector< GUIGlChildWindow * > myGLWindows
 list of GLWindows More...
 
long long myGuiSettingsFileMTime = -2
 last modification time of the gui setting file More...
 
bool myHaveNotifiedAboutSimEnd = false
 whether the simulation end was already announced More...
 
FXMenuPane * myHelpMenu = nullptr
 
bool myIsReload = false
 whether we are reloading the simulation More...
 
FXMenuPane * myLanguageMenu = nullptr
 Language menu common to all applications. More...
 
MFXLCDLabelmyLCDLabel = nullptr
 the simulation step display More...
 
FXDockSite * myLeftDock = nullptr
 
bool myListInternal
 information whether the locator should list internal structures More...
 
bool myListParking
 information whether the locator should list parking vehicles More...
 
bool myListTeleporting
 information whether the locator should list teleporting vehicles More...
 
FXMenuCheck * myLoadAdditionalsInNetedit = nullptr
 menuCheck for enable/disable load additionals in netedit More...
 
FXMenuCheck * myLoadDemandInNetedit = nullptr
 menuCheck for enable/disable load demand elements in netedit More...
 
GUILoadThreadmyLoadThread = nullptr
 the thread that loads simulations More...
 
FXEX::MFXThreadEvent myLoadThreadEvent
 io-event with the load-thread More...
 
FXMenuPane * myLocatorMenu = nullptr
 
FXSplitter * myMainSplitter = nullptr
 The splitter that divides the main window into views and the log window. More...
 
FXMDIClient * myMDIClient = nullptr
 The multi view panel. More...
 
FXMDIMenu * myMDIMenu = nullptr
 The menu used for the MDI-windows. More...
 
FXMenuBar * myMenuBar = nullptr
 The application menu bar. More...
 
FXToolBarShell * myMenuBarDrag = nullptr
 
GUIMessageWindowmyMessageWindow = nullptr
 A window to display messages, warnings and error in. More...
 
std::string myName
 the name of the simulation More...
 
std::map< std::string, std::string > myOnlineMaps
 online mapping services for the context menu More...
 
FXMenuCommand * myOpenInNetedit = nullptr
 menuCommand for open simulation/network in netedit More...
 
MFXRecentNetworks myRecentConfigs
 List of recent configs. More...
 
MFXRecentNetworks myRecentNetworks
 List of recent networks. More...
 
FXDockSite * myRightDock = nullptr
 
GUIRunThreadmyRunThread = nullptr
 the thread that runs simulations More...
 
FXEX::MFXThreadEvent myRunThreadEvent
 io-event with the run-thread More...
 
MFXLabelTooltipmyScaleTrafficTooltip = nullptr
 the demand scale label More...
 
FXMenuPane * mySelectByPermissions = nullptr
 
FXMenuCascade * mySelectLanesMenuCascade = nullptr
 the menu cascades More...
 
FXMenuPane * mySettingsMenu = nullptr
 
bool myShowTimeAsHMS = false
 whether to show time as hour:minute:second More...
 
double mySimDelay = 0.
 the simulation delay in milliseconds More...
 
FXSlider * mySimDelaySlider = nullptr
 Simulation delay slider. More...
 
FXRealSpinner * mySimDelaySpinner = nullptr
 Simulation delay spinner. More...
 
FXDataTarget * mySimDelayTarget = nullptr
 Simulation delay target. More...
 
std::vector< FXButton * > myStatButtons
 Buttons showing and running values and triggering statistic windows. More...
 
MFXStaticToolTipmyStaticTooltipMenu = nullptr
 static toolTip used in menus More...
 
MFXStaticToolTipmyStaticTooltipView = nullptr
 static toolTip used in view More...
 
FXStatusBar * myStatusbar = nullptr
 The status bar. More...
 
FXLabel * myTestCoordinate = nullptr
 
FXHorizontalFrame * myTestFrame = nullptr
 
FXToolBar * myToolBar1 = nullptr
 The application tool bar. More...
 
FXToolBar * myToolBar2 = nullptr
 
FXToolBar * myToolBar3 = nullptr
 
FXToolBar * myToolBar4 = nullptr
 
FXToolBar * myToolBar5 = nullptr
 
FXToolBar * myToolBar8 = nullptr
 
FXToolBarShell * myToolBarDrag1 = nullptr
 for some menu detaching fun More...
 
FXToolBarShell * myToolBarDrag2 = nullptr
 
FXToolBarShell * myToolBarDrag3 = nullptr
 
FXToolBarShell * myToolBarDrag4 = nullptr
 
FXToolBarShell * myToolBarDrag5 = nullptr
 
FXToolBarShell * myToolBarDrag8 = nullptr
 
FXDockSite * myTopDock = nullptr
 dock sites More...
 
FXHorizontalFrame * myTraCiFrame = nullptr
 frames for coordinates More...
 
FXMutex myTrackerLock
 A lock to make the removal and addition of trackers secure. More...
 
std::vector< FXMainWindow * > myTrackerWindows
 list of tracker windows More...
 
int myViewNumber
 The current view number. More...
 
bool myWasStarted = false
 the information whether the simulation was started before More...
 
FXMenuPane * myWindowMenu = nullptr
 

Static Protected Attributes

static GUIMainWindowmyInstance = nullptr
 the singleton window instance More...
 

game related things

{

RandomDistributor< std::string > myJamSounds
 random list of jam sounds More...
 
RandomDistributor< std::string > myCollisionSounds
 random list of collision sounds More...
 
double myJamSoundTime = 60
 waiting time after which vehicles trigger jam sounds More...
 
int myPreviousCollisionNumber = 0
 previous collision number More...
 
bool myTLSGame = false
 flag for enable TLS gameMode More...
 
MFXLCDLabelmyWaitingTimeLabel = nullptr
 waiting time label More...
 
SUMOTime myWaitingTime = 0
 waiting time More...
 
MFXLCDLabelmyTimeLossLabel = nullptr
 time loss label More...
 
SUMOTime myTimeLoss = 0
 time loss More...
 
MFXLCDLabelmyTotalDistanceLabel = nullptr
 total distance label More...
 
double myTotalDistance = 0
 total distance More...
 
MFXLCDLabelmyEmergencyVehicleLabel = nullptr
 emergency vehicle label More...
 
SUMOTime myEmergencyVehicleCount = 0
 emergency vehicle count More...
 
FXToolBar * myToolBar6 = nullptr
 toolbars used in game More...
 
FXToolBar * myToolBar7 = nullptr
 
FXToolBar * myToolBar9 = nullptr
 
FXToolBar * myToolBar10 = nullptr
 
FXToolBarShell * myToolBarDrag6 = nullptr
 toolbars shell used in game More...
 
FXToolBarShell * myToolBarDrag7 = nullptr
 
FXToolBarShell * myToolBarDrag9 = nullptr
 
FXToolBarShell * myToolBarDrag10 = nullptr
 
long myLastStepEventMillis
 last time the simulation view was redrawn due to a simStep More...
 
std::map< int, Command * > myHotkeyPress
 custom hotkeys pressed More...
 
std::map< int, Command * > myHotkeyRelease
 custom hotkeys released More...
 
GUIDialog_BreakpointsmyBreakpointDialog = nullptr
 breakpoint dialog More...
 
static std::mt19937 myGamingRNG
 A random number generator used to choose a gaming sound. More...
 
void loadConfigOrNet (const std::string &file)
 starts to load a simulation More...
 
void closeAllWindows ()
 this method closes all windows and deletes the current simulation More...
 
void updateTimeLCD (SUMOTime time)
 updates the simulation time display More...
 
void updateTimeLCDTooltip ()
 update LCD timer tooltip More...
 
GUISUMOAbstractViewopenNewView (GUISUMOViewParent::ViewType vt=GUISUMOViewParent::VIEW_2D_OPENGL, std::string caption="")
 opens a new simulation display More...
 
void checkGamingEvents ()
 handles additional game-related events More...
 
void checkGamingEventsDRT ()
 handles additional game-related events (DRT) More...
 
 GUIApplicationWindow (const GUIApplicationWindow &s)=delete
 invalidate copy constructor More...
 
GUIApplicationWindowoperator= (const GUIApplicationWindow &s)=delete
 invalidate assignment operator More...
 

Detailed Description

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 60 of file GUIApplicationWindow.h.

Constructor & Destructor Documentation

◆ GUIApplicationWindow() [1/2]

GUIApplicationWindow::GUIApplicationWindow ( FXApp *  a,
const std::string &  configPattern 
)

Constructor.

Parameters
[in]aThe FOX application
[in]configPatternThe pattern used for loading configurations

Definition at line 242 of file GUIApplicationWindow.cpp.

References GUICursorSubSys::initCursors(), GUIIconSubSys::initIcons(), and GUITextureSubSys::initTextures().

◆ ~GUIApplicationWindow()

◆ GUIApplicationWindow() [2/2]

GUIApplicationWindow::GUIApplicationWindow ( const GUIApplicationWindow s)
privatedelete

invalidate copy constructor

Member Function Documentation

◆ addBreakpoint()

void GUIApplicationWindow::addBreakpoint ( SUMOTime  time)

Adds the given breakpoint.

Definition at line 2436 of file GUIApplicationWindow.cpp.

References retrieveBreakpoints(), setBreakpoints(), setStatusBarText(), time2string(), and TLF.

Referenced by onCmdBreakpoint(), and onCmdBreakpointEarly().

Here is the caller graph for this function:

◆ addChild()

void GUIMainWindow::addChild ( FXMainWindow *  child)
inherited

Adds a further child window to the list (FXMainWindow)

Definition at line 118 of file GUIMainWindow.cpp.

References GUIMainWindow::myTrackerLock, and GUIMainWindow::myTrackerWindows.

Referenced by GUIParameterTableWindow::closeBuilding(), GUIParameterTracker::GUIParameterTracker(), and GUITLLogicPhasesTrackerWindow::GUITLLogicPhasesTrackerWindow().

Here is the caller graph for this function:

◆ addGLChild()

void GUIMainWindow::addGLChild ( GUIGlChildWindow child)
inherited

Adds a further child window to the list (GUIGlChildWindow)

Definition at line 103 of file GUIMainWindow.cpp.

References GUIMainWindow::myGLWindows.

◆ addHotkey()

void GUIApplicationWindow::addHotkey ( int  key,
Command press,
Command release 
)

register custom hotkey action

Definition at line 2344 of file GUIApplicationWindow.cpp.

References myHotkeyPress, and myHotkeyRelease.

Referenced by GUINet::addHotkey().

Here is the caller graph for this function:

◆ addOnlineMap()

void GUIMainWindow::addOnlineMap ( const std::string &  name,
const std::string &  url 
)
inlineinherited

Definition at line 174 of file GUIMainWindow.h.

References GUIMainWindow::myOnlineMaps.

Referenced by GUIDialog_AppSettings::onCmdOk().

Here is the caller graph for this function:

◆ addRecentConfig()

void GUIApplicationWindow::addRecentConfig ( const FX::FXString &  f)

add recent config to recent file list

Definition at line 2284 of file GUIApplicationWindow.cpp.

References myRecentConfigs.

Referenced by GUILoadThread::run().

Here is the caller graph for this function:

◆ addRecentNetwork()

void GUIApplicationWindow::addRecentNetwork ( const FX::FXString &  f)

add recent network to recent file list

Definition at line 2278 of file GUIApplicationWindow.cpp.

References myRecentNetworks.

Referenced by GUILoadThread::run().

Here is the caller graph for this function:

◆ addToWindowsMenu()

void GUIApplicationWindow::addToWindowsMenu ( FXMenuPane *  menuPane)
protectedvirtual

FOX need this.

add the given menuPane to windows Menu

Definition at line 444 of file GUIApplicationWindow.cpp.

Referenced by fillMenuBar().

Here is the caller graph for this function:

◆ buildLanguageMenu()

void GUIMainWindow::buildLanguageMenu ( FXMenuBar *  menuBar)
protectedinherited

◆ buildRecentConfigs()

void GUIApplicationWindow::buildRecentConfigs ( FXMenuPane *  fileMenu,
FXMenuPane *  fileMenuRecentConfigs 
)
protected

build recent configs

Definition at line 831 of file GUIApplicationWindow.cpp.

References GUIDesigns::buildFXMenuCommand(), GUIDesigns::buildFXMenuCommandRecentFile(), MFXRecentNetworks::ID_NOFILES, MID_RECENTFILE, myRecentConfigs, and TL.

Referenced by fillMenuBar().

Here is the caller graph for this function:

◆ buildRecentNetworks()

void GUIApplicationWindow::buildRecentNetworks ( FXMenuPane *  fileMenu,
FXMenuPane *  fileMenuRecentNetworks 
)
protected

build recent networks

Definition at line 808 of file GUIApplicationWindow.cpp.

References GUIDesigns::buildFXMenuCommand(), GUIDesigns::buildFXMenuCommandRecentFile(), MFXRecentNetworks::ID_NOFILES, MID_RECENTFILE, myRecentNetworks, and TL.

Referenced by fillMenuBar().

Here is the caller graph for this function:

◆ buildToolBars()

void GUIApplicationWindow::buildToolBars ( )
protectedvirtual

Builds the tool bar.

game specific stuff

Definition at line 668 of file GUIApplicationWindow.cpp.

References GUIDesigns::buildFXLabel(), 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, myScaleTrafficTooltip, 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().

Here is the caller graph for this function:

◆ checkGamingEvents()

◆ checkGamingEventsDRT()

void GUIApplicationWindow::checkGamingEventsDRT ( )
private

◆ closeAllWindows()

◆ create()

◆ dependentBuild()

◆ detach()

void GUIApplicationWindow::detach ( )
virtual

Detaches the tool/menu bar.

Definition at line 436 of file GUIApplicationWindow.cpp.

References myMenuBarDrag, and myToolBarDrag1.

◆ eraseBreakpointDialog()

void GUIApplicationWindow::eraseBreakpointDialog ( )

erase current breakpoint dialog

Definition at line 2457 of file GUIApplicationWindow.cpp.

References myBreakpointDialog.

Referenced by GUIDialog_Breakpoints::~GUIDialog_Breakpoints().

Here is the caller graph for this function:

◆ eventOccurred()

◆ fillMenuBar()

void GUIApplicationWindow::fillMenuBar ( )
protectedvirtual

Builds the menu bar.

Definition at line 450 of file GUIApplicationWindow.cpp.

References addToWindowsMenu(), APP_BREAKPOINTS, GUIShortcutsSubSys::buildAccelerators(), GUIDesigns::buildFXMenuCheckbox(), 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_ALT_B_BREAKPOINT_EARLY, MID_HOTKEY_B_BREAKPOINT, 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_TOOLBAREDIT_LOADADDITIONALS, MID_TOOLBAREDIT_LOADDEMAND, MID_TUTORIAL, myControlMenu, myEditMenu, myFileMenu, myFileMenuRecentConfigs, myFileMenuRecentNetworks, myGamingModeCheckbox, myHelpMenu, GUIMainWindow::myListParking, myLoadAdditionalsInNetedit, myLoadDemandInNetedit, myLocatorMenu, GUIMainWindow::myMDIClient, myMenuBar, myMessageWindow, myOpenInNetedit, 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().

Here is the caller graph for this function:

◆ getActiveView()

GUISUMOAbstractView * GUIMainWindow::getActiveView ( ) const
inherited

get the active view or 0

Definition at line 278 of file GUIMainWindow.cpp.

References GUIGlChildWindow::getView(), and GUIMainWindow::myMDIClient.

Referenced by GUIVehicle::drawOutsideNetwork().

Here is the caller graph for this function:

◆ getBoldFont()

FXFont * GUIMainWindow::getBoldFont ( )
inherited

get bold front

Definition at line 174 of file GUIMainWindow.cpp.

References GUIMainWindow::myBoldFont.

Referenced by GUICursorDialog::buildDialogElements(), GUIGlObject::buildPopupHeader(), and GNEElementTree::createPopUpMenu().

Here is the caller graph for this function:

◆ getBuildGLCanvas()

FXGLCanvas * GUIApplicationWindow::getBuildGLCanvas ( ) const
virtual

get build GLCanvas

Implements GUIMainWindow.

Definition at line 2189 of file GUIApplicationWindow.cpp.

References GUIGlChildWindow::getBuildGLCanvas(), and GUIMainWindow::myMDIClient.

Referenced by openNewView().

Here is the caller graph for this function:

◆ getCartesianLabel()

FXLabel * GUIMainWindow::getCartesianLabel ( )
inherited

get cartesian label

Definition at line 221 of file GUIMainWindow.cpp.

References GUIMainWindow::myCartesianCoordinate.

Referenced by GUISUMOAbstractView::updatePositionInformationLabel().

Here is the caller graph for this function:

◆ getCurrentSimTime()

SUMOTime GUIApplicationWindow::getCurrentSimTime ( ) const
virtual

get current simulation time

Implements GUIMainWindow.

Definition at line 2248 of file GUIApplicationWindow.cpp.

References MSNet::getCurrentTimeStep(), GUIRunThread::getNet(), and myRunThread.

◆ getDefaultCursor()

FXCursor * GUIApplicationWindow::getDefaultCursor ( )

get default cursor

Definition at line 2242 of file GUIApplicationWindow.cpp.

◆ getDelay()

double GUIApplicationWindow::getDelay ( ) const
virtual

Returns the simulation delay in miliseconds.

Reimplemented from GUIMainWindow.

Definition at line 2403 of file GUIApplicationWindow.cpp.

References mySimDelay.

◆ getFallbackFont()

FXFont * GUIMainWindow::getFallbackFont ( )
inherited

get fallback front

Definition at line 179 of file GUIMainWindow.cpp.

References GUIMainWindow::myFallbackFont.

Referenced by GUIParameterTableWindow::checkFont().

Here is the caller graph for this function:

◆ getGeoLabel()

FXLabel * GUIMainWindow::getGeoLabel ( )
inherited

get geo label

Definition at line 227 of file GUIMainWindow.cpp.

References GUIMainWindow::myGeoCoordinate.

Referenced by GUISUMOAbstractView::updatePositionInformationLabel().

Here is the caller graph for this function:

◆ getGLVisual()

FXGLVisual * GUIMainWindow::getGLVisual ( ) const
inherited

get GL Visual

Definition at line 203 of file GUIMainWindow.cpp.

References GUIMainWindow::myGLVisual.

Referenced by GUISUMOViewParent::init().

Here is the caller graph for this function:

◆ getInstance()

GUIMainWindow * GUIMainWindow::getInstance ( void  )
staticinherited

get instance

Definition at line 269 of file GUIMainWindow.cpp.

References GUIMainWindow::myInstance.

Referenced by GUINet::addHotkey(), GUIVehicle::drawOutsideNetwork(), GUITexturesHelper::getTextureID(), GUIMessageWindow::setCursorPos(), GUINet::updateGUI(), and GUIRunThread::waitForSnapshots().

Here is the caller graph for this function:

◆ getOnlineMaps()

const std::map<std::string, std::string>& GUIMainWindow::getOnlineMaps ( ) const
inlineinherited

Definition at line 170 of file GUIMainWindow.h.

References GUIMainWindow::myOnlineMaps.

Referenced by GUIGlObject::buildPositionCopyEntry(), and GUIGLObjectPopupMenu::onCmdShowCursorGeoPositionOnline().

Here is the caller graph for this function:

◆ getRunner()

GUIRunThread * GUIApplicationWindow::getRunner ( )

get run thread

Definition at line 263 of file GUIApplicationWindow.cpp.

References myRunThread.

◆ getStaticTooltipMenu()

◆ getStaticTooltipView()

MFXStaticToolTip * GUIMainWindow::getStaticTooltipView ( ) const
inherited

get static toolTip for view

Definition at line 215 of file GUIMainWindow.cpp.

References GUIMainWindow::myStaticTooltipView.

Referenced by GUIGlChildWindow::buildNavigationToolBar(), GUIGlChildWindow::onCmdShowToolTipsView(), GUISUMOAbstractView::paintGL(), GNEUndoListDialog::recalcList(), GUISUMOAbstractView::showToolTipFor(), and GUISUMOAbstractView::updateToolTip().

Here is the caller graph for this function:

◆ getTestFrame()

FXHorizontalFrame * GUIMainWindow::getTestFrame ( )
inherited

get test frame

Definition at line 239 of file GUIMainWindow.cpp.

References GUIMainWindow::myTestFrame.

Referenced by GUISUMOAbstractView::updatePositionInformationLabel().

Here is the caller graph for this function:

◆ getTestLabel()

FXLabel * GUIMainWindow::getTestLabel ( )
inherited

get test label

Definition at line 233 of file GUIMainWindow.cpp.

References GUIMainWindow::myTestCoordinate.

Referenced by GUISUMOAbstractView::updatePositionInformationLabel().

Here is the caller graph for this function:

◆ getTopDock()

FXDockSite * GUIMainWindow::getTopDock ( )
inherited

get top dock

Definition at line 135 of file GUIMainWindow.cpp.

References GUIMainWindow::myTopDock.

◆ getTrackerInterval()

double GUIApplicationWindow::getTrackerInterval ( ) const
virtual

get tracker interval

Implements GUIMainWindow.

Definition at line 2254 of file GUIApplicationWindow.cpp.

References GUIGlobals::gTrackerInterval.

◆ getViewByID()

GUIGlChildWindow * GUIMainWindow::getViewByID ( const std::string &  id) const
inherited

get specific view by ID

Definition at line 151 of file GUIMainWindow.cpp.

References GUIMainWindow::myGLWindows.

◆ getViewIDs()

std::vector< std::string > GUIMainWindow::getViewIDs ( ) const
inherited

get view IDs

Definition at line 141 of file GUIMainWindow.cpp.

References GUIMainWindow::myGLWindows.

◆ getViews()

const std::vector< GUIGlChildWindow * > & GUIMainWindow::getViews ( ) const
inherited

get views

Definition at line 184 of file GUIMainWindow.cpp.

References GUIMainWindow::myGLWindows.

Referenced by GUIRunThread::waitForSnapshots().

Here is the caller graph for this function:

◆ handleEvent_Message()

void GUIApplicationWindow::handleEvent_Message ( GUIEvent e)

called when event "message" ocurred

Definition at line 2016 of file GUIApplicationWindow.cpp.

References GUIMessageWindow::appendMsg(), GUIEvent_Message::getMsg(), GUIEvent::getOwnType(), myMessageWindow, setStatusBarText(), and STATUS_OCCURRED.

Referenced by eventOccurred().

Here is the caller graph for this function:

◆ handleEvent_SimulationEnded()

void GUIApplicationWindow::handleEvent_SimulationEnded ( GUIEvent e)

◆ handleEvent_SimulationLoaded()

void GUIApplicationWindow::handleEvent_SimulationLoaded ( GUIEvent e)

called when event "simulation loaded" ocurred

Definition at line 1822 of file GUIApplicationWindow.cpp.

References GUISUMOAbstractView::addDecals(), GUISettingsHandler::applyViewport(), GUICompleteSchemeStorage::clearDecals(), closeAllWindows(), DELTA_T, MFXComboBoxIcon::findItem(), GUIRunThread::getBreakpointLock(), GUIRunThread::getBreakpoints(), GUISettingsHandler::getBreakpoints(), GUISUMOAbstractView::getColoringSchemesCombo(), GUISettingsHandler::getDecals(), GUISettingsHandler::getDelay(), GUISettingsHandler::getEventDistribution(), GUISettingsHandler::getJamSoundTime(), SysUtils::getModifiedTime(), GUIRunThread::getNet(), OptionsCont::getOptions(), GUISettingsHandler::getSettingName(), OptionsCont::getString(), 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(), MFXComboBoxIcon::setCurrentItem(), 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().

Here is the caller graph for this function:

◆ handleEvent_SimulationStep()

◆ isFullScreen()

bool GUIMainWindow::isFullScreen ( )
inlineinherited

Definition at line 166 of file GUIMainWindow.h.

References GUIMainWindow::myAmFullScreen.

Referenced by GUIViewTraffic::onDoubleClicked().

Here is the caller graph for this function:

◆ isGaming()

bool GUIMainWindow::isGaming ( ) const
inherited

return whether the gui is in gaming mode

Definition at line 245 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().

Here is the caller graph for this function:

◆ listInternal()

bool GUIMainWindow::listInternal ( ) const
inherited

return whether to list internal structures

Definition at line 251 of file GUIMainWindow.cpp.

References GUIMainWindow::myListInternal.

Referenced by GUISUMOViewParent::getObjectIDs().

Here is the caller graph for this function:

◆ listParking()

bool GUIMainWindow::listParking ( ) const
inherited

return whether to list parking vehicles

Definition at line 257 of file GUIMainWindow.cpp.

References GUIMainWindow::myListParking.

Referenced by fillMenuBar(), and GUISUMOViewParent::getObjectIDs().

Here is the caller graph for this function:

◆ listTeleporting()

bool GUIMainWindow::listTeleporting ( ) const
inherited

return whether to list teleporting vehicles

Definition at line 263 of file GUIMainWindow.cpp.

References GUIMainWindow::myListTeleporting.

Referenced by GUISUMOViewParent::getObjectIDs().

Here is the caller graph for this function:

◆ loadConfigOrNet()

void GUIApplicationWindow::loadConfigOrNet ( const std::string &  file)
private

starts to load a simulation

Definition at line 2137 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().

Here is the caller graph for this function:

◆ loadOnStartup()

void GUIApplicationWindow::loadOnStartup ( const bool  wait = false)

config or net on startup

Definition at line 2260 of file GUIApplicationWindow.cpp.

References loadConfigOrNet(), myAmLoading, myRunThread, and MFXSingleEventThread::sleep().

Referenced by main().

Here is the caller graph for this function:

◆ onClipboardRequest()

long GUIApplicationWindow::onClipboardRequest ( FXObject *  sender,
FXSelector  sel,
void *  ptr 
)

Somebody wants our clipped text.

Definition at line 1743 of file GUIApplicationWindow.cpp.

References GUIUserIO::clipped.

Referenced by FXDEFMAP().

Here is the caller graph for this function:

◆ onCmdAbout()

long GUIApplicationWindow::onCmdAbout ( FXObject *  ,
FXSelector  ,
void *   
)

Shows the about dialog.

Definition at line 1726 of file GUIApplicationWindow.cpp.

References GUIDialog_AboutSUMO::create().

Referenced by FXDEFMAP().

Here is the caller graph for this function:

◆ onCmdAppSettings()

long GUIApplicationWindow::onCmdAppSettings ( FXObject *  ,
FXSelector  ,
void *   
)

Opens the application settings menu (Settings->Application Settings...)

Definition at line 1539 of file GUIApplicationWindow.cpp.

Referenced by FXDEFMAP().

Here is the caller graph for this function:

◆ onCmdBreakpoint()

long GUIApplicationWindow::onCmdBreakpoint ( FXObject *  ,
FXSelector  ,
void *   
)

Called to set a breakpoint via hotkey.

Definition at line 1414 of file GUIApplicationWindow.cpp.

References addBreakpoint(), DELTA_T, myRunThread, GUIRunThread::networkAvailable(), and SIMSTEP.

Referenced by FXDEFMAP().

Here is the caller graph for this function:

◆ onCmdBreakpointEarly()

long GUIApplicationWindow::onCmdBreakpointEarly ( FXObject *  ,
FXSelector  ,
void *   
)

Called to set an early breakpoint via hotkey.

Definition at line 1424 of file GUIApplicationWindow.cpp.

References addBreakpoint(), DELTA_T, GUIMessageWindow::getBreakPointOffset(), myRunThread, GUIRunThread::networkAvailable(), and SIMSTEP.

Referenced by FXDEFMAP().

Here is the caller graph for this function:

◆ onCmdChangeLanguage()

long GUIMainWindow::onCmdChangeLanguage ( FXObject *  ,
FXSelector  sel,
void *   
)
inherited

Definition at line 365 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().

Here is the caller graph for this function:

◆ onCmdChangelog()

long GUIApplicationWindow::onCmdChangelog ( FXObject *  sender,
FXSelector  sel,
void *  ptr 
)

called if the user selects help->Changelog

Definition at line 940 of file GUIApplicationWindow.cpp.

References MFXLinkLabel::fxexecute().

Referenced by FXDEFMAP().

Here is the caller graph for this function:

◆ onCmdClearMsgWindow()

long GUIApplicationWindow::onCmdClearMsgWindow ( FXObject *  ,
FXSelector  ,
void *   
)

Called if the message window shall be cleared.

Definition at line 1407 of file GUIApplicationWindow.cpp.

References GUIMessageWindow::clear(), and myMessageWindow.

Referenced by FXDEFMAP().

Here is the caller graph for this function:

◆ onCmdClose()

long GUIApplicationWindow::onCmdClose ( FXObject *  ,
FXSelector  ,
void *   
)

Called on menu File->Close.

Definition at line 1205 of file GUIApplicationWindow.cpp.

References closeAllWindows().

Referenced by FXDEFMAP().

Here is the caller graph for this function:

◆ onCmdDelayDec()

long GUIApplicationWindow::onCmdDelayDec ( FXObject *  ,
FXSelector  ,
void *   
)

Called on "delay dec".

Definition at line 1372 of file GUIApplicationWindow.cpp.

References mySimDelay, mySimDelaySlider, and mySimDelaySpinner.

Referenced by FXDEFMAP(), and onKeyPress().

Here is the caller graph for this function:

◆ onCmdDelayInc()

long GUIApplicationWindow::onCmdDelayInc ( FXObject *  ,
FXSelector  ,
void *   
)

Called on "delay inc".

Definition at line 1351 of file GUIApplicationWindow.cpp.

References mySimDelay, mySimDelaySlider, and mySimDelaySpinner.

Referenced by FXDEFMAP(), and onKeyPress().

Here is the caller graph for this function:

◆ onCmdDelayToggle()

long GUIApplicationWindow::onCmdDelayToggle ( FXObject *  ,
FXSelector  ,
void *   
)

Called on "delay toggle".

Definition at line 1389 of file GUIApplicationWindow.cpp.

References myAlternateSimDelay, and mySimDelay.

Referenced by FXDEFMAP().

Here is the caller graph for this function:

◆ onCmdDemandScale()

long GUIApplicationWindow::onCmdDemandScale ( FXObject *  ,
FXSelector  ,
void *   
)

Called on "demand scale".

Definition at line 1398 of file GUIApplicationWindow.cpp.

References GUIRunThread::getNet(), MSNet::getVehicleControl(), myDemandScaleSpinner, myRunThread, GUIRunThread::networkAvailable(), and MSVehicleControl::setScale().

Referenced by FXDEFMAP().

Here is the caller graph for this function:

◆ onCmdEditBreakpoints()

long GUIApplicationWindow::onCmdEditBreakpoints ( FXObject *  ,
FXSelector  ,
void *   
)

Called on menu Edit->Edit Breakpoints.

Definition at line 902 of file GUIApplicationWindow.cpp.

References GUIRunThread::getBreakpointLock(), GUIRunThread::getBreakpoints(), GUIRunThread::getSimBegin(), myBreakpointDialog, and myRunThread.

Referenced by FXDEFMAP().

Here is the caller graph for this function:

◆ onCmdEditChosen()

long GUIApplicationWindow::onCmdEditChosen ( FXObject *  menu,
FXSelector  ,
void *   
)

◆ onCmdEditViewport()

long GUIApplicationWindow::onCmdEditViewport ( FXObject *  ,
FXSelector  ,
void *   
)

Called on menu Edit->Viewport.

Definition at line 915 of file GUIApplicationWindow.cpp.

References GUIMainWindow::myGLWindows.

Referenced by FXDEFMAP().

Here is the caller graph for this function:

◆ onCmdEditViewScheme()

long GUIApplicationWindow::onCmdEditViewScheme ( FXObject *  ,
FXSelector  ,
void *   
)

Called on menu Edit->Visualization.

Definition at line 924 of file GUIApplicationWindow.cpp.

References GUIMainWindow::myGLWindows.

Referenced by FXDEFMAP().

Here is the caller graph for this function:

◆ onCmdFeedback()

long GUIApplicationWindow::onCmdFeedback ( FXObject *  ,
FXSelector  ,
void *   
)

Shows the feedback dialog.

Definition at line 1716 of file GUIApplicationWindow.cpp.

References GUIDialog_Feedback::create().

Referenced by FXDEFMAP().

Here is the caller graph for this function:

◆ onCmdFullScreen()

long GUIApplicationWindow::onCmdFullScreen ( FXObject *  ,
FXSelector  ,
void *   
)
virtual

Toggle full screen mode.

Reimplemented from GUIMainWindow.

Definition at line 1632 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().

Here is the caller graph for this function:

◆ onCmdGaming()

◆ onCmdHallOfFame()

long GUIApplicationWindow::onCmdHallOfFame ( FXObject *  ,
FXSelector  ,
void *   
)

Shows the Hall of Fame dialog.

Definition at line 1735 of file GUIApplicationWindow.cpp.

References GUIDialog_HallOfFame::create().

Referenced by FXDEFMAP().

Here is the caller graph for this function:

◆ onCmdHelp()

long GUIApplicationWindow::onCmdHelp ( FXObject *  sender,
FXSelector  sel,
void *  ptr 
)

called if the user selects help->Documentation

Definition at line 933 of file GUIApplicationWindow.cpp.

References MFXLinkLabel::fxexecute().

Referenced by FXDEFMAP().

Here is the caller graph for this function:

◆ onCmdHotkeys()

long GUIApplicationWindow::onCmdHotkeys ( FXObject *  sender,
FXSelector  sel,
void *  ptr 
)

called if the user selects help->Hotkeys

Definition at line 948 of file GUIApplicationWindow.cpp.

References MFXLinkLabel::fxexecute().

Referenced by FXDEFMAP().

Here is the caller graph for this function:

◆ onCmdListInternal()

long GUIApplicationWindow::onCmdListInternal ( FXObject *  ,
FXSelector  ,
void *   
)

Toggle listing of internal structures.

Definition at line 1680 of file GUIApplicationWindow.cpp.

References GUIMainWindow::myListInternal.

Referenced by FXDEFMAP().

Here is the caller graph for this function:

◆ onCmdListParking()

long GUIApplicationWindow::onCmdListParking ( FXObject *  ,
FXSelector  ,
void *   
)

Toggle listing of parking vehicles.

Definition at line 1687 of file GUIApplicationWindow.cpp.

References GUIMainWindow::myListParking.

Referenced by FXDEFMAP().

Here is the caller graph for this function:

◆ onCmdListTeleporting()

long GUIApplicationWindow::onCmdListTeleporting ( FXObject *  ,
FXSelector  ,
void *   
)

Toggle listing of teleporting vehicles.

Definition at line 1693 of file GUIApplicationWindow.cpp.

References GUIMainWindow::myListTeleporting.

Referenced by FXDEFMAP().

Here is the caller graph for this function:

◆ onCmdLoadState()

long GUIApplicationWindow::onCmdLoadState ( FXObject *  ,
FXSelector  ,
void *   
)

Called on "save state".

Definition at line 1315 of file GUIApplicationWindow.cpp.

References gCurrentFolder, GUIIconSubSys::getIcon(), MSNet::getInstance(), MSNet::loadState(), OPEN, setStatusBarText(), TL, and TLF.

Referenced by FXDEFMAP().

Here is the caller graph for this function:

◆ onCmdLocate()

long GUIApplicationWindow::onCmdLocate ( FXObject *  ,
FXSelector  sel,
void *   
)

Called on menu commands from the Locator menu.

Definition at line 1517 of file GUIApplicationWindow.cpp.

References GUIMainWindow::myMDIClient, and GUISUMOViewParent::onCmdLocate().

Referenced by FXDEFMAP().

Here is the caller graph for this function:

◆ onCmdNewView()

long GUIApplicationWindow::onCmdNewView ( FXObject *  ,
FXSelector  ,
void *   
)

Called if a new view shall be opened (2D view)

Definition at line 1700 of file GUIApplicationWindow.cpp.

References openNewView(), and GUISUMOViewParent::VIEW_2D_OPENGL.

Referenced by FXDEFMAP().

Here is the caller graph for this function:

◆ onCmdNewWindow()

long GUIApplicationWindow::onCmdNewWindow ( FXObject *  ,
FXSelector  ,
void *   
)

Called on menu File->New Window.

Definition at line 1011 of file GUIApplicationWindow.cpp.

References FileHelpers::isReadable(), SysUtils::runHiddenCommand(), TL, and WRITE_MESSAGEF.

Referenced by FXDEFMAP().

Here is the caller graph for this function:

◆ onCmdOpenConfiguration()

long GUIApplicationWindow::onCmdOpenConfiguration ( FXObject *  ,
FXSelector  ,
void *   
)

Called on menu File->Open Configuration.

Definition at line 1037 of file GUIApplicationWindow.cpp.

References gCurrentFolder, GUIIconSubSys::getIcon(), loadConfigOrNet(), myConfigPattern, myRecentConfigs, OPEN_SUMOCONFIG, and TL.

Referenced by FXDEFMAP().

Here is the caller graph for this function:

◆ onCmdOpenEdgeData()

long GUIApplicationWindow::onCmdOpenEdgeData ( FXObject *  ,
FXSelector  ,
void *   
)

Called on menu File->Load EdgeData.

Definition at line 1108 of file GUIApplicationWindow.cpp.

References gCurrentFolder, GUINet::getGUIInstance(), GUIIconSubSys::getIcon(), GUIGlChildWindow::getView(), GUIMainWindow::myMDIClient, OPEN_NET, TL, and WRITE_MESSAGEF.

Referenced by FXDEFMAP().

Here is the caller graph for this function:

◆ onCmdOpenInNetedit()

long GUIApplicationWindow::onCmdOpenInNetedit ( FXObject *  ,
FXSelector  ,
void *   
)

Called on menu Edit->open in Netedit.

Definition at line 962 of file GUIApplicationWindow.cpp.

References GUISUMOAbstractView::getChanger(), OptionsCont::getOptions(), OptionsCont::getString(), GUIPerspectiveChanger::getXPos(), GUIPerspectiveChanger::getYPos(), GUIPerspectiveChanger::getZPos(), FileHelpers::isReadable(), GUIMainWindow::myGLWindows, myLoadAdditionalsInNetedit, myLoadDemandInNetedit, SysUtils::runHiddenCommand(), TL, and WRITE_MESSAGEF.

Referenced by FXDEFMAP().

Here is the caller graph for this function:

◆ onCmdOpenNetwork()

long GUIApplicationWindow::onCmdOpenNetwork ( FXObject *  ,
FXSelector  ,
void *   
)

Called on menu File->Open Network.

Definition at line 1057 of file GUIApplicationWindow.cpp.

References gCurrentFolder, GUIIconSubSys::getIcon(), loadConfigOrNet(), myRecentNetworks, OPEN_NET, and TL.

Referenced by FXDEFMAP().

Here is the caller graph for this function:

◆ onCmdOpenRecent()

long GUIApplicationWindow::onCmdOpenRecent ( FXObject *  ,
FXSelector  ,
void *  ptr 
)

Called on opening a recent file.

Definition at line 1166 of file GUIApplicationWindow.cpp.

References loadConfigOrNet(), myAmLoading, GUIMainWindow::myStatusbar, and TL.

Referenced by FXDEFMAP().

Here is the caller graph for this function:

◆ onCmdOpenShapes()

long GUIApplicationWindow::onCmdOpenShapes ( FXObject *  ,
FXSelector  ,
void *   
)

Called on menu File->Load Shapes.

Definition at line 1077 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().

Here is the caller graph for this function:

◆ onCmdQuickReload()

long GUIApplicationWindow::onCmdQuickReload ( FXObject *  ,
FXSelector  ,
void *   
)

Called on quick-reload.

Definition at line 1156 of file GUIApplicationWindow.cpp.

References MSNet::getInstance(), myAmLoading, MSNet::quickReload(), setStatusBarText(), and TL.

Referenced by FXDEFMAP().

Here is the caller graph for this function:

◆ onCmdQuit()

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 854 of file GUIApplicationWindow.cpp.

References closeAllWindows(), gCurrentFolder, myAlternateSimDelay, myShowTimeAsHMS, and GUIMainWindow::storeWindowSizeAndPos().

Referenced by FXDEFMAP().

Here is the caller graph for this function:

◆ onCmdReload()

long GUIApplicationWindow::onCmdReload ( FXObject *  sender,
FXSelector  sel,
void *   
)

Called on reload.

Definition at line 1136 of file GUIApplicationWindow.cpp.

References closeAllWindows(), TraCIServer::getInstance(), myAmLoading, myIsReload, myLoadThread, setStatusBarText(), GUIMainWindow::storeWindowSizeAndPos(), and TL.

Referenced by FXDEFMAP(), and handleEvent_SimulationEnded().

Here is the caller graph for this function:

◆ onCmdSaveConfig()

long GUIApplicationWindow::onCmdSaveConfig ( FXObject *  ,
FXSelector  ,
void *   
)

Called on menu File->Close.

Definition at line 1178 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().

Here is the caller graph for this function:

◆ onCmdSaveState()

long GUIApplicationWindow::onCmdSaveState ( FXObject *  ,
FXSelector  ,
void *   
)

Called on "save state".

Definition at line 1293 of file GUIApplicationWindow.cpp.

References MFXUtils::assureExtension(), gCurrentFolder, GUIIconSubSys::getIcon(), MSNet::getInstance(), SAVE, MSStateHandler::saveState(), setStatusBarText(), TL, TLF, and MFXUtils::userPermitsOverwritingWhenFileExists().

Referenced by FXDEFMAP().

Here is the caller graph for this function:

◆ onCmdShowStats()

long GUIApplicationWindow::onCmdShowStats ( FXObject *  ,
FXSelector  ,
void *   
)

Called on commands from the statistic buttons.

Definition at line 1529 of file GUIApplicationWindow.cpp.

References GUINet::getGUIInstance(), GUINet::getParameterWindow(), GUIGlChildWindow::getView(), and GUIMainWindow::myMDIClient.

Referenced by FXDEFMAP().

Here is the caller graph for this function:

◆ onCmdStart()

long GUIApplicationWindow::onCmdStart ( FXObject *  ,
FXSelector  ,
void *   
)

Called on "play".

Definition at line 1250 of file GUIApplicationWindow.cpp.

References GUIRunThread::begin(), myRunThread, GUIMainWindow::myStatusbar, myWasStarted, GUIRunThread::networkAvailable(), GUIRunThread::resume(), and TL.

Referenced by FXDEFMAP(), and handleEvent_SimulationLoaded().

Here is the caller graph for this function:

◆ onCmdStep()

long GUIApplicationWindow::onCmdStep ( FXObject *  ,
FXSelector  ,
void *   
)

Called on "step".

Definition at line 1276 of file GUIApplicationWindow.cpp.

References GUIRunThread::begin(), myRunThread, GUIMainWindow::myStatusbar, myWasStarted, GUIRunThread::networkAvailable(), GUIRunThread::singleStep(), and TL.

Referenced by FXDEFMAP().

Here is the caller graph for this function:

◆ onCmdStop()

long GUIApplicationWindow::onCmdStop ( FXObject *  ,
FXSelector  ,
void *   
)

Called on "stop".

Definition at line 1268 of file GUIApplicationWindow.cpp.

References myRunThread, and GUIRunThread::stop().

Referenced by FXDEFMAP(), and handleEvent_SimulationEnded().

Here is the caller graph for this function:

◆ onCmdTimeToggle()

long GUIApplicationWindow::onCmdTimeToggle ( FXObject *  ,
FXSelector  ,
void *   
)

Called on "time toggle".

Definition at line 1339 of file GUIApplicationWindow.cpp.

References MSNet::getCurrentTimeStep(), GUIRunThread::getNet(), myRunThread, myShowTimeAsHMS, GUIRunThread::networkAvailable(), updateTimeLCD(), and updateTimeLCDTooltip().

Referenced by FXDEFMAP().

Here is the caller graph for this function:

◆ onCmdToggleDrawJunctionShape()

long GUIApplicationWindow::onCmdToggleDrawJunctionShape ( FXObject *  ,
FXSelector  ,
void *   
)

Toggle draw junction shape.

Definition at line 1604 of file GUIApplicationWindow.cpp.

References GUIVisualizationSettings::drawJunctionShape, GUISUMOAbstractView::editVisualisationSettings(), GUIGlChildWindow::getView(), GUISUMOAbstractView::getVisualisationSettings(), and GUIMainWindow::myMDIClient.

Referenced by FXDEFMAP().

Here is the caller graph for this function:

◆ onCmdToggleSecondaryShape()

long GUIApplicationWindow::onCmdToggleSecondaryShape ( FXObject *  ,
FXSelector  ,
void *   
)

Toggle draw junction shape.

Definition at line 1620 of file GUIApplicationWindow.cpp.

References GUISUMOAbstractView::editVisualisationSettings(), GUIGlChildWindow::getView(), GUISUMOAbstractView::getVisualisationSettings(), GUIMainWindow::myMDIClient, and GUIVisualizationSettings::secondaryShape.

Referenced by FXDEFMAP().

Here is the caller graph for this function:

◆ onCmdTutorial()

long GUIApplicationWindow::onCmdTutorial ( FXObject *  sender,
FXSelector  sel,
void *  ptr 
)

called if the user selects help->Tutorial

Definition at line 955 of file GUIApplicationWindow.cpp.

References MFXLinkLabel::fxexecute().

Referenced by FXDEFMAP().

Here is the caller graph for this function:

◆ onKeyPress()

long GUIApplicationWindow::onKeyPress ( FXObject *  o,
FXSelector  sel,
void *  data 
)

called when a key is pressed

Definition at line 2355 of file GUIApplicationWindow.cpp.

References GUIMainWindow::myAmGaming, myHotkeyPress, GUIMainWindow::myMDIClient, onCmdDelayDec(), onCmdDelayInc(), GUISUMOViewParent::onKeyPress(), and SIMSTEP.

Referenced by FXDEFMAP().

Here is the caller graph for this function:

◆ onKeyRelease()

long GUIApplicationWindow::onKeyRelease ( FXObject *  o,
FXSelector  sel,
void *  data 
)

called when a key is released

Definition at line 2385 of file GUIApplicationWindow.cpp.

References myHotkeyRelease, GUIMainWindow::myMDIClient, GUISUMOViewParent::onKeyRelease(), and SIMSTEP.

Referenced by FXDEFMAP().

Here is the caller graph for this function:

◆ onLoadThreadEvent()

long GUIApplicationWindow::onLoadThreadEvent ( FXObject *  ,
FXSelector  ,
void *   
)

Called on an event from the loading thread.

Definition at line 1752 of file GUIApplicationWindow.cpp.

References eventOccurred().

Referenced by FXDEFMAP().

Here is the caller graph for this function:

◆ onRunThreadEvent()

long GUIApplicationWindow::onRunThreadEvent ( FXObject *  ,
FXSelector  ,
void *   
)

Called on an event from the simulation thread.

Definition at line 1759 of file GUIApplicationWindow.cpp.

References eventOccurred().

Referenced by FXDEFMAP().

Here is the caller graph for this function:

◆ onUpdAddView()

long GUIApplicationWindow::onUpdAddView ( FXObject *  sender,
FXSelector  ,
void *  ptr 
)

Determines whether adding a view is enabled.

Definition at line 1240 of file GUIApplicationWindow.cpp.

References myAmLoading, myRunThread, and GUIRunThread::networkAvailable().

Referenced by FXDEFMAP().

Here is the caller graph for this function:

◆ onUpdChangeLanguage()

long GUIMainWindow::onUpdChangeLanguage ( FXObject *  obj,
FXSelector  ,
void *   
)
inherited

Definition at line 442 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().

Here is the caller graph for this function:

◆ onUpdNeedsNetwork()

long GUIApplicationWindow::onUpdNeedsNetwork ( FXObject *  sender,
FXSelector  ,
void *  ptr 
)

Determines whether some buttons which require an active network may be shown.

Definition at line 1472 of file GUIApplicationWindow.cpp.

References myAmLoading, myRunThread, myScaleTrafficTooltip, mySelectLanesMenuCascade, GUIRunThread::networkAvailable(), and TL.

Referenced by FXDEFMAP().

Here is the caller graph for this function:

◆ onUpdNeedsSumoConfig()

long GUIApplicationWindow::onUpdNeedsSumoConfig ( FXObject *  sender,
FXSelector  ,
void *  ptr 
)

Determines whether some buttons which require an sumoConfig may be shown.

Definition at line 1490 of file GUIApplicationWindow.cpp.

References OptionsCont::getOptions(), OptionsCont::isSet(), myAmLoading, myOpenInNetedit, myRunThread, GUIRunThread::networkAvailable(), and TL.

Referenced by FXDEFMAP().

Here is the caller graph for this function:

◆ onUpdOpen()

long GUIApplicationWindow::onUpdOpen ( FXObject *  sender,
FXSelector  ,
void *  ptr 
)

Determines whether opening is enabled.

Definition at line 1212 of file GUIApplicationWindow.cpp.

References myAmLoading.

Referenced by FXDEFMAP().

Here is the caller graph for this function:

◆ onUpdOpenRecent()

long GUIApplicationWindow::onUpdOpenRecent ( FXObject *  sender,
FXSelector  ,
void *  ptr 
)

Determines whether opening a recent file is enabled.

Definition at line 1231 of file GUIApplicationWindow.cpp.

References myAmLoading.

Referenced by FXDEFMAP().

Here is the caller graph for this function:

◆ onUpdReload()

long GUIApplicationWindow::onUpdReload ( FXObject *  sender,
FXSelector  ,
void *  ptr 
)

Determines whether reloading is enabled.

Definition at line 1221 of file GUIApplicationWindow.cpp.

References GUILoadThread::getFileName(), TraCIServer::getInstance(), myAmLoading, and myLoadThread.

Referenced by FXDEFMAP().

Here is the caller graph for this function:

◆ onUpdStart()

long GUIApplicationWindow::onUpdStart ( FXObject *  sender,
FXSelector  ,
void *  ptr 
)

Determines whether "play" is enabled.

Definition at line 1434 of file GUIApplicationWindow.cpp.

References GUIShortcutsSubSys::changeAccelerator(), KEY_SPACE, MID_HOTKEY_CTRL_A_STARTSIMULATION_OPENADDITIONALS, myAmLoading, myRunThread, and GUIRunThread::simulationIsStartable().

Referenced by FXDEFMAP().

Here is the caller graph for this function:

◆ onUpdStep()

long GUIApplicationWindow::onUpdStep ( FXObject *  sender,
FXSelector  ,
void *  ptr 
)

Determines whether "step" is enabled.

Definition at line 1462 of file GUIApplicationWindow.cpp.

References myAmLoading, myRunThread, and GUIRunThread::simulationIsStepable().

Referenced by FXDEFMAP().

Here is the caller graph for this function:

◆ onUpdStop()

long GUIApplicationWindow::onUpdStop ( FXObject *  sender,
FXSelector  ,
void *  ptr 
)

Determines whether "stop" is enabled.

Definition at line 1448 of file GUIApplicationWindow.cpp.

References GUIShortcutsSubSys::changeAccelerator(), KEY_SPACE, MID_HOTKEY_CTRL_S_STOPSIMULATION_SAVENETWORK, myAmLoading, myRunThread, and GUIRunThread::simulationIsStopable().

Referenced by FXDEFMAP().

Here is the caller graph for this function:

◆ onUpdTraCIStatus()

long GUIApplicationWindow::onUpdTraCIStatus ( FXObject *  ,
FXSelector  ,
void *   
)

Determines whether traci is active.

Definition at line 1506 of file GUIApplicationWindow.cpp.

References TraCIServer::getInstance(), and GUIMainWindow::myTraCiFrame.

Referenced by FXDEFMAP().

Here is the caller graph for this function:

◆ openNewView()

GUISUMOAbstractView * GUIApplicationWindow::openNewView ( GUISUMOViewParent::ViewType  vt = GUISUMOViewParent::VIEW_2D_OPENGL,
std::string  caption = "" 
)
private

opens a new simulation display

Definition at line 2153 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::networkAvailable(), SUMO_MINI, TL, and toString().

Referenced by eventOccurred(), handleEvent_SimulationLoaded(), and onCmdNewView().

Here is the caller graph for this function:

◆ operator=()

GUIApplicationWindow& GUIApplicationWindow::operator= ( const GUIApplicationWindow s)
privatedelete

invalidate assignment operator

◆ removeChild()

void GUIMainWindow::removeChild ( FXMainWindow *  child)
inherited

removes the given child window from the list (FXMainWindow)

Definition at line 126 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().

Here is the caller graph for this function:

◆ removeGLChild()

void GUIMainWindow::removeGLChild ( GUIGlChildWindow child)
inherited

removes the given child window from the list (GUIGlChildWindow)

Definition at line 109 of file GUIMainWindow.cpp.

References GUIMainWindow::myGLWindows.

Referenced by GUIMainWindow::removeViewByID(), GNEViewParent::~GNEViewParent(), and GUISUMOViewParent::~GUISUMOViewParent().

Here is the caller graph for this function:

◆ removeViewByID()

void GUIMainWindow::removeViewByID ( const std::string &  id)
inherited

Definition at line 162 of file GUIMainWindow.cpp.

References GUIMainWindow::myGLWindows, and GUIMainWindow::removeGLChild().

Referenced by eventOccurred().

Here is the caller graph for this function:

◆ retrieveBreakpoints()

const std::vector< SUMOTime > GUIApplicationWindow::retrieveBreakpoints ( ) const
virtual

retrieve list of breakpoints

Reimplemented from GUIMainWindow.

Definition at line 2448 of file GUIApplicationWindow.cpp.

References GUIRunThread::getBreakpointLock(), GUIRunThread::getBreakpoints(), and myRunThread.

Referenced by addBreakpoint().

Here is the caller graph for this function:

◆ sendBlockingEvent()

void GUIApplicationWindow::sendBlockingEvent ( GUIEvent event)
virtual

Sends an event from the application thread to the GUI and waits until it is handled.

Reimplemented from GUIMainWindow.

Definition at line 2415 of file GUIApplicationWindow.cpp.

References myEventMutex, myEvents, myRunThreadEvent, MFXSynchQue< T, Container >::push_back(), and FXEX::MFXThreadEvent::signal().

◆ setBreakpoints()

void GUIApplicationWindow::setBreakpoints ( const std::vector< SUMOTime > &  breakpoints)
virtual

Sets the breakpoints of the parent application.

Reimplemented from GUIMainWindow.

Definition at line 2425 of file GUIApplicationWindow.cpp.

References GUIRunThread::getBreakpointLock(), GUIRunThread::getBreakpoints(), MID_TIMELINK_BREAKPOINT, myRunThread, and GUIMainWindow::updateChildren().

Referenced by addBreakpoint().

Here is the caller graph for this function:

◆ setDelay()

void GUIApplicationWindow::setDelay ( double  delay)
virtual

Sets the delay of the parent application in milliseconds.

Reimplemented from GUIMainWindow.

Definition at line 2409 of file GUIApplicationWindow.cpp.

References mySimDelay.

Referenced by handleEvent_SimulationLoaded().

Here is the caller graph for this function:

◆ setStatusBarText()

void GUIApplicationWindow::setStatusBarText ( const std::string &  text)
virtual

set status bar text

Reimplemented from GUIMainWindow.

Definition at line 2271 of file GUIApplicationWindow.cpp.

References GUIMainWindow::myStatusbar.

Referenced by addBreakpoint(), dependentBuild(), handleEvent_Message(), handleEvent_SimulationLoaded(), loadConfigOrNet(), onCmdLoadState(), onCmdQuickReload(), onCmdReload(), onCmdSaveConfig(), and onCmdSaveState().

Here is the caller graph for this function:

◆ setWindowSizeAndPos()

void GUIMainWindow::setWindowSizeAndPos ( )
protectedinherited

perform initial window positioning and sizing according to user options / previous call

Definition at line 288 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().

Here is the caller graph for this function:

◆ storeWindowSizeAndPos()

void GUIMainWindow::storeWindowSizeAndPos ( )
protectedinherited

record window position and size in registry

Definition at line 328 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().

Here is the caller graph for this function:

◆ updateChildren()

void GUIMainWindow::updateChildren ( int  msg = MID_SIMSTEP)
inherited

update childrens

Definition at line 190 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().

Here is the caller graph for this function:

◆ updateTimeLCD()

void GUIApplicationWindow::updateTimeLCD ( SUMOTime  time)
private

updates the simulation time display

Definition at line 2310 of file GUIApplicationWindow.cpp.

References DELTA_T, GUIRunThread::getSimEndTime(), GUIMainWindow::myAmGaming, myLCDLabel, myRunThread, myShowTimeAsHMS, and MFXLCDLabel::setText().

Referenced by handleEvent_SimulationStep(), and onCmdTimeToggle().

Here is the caller graph for this function:

◆ updateTimeLCDTooltip()

void GUIApplicationWindow::updateTimeLCDTooltip ( )
private

update LCD timer tooltip

Definition at line 2290 of file GUIApplicationWindow.cpp.

References GUIMainWindow::myAmGaming, myEmergencyVehicleLabel, myLCDLabel, myShowTimeAsHMS, myTimeLossLabel, myWaitingTimeLabel, MFXLCDLabel::setToolTipText(), and TL.

Referenced by create(), and onCmdTimeToggle().

Here is the caller graph for this function:

Field Documentation

◆ hadDependentBuild

bool GUIApplicationWindow::hadDependentBuild = false
protected

flag to mark if GUIApplicationWIndow has depend build

Definition at line 501 of file GUIApplicationWindow.h.

Referenced by dependentBuild().

◆ myAlternateSimDelay

double GUIApplicationWindow::myAlternateSimDelay = 0
protected

The alternate simulation delay in milliseconds for toggling.

Definition at line 463 of file GUIApplicationWindow.h.

Referenced by create(), onCmdDelayToggle(), and onCmdQuit().

◆ myAmFullScreen

bool GUIMainWindow::myAmFullScreen
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().

◆ myAmGaming

bool GUIMainWindow::myAmGaming
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().

◆ myAmLoading

bool GUIApplicationWindow::myAmLoading = false
protected

◆ myBoldFont

FXFont* GUIMainWindow::myBoldFont = nullptr
protectedinherited

Font used for popup-menu titles.

Definition at line 206 of file GUIMainWindow.h.

Referenced by GUIMainWindow::getBoldFont(), GUIMainWindow::GUIMainWindow(), and GUIMainWindow::~GUIMainWindow().

◆ myBottomDock

FXDockSite* GUIMainWindow::myBottomDock = nullptr
protectedinherited

Definition at line 233 of file GUIMainWindow.h.

Referenced by GUIMainWindow::GUIMainWindow(), and GUIMainWindow::~GUIMainWindow().

◆ myBreakpointDialog

GUIDialog_Breakpoints* GUIApplicationWindow::myBreakpointDialog = nullptr
protected

breakpoint dialog

Definition at line 586 of file GUIApplicationWindow.h.

Referenced by eraseBreakpointDialog(), and onCmdEditBreakpoints().

◆ myCartesianCoordinate

FXLabel* GUIMainWindow::myCartesianCoordinate = nullptr
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().

◆ myCartesianFrame

FXHorizontalFrame* GUIMainWindow::myCartesianFrame = nullptr
protectedinherited

◆ myCollisionSounds

RandomDistributor<std::string> GUIApplicationWindow::myCollisionSounds
protected

random list of collision sounds

Definition at line 525 of file GUIApplicationWindow.h.

Referenced by checkGamingEvents(), and handleEvent_SimulationLoaded().

◆ myConfigPattern

std::string GUIApplicationWindow::myConfigPattern
protected

Input file pattern.

Definition at line 498 of file GUIApplicationWindow.h.

Referenced by onCmdOpenConfiguration().

◆ myControlMenu

FXMenuPane * GUIApplicationWindow::myControlMenu = nullptr
protected

Definition at line 404 of file GUIApplicationWindow.h.

Referenced by create(), fillMenuBar(), and ~GUIApplicationWindow().

◆ myDemandScaleSpinner

FXRealSpinner* GUIApplicationWindow::myDemandScaleSpinner = nullptr
protected

the demand scale

Definition at line 460 of file GUIApplicationWindow.h.

Referenced by buildToolBars(), handleEvent_SimulationLoaded(), and onCmdDemandScale().

◆ myEditMenu

FXMenuPane * GUIApplicationWindow::myEditMenu = nullptr
protected

Definition at line 400 of file GUIApplicationWindow.h.

Referenced by create(), fillMenuBar(), and ~GUIApplicationWindow().

◆ myEmergencyVehicleCount

SUMOTime GUIApplicationWindow::myEmergencyVehicleCount = 0
protected

emergency vehicle count

Definition at line 561 of file GUIApplicationWindow.h.

Referenced by checkGamingEvents().

◆ myEmergencyVehicleLabel

MFXLCDLabel* GUIApplicationWindow::myEmergencyVehicleLabel = nullptr
protected

emergency vehicle label

Definition at line 558 of file GUIApplicationWindow.h.

Referenced by buildToolBars(), checkGamingEvents(), onCmdGaming(), and updateTimeLCDTooltip().

◆ myEventCondition

FXCondition GUIApplicationWindow::myEventCondition
protected

the semaphore when waiting for event completion

Definition at line 513 of file GUIApplicationWindow.h.

◆ myEventMutex

FXMutex GUIApplicationWindow::myEventMutex
protected

the mutex for the waiting semaphore

Definition at line 510 of file GUIApplicationWindow.h.

Referenced by sendBlockingEvent().

◆ myEvents

MFXSynchQue<GUIEvent*> GUIApplicationWindow::myEvents
protected

List of got requests.

Definition at line 466 of file GUIApplicationWindow.h.

Referenced by dependentBuild(), eventOccurred(), sendBlockingEvent(), and ~GUIApplicationWindow().

◆ myFallbackFont

FXFont* GUIMainWindow::myFallbackFont = nullptr
protectedinherited

Fallback font for extended characters support.

Definition at line 209 of file GUIMainWindow.h.

Referenced by GUIMainWindow::getFallbackFont(), GUIMainWindow::GUIMainWindow(), and GUIMainWindow::~GUIMainWindow().

◆ myFileMenu

FXMenuPane* GUIApplicationWindow::myFileMenu = nullptr
protected

the submenus

Definition at line 399 of file GUIApplicationWindow.h.

Referenced by create(), fillMenuBar(), and ~GUIApplicationWindow().

◆ myFileMenuRecentConfigs

FXMenuPane* GUIApplicationWindow::myFileMenuRecentConfigs = nullptr
protected

FXMenu pane for recent configs.

Definition at line 412 of file GUIApplicationWindow.h.

Referenced by fillMenuBar(), and ~GUIApplicationWindow().

◆ myFileMenuRecentNetworks

FXMenuPane* GUIApplicationWindow::myFileMenuRecentNetworks = nullptr
protected

FXMenu pane for recent networks.

Definition at line 409 of file GUIApplicationWindow.h.

Referenced by fillMenuBar(), and ~GUIApplicationWindow().

◆ myGamingModeCheckbox

FXMenuCheck* GUIApplicationWindow::myGamingModeCheckbox
protected

menu checkbox to activate game mode

Definition at line 516 of file GUIApplicationWindow.h.

Referenced by fillMenuBar(), and onCmdGaming().

◆ myGamingRNG

std::mt19937 GUIApplicationWindow::myGamingRNG
staticprotected

A random number generator used to choose a gaming sound.

Definition at line 531 of file GUIApplicationWindow.h.

Referenced by checkGamingEvents().

◆ myGeoCoordinate

FXLabel* GUIMainWindow::myGeoCoordinate = nullptr
protectedinherited

◆ myGeoFrame

FXHorizontalFrame* GUIMainWindow::myGeoFrame = nullptr
protectedinherited

◆ myGLVisual

FXGLVisual* GUIMainWindow::myGLVisual = nullptr
protectedinherited

◆ myGLWindows

◆ myGuiSettingsFileMTime

long long GUIApplicationWindow::myGuiSettingsFileMTime = -2
protected

last modification time of the gui setting file

Definition at line 396 of file GUIApplicationWindow.h.

Referenced by handleEvent_SimulationLoaded().

◆ myHaveNotifiedAboutSimEnd

bool GUIApplicationWindow::myHaveNotifiedAboutSimEnd = false
protected

whether the simulation end was already announced

Definition at line 507 of file GUIApplicationWindow.h.

Referenced by handleEvent_SimulationEnded(), and handleEvent_SimulationLoaded().

◆ myHelpMenu

FXMenuPane * GUIApplicationWindow::myHelpMenu = nullptr
protected

Definition at line 406 of file GUIApplicationWindow.h.

Referenced by create(), fillMenuBar(), and ~GUIApplicationWindow().

◆ myHotkeyPress

std::map<int, Command*> GUIApplicationWindow::myHotkeyPress
protected

custom hotkeys pressed

Definition at line 580 of file GUIApplicationWindow.h.

Referenced by addHotkey(), onKeyPress(), and ~GUIApplicationWindow().

◆ myHotkeyRelease

std::map<int, Command*> GUIApplicationWindow::myHotkeyRelease
protected

custom hotkeys released

Definition at line 583 of file GUIApplicationWindow.h.

Referenced by addHotkey(), onKeyRelease(), and ~GUIApplicationWindow().

◆ myInstance

GUIMainWindow * GUIMainWindow::myInstance = nullptr
staticprotectedinherited

the singleton window instance

Definition at line 262 of file GUIMainWindow.h.

Referenced by GUIMainWindow::getInstance(), GUIMainWindow::GUIMainWindow(), and GUIMainWindow::~GUIMainWindow().

◆ myIsReload

bool GUIApplicationWindow::myIsReload = false
protected

whether we are reloading the simulation

Definition at line 393 of file GUIApplicationWindow.h.

Referenced by handleEvent_SimulationLoaded(), loadConfigOrNet(), and onCmdReload().

◆ myJamSounds

RandomDistributor<std::string> GUIApplicationWindow::myJamSounds
protected

random list of jam sounds

Definition at line 522 of file GUIApplicationWindow.h.

Referenced by checkGamingEvents(), and handleEvent_SimulationLoaded().

◆ myJamSoundTime

double GUIApplicationWindow::myJamSoundTime = 60
protected

waiting time after which vehicles trigger jam sounds

Definition at line 528 of file GUIApplicationWindow.h.

Referenced by checkGamingEvents(), and handleEvent_SimulationLoaded().

◆ myLanguageMenu

FXMenuPane* GUIMainWindow::myLanguageMenu = nullptr
protectedinherited

Language menu common to all applications.

Definition at line 238 of file GUIMainWindow.h.

Referenced by GUIMainWindow::buildLanguageMenu(), create(), GNEApplicationWindow::~GNEApplicationWindow(), and ~GUIApplicationWindow().

◆ myLastStepEventMillis

long GUIApplicationWindow::myLastStepEventMillis
protected

last time the simulation view was redrawn due to a simStep

Definition at line 577 of file GUIApplicationWindow.h.

Referenced by handleEvent_SimulationStep().

◆ myLCDLabel

MFXLCDLabel* GUIApplicationWindow::myLCDLabel = nullptr
protected

◆ myLeftDock

FXDockSite* GUIMainWindow::myLeftDock = nullptr
protectedinherited

Definition at line 234 of file GUIMainWindow.h.

Referenced by GUIMainWindow::GUIMainWindow(), and GUIMainWindow::~GUIMainWindow().

◆ myListInternal

bool GUIMainWindow::myListInternal
protectedinherited

information whether the locator should list internal structures

Definition at line 250 of file GUIMainWindow.h.

Referenced by GUIMainWindow::listInternal(), and onCmdListInternal().

◆ myListParking

bool GUIMainWindow::myListParking
protectedinherited

information whether the locator should list parking vehicles

Definition at line 253 of file GUIMainWindow.h.

Referenced by fillMenuBar(), GUIMainWindow::listParking(), and onCmdListParking().

◆ myListTeleporting

bool GUIMainWindow::myListTeleporting
protectedinherited

information whether the locator should list teleporting vehicles

Definition at line 256 of file GUIMainWindow.h.

Referenced by GUIMainWindow::listTeleporting(), and onCmdListTeleporting().

◆ myLoadAdditionalsInNetedit

FXMenuCheck* GUIApplicationWindow::myLoadAdditionalsInNetedit = nullptr
protected

menuCheck for enable/disable load additionals in netedit

Definition at line 418 of file GUIApplicationWindow.h.

Referenced by fillMenuBar(), and onCmdOpenInNetedit().

◆ myLoadDemandInNetedit

FXMenuCheck* GUIApplicationWindow::myLoadDemandInNetedit = nullptr
protected

menuCheck for enable/disable load demand elements in netedit

Definition at line 421 of file GUIApplicationWindow.h.

Referenced by fillMenuBar(), and onCmdOpenInNetedit().

◆ myLoadThread

GUILoadThread* GUIApplicationWindow::myLoadThread = nullptr
protected

the thread that loads simulations

Definition at line 378 of file GUIApplicationWindow.h.

Referenced by dependentBuild(), loadConfigOrNet(), onCmdReload(), onUpdReload(), and ~GUIApplicationWindow().

◆ myLoadThreadEvent

FXEX::MFXThreadEvent GUIApplicationWindow::myLoadThreadEvent
protected

io-event with the load-thread

Definition at line 486 of file GUIApplicationWindow.h.

Referenced by dependentBuild().

◆ myLocatorMenu

FXMenuPane * GUIApplicationWindow::myLocatorMenu = nullptr
protected

Definition at line 403 of file GUIApplicationWindow.h.

Referenced by create(), fillMenuBar(), and ~GUIApplicationWindow().

◆ myMainSplitter

FXSplitter* GUIApplicationWindow::myMainSplitter = nullptr
protected

The splitter that divides the main window into views and the log window.

Definition at line 433 of file GUIApplicationWindow.h.

Referenced by dependentBuild().

◆ myMDIClient

◆ myMDIMenu

FXMDIMenu* GUIApplicationWindow::myMDIMenu = nullptr
protected

The menu used for the MDI-windows.

Definition at line 469 of file GUIApplicationWindow.h.

Referenced by dependentBuild(), and openNewView().

◆ myMenuBar

FXMenuBar* GUIApplicationWindow::myMenuBar = nullptr
protected

The application menu bar.

Definition at line 472 of file GUIApplicationWindow.h.

Referenced by dependentBuild(), fillMenuBar(), onCmdFullScreen(), and onCmdGaming().

◆ myMenuBarDrag

FXToolBarShell * GUIApplicationWindow::myMenuBarDrag = nullptr
protected

Definition at line 441 of file GUIApplicationWindow.h.

Referenced by create(), dependentBuild(), and detach().

◆ myMessageWindow

GUIMessageWindow* GUIApplicationWindow::myMessageWindow = nullptr
protected

A window to display messages, warnings and error in.

Definition at line 430 of file GUIApplicationWindow.h.

Referenced by closeAllWindows(), dependentBuild(), fillMenuBar(), handleEvent_Message(), handleEvent_SimulationEnded(), onCmdClearMsgWindow(), onCmdFullScreen(), and onCmdGaming().

◆ myName

std::string GUIApplicationWindow::myName
protected

the name of the simulation

Definition at line 375 of file GUIApplicationWindow.h.

◆ myOnlineMaps

std::map<std::string, std::string> GUIMainWindow::myOnlineMaps
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().

◆ myOpenInNetedit

FXMenuCommand* GUIApplicationWindow::myOpenInNetedit = nullptr
protected

menuCommand for open simulation/network in netedit

Definition at line 424 of file GUIApplicationWindow.h.

Referenced by fillMenuBar(), and onUpdNeedsSumoConfig().

◆ myPreviousCollisionNumber

int GUIApplicationWindow::myPreviousCollisionNumber = 0
protected

previous collision number

Definition at line 534 of file GUIApplicationWindow.h.

Referenced by checkGamingEvents().

◆ myRecentConfigs

MFXRecentNetworks GUIApplicationWindow::myRecentConfigs
protected

List of recent configs.

Definition at line 495 of file GUIApplicationWindow.h.

Referenced by addRecentConfig(), buildRecentConfigs(), and onCmdOpenConfiguration().

◆ myRecentNetworks

MFXRecentNetworks GUIApplicationWindow::myRecentNetworks
protected

List of recent networks.

Definition at line 492 of file GUIApplicationWindow.h.

Referenced by addRecentNetwork(), buildRecentNetworks(), and onCmdOpenNetwork().

◆ myRightDock

FXDockSite* GUIMainWindow::myRightDock = nullptr
protectedinherited

Definition at line 235 of file GUIMainWindow.h.

Referenced by GUIMainWindow::GUIMainWindow(), and GUIMainWindow::~GUIMainWindow().

◆ myRunThread

◆ myRunThreadEvent

FXEX::MFXThreadEvent GUIApplicationWindow::myRunThreadEvent
protected

io-event with the run-thread

Definition at line 489 of file GUIApplicationWindow.h.

Referenced by dependentBuild(), and sendBlockingEvent().

◆ myScaleTrafficTooltip

MFXLabelTooltip* GUIApplicationWindow::myScaleTrafficTooltip = nullptr
protected

the demand scale label

Definition at line 457 of file GUIApplicationWindow.h.

Referenced by buildToolBars(), and onUpdNeedsNetwork().

◆ mySelectByPermissions

FXMenuPane * GUIApplicationWindow::mySelectByPermissions = nullptr
protected

Definition at line 401 of file GUIApplicationWindow.h.

Referenced by create(), fillMenuBar(), and ~GUIApplicationWindow().

◆ mySelectLanesMenuCascade

FXMenuCascade* GUIApplicationWindow::mySelectLanesMenuCascade = nullptr
protected

the menu cascades

Definition at line 415 of file GUIApplicationWindow.h.

Referenced by fillMenuBar(), and onUpdNeedsNetwork().

◆ mySettingsMenu

FXMenuPane * GUIApplicationWindow::mySettingsMenu = nullptr
protected

Definition at line 402 of file GUIApplicationWindow.h.

Referenced by create(), fillMenuBar(), and ~GUIApplicationWindow().

◆ myShowTimeAsHMS

bool GUIApplicationWindow::myShowTimeAsHMS = false
protected

whether to show time as hour:minute:second

Definition at line 504 of file GUIApplicationWindow.h.

Referenced by checkGamingEvents(), create(), onCmdQuit(), onCmdTimeToggle(), updateTimeLCD(), and updateTimeLCDTooltip().

◆ mySimDelay

double GUIApplicationWindow::mySimDelay = 0.
protected

◆ mySimDelaySlider

FXSlider* GUIApplicationWindow::mySimDelaySlider = nullptr
protected

Simulation delay slider.

Definition at line 454 of file GUIApplicationWindow.h.

Referenced by buildToolBars(), handleEvent_SimulationLoaded(), onCmdDelayDec(), and onCmdDelayInc().

◆ mySimDelaySpinner

FXRealSpinner* GUIApplicationWindow::mySimDelaySpinner = nullptr
protected

Simulation delay spinner.

Definition at line 451 of file GUIApplicationWindow.h.

Referenced by buildToolBars(), handleEvent_SimulationLoaded(), onCmdDelayDec(), and onCmdDelayInc().

◆ mySimDelayTarget

FXDataTarget* GUIApplicationWindow::mySimDelayTarget = nullptr
protected

Simulation delay target.

Definition at line 448 of file GUIApplicationWindow.h.

Referenced by buildToolBars(), and ~GUIApplicationWindow().

◆ myStatButtons

std::vector<FXButton*> GUIApplicationWindow::myStatButtons
protected

Buttons showing and running values and triggering statistic windows.

Definition at line 427 of file GUIApplicationWindow.h.

Referenced by closeAllWindows(), dependentBuild(), handleEvent_SimulationLoaded(), and handleEvent_SimulationStep().

◆ myStaticTooltipMenu

MFXStaticToolTip* GUIMainWindow::myStaticTooltipMenu = nullptr
protectedinherited

◆ myStaticTooltipView

MFXStaticToolTip* GUIMainWindow::myStaticTooltipView = nullptr
protectedinherited

static toolTip used in view

Definition at line 244 of file GUIMainWindow.h.

Referenced by GUIMainWindow::getStaticTooltipView(), GUIMainWindow::GUIMainWindow(), and GUIMainWindow::~GUIMainWindow().

◆ myStatusbar

◆ myTestCoordinate

FXLabel* GUIMainWindow::myTestCoordinate = nullptr
protectedinherited

◆ myTestFrame

FXHorizontalFrame* GUIMainWindow::myTestFrame = nullptr
protectedinherited

◆ myTimeLoss

SUMOTime GUIApplicationWindow::myTimeLoss = 0
protected

time loss

Definition at line 549 of file GUIApplicationWindow.h.

Referenced by checkGamingEvents().

◆ myTimeLossLabel

MFXLCDLabel* GUIApplicationWindow::myTimeLossLabel = nullptr
protected

time loss label

Definition at line 546 of file GUIApplicationWindow.h.

Referenced by buildToolBars(), checkGamingEvents(), onCmdGaming(), and updateTimeLCDTooltip().

◆ myTLSGame

bool GUIApplicationWindow::myTLSGame = false
protected

flag for enable TLS gameMode

Definition at line 537 of file GUIApplicationWindow.h.

Referenced by handleEvent_SimulationLoaded(), handleEvent_SimulationStep(), and onCmdGaming().

◆ myToolBar1

FXToolBar* GUIApplicationWindow::myToolBar1 = nullptr
protected

The application tool bar.

Definition at line 475 of file GUIApplicationWindow.h.

Referenced by buildToolBars(), onCmdFullScreen(), and onCmdGaming().

◆ myToolBar10

FXToolBar * GUIApplicationWindow::myToolBar10 = nullptr
protected

Definition at line 567 of file GUIApplicationWindow.h.

Referenced by buildToolBars(), dependentBuild(), and onCmdGaming().

◆ myToolBar2

FXToolBar * GUIApplicationWindow::myToolBar2 = nullptr
protected

Definition at line 476 of file GUIApplicationWindow.h.

Referenced by buildToolBars(), eventOccurred(), onCmdFullScreen(), and onCmdGaming().

◆ myToolBar3

FXToolBar * GUIApplicationWindow::myToolBar3 = nullptr
protected

Definition at line 477 of file GUIApplicationWindow.h.

Referenced by buildToolBars(), eventOccurred(), fillMenuBar(), and onCmdFullScreen().

◆ myToolBar4

FXToolBar * GUIApplicationWindow::myToolBar4 = nullptr
protected

Definition at line 478 of file GUIApplicationWindow.h.

Referenced by buildToolBars(), fillMenuBar(), onCmdFullScreen(), and onCmdGaming().

◆ myToolBar5

FXToolBar * GUIApplicationWindow::myToolBar5 = nullptr
protected

Definition at line 479 of file GUIApplicationWindow.h.

Referenced by buildToolBars(), onCmdFullScreen(), and onCmdGaming().

◆ myToolBar6

FXToolBar* GUIApplicationWindow::myToolBar6 = nullptr
protected

toolbars used in game

Definition at line 564 of file GUIApplicationWindow.h.

Referenced by buildToolBars(), dependentBuild(), onCmdFullScreen(), and onCmdGaming().

◆ myToolBar7

FXToolBar * GUIApplicationWindow::myToolBar7 = nullptr
protected

◆ myToolBar8

FXToolBar * GUIApplicationWindow::myToolBar8 = nullptr
protected

Definition at line 480 of file GUIApplicationWindow.h.

Referenced by buildToolBars(), onCmdFullScreen(), and onCmdGaming().

◆ myToolBar9

FXToolBar * GUIApplicationWindow::myToolBar9 = nullptr
protected

Definition at line 566 of file GUIApplicationWindow.h.

Referenced by buildToolBars(), dependentBuild(), and onCmdGaming().

◆ myToolBarDrag1

FXToolBarShell* GUIApplicationWindow::myToolBarDrag1 = nullptr
protected

for some menu detaching fun

Definition at line 436 of file GUIApplicationWindow.h.

Referenced by buildToolBars(), create(), detach(), and ~GUIApplicationWindow().

◆ myToolBarDrag10

FXToolBarShell * GUIApplicationWindow::myToolBarDrag10 = nullptr
protected

Definition at line 573 of file GUIApplicationWindow.h.

Referenced by buildToolBars().

◆ myToolBarDrag2

FXToolBarShell * GUIApplicationWindow::myToolBarDrag2 = nullptr
protected

Definition at line 437 of file GUIApplicationWindow.h.

Referenced by buildToolBars(), and create().

◆ myToolBarDrag3

FXToolBarShell * GUIApplicationWindow::myToolBarDrag3 = nullptr
protected

Definition at line 438 of file GUIApplicationWindow.h.

Referenced by buildToolBars(), and create().

◆ myToolBarDrag4

FXToolBarShell * GUIApplicationWindow::myToolBarDrag4 = nullptr
protected

Definition at line 439 of file GUIApplicationWindow.h.

Referenced by buildToolBars(), and create().

◆ myToolBarDrag5

FXToolBarShell * GUIApplicationWindow::myToolBarDrag5 = nullptr
protected

Definition at line 440 of file GUIApplicationWindow.h.

Referenced by buildToolBars(), and create().

◆ myToolBarDrag6

FXToolBarShell* GUIApplicationWindow::myToolBarDrag6 = nullptr
protected

toolbars shell used in game

Definition at line 570 of file GUIApplicationWindow.h.

Referenced by buildToolBars(), and create().

◆ myToolBarDrag7

FXToolBarShell * GUIApplicationWindow::myToolBarDrag7 = nullptr
protected

Definition at line 571 of file GUIApplicationWindow.h.

Referenced by buildToolBars(), and create().

◆ myToolBarDrag8

FXToolBarShell * GUIApplicationWindow::myToolBarDrag8 = nullptr
protected

Definition at line 442 of file GUIApplicationWindow.h.

Referenced by buildToolBars().

◆ myToolBarDrag9

FXToolBarShell * GUIApplicationWindow::myToolBarDrag9 = nullptr
protected

Definition at line 572 of file GUIApplicationWindow.h.

Referenced by buildToolBars().

◆ myTopDock

FXDockSite* GUIMainWindow::myTopDock = nullptr
protectedinherited

◆ myTotalDistance

double GUIApplicationWindow::myTotalDistance = 0
protected

total distance

Definition at line 555 of file GUIApplicationWindow.h.

Referenced by checkGamingEventsDRT().

◆ myTotalDistanceLabel

MFXLCDLabel* GUIApplicationWindow::myTotalDistanceLabel = nullptr
protected

total distance label

Definition at line 552 of file GUIApplicationWindow.h.

Referenced by buildToolBars(), checkGamingEventsDRT(), and onCmdGaming().

◆ myTraCiFrame

FXHorizontalFrame* GUIMainWindow::myTraCiFrame = nullptr
protectedinherited

frames for coordinates

Definition at line 223 of file GUIMainWindow.h.

Referenced by dependentBuild(), and onUpdTraCIStatus().

◆ myTrackerLock

FXMutex GUIMainWindow::myTrackerLock
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().

◆ myTrackerWindows

std::vector<FXMainWindow*> GUIMainWindow::myTrackerWindows
protectedinherited

◆ myViewNumber

int GUIApplicationWindow::myViewNumber
protected

The current view number.

Definition at line 387 of file GUIApplicationWindow.h.

Referenced by handleEvent_SimulationLoaded(), and openNewView().

◆ myWaitingTime

SUMOTime GUIApplicationWindow::myWaitingTime = 0
protected

waiting time

Definition at line 543 of file GUIApplicationWindow.h.

Referenced by checkGamingEvents(), and checkGamingEventsDRT().

◆ myWaitingTimeLabel

MFXLCDLabel* GUIApplicationWindow::myWaitingTimeLabel = nullptr
protected

waiting time label

Definition at line 540 of file GUIApplicationWindow.h.

Referenced by buildToolBars(), checkGamingEvents(), checkGamingEventsDRT(), onCmdGaming(), and updateTimeLCDTooltip().

◆ myWasStarted

bool GUIApplicationWindow::myWasStarted = false
protected

the information whether the simulation was started before

Definition at line 384 of file GUIApplicationWindow.h.

Referenced by handleEvent_SimulationLoaded(), onCmdStart(), and onCmdStep().

◆ myWindowMenu

FXMenuPane * GUIApplicationWindow::myWindowMenu = nullptr
protected

Definition at line 405 of file GUIApplicationWindow.h.

Referenced by create(), fillMenuBar(), and ~GUIApplicationWindow().


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