Eclipse SUMO - Simulation of Urban MObility
GNEApplicationWindow Class Reference

The main window of the Netedit. More...

#include <GNEApplicationWindow.h>

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

Public Member Functions

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 addOnlineMap (const std::string &name, const std::string &url)
 
void clearUndoList ()
 clear undo list More...
 
long computeJunctionWithVolatileOptions ()
 called if the user selects Processing->compute junctions with volatile options More...
 
void create ()
 Creates the main window (required by FOX) More...
 
void dependentBuild ()
 build dependent More...
 
void disableSaveAdditionalsMenu ()
 disable save additionals More...
 
void disableSaveDataElementsMenu ()
 disable save data elements More...
 
void disableSaveDemandElementsMenu ()
 disable save demand elements More...
 
void disableUndoRedo (const std::string &reason)
 disable undo-redo giving a string with the reason More...
 
void enableSaveAdditionalsMenu ()
 enable save additionals More...
 
void enableSaveDataElementsMenu ()
 enable save data elements More...
 
void enableSaveDemandElementsMenu ()
 enable save demand elements More...
 
void enableSaveTLSProgramsMenu ()
 enable save TLS Programs More...
 
void enableUndoRedo ()
 disable undo-redo More...
 
GUISUMOAbstractViewgetActiveView () const
 get the active view or 0 More...
 
FXFont * getBoldFont ()
 get bold front More...
 
FXLabel * getCartesianLabel ()
 get cartesian label More...
 
FXCursor * getDefaultCursor ()
 get default cursor More...
 
virtual double getDelay () const
 Returns the delay (should be overwritten by subclasses if applicable) More...
 
GNEApplicationWindowHelper::EditMenuCommandsgetEditMenuCommands ()
 getEdit Menu Commands (needed for show/hide menu commands) More...
 
FXFont * getFallbackFont ()
 get fallback front More...
 
FXLabel * getGeoLabel ()
 get geo label More...
 
FXGLVisual * getGLVisual () const
 get GL Visual More...
 
GNEApplicationWindowHelper::LockMenuCommandsgetLockMenuCommands ()
 get lock Menu Commands More...
 
const std::map< std::string, std::string > & getOnlineMaps () const
 
const GNEApplicationWindowHelper::ProcessingMenuCommandsgetProcessingMenuCommands () const
 get processing Menu Commands More...
 
MFXStaticToolTipgetStaticTooltipMenu () const
 get static toolTip for menus More...
 
MFXStaticToolTipgetStaticTooltipView () const
 get static toolTip for view More...
 
FXLabel * getTestLabel ()
 get test label More...
 
GNEApplicationWindowHelper::ToolbarsGripgetToolbarsGrip ()
 get ToolbarsGrip More...
 
FXDockSite * getTopDock ()
 get top dock More...
 
GNEUndoListgetUndoList ()
 get pointer to undoList More...
 
GNEUndoListDialoggetUndoListDialog ()
 get pointer to undoList dialog More...
 
GUIGlChildWindowgetViewByID (const std::string &id) const
 get specific view by ID More...
 
std::vector< std::string > getViewIDs () const
 get view IDs More...
 
GNEViewNetgetViewNet ()
 get pointer to viewNet More...
 
const std::vector< GUIGlChildWindow * > & getViews () const
 get views More...
 
 GNEApplicationWindow (FXApp *a, const std::string &configPattern)
 FOX-declaration. More...
 
bool isFullScreen ()
 
bool isGaming () const
 return whether the gui is in gaming mode More...
 
const std::string & isUndoRedoEnabled () const
 check if undo-redo is enabled 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 loadNet (const std::string &file)
 load network More...
 
void loadOptionOnStartup ()
 load net on startup More...
 
virtual long onCmdFullScreen (FXObject *, FXSelector, void *)
 Toggle full screen mode. More...
 
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)
 
virtual const std::vector< SUMOTimeretrieveBreakpoints () const
 retrieve breakpoints if provided by the application 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 > &)
 Sets the breakpoints of the parent application. More...
 
virtual void setDelay (double)
 Sets the delay of the parent application. More...
 
void setStatusBarText (const std::string &statusBarText)
 set text of the statusBar More...
 
void updateChildren (int msg=MID_SIMSTEP)
 update childrens More...
 
void updateControls ()
 update control contents after undo/redo or recompute More...
 
void updateRecomputingLabel ()
 update recomputing label More...
 
void updateSuperModeMenuCommands (const Supermode supermode)
 update FXMenuCommands depending of supermode More...
 
 ~GNEApplicationWindow ()
 Destructor. More...
 
Inter-thread event handling

called when an event occurred

void eventOccurred ()
 
void handleEvent_NetworkLoaded (GUIEvent *e)
 handle event of type Network loaded More...
 
void handleEvent_Message (GUIEvent *e)
 handle event of type message More...
 
FOX-callbacks

called when the command/FXCall new window is executed

long onCmdNewWindow (FXObject *, FXSelector, void *)
 
long onCmdNewNetwork (FXObject *, FXSelector, void *)
 called when the command/FXCall new network is executed More...
 
long onCmdOpenConfiguration (FXObject *, FXSelector, void *)
 called when the command/FXCall open configuration is executed More...
 
long onCmdOpenNetwork (FXObject *, FXSelector, void *)
 called when the command/FXCall open network is executed More...
 
long onCmdOpenForeign (FXObject *, FXSelector, void *)
 called when the command/FXCall open foreign is executed More...
 
long onCmdOpenSUMOConfig (FXObject *, FXSelector, void *)
 called when the command/FXCall open SUMOConfig is executed More...
 
long onCmdReloadSUMOConfig (FXObject *, FXSelector, void *)
 called when the command/FXCall reload SUMOConfig is executed More...
 
long onUpdReloadSUMOConfig (FXObject *, FXSelector, void *)
 called when the command/FXCall reload SUMOConfig is updated More...
 
long onCmdOpenTLSPrograms (FXObject *, FXSelector, void *)
 called when the command/FXCall open TLS programs is executed More...
 
long onCmdReloadTLSPrograms (FXObject *, FXSelector, void *)
 called when the command/FXCall reload TLS programs is executed More...
 
long onUpdReloadTLSPrograms (FXObject *, FXSelector, void *)
 called when the command/FXCall reload TLS programs is updated More...
 
long onCmdOpenEdgeTypes (FXObject *, FXSelector, void *)
 called when the command/FXCall open edgeType is executed More...
 
long onCmdReloadEdgeTypes (FXObject *, FXSelector, void *)
 called when the command/FXCall reload edge types is executed More...
 
long onUpdReloadEdgeTypes (FXObject *, FXSelector, void *)
 called when the command/FXCall reload edge types is updated More...
 
long onCmdReload (FXObject *, FXSelector, void *)
 called when the command/FXCall reload is executed More...
 
long onCmdOpenRecent (FXObject *, FXSelector, void *)
 called when the command/FXCall open recent is executed More...
 
long onCmdClose (FXObject *, FXSelector, void *)
 called when the command/FXCall close is executed More...
 
long onCmdEditViewScheme (FXObject *, FXSelector, void *)
 Called on menu Edit->Visualization. More...
 
long onCmdEditViewport (FXObject *, FXSelector, void *)
 Called on menu Edit->Viewport. More...
 
long onCmdLocate (FXObject *, FXSelector, void *)
 called when the command/FXCall locate is executed More...
 
long onCmdToolNetDiff (FXObject *, FXSelector, void *)
 called when the command/FXCall run NetDiff is executed More...
 
long onCmdSaveAllElements (FXObject *, FXSelector, void *)
 called when the command/FXCall save all elements is executed More...
 
long onCmdSaveNetwork (FXObject *, FXSelector, void *)
 called when the command/FXCall save network is executed More...
 
long onCmdSaveSUMOConfig (FXObject *, FXSelector, void *)
 called when the command/FXCall save SUMOConfig is executed More...
 
long onCmdSaveSUMOConfigAs (FXObject *, FXSelector, void *)
 called when the command/FXCall save SUMOConfig as is executed More...
 
long onUpdSaveSUMOConfig (FXObject *, FXSelector, void *)
 called when the command/FXCall save SUMOConfig is updated More...
 
long onCmdSaveTLSPrograms (FXObject *, FXSelector, void *)
 called when the command/FXCall save TLSPrograms is executed More...
 
long onUpdSaveTLSPrograms (FXObject *, FXSelector, void *)
 called when the command/FXCall save TLSPrograms is updated More...
 
long onCmdSaveEdgeTypes (FXObject *, FXSelector, void *)
 called when the command/FXCall save edge types is executed More...
 
long onUpdSaveEdgeTypes (FXObject *, FXSelector, void *)
 called when the command/FXCall save edge types is updated More...
 
long onCmdSaveTLSProgramsAs (FXObject *, FXSelector, void *)
 called when the command/FXCall save TLSPrograms as is executed More...
 
long onCmdSaveEdgeTypesAs (FXObject *, FXSelector, void *)
 called when the command/FXCall save edgeTypes as is executed More...
 
long onUpdSaveEdgeTypesAs (FXObject *, FXSelector, void *)
 called when the command/FXCall save edgeTypes as is updated More...
 
long onCmdOpenAdditionals (FXObject *, FXSelector, void *)
 called when the command/FXCall open additionals is executed More...
 
long onCmdReloadAdditionals (FXObject *, FXSelector, void *)
 called when the command/FXCall reload additionals is executed More...
 
long onUpdReloadAdditionals (FXObject *, FXSelector, void *)
 called when the command/FXCall reload additionals is updated More...
 
long onCmdSaveAdditionals (FXObject *, FXSelector, void *)
 called when the command/FXCall save additionals is executed More...
 
long onCmdSaveAdditionalsAs (FXObject *, FXSelector, void *)
 called when the command/FXCall save additionals as is executed More...
 
long onCmdOpenDemandElements (FXObject *, FXSelector, void *)
 called when the command/FXCall open demand is executed More...
 
long onCmdReloadDemandElements (FXObject *, FXSelector, void *)
 called when the command/FXCall reload demand elements is executed More...
 
long onUpdReloadDemandElements (FXObject *, FXSelector, void *)
 called when the command/FXCall reload demand elements is updated More...
 
long onCmdSaveDemandElements (FXObject *, FXSelector, void *)
 called when the command/FXCall save demand elements is executed More...
 
long onCmdOpenDataElements (FXObject *, FXSelector, void *)
 called when the command/FXCall open data is executed More...
 
long onCmdReloadDataElements (FXObject *, FXSelector, void *)
 called when the command/FXCall reload data elements is executed More...
 
long onUpdReloadDataElements (FXObject *, FXSelector, void *)
 called when the command/FXCall reload data elements is updated More...
 
long onCmdSaveDemandElementsAs (FXObject *, FXSelector, void *)
 called when the command/FXCall save demand elements as is executed More...
 
long onCmdSaveDataElements (FXObject *, FXSelector, void *)
 called when the command/FXCall save data elements is executed More...
 
long onCmdSaveDataElementsAs (FXObject *, FXSelector, void *)
 called when the command/FXCall save data elements as is executed More...
 
long onCmdSaveAsNetwork (FXObject *, FXSelector, void *)
 called when the command/FXCall save network as is executed More...
 
long onUpdNeedsNetwork (FXObject *, FXSelector, void *)
 called when the update/FXCall needs network is executed More...
 
long onUpdNeedsNetworkElement (FXObject *, FXSelector, void *)
 called when the update/FXCall needs at least one newtork element is executed More...
 
long onUpdNeedsFrontElement (FXObject *, FXSelector, void *)
 called when the update/FXCall needs front element is executed More...
 
long onUpdReload (FXObject *, FXSelector, void *)
 called when the update/FXCall reload is executed More...
 
long onUpdSaveAllElements (FXObject *, FXSelector, void *)
 called when the update/FXCall save all elements is executed More...
 
long onUpdSaveNetwork (FXObject *, FXSelector, void *)
 called when the update/FXCall save network is executed More...
 
long onUpdSaveAdditionals (FXObject *, FXSelector, void *)
 called when the update/FXCall save additionals is executed More...
 
long onUpdSaveAdditionalsAs (FXObject *, FXSelector, void *)
 called when the update/FXCall save additionals as is executed More...
 
long onUpdSaveDemandElements (FXObject *, FXSelector, void *)
 called when the update/FXCall save demand elements is executed More...
 
long onUpdSaveDemandElementsAs (FXObject *, FXSelector, void *)
 called when the update/FXCall save demand elements as is executed More...
 
long onUpdSaveDataElements (FXObject *, FXSelector, void *)
 called when the update/FXCall save data elements is executed More...
 
long onUpdSaveDataElementsAs (FXObject *, FXSelector, void *)
 called when the update/FXCall save data elements as is executed More...
 
long onUpdUndo (FXObject *obj, FXSelector sel, void *ptr)
 called when the update/FXCall undo is executed More...
 
long onUpdRedo (FXObject *obj, FXSelector sel, void *ptr)
 called when the update/FXCall redo is executed More...
 
long onUpdComputePathManager (FXObject *obj, FXSelector sel, void *ptr)
 called when the update/FXCall compute path manager is executed More...
 
long onCmdToggleViewOption (FXObject *, FXSelector, void *)
 toggle viewOption More...
 
long onUpdToggleViewOption (FXObject *, FXSelector, void *)
 update viewOption More...
 
long onCmdSaveAsPlainXML (FXObject *, FXSelector, void *)
 called when the command/FXCall save as plain xml is executed More...
 
long onCmdSaveJoined (FXObject *, FXSelector, void *)
 called when the command/FXCall save joined is executed 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...
 
long onCmdQuit (FXObject *, FXSelector, void *)
 Called by FOX if the application shall be closed. More...
 
long onCmdEditChosen (FXObject *, FXSelector, void *)
 called when the command/FXCall edit chosen is executed More...
 
long onCmdAbout (FXObject *, FXSelector, void *)
 called when the command/FXCall show about dialog is executed More...
 
long onUpdOpen (FXObject *, FXSelector, void *)
 called when the command/FXCall on update open executed More...
 
long onCmdClearMsgWindow (FXObject *, FXSelector, void *)
 called when the command/FXCall clear message windows is executed More...
 
long onCmdLoadAdditionalsInSUMOGUI (FXObject *, FXSelector, void *)
 called when user toggle windows checkbox "load additionals" More...
 
long onCmdLoadDemandInSUMOGUI (FXObject *, FXSelector, void *)
 called when user toggle windows checkbox "load demand" More...
 
long onLoadThreadEvent (FXObject *, FXSelector, void *)
 called when the command/FXCall load thread is executed More...
 
long onClipboardRequest (FXObject *sender, FXSelector sel, void *ptr)
 called when the command/FXCall clipboard request is executed More...
 
long onCmdSetSuperMode (FXObject *sender, FXSelector sel, void *ptr)
 called if the user hits an edit-supermode hotkey More...
 
long onCmdSetMode (FXObject *sender, FXSelector sel, void *ptr)
 called if the user hits an edit-mode hotkey More...
 
long onCmdLockElements (FXObject *, FXSelector sel, void *)
 called when user press a lock menu check More...
 
long onCmdLockAllElements (FXObject *, FXSelector sel, void *)
 called when user press lock all elements button More...
 
long onCmdUnlockAllElements (FXObject *, FXSelector sel, void *)
 called when user press unlock all elements button More...
 
long onCmdLockSelectElements (FXObject *, FXSelector sel, void *)
 called when user press lock select elements button More...
 
long onUpdLockMenuTitle (FXObject *, FXSelector sel, void *)
 enable or disable lock menu title More...
 
long onCmdProcessButton (FXObject *, FXSelector sel, void *)
 called when user press a process button (or a shortcut) More...
 
long onCmdOpenSUMOGUI (FXObject *sender, FXSelector sel, void *ptr)
 called if the user hints ctrl + T More...
 
long onCmdAbort (FXObject *sender, FXSelector sel, void *ptr)
 called if the user hits esc More...
 
long onCmdDel (FXObject *sender, FXSelector sel, void *ptr)
 called if the user hits del More...
 
long onCmdEnter (FXObject *sender, FXSelector sel, void *ptr)
 called if the user hits enter More...
 
long onCmdBackspace (FXObject *sender, FXSelector sel, void *ptr)
 called if the user hits backspace More...
 
long onCmdForceSaveNetwork (FXObject *sender, FXSelector sel, void *ptr)
 force save network (flag) More...
 
long onCmdForceSaveAdditionals (FXObject *sender, FXSelector sel, void *ptr)
 force save additionals (flag) More...
 
long onCmdForceSaveDemandElements (FXObject *sender, FXSelector sel, void *ptr)
 force save demand elements (flag) More...
 
long onCmdForceSaveDataElements (FXObject *sender, FXSelector sel, void *ptr)
 force save data elements (flag) More...
 
long onCmdFocusFrame (FXObject *sender, FXSelector sel, void *ptr)
 called if the user hits key combination for focus on frame More...
 
long onUpdRequireViewNet (FXObject *sender, FXSelector sel, void *ptr)
 enable or disable sender object depending if viewNet exist More...
 
long onUpdRequireRecomputing (FXObject *sender, FXSelector sel, void *ptr)
 update label for requiere recomputing More...
 
long onCmdToggleGrid (FXObject *, FXSelector, void *)
 called if the user press key combination Ctrl + G to toggle grid More...
 
long onCmdToggleDrawJunctionShape (FXObject *, FXSelector, void *)
 called if the user press key combination Ctrl + J to toggle draw junction shape More...
 
long onCmdSetFrontElement (FXObject *, FXSelector, void *)
 called if the user call set front element More...
 
long onCmdToggleEditOptions (FXObject *, FXSelector, void *)
 called if the user press key combination Alt + <0-9> 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 onCmdToogleComputeNetworkData (FXObject *, FXSelector, void *)
 called when toogle checkbox compute network when swichting between supermodes More...
 
long onCmdOptions (FXObject *, FXSelector, void *)
 called if the user selects Processing->Configure Options More...
 
long onCmdUndo (FXObject *, FXSelector, void *)
 called when user press Ctrl+Z More...
 
long onCmdRedo (FXObject *, FXSelector, void *)
 
long onCmdOpenUndoListDialog (FXObject *, FXSelector, void *)
 
long onUpdOpenUndoListDialog (FXObject *, FXSelector, void *)
 
long onCmdComputePathManager (FXObject *, FXSelector, void *)
 
long onCmdCut (FXObject *, FXSelector, void *)
 called when user press Ctrl+Z More...
 
long onCmdCopy (FXObject *, FXSelector, void *)
 
long onCmdPaste (FXObject *, FXSelector, void *)
 
long onCmdSetTemplate (FXObject *, FXSelector, void *)
 
long onCmdCopyTemplate (FXObject *, FXSelector, void *)
 
long onCmdClearTemplate (FXObject *, FXSelector, void *)
 
inherited from GUIMainWindow

get build OpenGL Canvas (due NETEDIT only uses a single View, it always return nullptr)

FXGLCanvas * getBuildGLCanvas () const
 get build GL Canvas (must be implemented in all children) More...
 
SUMOTime getCurrentSimTime () const
 get current simulation time (pure virtual but we don't need it) More...
 
double getTrackerInterval () const
 get current tracker interval (pure virtual but we don't need it) More...
 

Static Public Member Functions

static GUIMainWindowgetInstance ()
 get instance More...
 

Protected Member Functions

 GNEApplicationWindow ()
 FOX needs this for static members. 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 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 * myEditMenu = nullptr
 
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 * myFileMenuAdditionals = nullptr
 
FXMenuPane * myFileMenuDataElements = nullptr
 
FXMenuPane * myFileMenuDemandElements = nullptr
 
FXMenuPane * myFileMenuEdgeTypes = nullptr
 
FXMenuPane * myFileMenuSUMOConfig = nullptr
 
FXMenuPane * myFileMenuTLS = nullptr
 
FXLabel * myGeoCoordinate = nullptr
 
FXHorizontalFrame * myGeoFrame = nullptr
 
FXGLVisual * myGLVisual = nullptr
 The gl-visual used. More...
 
std::vector< GUIGlChildWindow * > myGLWindows
 list of GLWindows More...
 
bool myHadDependentBuild = false
 check if had dependent build More...
 
FXMenuPane * myHelpMenu = nullptr
 
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...
 
GNELoadThreadmyLoadThread = nullptr
 the thread that loads the network More...
 
FXEX::MFXThreadEvent myLoadThreadEvent
 io-event with the load-thread More...
 
FXMenuPane * myLocatorMenu = nullptr
 
FXMenuPane * myLockMenu = nullptr
 
FXMenuTitle * myLockMenuTitle = nullptr
 menu title for lock More...
 
FXSplitter * myMainSplitter = nullptr
 The splitter that divides the main window into view and the log window. More...
 
FXMDIClient * myMDIClient = nullptr
 The multi view panel. More...
 
GUIMessageWindowmyMessageWindow = nullptr
 A window to display messages, warnings and error in. More...
 
FXMenuPane * myModesMenu = nullptr
 
FXMenuTitle * myModesMenuTitle = nullptr
 menu title for modes More...
 
GNENetmyNet = nullptr
 we are responsible for the net More...
 
std::map< std::string, std::string > myOnlineMaps
 online mapping services for the context menu More...
 
FXMenuPane * myProcessingMenu = nullptr
 
bool myReloading = false
 information whether the gui is currently reloading More...
 
MFXButtonTooltipmyRequireRecomputingButton = nullptr
 Button used for show if recomputing is needed. More...
 
FXDockSite * myRightDock = nullptr
 
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
 
FXMenuPane * myToolsMenu = 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...
 
GNEUndoListmyUndoList = nullptr
 the one and only undo list More...
 
GNEUndoListDialogmyUndoListDialog = nullptr
 undoList dialog More...
 
std::string myUndoRedoListEnabled
 string to check if undo/redo list is enabled (a String is used to keep the disabling reason) More...
 
FXMenuPane * myWindowMenu = nullptr
 

Static Protected Attributes

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

Private Member Functions

void closeAllWindows ()
 this method closes all windows and deletes the current simulation *‍/ More...
 
bool continueWithUnsavedAdditionalChanges (const std::string &operation)
 warns about unsaved changes in additionals and gives the user the option to abort More...
 
bool continueWithUnsavedChanges (const std::string &operation)
 warns about unsaved changes and gives the user the option to abort More...
 
bool continueWithUnsavedDataElementChanges (const std::string &operation)
 warns about unsaved changes in data elements and gives the user the option to abort More...
 
bool continueWithUnsavedDemandElementChanges (const std::string &operation)
 warns about unsaved changes in demand elements and gives the user the option to abort More...
 
void fillMenuBar ()
 Builds the menu bar. More...
 
FXString getFolder (const std::string &folder) const
 extract folder More...
 
 GNEApplicationWindow (const GNEApplicationWindow &)=delete
 Invalidated copy constructor. More...
 
void loadConfigOrNet (const std::string file, bool isNet, bool isReload=false, bool useStartupOptions=false, bool newNet=false)
 starts to load a netimport configuration or a network *‍/ More...
 
GNEApplicationWindowoperator= (const GNEApplicationWindow &)=delete
 Invalidated assignment operator. More...
 

Private Attributes

GNEApplicationWindowHelper::EditMenuCommands myEditMenuCommands
 Edit Menu Commands. More...
 
GNEApplicationWindowHelper::FileMenuCommands myFileMenuCommands
 File Menu Commands. More...
 
GNEApplicationWindowHelper::LocateMenuCommands myLocateMenuCommands
 Locate Menu Commands. More...
 
GNEApplicationWindowHelper::LockMenuCommands myLockMenuCommands
 Lock Menu Commands. More...
 
FXMDIMenu * myMDIMenu = nullptr
 The menu used for the MDI-windows. More...
 
GNEApplicationWindowHelper::MenuBarFile myMenuBarFile
 MenuBarFile. More...
 
GNEApplicationWindowHelper::ModesMenuCommands myModesMenuCommands
 Modes Menu Commands. More...
 
GNEApplicationWindowHelper::ProcessingMenuCommands myProcessingMenuCommands
 Processing Menu Commands. More...
 
GNEApplicationWindowHelper::SupermodeCommands mySupermodeCommands
 Supermode Commands. More...
 
const FXString myTitlePrefix
 the prefix for the window title More...
 
GNEApplicationWindowHelper::ToolbarsGrip myToolbarsGrip
 Toolbars Grip. More...
 
GNEApplicationWindowHelper::ToolsMenuCommands myToolsMenuCommands
 Tools Menu Commands. More...
 
GNEViewNetmyViewNet = nullptr
 pointer to current view net More...
 
GNEApplicationWindowHelper::WindowsMenuCommands myWindowsMenuCommands
 Windows Menu Commands. More...
 

Detailed Description

The main window of the Netedit.

Contains the file opening support and a canvas to display the network in.

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 39 of file GNEApplicationWindow.h.

Constructor & Destructor Documentation

◆ GNEApplicationWindow() [1/3]

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

FOX-declaration.

Constructor

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

Definition at line 416 of file GNEApplicationWindow.cpp.

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

◆ ~GNEApplicationWindow()

◆ GNEApplicationWindow() [2/3]

GNEApplicationWindow::GNEApplicationWindow ( )
protected

FOX needs this for static members.

Definition at line 4699 of file GNEApplicationWindow.cpp.

◆ GNEApplicationWindow() [3/3]

GNEApplicationWindow::GNEApplicationWindow ( const GNEApplicationWindow )
privatedelete

Invalidated copy constructor.

Member Function Documentation

◆ addChild()

void GUIMainWindow::addChild ( FXMainWindow *  child)
inherited

Adds a further child window to the list (FXMainWindow)

Definition at line 115 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 100 of file GUIMainWindow.cpp.

References GUIMainWindow::myGLWindows.

◆ addOnlineMap()

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

Definition at line 171 of file GUIMainWindow.h.

References GUIMainWindow::myOnlineMaps.

Referenced by GUIDialog_AppSettings::onCmdOk().

Here is the caller graph for this function:

◆ clearUndoList()

void GNEApplicationWindow::clearUndoList ( )

clear undo list

Definition at line 4675 of file GNEApplicationWindow.cpp.

References GNEUndoList::clear(), GUISUMOAbstractView::destroyPopup(), myUndoList, and myViewNet.

Referenced by continueWithUnsavedChanges().

Here is the caller graph for this function:

◆ closeAllWindows()

void GNEApplicationWindow::closeAllWindows ( )
private

◆ computeJunctionWithVolatileOptions()

◆ continueWithUnsavedAdditionalChanges()

bool GNEApplicationWindow::continueWithUnsavedAdditionalChanges ( const std::string &  operation)
private

warns about unsaved changes in additionals and gives the user the option to abort

Definition at line 4415 of file GNEApplicationWindow.cpp.

References myFileMenuCommands, myViewNet, onCmdSaveAdditionals(), GNEApplicationWindowHelper::FileMenuCommands::saveAdditionals, and WRITE_DEBUG.

Referenced by continueWithUnsavedChanges().

Here is the caller graph for this function:

◆ continueWithUnsavedChanges()

bool GNEApplicationWindow::continueWithUnsavedChanges ( const std::string &  operation)
private

warns about unsaved changes and gives the user the option to abort

Definition at line 4352 of file GNEApplicationWindow.cpp.

References clearUndoList(), continueWithUnsavedAdditionalChanges(), continueWithUnsavedDataElementChanges(), continueWithUnsavedDemandElementChanges(), GNENet::isNetSaved(), myNet, myViewNet, onCmdSaveNetwork(), and WRITE_DEBUG.

Referenced by onCmdClose(), onCmdQuit(), and onCmdReload().

Here is the caller graph for this function:

◆ continueWithUnsavedDataElementChanges()

bool GNEApplicationWindow::continueWithUnsavedDataElementChanges ( const std::string &  operation)
private

warns about unsaved changes in data elements and gives the user the option to abort

Definition at line 4501 of file GNEApplicationWindow.cpp.

References myFileMenuCommands, myViewNet, onCmdSaveDataElements(), GNEApplicationWindowHelper::FileMenuCommands::saveDataElements, and WRITE_DEBUG.

Referenced by continueWithUnsavedChanges().

Here is the caller graph for this function:

◆ continueWithUnsavedDemandElementChanges()

bool GNEApplicationWindow::continueWithUnsavedDemandElementChanges ( const std::string &  operation)
private

warns about unsaved changes in demand elements and gives the user the option to abort

Definition at line 4458 of file GNEApplicationWindow.cpp.

References myFileMenuCommands, myViewNet, onCmdSaveDemandElements(), GNEApplicationWindowHelper::FileMenuCommands::saveDemandElements, and WRITE_DEBUG.

Referenced by continueWithUnsavedChanges().

Here is the caller graph for this function:

◆ create()

◆ dependentBuild()

◆ disableSaveAdditionalsMenu()

void GNEApplicationWindow::disableSaveAdditionalsMenu ( )

disable save additionals

Definition at line 1916 of file GNEApplicationWindow.cpp.

References myFileMenuCommands, GNEApplicationWindowHelper::FileMenuCommands::saveAdditionals, and GNEApplicationWindowHelper::FileMenuCommands::saveAdditionalsAs.

Referenced by closeAllWindows(), onCmdClose(), onCmdOpenNetwork(), onCmdReload(), and GNENet::requireSaveAdditionals().

Here is the caller graph for this function:

◆ disableSaveDataElementsMenu()

void GNEApplicationWindow::disableSaveDataElementsMenu ( )

disable save data elements

Definition at line 1944 of file GNEApplicationWindow.cpp.

References myFileMenuCommands, GNEApplicationWindowHelper::FileMenuCommands::saveDataElements, and GNEApplicationWindowHelper::FileMenuCommands::saveDataElementsAs.

Referenced by GNENet::requireSaveDataElements().

Here is the caller graph for this function:

◆ disableSaveDemandElementsMenu()

void GNEApplicationWindow::disableSaveDemandElementsMenu ( )

disable save demand elements

Definition at line 1930 of file GNEApplicationWindow.cpp.

References myFileMenuCommands, GNEApplicationWindowHelper::FileMenuCommands::saveDemandElements, and GNEApplicationWindowHelper::FileMenuCommands::saveDemandElementsAs.

Referenced by GNENet::requireSaveDemandElements().

Here is the caller graph for this function:

◆ disableUndoRedo()

void GNEApplicationWindow::disableUndoRedo ( const std::string &  reason)

disable undo-redo giving a string with the reason

Definition at line 4645 of file GNEApplicationWindow.cpp.

References myUndoRedoListEnabled.

Referenced by GNEPathCreator::addEdge(), GNEPathCreator::addJunction(), GNEConsecutiveSelector::addLane(), and GNEPathCreator::addStoppingPlace().

Here is the caller graph for this function:

◆ enableSaveAdditionalsMenu()

void GNEApplicationWindow::enableSaveAdditionalsMenu ( )

enable save additionals

Definition at line 1909 of file GNEApplicationWindow.cpp.

References myFileMenuCommands, GNEApplicationWindowHelper::FileMenuCommands::saveAdditionals, and GNEApplicationWindowHelper::FileMenuCommands::saveAdditionalsAs.

Referenced by GNENet::requireSaveAdditionals().

Here is the caller graph for this function:

◆ enableSaveDataElementsMenu()

void GNEApplicationWindow::enableSaveDataElementsMenu ( )

enable save data elements

Definition at line 1937 of file GNEApplicationWindow.cpp.

References myFileMenuCommands, GNEApplicationWindowHelper::FileMenuCommands::saveDataElements, and GNEApplicationWindowHelper::FileMenuCommands::saveDataElementsAs.

Referenced by GNENet::requireSaveDataElements().

Here is the caller graph for this function:

◆ enableSaveDemandElementsMenu()

void GNEApplicationWindow::enableSaveDemandElementsMenu ( )

enable save demand elements

Definition at line 1923 of file GNEApplicationWindow.cpp.

References myFileMenuCommands, GNEApplicationWindowHelper::FileMenuCommands::saveDemandElements, and GNEApplicationWindowHelper::FileMenuCommands::saveDemandElementsAs.

Referenced by GNENet::requireSaveDemandElements().

Here is the caller graph for this function:

◆ enableSaveTLSProgramsMenu()

void GNEApplicationWindow::enableSaveTLSProgramsMenu ( )

enable save TLS Programs

Definition at line 1903 of file GNEApplicationWindow.cpp.

References myFileMenuCommands, and GNEApplicationWindowHelper::FileMenuCommands::saveTLSPrograms.

Referenced by GNENet::requireSaveTLSPrograms().

Here is the caller graph for this function:

◆ enableUndoRedo()

void GNEApplicationWindow::enableUndoRedo ( )

disable undo-redo

Definition at line 4651 of file GNEApplicationWindow.cpp.

References myUndoRedoListEnabled.

Referenced by GNEConsecutiveSelector::abortPathCreation(), GNEPathCreator::abortPathCreation(), GNEContainerPlanFrame::hide(), and GNEPersonPlanFrame::hide().

Here is the caller graph for this function:

◆ eventOccurred()

void GNEApplicationWindow::eventOccurred ( )
virtual

Implements MFXInterThreadEventClient.

Definition at line 1190 of file GNEApplicationWindow.cpp.

References DEBUG_OCCURRED, MFXSynchQue< T, Container >::empty(), ERROR_OCCURRED, GUIEvent::getOwnType(), GLDEBUG_OCCURRED, handleEvent_Message(), handleEvent_NetworkLoaded(), MESSAGE_OCCURRED, myEvents, MFXSynchQue< T, Container >::pop(), SIMULATION_LOADED, MFXSynchQue< T, Container >::top(), and WARNING_OCCURRED.

Referenced by onLoadThreadEvent().

Here is the caller graph for this function:

◆ fillMenuBar()

void GNEApplicationWindow::fillMenuBar ( )
private

Builds the menu bar.

Definition at line 1421 of file GNEApplicationWindow.cpp.

References GNEApplicationWindowHelper::EditMenuCommands::DataViewOptions::buildDataViewOptionsMenuChecks(), GNEApplicationWindowHelper::EditMenuCommands::DemandViewOptions::buildDemandViewOptionsMenuChecks(), GNEApplicationWindowHelper::FileMenuCommands::buildFileMenuCommands(), GNEApplicationWindowHelper::EditMenuCommands::buildFrontElementMenuCommand(), GUIDesigns::buildFXMenuCommandShortcut(), GUIDesigns::buildFXMenuTitle(), GNEApplicationWindowHelper::LocateMenuCommands::buildLocateMenuCommands(), GNEApplicationWindowHelper::LockMenuCommands::buildLockMenuCommands(), GNEApplicationWindowHelper::ModesMenuCommands::buildModesMenuCommands(), GNEApplicationWindowHelper::EditMenuCommands::NetworkViewOptions::buildNetworkViewOptionsMenuChecks(), GNEApplicationWindowHelper::EditMenuCommands::buildOpenSUMOMenuCommands(), GNEApplicationWindowHelper::ProcessingMenuCommands::buildProcessingMenuCommands(), GNEApplicationWindowHelper::MenuBarFile::buildRecentFiles(), GNEApplicationWindowHelper::SupermodeCommands::buildSupermodeCommands(), GNEApplicationWindowHelper::ToolsMenuCommands::buildToolsMenuCommands(), GNEApplicationWindowHelper::EditMenuCommands::buildUndoRedoMenuCommands(), GNEApplicationWindowHelper::EditMenuCommands::buildViewMenuCommands(), GNEApplicationWindowHelper::WindowsMenuCommands::buildWindowsMenuCommands(), GNEApplicationWindowHelper::EditMenuCommands::dataViewOptions, GNEApplicationWindowHelper::EditMenuCommands::demandViewOptions, GUIIconSubSys::getIcon(), GNEApplicationWindowHelper::EditMenuCommands::DataViewOptions::hideDataViewOptionsMenuChecks(), GNEApplicationWindowHelper::EditMenuCommands::DemandViewOptions::hideDemandViewOptionsMenuChecks(), GNEApplicationWindowHelper::EditMenuCommands::NetworkViewOptions::hideNetworkViewOptionsMenuChecks(), GNEApplicationWindowHelper::SupermodeCommands::hideSupermodeCommands(), GNEApplicationWindowHelper::ToolbarsGrip::menu, MID_CHANGELOG, MID_GNE_LOCK_MENUTITLE, MID_GNE_MODESMENUTITLE, MID_HOTKEY_CTRL_Q_CLOSE, MID_HOTKEY_F12_ABOUT, MID_HOTKEY_F1_ONLINEDOCUMENTATION, MID_HOTKEYS, MID_TUTORIAL, myEditMenu, myEditMenuCommands, myFileMenu, myFileMenuAdditionals, myFileMenuCommands, myFileMenuDataElements, myFileMenuDemandElements, myFileMenuEdgeTypes, myFileMenuSUMOConfig, myFileMenuTLS, myHelpMenu, myLocateMenuCommands, myLocatorMenu, myLockMenu, myLockMenuCommands, myLockMenuTitle, myMenuBarFile, myMessageWindow, myModesMenu, myModesMenuCommands, myModesMenuTitle, myProcessingMenu, myProcessingMenuCommands, GUIMainWindow::myStatusbar, mySupermodeCommands, myToolbarsGrip, myToolsMenu, myToolsMenuCommands, myWindowMenu, myWindowsMenuCommands, NETEDIT_MINI, GNEApplicationWindowHelper::EditMenuCommands::networkViewOptions, and TL.

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 269 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 171 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 * GNEApplicationWindow::getBuildGLCanvas ( ) const
virtual

get build GL Canvas (must be implemented in all children)

Implements GUIMainWindow.

Definition at line 1543 of file GNEApplicationWindow.cpp.

◆ getCartesianLabel()

FXLabel * GUIMainWindow::getCartesianLabel ( )
inherited

get cartesian label

Definition at line 218 of file GUIMainWindow.cpp.

References GUIMainWindow::myCartesianCoordinate.

Referenced by GUISUMOAbstractView::updatePositionInformationLabel().

Here is the caller graph for this function:

◆ getCurrentSimTime()

SUMOTime GNEApplicationWindow::getCurrentSimTime ( ) const
virtual

get current simulation time (pure virtual but we don't need it)

Implements GUIMainWindow.

Definition at line 1550 of file GNEApplicationWindow.cpp.

◆ getDefaultCursor()

FXCursor * GNEApplicationWindow::getDefaultCursor ( )

get default cursor

Definition at line 1654 of file GNEApplicationWindow.cpp.

◆ getDelay()

virtual double GUIMainWindow::getDelay ( ) const
inlinevirtualinherited

Returns the delay (should be overwritten by subclasses if applicable)

Returns
parsed delay in milliseconds

Reimplemented in GUIApplicationWindow.

Definition at line 138 of file GUIMainWindow.h.

Referenced by GUISUMOAbstractView::getDelay(), and GUIViewTraffic::saveFrame().

Here is the caller graph for this function:

◆ getEditMenuCommands()

GNEApplicationWindowHelper::EditMenuCommands & GNEApplicationWindow::getEditMenuCommands ( )

getEdit Menu Commands (needed for show/hide menu commands)

Definition at line 4663 of file GNEApplicationWindow.cpp.

References myEditMenuCommands.

Referenced by GNEViewNet::updateDataModeSpecificControls(), GNEViewNet::updateDemandModeSpecificControls(), and GNEViewNet::updateNetworkModeSpecificControls().

Here is the caller graph for this function:

◆ getFallbackFont()

FXFont * GUIMainWindow::getFallbackFont ( )
inherited

get fallback front

Definition at line 176 of file GUIMainWindow.cpp.

References GUIMainWindow::myFallbackFont.

Referenced by GUIParameterTableWindow::checkFont().

Here is the caller graph for this function:

◆ getFolder()

FXString GNEApplicationWindow::getFolder ( const std::string &  folder) const
private

extract folder

Definition at line 4544 of file GNEApplicationWindow.cpp.

References gCurrentFolder.

Referenced by onCmdSaveAdditionals(), onCmdSaveAdditionalsAs(), onCmdSaveAsPlainXML(), onCmdSaveDataElements(), onCmdSaveDataElementsAs(), onCmdSaveDemandElements(), onCmdSaveDemandElementsAs(), onCmdSaveEdgeTypes(), onCmdSaveEdgeTypesAs(), onCmdSaveJoined(), onCmdSaveSUMOConfig(), onCmdSaveSUMOConfigAs(), onCmdSaveTLSPrograms(), and onCmdSaveTLSProgramsAs().

Here is the caller graph for this function:

◆ getGeoLabel()

FXLabel * GUIMainWindow::getGeoLabel ( )
inherited

get geo label

Definition at line 224 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 200 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 260 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:

◆ getLockMenuCommands()

GNEApplicationWindowHelper::LockMenuCommands & GNEApplicationWindow::getLockMenuCommands ( )

get lock Menu Commands

Definition at line 4669 of file GNEApplicationWindow.cpp.

References myLockMenuCommands.

◆ getOnlineMaps()

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

Definition at line 167 of file GUIMainWindow.h.

References GUIMainWindow::myOnlineMaps.

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

Here is the caller graph for this function:

◆ getProcessingMenuCommands()

const GNEApplicationWindowHelper::ProcessingMenuCommands & GNEApplicationWindow::getProcessingMenuCommands ( ) const

get processing Menu Commands

Definition at line 4686 of file GNEApplicationWindow.cpp.

References myProcessingMenuCommands.

◆ getStaticTooltipMenu()

◆ getStaticTooltipView()

MFXStaticToolTip * GUIMainWindow::getStaticTooltipView ( ) const
inherited

get static toolTip for view

Definition at line 212 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:

◆ getTestLabel()

FXLabel * GUIMainWindow::getTestLabel ( )
inherited

get test label

Definition at line 230 of file GUIMainWindow.cpp.

References GUIMainWindow::myTestCoordinate.

Referenced by GUISUMOAbstractView::updatePositionInformationLabel().

Here is the caller graph for this function:

◆ getToolbarsGrip()

GNEApplicationWindowHelper::ToolbarsGrip & GNEApplicationWindow::getToolbarsGrip ( )

get ToolbarsGrip

Definition at line 1580 of file GNEApplicationWindow.cpp.

References myToolbarsGrip.

Referenced by GNEViewNet::buildEditModeControls(), dependentBuild(), handleEvent_NetworkLoaded(), GNEViewNet::updateDataModeSpecificControls(), GNEViewNet::updateDemandModeSpecificControls(), GNEViewNet::updateNetworkModeSpecificControls(), and GNEViewParent::~GNEViewParent().

Here is the caller graph for this function:

◆ getTopDock()

FXDockSite * GUIMainWindow::getTopDock ( )
inherited

get top dock

Definition at line 132 of file GUIMainWindow.cpp.

References GUIMainWindow::myTopDock.

◆ getTrackerInterval()

double GNEApplicationWindow::getTrackerInterval ( ) const
virtual

get current tracker interval (pure virtual but we don't need it)

Implements GUIMainWindow.

Definition at line 1556 of file GNEApplicationWindow.cpp.

◆ getUndoList()

GNEUndoList * GNEApplicationWindow::getUndoList ( )

get pointer to undoList

Definition at line 1562 of file GNEApplicationWindow.cpp.

References myUndoList.

Referenced by GNEUndoListDialog::onCmdSelectRow(), GNEUndoListDialog::recalcList(), GNEUndoListDialog::updateList(), and GNEViewParent::updateUndoRedoButtons().

Here is the caller graph for this function:

◆ getUndoListDialog()

GNEUndoListDialog * GNEApplicationWindow::getUndoListDialog ( )

get pointer to undoList dialog

Definition at line 1568 of file GNEApplicationWindow.cpp.

References myUndoListDialog.

◆ getViewByID()

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

get specific view by ID

Definition at line 148 of file GUIMainWindow.cpp.

References GUIMainWindow::myGLWindows.

◆ getViewIDs()

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

get view IDs

Definition at line 138 of file GUIMainWindow.cpp.

References GUIMainWindow::myGLWindows.

◆ getViewNet()

GNEViewNet * GNEApplicationWindow::getViewNet ( )

get pointer to viewNet

Definition at line 1574 of file GNEApplicationWindow.cpp.

References myViewNet.

Referenced by GNEUndoList::begin(), and GNEUndoList::end().

Here is the caller graph for this function:

◆ getViews()

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

get views

Definition at line 181 of file GUIMainWindow.cpp.

References GUIMainWindow::myGLWindows.

Referenced by GUIRunThread::waitForSnapshots().

Here is the caller graph for this function:

◆ handleEvent_Message()

void GNEApplicationWindow::handleEvent_Message ( GUIEvent e)

handle event of type message

Definition at line 1411 of file GNEApplicationWindow.cpp.

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

Referenced by eventOccurred().

Here is the caller graph for this function:

◆ handleEvent_NetworkLoaded()

void GNEApplicationWindow::handleEvent_NetworkLoaded ( GUIEvent e)

handle event of type Network loaded

Definition at line 1216 of file GNEApplicationWindow.cpp.

References GUISUMOAbstractView::addDecals(), GUISettingsHandler::addSettings(), GUISettingsHandler::applyViewport(), GNEUndoList::begin(), GNEApplicationWindowHelper::ToolbarsGrip::buildViewParentToolbarsGrips(), DATA, DEMAND, GNENet::disableUpdateData(), GNENet::enableUpdateData(), GNEUndoList::end(), GNEEvent_NetworkLoaded::file, GNEViewNet::forceSupermodeNetwork(), GUISettingsHandler::getDecals(), GNEViewNet::getNet(), OptionsCont::getOptions(), OptionsCont::getString(), OptionsCont::getStringVector(), MFXUtils::getTitleText(), getToolbarsGrip(), GUIGlChildWindow::getView(), GNEGeneralHandler::isErrorCreatingElement(), DataHandler::isErrorCreatingElement(), GNEEvent_NetworkLoaded::isNewNet, OptionsCont::isSet(), myAmLoading, GUIMainWindow::myMDIClient, myMDIMenu, myMessageWindow, myNet, myReloading, myTitlePrefix, myUndoList, myViewNet, GNEEvent_NetworkLoaded::net, NETWORK, DataHandler::parse(), GeneralHandler::parse(), GUIMessageWindow::registerMsgHandlers(), GNENet::requireSaveAdditionals(), GNENet::requireSaveDataElements(), GNENet::requireSaveDemandElements(), GNENet::requireSaveNet(), OptionsCont::resetWritable(), OptionsCont::set(), Position::set(), GUISettingsHandler::setSnapshots(), setStatusBarText(), GNEEvent_NetworkLoaded::settingsFile, XMLSubSys::setValidation(), GUISUMOAbstractView::setViewportFromToRot(), GUIMainWindow::setWindowSizeAndPos(), SUPERMODEDATA, SUPERMODEDEMAND, SUPERMODENETWORK, TL, toString(), GNEEvent_NetworkLoaded::viewportFromRegistry, WRITE_ERROR, WRITE_MESSAGE, Position::x(), and Position::y().

Referenced by eventOccurred().

Here is the caller graph for this function:

◆ isFullScreen()

bool GUIMainWindow::isFullScreen ( )
inlineinherited

Definition at line 163 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 236 of file GUIMainWindow.cpp.

References GUIMainWindow::myAmGaming.

Referenced by GUISUMOViewParent::init(), GUISUMOAbstractView::onLeftBtnRelease(), GUISUMOAbstractView::onMouseWheel(), GUISUMOAbstractView::onRightBtnRelease(), and GUIViewTraffic::setColorScheme().

Here is the caller graph for this function:

◆ isUndoRedoEnabled()

const std::string & GNEApplicationWindow::isUndoRedoEnabled ( ) const

check if undo-redo is enabled

Definition at line 4657 of file GNEApplicationWindow.cpp.

References myUndoRedoListEnabled.

Referenced by GNEUndoList::onUpdRedo(), and GNEUndoList::onUpdUndo().

Here is the caller graph for this function:

◆ listInternal()

bool GUIMainWindow::listInternal ( ) const
inherited

return whether to list internal structures

Definition at line 242 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 248 of file GUIMainWindow.cpp.

References GUIMainWindow::myListParking.

Referenced by GUIApplicationWindow::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 254 of file GUIMainWindow.cpp.

References GUIMainWindow::myListTeleporting.

Referenced by GUISUMOViewParent::getObjectIDs().

Here is the caller graph for this function:

◆ loadConfigOrNet()

void GNEApplicationWindow::loadConfigOrNet ( const std::string  file,
bool  isNet,
bool  isReload = false,
bool  useStartupOptions = false,
bool  newNet = false 
)
private

◆ loadNet()

void GNEApplicationWindow::loadNet ( const std::string &  file)

load network

Definition at line 1669 of file GNEApplicationWindow.cpp.

References loadConfigOrNet().

◆ loadOptionOnStartup()

void GNEApplicationWindow::loadOptionOnStartup ( )

load net on startup

Definition at line 1660 of file GNEApplicationWindow.cpp.

References OptionsCont::getBool(), OptionsCont::getOptions(), loadConfigOrNet(), and OptionsCont::set().

Referenced by main().

Here is the caller graph for this function:

◆ onClipboardRequest()

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

called when the command/FXCall clipboard request is executed

Definition at line 1174 of file GNEApplicationWindow.cpp.

References GUIUserIO::clipped.

Referenced by FXDEFMAP().

Here is the caller graph for this function:

◆ onCmdAbort()

◆ onCmdAbout()

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

called when the command/FXCall show about dialog is executed

Definition at line 1161 of file GNEApplicationWindow.cpp.

References GNEAbout::create(), and WRITE_DEBUG.

Referenced by FXDEFMAP().

Here is the caller graph for this function:

◆ onCmdBackspace()

long GNEApplicationWindow::onCmdBackspace ( FXObject *  sender,
FXSelector  sel,
void *  ptr 
)

called if the user hits backspace

Definition at line 2287 of file GNEApplicationWindow.cpp.

References GNEViewNet::hotkeyBackSpace(), myViewNet, and WRITE_DEBUG.

Referenced by FXDEFMAP().

Here is the caller graph for this function:

◆ onCmdChangelog()

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

called if the user selects help->Changelog

Definition at line 2489 of file GNEApplicationWindow.cpp.

References MFXLinkLabel::fxexecute().

Referenced by FXDEFMAP().

Here is the caller graph for this function:

◆ onCmdClearMsgWindow()

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

called when the command/FXCall clear message windows is executed

Definition at line 1138 of file GNEApplicationWindow.cpp.

References GUIMessageWindow::clear(), and myMessageWindow.

Referenced by FXDEFMAP().

Here is the caller graph for this function:

◆ onCmdClearTemplate()

long GNEApplicationWindow::onCmdClearTemplate ( FXObject *  ,
FXSelector  ,
void *   
)

Definition at line 2686 of file GNEApplicationWindow.cpp.

References GNEInspectorFrame::TemplateEditor::clearTemplate(), GNEViewParent::getInspectorFrame(), GNEInspectorFrame::getTemplateEditor(), GNEViewNet::getViewParent(), myViewNet, and WRITE_DEBUG.

Referenced by FXDEFMAP().

Here is the caller graph for this function:

◆ onCmdClose()

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

called when the command/FXCall close is executed

Definition at line 1018 of file GNEApplicationWindow.cpp.

References GUIMessageWindow::addSeparator(), closeAllWindows(), continueWithUnsavedChanges(), GNEApplicationWindowHelper::ModesMenuCommands::dataMenuCommands, GNEApplicationWindowHelper::EditMenuCommands::dataViewOptions, GNEApplicationWindowHelper::ModesMenuCommands::demandMenuCommands, GNEApplicationWindowHelper::EditMenuCommands::demandViewOptions, disableSaveAdditionalsMenu(), GNEApplicationWindowHelper::ModesMenuCommands::DataMenuCommands::hideDataMenuCommands(), GNEApplicationWindowHelper::EditMenuCommands::DataViewOptions::hideDataViewOptionsMenuChecks(), GNEApplicationWindowHelper::ModesMenuCommands::DemandMenuCommands::hideDemandMenuCommands(), GNEApplicationWindowHelper::EditMenuCommands::DemandViewOptions::hideDemandViewOptionsMenuChecks(), GNEApplicationWindowHelper::ModesMenuCommands::NetworkMenuCommands::hideNetworkMenuCommands(), GNEApplicationWindowHelper::EditMenuCommands::NetworkViewOptions::hideNetworkViewOptionsMenuChecks(), GNEApplicationWindowHelper::SupermodeCommands::hideSupermodeCommands(), myEditMenuCommands, myFileMenuCommands, myMessageWindow, myModesMenuCommands, mySupermodeCommands, GNEApplicationWindowHelper::ModesMenuCommands::networkMenuCommands, GNEApplicationWindowHelper::EditMenuCommands::networkViewOptions, and GNEApplicationWindowHelper::FileMenuCommands::saveTLSPrograms.

Referenced by FXDEFMAP(), onCmdNewNetwork(), onCmdOpenConfiguration(), onCmdOpenForeign(), onCmdOpenNetwork(), and onCmdOpenRecent().

Here is the caller graph for this function:

◆ onCmdComputePathManager()

long GNEApplicationWindow::onCmdComputePathManager ( FXObject *  ,
FXSelector  ,
void *   
)

Definition at line 2627 of file GNEApplicationWindow.cpp.

References GNEViewNet::getNet(), GNEPathManager::getPathCalculator(), GNENet::getPathManager(), GNEPathManager::PathCalculator::isPathCalculatorUpdated(), myViewNet, and GNEPathManager::PathCalculator::updatePathCalculator().

Referenced by FXDEFMAP().

Here is the caller graph for this function:

◆ onCmdCopy()

long GNEApplicationWindow::onCmdCopy ( FXObject *  ,
FXSelector  ,
void *   
)

Definition at line 2646 of file GNEApplicationWindow.cpp.

References WRITE_DEBUG.

◆ onCmdCopyTemplate()

long GNEApplicationWindow::onCmdCopyTemplate ( FXObject *  ,
FXSelector  ,
void *   
)

Definition at line 2674 of file GNEApplicationWindow.cpp.

References GNEInspectorFrame::TemplateEditor::copyTemplate(), GNEViewParent::getInspectorFrame(), GNEInspectorFrame::getTemplateEditor(), GNEViewNet::getViewParent(), myViewNet, and WRITE_DEBUG.

Referenced by FXDEFMAP().

Here is the caller graph for this function:

◆ onCmdCut()

long GNEApplicationWindow::onCmdCut ( FXObject *  ,
FXSelector  ,
void *   
)

called when user press Ctrl+Z

Definition at line 2638 of file GNEApplicationWindow.cpp.

References WRITE_DEBUG.

◆ onCmdDel()

long GNEApplicationWindow::onCmdDel ( FXObject *  sender,
FXSelector  sel,
void *  ptr 
)

called if the user hits del

Definition at line 2263 of file GNEApplicationWindow.cpp.

References GNEViewNet::hotkeyDel(), myViewNet, and WRITE_DEBUG.

Referenced by FXDEFMAP().

Here is the caller graph for this function:

◆ onCmdEditChosen()

long GNEApplicationWindow::onCmdEditChosen ( FXObject *  ,
FXSelector  ,
void *   
)

called when the command/FXCall edit chosen is executed

Definition at line 602 of file GNEApplicationWindow.cpp.

References gSelected.

◆ onCmdEditViewport()

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

Called on menu Edit->Viewport.

Definition at line 2367 of file GNEApplicationWindow.cpp.

References myViewNet, and GUISUMOAbstractView::showViewportEditor().

Referenced by FXDEFMAP().

Here is the caller graph for this function:

◆ onCmdEditViewScheme()

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

Called on menu Edit->Visualization.

Definition at line 2377 of file GNEApplicationWindow.cpp.

References myViewNet, and GUISUMOAbstractView::showViewschemeEditor().

Referenced by FXDEFMAP().

Here is the caller graph for this function:

◆ onCmdEnter()

long GNEApplicationWindow::onCmdEnter ( FXObject *  sender,
FXSelector  sel,
void *  ptr 
)

called if the user hits enter

Definition at line 2275 of file GNEApplicationWindow.cpp.

References GNEViewNet::hotkeyEnter(), myViewNet, and WRITE_DEBUG.

Referenced by FXDEFMAP().

Here is the caller graph for this function:

◆ onCmdFocusFrame()

long GNEApplicationWindow::onCmdFocusFrame ( FXObject *  sender,
FXSelector  sel,
void *  ptr 
)

called if the user hits key combination for focus on frame

Definition at line 2342 of file GNEApplicationWindow.cpp.

References GNEViewNet::hotkeyFocusFrame(), and myViewNet.

Referenced by FXDEFMAP().

Here is the caller graph for this function:

◆ onCmdForceSaveAdditionals()

long GNEApplicationWindow::onCmdForceSaveAdditionals ( FXObject *  sender,
FXSelector  sel,
void *  ptr 
)

force save additionals (flag)

Definition at line 2309 of file GNEApplicationWindow.cpp.

References GNEViewNet::getNet(), myViewNet, and GNENet::requireSaveAdditionals().

Referenced by FXDEFMAP().

Here is the caller graph for this function:

◆ onCmdForceSaveDataElements()

long GNEApplicationWindow::onCmdForceSaveDataElements ( FXObject *  sender,
FXSelector  sel,
void *  ptr 
)

force save data elements (flag)

Definition at line 2331 of file GNEApplicationWindow.cpp.

References GNEViewNet::getNet(), myViewNet, and GNENet::requireSaveDataElements().

Referenced by FXDEFMAP().

Here is the caller graph for this function:

◆ onCmdForceSaveDemandElements()

long GNEApplicationWindow::onCmdForceSaveDemandElements ( FXObject *  sender,
FXSelector  sel,
void *  ptr 
)

force save demand elements (flag)

Definition at line 2320 of file GNEApplicationWindow.cpp.

References GNEViewNet::getNet(), myViewNet, and GNENet::requireSaveDemandElements().

Referenced by FXDEFMAP().

Here is the caller graph for this function:

◆ onCmdForceSaveNetwork()

long GNEApplicationWindow::onCmdForceSaveNetwork ( FXObject *  sender,
FXSelector  sel,
void *  ptr 
)

force save network (flag)

Definition at line 2298 of file GNEApplicationWindow.cpp.

References GNEViewNet::getNet(), myViewNet, and GNENet::requireSaveNet().

Referenced by FXDEFMAP().

Here is the caller graph for this function:

◆ onCmdFullScreen()

virtual long GUIMainWindow::onCmdFullScreen ( FXObject *  ,
FXSelector  ,
void *   
)
inlinevirtualinherited

Toggle full screen mode.

Reimplemented in GUIApplicationWindow.

Definition at line 159 of file GUIMainWindow.h.

Referenced by GUIViewTraffic::onDoubleClicked().

Here is the caller graph for this function:

◆ onCmdHelp()

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

called if the user selects help->Documentation

Definition at line 2482 of file GNEApplicationWindow.cpp.

References MFXLinkLabel::fxexecute().

Referenced by FXDEFMAP().

Here is the caller graph for this function:

◆ onCmdHotkeys()

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

called if the user selects help->Hotkeys

Definition at line 2497 of file GNEApplicationWindow.cpp.

References MFXLinkLabel::fxexecute().

Referenced by FXDEFMAP().

Here is the caller graph for this function:

◆ onCmdLoadAdditionalsInSUMOGUI()

long GNEApplicationWindow::onCmdLoadAdditionalsInSUMOGUI ( FXObject *  ,
FXSelector  ,
void *   
)

called when user toggle windows checkbox "load additionals"

Definition at line 1145 of file GNEApplicationWindow.cpp.

References WRITE_DEBUG.

Referenced by FXDEFMAP().

Here is the caller graph for this function:

◆ onCmdLoadDemandInSUMOGUI()

long GNEApplicationWindow::onCmdLoadDemandInSUMOGUI ( FXObject *  ,
FXSelector  ,
void *   
)

called when user toggle windows checkbox "load demand"

Definition at line 1153 of file GNEApplicationWindow.cpp.

References WRITE_DEBUG.

Referenced by FXDEFMAP().

Here is the caller graph for this function:

◆ onCmdLocate()

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

called when the command/FXCall locate is executed

Definition at line 1041 of file GNEApplicationWindow.cpp.

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

Referenced by FXDEFMAP().

Here is the caller graph for this function:

◆ onCmdLockAllElements()

long GNEApplicationWindow::onCmdLockAllElements ( FXObject *  ,
FXSelector  sel,
void *   
)

called when user press lock all elements button

Definition at line 1980 of file GNEApplicationWindow.cpp.

References GNEViewNet::getLockManager(), GNEApplicationWindowHelper::LockMenuCommands::lockAll(), myLockMenuCommands, myViewNet, and GNEViewNetHelper::LockManager::updateFlags().

Referenced by FXDEFMAP().

Here is the caller graph for this function:

◆ onCmdLockElements()

long GNEApplicationWindow::onCmdLockElements ( FXObject *  ,
FXSelector  sel,
void *   
)

called when user press a lock menu check

Definition at line 1971 of file GNEApplicationWindow.cpp.

References GNEViewNet::getLockManager(), myViewNet, and GNEViewNetHelper::LockManager::updateFlags().

Referenced by FXDEFMAP().

Here is the caller graph for this function:

◆ onCmdLockSelectElements()

long GNEApplicationWindow::onCmdLockSelectElements ( FXObject *  ,
FXSelector  sel,
void *   
)

called when user press lock select elements button

Definition at line 1998 of file GNEApplicationWindow.cpp.

References myViewNet.

Referenced by FXDEFMAP().

Here is the caller graph for this function:

◆ onCmdNewNetwork()

long GNEApplicationWindow::onCmdNewNetwork ( FXObject *  ,
FXSelector  ,
void *   
)

called when the command/FXCall new network is executed

Definition at line 612 of file GNEApplicationWindow.cpp.

References GNELoadThread::fillOptions(), OptionsCont::getOptions(), loadConfigOrNet(), myViewNet, onCmdClose(), and GNELoadThread::setDefaultOptions().

Referenced by FXDEFMAP().

Here is the caller graph for this function:

◆ onCmdNewWindow()

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

Definition at line 2124 of file GNEApplicationWindow.cpp.

References FileHelpers::isReadable(), SysUtils::runHiddenCommand(), and WRITE_MESSAGE.

Referenced by FXDEFMAP().

Here is the caller graph for this function:

◆ onCmdOpenAdditionals()

◆ onCmdOpenConfiguration()

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

called when the command/FXCall open configuration is executed

Definition at line 627 of file GNEApplicationWindow.cpp.

References gCurrentFolder, GUIIconSubSys::getIcon(), loadConfigOrNet(), myConfigPattern, myMenuBarFile, GNEApplicationWindowHelper::MenuBarFile::myRecentNetsAndConfigs, myViewNet, onCmdClose(), OPEN_CONFIG, and TL.

Referenced by FXDEFMAP().

Here is the caller graph for this function:

◆ onCmdOpenDataElements()

long GNEApplicationWindow::onCmdOpenDataElements ( FXObject *  ,
FXSelector  ,
void *   
)

◆ onCmdOpenDemandElements()

◆ onCmdOpenEdgeTypes()

long GNEApplicationWindow::onCmdOpenEdgeTypes ( FXObject *  ,
FXSelector  ,
void *   
)

called when the command/FXCall open edgeType is executed

Definition at line 877 of file GNEApplicationWindow.cpp.

References GNEUndoList::add(), GNEEdgeType::addLaneType(), GNEUndoList::begin(), EDGE, GNEUndoList::end(), gCurrentFolder, GNEViewParent::getCreateEdgeFrame(), GNECreateEdgeFrame::getEdgeTypeSelector(), GUIIconSubSys::getIcon(), GNEViewNet::getUndoList(), GNEViewNet::getViewParent(), NITypeLoader::load(), MODECREATEEDGE, myNet, myViewNet, NETWORK, GNECreateEdgeFrame::EdgeTypeSelector::refreshEdgeTypeSelector(), NBTypeCont::size(), TL, toString(), and WRITE_MESSAGE.

Referenced by FXDEFMAP().

Here is the caller graph for this function:

◆ onCmdOpenForeign()

long GNEApplicationWindow::onCmdOpenForeign ( FXObject *  ,
FXSelector  ,
void *   
)

called when the command/FXCall open foreign is executed

Definition at line 694 of file GNEApplicationWindow.cpp.

References NIFrame::checkOptions(), GNELoadThread::fillOptions(), gCurrentFolder, GUIIconSubSys::getIcon(), OptionsCont::getOptions(), loadConfigOrNet(), myViewNet, onCmdClose(), OPEN_NET, OptionsCont::set(), and TL.

Referenced by FXDEFMAP().

Here is the caller graph for this function:

◆ onCmdOpenNetwork()

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

called when the command/FXCall open network is executed

Definition at line 654 of file GNEApplicationWindow.cpp.

References disableSaveAdditionalsMenu(), gCurrentFolder, GUIIconSubSys::getIcon(), loadConfigOrNet(), myFileMenuCommands, myMenuBarFile, GNEApplicationWindowHelper::MenuBarFile::myRecentNetsAndConfigs, myViewNet, onCmdClose(), OPEN_NET, GNEApplicationWindowHelper::FileMenuCommands::saveEdgeTypes, GNEApplicationWindowHelper::FileMenuCommands::saveTLSPrograms, and TL.

Referenced by FXDEFMAP().

Here is the caller graph for this function:

◆ onCmdOpenRecent()

long GNEApplicationWindow::onCmdOpenRecent ( FXObject *  ,
FXSelector  ,
void *  fileData 
)

called when the command/FXCall open recent is executed

Definition at line 962 of file GNEApplicationWindow.cpp.

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

Referenced by FXDEFMAP().

Here is the caller graph for this function:

◆ onCmdOpenSUMOConfig()

long GNEApplicationWindow::onCmdOpenSUMOConfig ( FXObject *  ,
FXSelector  ,
void *   
)

called when the command/FXCall open SUMOConfig is executed

Definition at line 741 of file GNEApplicationWindow.cpp.

References closeAllWindows(), gCurrentFolder, GUIIconSubSys::getIcon(), ConfigHandler::parse(), XMLSubSys::setValidation(), SUMO_MINI, TL, WRITE_DEBUG, WRITE_ERROR, and WRITE_MESSAGE.

Referenced by FXDEFMAP().

Here is the caller graph for this function:

◆ onCmdOpenSUMOGUI()

◆ onCmdOpenTLSPrograms()

long GNEApplicationWindow::onCmdOpenTLSPrograms ( FXObject *  ,
FXSelector  ,
void *   
)

called when the command/FXCall open TLS programs is executed

Definition at line 813 of file GNEApplicationWindow.cpp.

References GNEUndoList::abortAllChangeGroups(), GNEUndoList::begin(), GNENet::computeNetwork(), GNEUndoList::end(), gCurrentFolder, GUIIconSubSys::getIcon(), GNEViewParent::getTLSEditorFrame(), GNENet::getViewNet(), GNEViewNet::getViewParent(), MODETLS, myNet, myUndoList, NETWORK, GNETLSEditorFrame::parseTLSPrograms(), TL, and WRITE_DEBUG.

Referenced by FXDEFMAP().

Here is the caller graph for this function:

◆ onCmdOpenUndoListDialog()

long GNEApplicationWindow::onCmdOpenUndoListDialog ( FXObject *  ,
FXSelector  ,
void *   
)

Definition at line 2600 of file GNEApplicationWindow.cpp.

References myUndoListDialog, GNEUndoListDialog::setFocus(), GNEUndoListDialog::show(), and GNEUndoListDialog::shown().

Referenced by FXDEFMAP().

Here is the caller graph for this function:

◆ onCmdOptions()

long GNEApplicationWindow::onCmdOptions ( FXObject *  ,
FXSelector  ,
void *   
)

called if the user selects Processing->Configure Options

Definition at line 2521 of file GNEApplicationWindow.cpp.

References NBFrame::checkOptions(), NIFrame::checkOptions(), NWFrame::checkOptions(), SystemFrame::checkOptions(), and TL.

Referenced by FXDEFMAP().

Here is the caller graph for this function:

◆ onCmdPaste()

long GNEApplicationWindow::onCmdPaste ( FXObject *  ,
FXSelector  ,
void *   
)

Definition at line 2654 of file GNEApplicationWindow.cpp.

References WRITE_DEBUG.

◆ onCmdProcessButton()

◆ onCmdQuit()

long GNEApplicationWindow::onCmdQuit ( FXObject *  ,
FXSelector  ,
void *   
)

Called by FOX if the application shall be closed.

Note
Called either by FileMenu->Quit, the normal close-menu or SIGINT

Definition at line 586 of file GNEApplicationWindow.cpp.

References continueWithUnsavedChanges(), gCurrentFolder, and GUIMainWindow::storeWindowSizeAndPos().

Referenced by FXDEFMAP().

Here is the caller graph for this function:

◆ onCmdRedo()

◆ onCmdReload()

long GNEApplicationWindow::onCmdReload ( FXObject *  ,
FXSelector  ,
void *   
)

called when the command/FXCall reload is executed

Definition at line 986 of file GNEApplicationWindow.cpp.

References closeAllWindows(), continueWithUnsavedChanges(), GNEApplicationWindowHelper::ModesMenuCommands::dataMenuCommands, GNEApplicationWindowHelper::EditMenuCommands::dataViewOptions, GNEApplicationWindowHelper::ModesMenuCommands::demandMenuCommands, GNEApplicationWindowHelper::EditMenuCommands::demandViewOptions, disableSaveAdditionalsMenu(), OptionsCont::getOptions(), GNEApplicationWindowHelper::ModesMenuCommands::DataMenuCommands::hideDataMenuCommands(), GNEApplicationWindowHelper::EditMenuCommands::DataViewOptions::hideDataViewOptionsMenuChecks(), GNEApplicationWindowHelper::ModesMenuCommands::DemandMenuCommands::hideDemandMenuCommands(), GNEApplicationWindowHelper::EditMenuCommands::DemandViewOptions::hideDemandViewOptionsMenuChecks(), GNEApplicationWindowHelper::ModesMenuCommands::NetworkMenuCommands::hideNetworkMenuCommands(), GNEApplicationWindowHelper::EditMenuCommands::NetworkViewOptions::hideNetworkViewOptionsMenuChecks(), GNEApplicationWindowHelper::SupermodeCommands::hideSupermodeCommands(), loadConfigOrNet(), GNEApplicationWindowHelper::ToolbarsGrip::menu, myEditMenuCommands, myFileMenuCommands, myModesMenuCommands, mySupermodeCommands, myToolbarsGrip, myViewNet, GNEApplicationWindowHelper::ModesMenuCommands::networkMenuCommands, GNEApplicationWindowHelper::EditMenuCommands::networkViewOptions, and GNEApplicationWindowHelper::FileMenuCommands::saveTLSPrograms.

Referenced by FXDEFMAP().

Here is the caller graph for this function:

◆ onCmdReloadAdditionals()

long GNEApplicationWindow::onCmdReloadAdditionals ( FXObject *  ,
FXSelector  ,
void *   
)

called when the command/FXCall reload additionals is executed

Definition at line 3815 of file GNEApplicationWindow.cpp.

References GNEUndoList::begin(), GNENet::clearAdditionalElements(), DEMAND, GNEUndoList::end(), OptionsCont::getOptions(), OptionsCont::getString(), myNet, myUndoList, GeneralHandler::parse(), XMLSubSys::setValidation(), SUPERMODENETWORK, and WRITE_ERROR.

Referenced by FXDEFMAP().

Here is the caller graph for this function:

◆ onCmdReloadDataElements()

long GNEApplicationWindow::onCmdReloadDataElements ( FXObject *  ,
FXSelector  ,
void *   
)

called when the command/FXCall reload data elements is executed

Definition at line 4216 of file GNEApplicationWindow.cpp.

References GNEUndoList::begin(), GNENet::clearDemandElements(), DATA, GNENet::disableUpdateData(), GNENet::enableUpdateData(), GNEUndoList::end(), GNEViewNet::getNet(), OptionsCont::getOptions(), OptionsCont::getString(), DataHandler::isErrorCreatingElement(), myNet, myUndoList, myViewNet, DataHandler::parse(), GNENet::requireSaveDemandElements(), XMLSubSys::setValidation(), SUPERMODEDATA, and WRITE_ERROR.

Referenced by FXDEFMAP().

Here is the caller graph for this function:

◆ onCmdReloadDemandElements()

long GNEApplicationWindow::onCmdReloadDemandElements ( FXObject *  ,
FXSelector  ,
void *   
)

called when the command/FXCall reload demand elements is executed

Definition at line 4016 of file GNEApplicationWindow.cpp.

References GNEUndoList::begin(), GNENet::clearDemandElements(), DEMAND, GNEUndoList::end(), OptionsCont::getOptions(), OptionsCont::getString(), myNet, myUndoList, GeneralHandler::parse(), XMLSubSys::setValidation(), SUPERMODEDEMAND, and WRITE_ERROR.

Referenced by FXDEFMAP().

Here is the caller graph for this function:

◆ onCmdReloadEdgeTypes()

long GNEApplicationWindow::onCmdReloadEdgeTypes ( FXObject *  ,
FXSelector  ,
void *   
)

called when the command/FXCall reload edge types is executed

Definition at line 919 of file GNEApplicationWindow.cpp.

References GNEUndoList::add(), GNEEdgeType::addLaneType(), GNEUndoList::begin(), EDGE, GNEUndoList::end(), GNEViewParent::getCreateEdgeFrame(), GNECreateEdgeFrame::getEdgeTypeSelector(), OptionsCont::getOptions(), OptionsCont::getString(), GNEViewNet::getUndoList(), GNEViewNet::getViewParent(), NITypeLoader::load(), myNet, myViewNet, NETWORK, GNECreateEdgeFrame::EdgeTypeSelector::refreshEdgeTypeSelector(), NBTypeCont::size(), toString(), and WRITE_MESSAGE.

Referenced by FXDEFMAP().

Here is the caller graph for this function:

◆ onCmdReloadSUMOConfig()

long GNEApplicationWindow::onCmdReloadSUMOConfig ( FXObject *  ,
FXSelector  ,
void *   
)

called when the command/FXCall reload SUMOConfig is executed

Definition at line 782 of file GNEApplicationWindow.cpp.

References OptionsCont::getOptions(), OptionsCont::getString(), ConfigHandler::parse(), XMLSubSys::setValidation(), and WRITE_ERROR.

Referenced by FXDEFMAP().

Here is the caller graph for this function:

◆ onCmdReloadTLSPrograms()

long GNEApplicationWindow::onCmdReloadTLSPrograms ( FXObject *  ,
FXSelector  ,
void *   
)

called when the command/FXCall reload TLS programs is executed

Definition at line 849 of file GNEApplicationWindow.cpp.

References GNEUndoList::abortAllChangeGroups(), GNEUndoList::begin(), GNENet::computeNetwork(), GNEUndoList::end(), OptionsCont::getOptions(), OptionsCont::getString(), GNEViewParent::getTLSEditorFrame(), GNENet::getViewNet(), GNEViewNet::getViewParent(), MODETLS, myNet, myUndoList, NETWORK, and GNETLSEditorFrame::parseTLSPrograms().

Referenced by FXDEFMAP().

Here is the caller graph for this function:

◆ onCmdSaveAdditionals()

long GNEApplicationWindow::onCmdSaveAdditionals ( FXObject *  ,
FXSelector  ,
void *   
)

◆ onCmdSaveAdditionalsAs()

long GNEApplicationWindow::onCmdSaveAdditionalsAs ( FXObject *  ,
FXSelector  ,
void *   
)

called when the command/FXCall save additionals as is executed

Definition at line 3910 of file GNEApplicationWindow.cpp.

References FileHelpers::addExtension(), gCurrentFolder, MFXUtils::getFilename2Write(), getFolder(), GUIIconSubSys::getIcon(), OptionsCont::getOptions(), OptionsCont::getString(), MODEADDITIONAL, myFileMenuCommands, onCmdSaveAdditionals(), OptionsCont::resetWritable(), GNEApplicationWindowHelper::FileMenuCommands::saveAdditionals, OptionsCont::set(), and TL.

Referenced by FXDEFMAP().

Here is the caller graph for this function:

◆ onCmdSaveAllElements()

long GNEApplicationWindow::onCmdSaveAllElements ( FXObject *  ,
FXSelector  ,
void *   
)

called when the command/FXCall save all elements is executed

Definition at line 3348 of file GNEApplicationWindow.cpp.

References GNENet::isAdditionalsSaved(), GNENet::isDataElementsSaved(), GNENet::isDemandElementsSaved(), GNENet::isNetSaved(), myNet, onCmdSaveAdditionals(), onCmdSaveDataElements(), onCmdSaveDemandElements(), and onCmdSaveNetwork().

Referenced by FXDEFMAP(), and onCmdSaveSUMOConfig().

Here is the caller graph for this function:

◆ onCmdSaveAsNetwork()

long GNEApplicationWindow::onCmdSaveAsNetwork ( FXObject *  ,
FXSelector  ,
void *   
)

called when the command/FXCall save network as is executed

Definition at line 2698 of file GNEApplicationWindow.cpp.

References FileHelpers::addExtension(), gCurrentFolder, MFXUtils::getFilename2Write(), GUIIconSubSys::getIcon(), OptionsCont::getOptions(), MFXUtils::getTitleText(), myTitlePrefix, onCmdSaveNetwork(), OptionsCont::resetWritable(), SAVE, OptionsCont::set(), GNEApplicationWindowHelper::stringEndsWith(), and TL.

Referenced by FXDEFMAP(), and onCmdSaveNetwork().

Here is the caller graph for this function:

◆ onCmdSaveAsPlainXML()

long GNEApplicationWindow::onCmdSaveAsPlainXML ( FXObject *  ,
FXSelector  ,
void *   
)

called when the command/FXCall save as plain xml is executed

Definition at line 2734 of file GNEApplicationWindow.cpp.

References GUIMessageWindow::addSeparator(), GUIMessageWindow::appendMsg(), StringUtils::endsWith(), gCurrentFolder, MFXUtils::getFilename2Write(), getFolder(), GUIIconSubSys::getIcon(), OptionsCont::getOptions(), OptionsCont::getString(), MESSAGE_OCCURRED, myMessageWindow, myNet, SAVE, GNENet::savePlain(), TL, and WRITE_DEBUG.

Referenced by FXDEFMAP().

Here is the caller graph for this function:

◆ onCmdSaveDataElements()

long GNEApplicationWindow::onCmdSaveDataElements ( FXObject *  ,
FXSelector  ,
void *   
)

◆ onCmdSaveDataElementsAs()

long GNEApplicationWindow::onCmdSaveDataElementsAs ( FXObject *  ,
FXSelector  ,
void *   
)

called when the command/FXCall save data elements as is executed

Definition at line 4318 of file GNEApplicationWindow.cpp.

References FileHelpers::addExtension(), gCurrentFolder, MFXUtils::getFilename2Write(), getFolder(), GUIIconSubSys::getIcon(), OptionsCont::getOptions(), OptionsCont::getString(), myFileMenuCommands, onCmdSaveDataElements(), OptionsCont::resetWritable(), GNEApplicationWindowHelper::FileMenuCommands::saveDataElements, OptionsCont::set(), SUPERMODEDATA, and TL.

Referenced by FXDEFMAP().

Here is the caller graph for this function:

◆ onCmdSaveDemandElements()

long GNEApplicationWindow::onCmdSaveDemandElements ( FXObject *  ,
FXSelector  ,
void *   
)

◆ onCmdSaveDemandElementsAs()

long GNEApplicationWindow::onCmdSaveDemandElementsAs ( FXObject *  ,
FXSelector  ,
void *   
)

called when the command/FXCall save demand elements as is executed

Definition at line 4109 of file GNEApplicationWindow.cpp.

References FileHelpers::addExtension(), gCurrentFolder, MFXUtils::getFilename2Write(), getFolder(), GUIIconSubSys::getIcon(), OptionsCont::getOptions(), OptionsCont::getString(), myFileMenuCommands, onCmdSaveDemandElements(), OptionsCont::resetWritable(), GNEApplicationWindowHelper::FileMenuCommands::saveDemandElements, OptionsCont::set(), SUPERMODEDEMAND, and TL.

Referenced by FXDEFMAP().

Here is the caller graph for this function:

◆ onCmdSaveEdgeTypes()

long GNEApplicationWindow::onCmdSaveEdgeTypes ( FXObject *  ,
FXSelector  ,
void *   
)

◆ onCmdSaveEdgeTypesAs()

long GNEApplicationWindow::onCmdSaveEdgeTypesAs ( FXObject *  ,
FXSelector  ,
void *   
)

called when the command/FXCall save edgeTypes as is executed

Definition at line 3701 of file GNEApplicationWindow.cpp.

References FileHelpers::addExtension(), gCurrentFolder, MFXUtils::getFilename2Write(), getFolder(), GUIIconSubSys::getIcon(), OptionsCont::getOptions(), OptionsCont::getString(), MODECREATEEDGE, onCmdSaveEdgeTypes(), OptionsCont::set(), and TL.

Referenced by FXDEFMAP().

Here is the caller graph for this function:

◆ onCmdSaveJoined()

long GNEApplicationWindow::onCmdSaveJoined ( FXObject *  ,
FXSelector  ,
void *   
)

called when the command/FXCall save joined is executed

Definition at line 2781 of file GNEApplicationWindow.cpp.

References FileHelpers::addExtension(), GUIMessageWindow::addSeparator(), GUIMessageWindow::appendMsg(), gCurrentFolder, MFXUtils::getFilename2Write(), getFolder(), GUIIconSubSys::getIcon(), OptionsCont::getOptions(), OptionsCont::getString(), MESSAGE_OCCURRED, myMessageWindow, myNet, SAVE, GNENet::saveJoined(), TL, and WRITE_DEBUG.

Referenced by FXDEFMAP().

Here is the caller graph for this function:

◆ onCmdSaveNetwork()

long GNEApplicationWindow::onCmdSaveNetwork ( FXObject *  ,
FXSelector  ,
void *   
)

◆ onCmdSaveSUMOConfig()

long GNEApplicationWindow::onCmdSaveSUMOConfig ( FXObject *  ,
FXSelector  ,
void *   
)

called when the command/FXCall save SUMOConfig is executed

Definition at line 3433 of file GNEApplicationWindow.cpp.

References FileHelpers::addExtension(), gCurrentFolder, MFXUtils::getFilename2Write(), getFolder(), GUIIconSubSys::getIcon(), OptionsCont::getOptions(), OptionsCont::getString(), myFileMenuCommands, onCmdSaveAllElements(), OptionsCont::resetWritable(), GNEApplicationWindowHelper::FileMenuCommands::saveSUMOConfig, GNEApplicationWindowHelper::saveSUMOConfig(), OptionsCont::set(), SUMO_MINI, and TL.

Referenced by FXDEFMAP().

Here is the caller graph for this function:

◆ onCmdSaveSUMOConfigAs()

long GNEApplicationWindow::onCmdSaveSUMOConfigAs ( FXObject *  ,
FXSelector  ,
void *   
)

called when the command/FXCall save SUMOConfig as is executed

Definition at line 3481 of file GNEApplicationWindow.cpp.

References FileHelpers::addExtension(), gCurrentFolder, MFXUtils::getFilename2Write(), getFolder(), GUIIconSubSys::getIcon(), OptionsCont::getOptions(), OptionsCont::getString(), OptionsCont::resetWritable(), GNEApplicationWindowHelper::saveSUMOConfig(), OptionsCont::set(), SUMO_MINI, and TL.

Referenced by FXDEFMAP().

Here is the caller graph for this function:

◆ onCmdSaveTLSPrograms()

long GNEApplicationWindow::onCmdSaveTLSPrograms ( FXObject *  ,
FXSelector  ,
void *   
)

◆ onCmdSaveTLSProgramsAs()

long GNEApplicationWindow::onCmdSaveTLSProgramsAs ( FXObject *  ,
FXSelector  ,
void *   
)

called when the command/FXCall save TLSPrograms as is executed

Definition at line 3670 of file GNEApplicationWindow.cpp.

References FileHelpers::addExtension(), gCurrentFolder, MFXUtils::getFilename2Write(), getFolder(), GUIIconSubSys::getIcon(), OptionsCont::getOptions(), OptionsCont::getString(), MODETLS, onCmdSaveTLSPrograms(), OptionsCont::resetWritable(), OptionsCont::set(), and TL.

Referenced by FXDEFMAP().

Here is the caller graph for this function:

◆ onCmdSetFrontElement()

long GNEApplicationWindow::onCmdSetFrontElement ( FXObject *  ,
FXSelector  ,
void *   
)

called if the user call set front element

Definition at line 2425 of file GNEApplicationWindow.cpp.

References GNEViewNet::getFrontAttributeCarrier(), GNEViewNet::getInspectedAttributeCarriers(), GNEViewParent::getInspectorFrame(), GNEInspectorFrame::getNeteditAttributesEditor(), GNEViewNet::getViewParent(), myViewNet, GNEInspectorFrame::NeteditAttributesEditor::refreshNeteditAttributesEditor(), and GNEViewNet::setFrontAttributeCarrier().

Referenced by FXDEFMAP().

Here is the caller graph for this function:

◆ onCmdSetMode()

long GNEApplicationWindow::onCmdSetMode ( FXObject *  sender,
FXSelector  sel,
void *  ptr 
)

called if the user hits an edit-mode hotkey

Definition at line 1961 of file GNEApplicationWindow.cpp.

References myViewNet, and GNEViewNet::onCmdSetMode().

Referenced by FXDEFMAP().

Here is the caller graph for this function:

◆ onCmdSetSuperMode()

long GNEApplicationWindow::onCmdSetSuperMode ( FXObject *  sender,
FXSelector  sel,
void *  ptr 
)

called if the user hits an edit-supermode hotkey

Definition at line 1951 of file GNEApplicationWindow.cpp.

References myViewNet, and GNEViewNet::onCmdSetSupermode().

Referenced by FXDEFMAP().

Here is the caller graph for this function:

◆ onCmdSetTemplate()

long GNEApplicationWindow::onCmdSetTemplate ( FXObject *  ,
FXSelector  ,
void *   
)

Definition at line 2662 of file GNEApplicationWindow.cpp.

References GNEViewParent::getInspectorFrame(), GNEInspectorFrame::getTemplateEditor(), GNEViewNet::getViewParent(), myViewNet, GNEInspectorFrame::TemplateEditor::setTemplate(), and WRITE_DEBUG.

Referenced by FXDEFMAP().

Here is the caller graph for this function:

◆ onCmdToggleDrawJunctionShape()

long GNEApplicationWindow::onCmdToggleDrawJunctionShape ( FXObject *  obj,
FXSelector  sel,
void *  ptr 
)

called if the user press key combination Ctrl + J to toggle draw junction shape

Definition at line 2406 of file GNEApplicationWindow.cpp.

References GUIVisualizationSettings::drawJunctionShape, GUISUMOAbstractView::getVisualisationSettings(), myViewNet, GNEViewNet::onCmdToggleDrawJunctionShape(), and WRITE_DEBUG.

Referenced by FXDEFMAP().

Here is the caller graph for this function:

◆ onCmdToggleEditOptions()

long GNEApplicationWindow::onCmdToggleEditOptions ( FXObject *  obj,
FXSelector  sel,
void *   
)

◆ onCmdToggleGrid()

long GNEApplicationWindow::onCmdToggleGrid ( FXObject *  obj,
FXSelector  sel,
void *  ptr 
)

called if the user press key combination Ctrl + G to toggle grid

Definition at line 2387 of file GNEApplicationWindow.cpp.

References GUISUMOAbstractView::getVisualisationSettings(), myViewNet, GNEViewNet::onCmdToggleShowGrid(), GUIVisualizationSettings::showGrid, and WRITE_DEBUG.

Referenced by FXDEFMAP().

Here is the caller graph for this function:

◆ onCmdToggleViewOption()

long GNEApplicationWindow::onCmdToggleViewOption ( FXObject *  obj,
FXSelector  sel,
void *  ptr 
)

toggle viewOption

Definition at line 2983 of file GNEApplicationWindow.cpp.

References MID_GNE_DATAVIEWOPTIONS_SHOWADDITIONALS, MID_GNE_DATAVIEWOPTIONS_SHOWDEMANDELEMENTS, MID_GNE_DATAVIEWOPTIONS_SHOWSHAPES, MID_GNE_DATAVIEWOPTIONS_TAZDRAWFILL, MID_GNE_DATAVIEWOPTIONS_TAZRELDRAWING, MID_GNE_DATAVIEWOPTIONS_TAZRELONLYFROM, MID_GNE_DATAVIEWOPTIONS_TAZRELONLYTO, MID_GNE_DATAVIEWOPTIONS_TOGGLEDRAWJUNCTIONSHAPE, MID_GNE_DEMANDVIEWOPTIONS_DRAWSPREADVEHICLES, MID_GNE_DEMANDVIEWOPTIONS_HIDENONINSPECTED, MID_GNE_DEMANDVIEWOPTIONS_HIDESHAPES, MID_GNE_DEMANDVIEWOPTIONS_LOCKCONTAINER, MID_GNE_DEMANDVIEWOPTIONS_LOCKPERSON, MID_GNE_DEMANDVIEWOPTIONS_SHOWALLCONTAINERPLANS, MID_GNE_DEMANDVIEWOPTIONS_SHOWALLPERSONPLANS, MID_GNE_DEMANDVIEWOPTIONS_SHOWGRID, MID_GNE_DEMANDVIEWOPTIONS_SHOWOVERLAPPEDROUTES, MID_GNE_DEMANDVIEWOPTIONS_SHOWTRIPS, MID_GNE_DEMANDVIEWOPTIONS_TOGGLEDRAWJUNCTIONSHAPE, MID_GNE_NETWORKVIEWOPTIONS_ASKFORMERGE, MID_GNE_NETWORKVIEWOPTIONS_AUTOOPPOSITEEDGES, MID_GNE_NETWORKVIEWOPTIONS_CHAINEDGES, MID_GNE_NETWORKVIEWOPTIONS_CHANGEALLPHASES, MID_GNE_NETWORKVIEWOPTIONS_DRAWSPREADVEHICLES, MID_GNE_NETWORKVIEWOPTIONS_EXTENDSELECTION, MID_GNE_NETWORKVIEWOPTIONS_HIDECONNECTIONS, MID_GNE_NETWORKVIEWOPTIONS_MOVEELEVATION, MID_GNE_NETWORKVIEWOPTIONS_SELECTEDGES, MID_GNE_NETWORKVIEWOPTIONS_SHOWBUBBLES, MID_GNE_NETWORKVIEWOPTIONS_SHOWCONNECTIONS, MID_GNE_NETWORKVIEWOPTIONS_SHOWDEMANDELEMENTS, MID_GNE_NETWORKVIEWOPTIONS_SHOWSUBADDITIONALS, MID_GNE_NETWORKVIEWOPTIONS_SHOWTAZELEMENTS, MID_GNE_NETWORKVIEWOPTIONS_TOGGLEDRAWJUNCTIONSHAPE, MID_GNE_NETWORKVIEWOPTIONS_TOGGLEGRID, myViewNet, GNEViewNet::onCmdToggleAutoOppositeEdge(), GNEViewNet::onCmdToggleChainEdges(), GNEViewNet::onCmdToggleChangeAllPhases(), GNEViewNet::onCmdToggleDrawJunctionShape(), GNEViewNet::onCmdToggleDrawSpreadVehicles(), GNEViewNet::onCmdToggleExtendSelection(), GNEViewNet::onCmdToggleHideConnections(), GNEViewNet::onCmdToggleHideNonInspecteDemandElements(), GNEViewNet::onCmdToggleHideShapes(), GNEViewNet::onCmdToggleLockContainer(), GNEViewNet::onCmdToggleLockPerson(), GNEViewNet::onCmdToggleMoveElevation(), GNEViewNet::onCmdToggleSelectEdges(), GNEViewNet::onCmdToggleShowAdditionals(), GNEViewNet::onCmdToggleShowAdditionalSubElements(), GNEViewNet::onCmdToggleShowAllContainerPlans(), GNEViewNet::onCmdToggleShowAllPersonPlans(), GNEViewNet::onCmdToggleShowConnections(), GNEViewNet::onCmdToggleShowDemandElementsData(), GNEViewNet::onCmdToggleShowDemandElementsNetwork(), GNEViewNet::onCmdToggleShowGrid(), GNEViewNet::onCmdToggleShowJunctionBubbles(), GNEViewNet::onCmdToggleShowOverlappedRoutes(), GNEViewNet::onCmdToggleShowShapes(), GNEViewNet::onCmdToggleShowTAZElements(), GNEViewNet::onCmdToggleShowTrips(), GNEViewNet::onCmdToggleTAZRelDrawing(), GNEViewNet::onCmdToggleTAZRelOnlyFrom(), GNEViewNet::onCmdToggleTAZRelOnlyTo(), and GNEViewNet::onCmdToggleWarnAboutMerge().

Referenced by FXDEFMAP().

Here is the caller graph for this function:

◆ onCmdToogleComputeNetworkData()

long GNEApplicationWindow::onCmdToogleComputeNetworkData ( FXObject *  ,
FXSelector  ,
void *   
)

called when toogle checkbox compute network when swichting between supermodes

Definition at line 2504 of file GNEApplicationWindow.cpp.

References MFXMenuCheckIcon::getCheck(), GNEApplicationWindowHelper::ProcessingMenuCommands::menuCheckRecomputeDataMode, and myProcessingMenuCommands.

Referenced by FXDEFMAP().

Here is the caller graph for this function:

◆ onCmdToolNetDiff()

long GNEApplicationWindow::onCmdToolNetDiff ( FXObject *  ,
FXSelector  ,
void *   
)

called when the command/FXCall run NetDiff is executed

Definition at line 1053 of file GNEApplicationWindow.cpp.

Referenced by FXDEFMAP().

Here is the caller graph for this function:

◆ onCmdTutorial()

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

called if the user selects help->Tutorial

Definition at line 2514 of file GNEApplicationWindow.cpp.

References MFXLinkLabel::fxexecute().

Referenced by FXDEFMAP().

Here is the caller graph for this function:

◆ onCmdUndo()

◆ onCmdUnlockAllElements()

long GNEApplicationWindow::onCmdUnlockAllElements ( FXObject *  ,
FXSelector  sel,
void *   
)

called when user press unlock all elements button

Definition at line 1989 of file GNEApplicationWindow.cpp.

References GNEViewNet::getLockManager(), myLockMenuCommands, myViewNet, GNEApplicationWindowHelper::LockMenuCommands::unlockAll(), and GNEViewNetHelper::LockManager::updateFlags().

Referenced by FXDEFMAP().

Here is the caller graph for this function:

◆ onKeyPress()

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

called when a key is pressed

Definition at line 4718 of file GNEApplicationWindow.cpp.

References GUIMainWindow::myMDIClient, and GNEViewParent::onKeyPress().

Referenced by FXDEFMAP().

Here is the caller graph for this function:

◆ onKeyRelease()

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

called when a key is released

Definition at line 4731 of file GNEApplicationWindow.cpp.

References GUIMainWindow::myMDIClient, and GNEViewParent::onKeyRelease().

Referenced by FXDEFMAP().

Here is the caller graph for this function:

◆ onLoadThreadEvent()

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

called when the command/FXCall load thread is executed

Definition at line 1183 of file GNEApplicationWindow.cpp.

References eventOccurred().

Referenced by FXDEFMAP().

Here is the caller graph for this function:

◆ onUpdComputePathManager()

long GNEApplicationWindow::onUpdComputePathManager ( FXObject *  obj,
FXSelector  sel,
void *  ptr 
)

called when the update/FXCall compute path manager is executed

Definition at line 2961 of file GNEApplicationWindow.cpp.

References GNEViewNet::getEditModes(), GNEViewNet::getNet(), GNEPathManager::getPathCalculator(), GNENet::getPathManager(), GNEViewNetHelper::EditModes::isCurrentSupermodeNetwork(), GNEPathManager::PathCalculator::isPathCalculatorUpdated(), and myViewNet.

Referenced by FXDEFMAP().

Here is the caller graph for this function:

◆ onUpdLockMenuTitle()

long GNEApplicationWindow::onUpdLockMenuTitle ( FXObject *  ,
FXSelector  sel,
void *   
)

◆ onUpdNeedsFrontElement()

long GNEApplicationWindow::onUpdNeedsFrontElement ( FXObject *  sender,
FXSelector  ,
void *   
)

called when the update/FXCall needs front element is executed

Definition at line 2858 of file GNEApplicationWindow.cpp.

References GNEViewNet::getFrontAttributeCarrier(), myNet, and myViewNet.

Referenced by FXDEFMAP().

Here is the caller graph for this function:

◆ onUpdNeedsNetwork()

long GNEApplicationWindow::onUpdNeedsNetwork ( FXObject *  sender,
FXSelector  ,
void *   
)

◆ onUpdNeedsNetworkElement()

long GNEApplicationWindow::onUpdNeedsNetworkElement ( FXObject *  sender,
FXSelector  ,
void *   
)

called when the update/FXCall needs at least one newtork element is executed

Definition at line 2847 of file GNEApplicationWindow.cpp.

References GNENet::getAttributeCarriers(), GNENetHelper::AttributeCarriers::getEdges(), and myNet.

Referenced by FXDEFMAP().

Here is the caller graph for this function:

◆ onUpdOpen()

long GNEApplicationWindow::onUpdOpen ( FXObject *  sender,
FXSelector  ,
void *   
)

called when the command/FXCall on update open executed

Definition at line 1131 of file GNEApplicationWindow.cpp.

References myAmLoading.

Referenced by FXDEFMAP().

Here is the caller graph for this function:

◆ onUpdOpenUndoListDialog()

long GNEApplicationWindow::onUpdOpenUndoListDialog ( FXObject *  sender,
FXSelector  ,
void *   
)

Definition at line 2612 of file GNEApplicationWindow.cpp.

References GNEUndoListDialog::hide(), myEditMenuCommands, myNet, myUndoListDialog, GNEApplicationWindowHelper::EditMenuCommands::redoLastChange, GNEUndoListDialog::shown(), and GNEApplicationWindowHelper::EditMenuCommands::undoLastChange.

Referenced by FXDEFMAP().

Here is the caller graph for this function:

◆ onUpdRedo()

long GNEApplicationWindow::onUpdRedo ( FXObject *  obj,
FXSelector  sel,
void *  ptr 
)

called when the update/FXCall redo is executed

Definition at line 2955 of file GNEApplicationWindow.cpp.

References myUndoList, and GNEUndoList::onUpdRedo().

Referenced by FXDEFMAP(), onCmdRedo(), and onCmdUndo().

Here is the caller graph for this function:

◆ onUpdReload()

long GNEApplicationWindow::onUpdReload ( FXObject *  sender,
FXSelector  ,
void *   
)

called when the update/FXCall reload is executed

Definition at line 2869 of file GNEApplicationWindow.cpp.

References OptionsCont::getOptions(), and myNet.

Referenced by FXDEFMAP().

Here is the caller graph for this function:

◆ onUpdReloadAdditionals()

long GNEApplicationWindow::onUpdReloadAdditionals ( FXObject *  ,
FXSelector  ,
void *   
)

called when the command/FXCall reload additionals is updated

Definition at line 3840 of file GNEApplicationWindow.cpp.

References OptionsCont::getOptions(), myFileMenuCommands, myViewNet, and GNEApplicationWindowHelper::FileMenuCommands::reloadAdditionals.

Referenced by FXDEFMAP().

Here is the caller graph for this function:

◆ onUpdReloadDataElements()

long GNEApplicationWindow::onUpdReloadDataElements ( FXObject *  ,
FXSelector  ,
void *   
)

called when the command/FXCall reload data elements is updated

Definition at line 4250 of file GNEApplicationWindow.cpp.

References OptionsCont::getOptions(), myFileMenuCommands, myViewNet, and GNEApplicationWindowHelper::FileMenuCommands::reloadDataElements.

Referenced by FXDEFMAP().

Here is the caller graph for this function:

◆ onUpdReloadDemandElements()

long GNEApplicationWindow::onUpdReloadDemandElements ( FXObject *  ,
FXSelector  ,
void *   
)

called when the command/FXCall reload demand elements is updated

Definition at line 4041 of file GNEApplicationWindow.cpp.

References OptionsCont::getOptions(), myFileMenuCommands, myViewNet, and GNEApplicationWindowHelper::FileMenuCommands::reloadDemandElements.

Referenced by FXDEFMAP().

Here is the caller graph for this function:

◆ onUpdReloadEdgeTypes()

long GNEApplicationWindow::onUpdReloadEdgeTypes ( FXObject *  ,
FXSelector  ,
void *   
)

called when the command/FXCall reload edge types is updated

Definition at line 951 of file GNEApplicationWindow.cpp.

References OptionsCont::getOptions(), myFileMenuCommands, myViewNet, and GNEApplicationWindowHelper::FileMenuCommands::reloadEdgeTypes.

Referenced by FXDEFMAP().

Here is the caller graph for this function:

◆ onUpdReloadSUMOConfig()

long GNEApplicationWindow::onUpdReloadSUMOConfig ( FXObject *  ,
FXSelector  ,
void *   
)

called when the command/FXCall reload SUMOConfig is updated

Definition at line 802 of file GNEApplicationWindow.cpp.

References OptionsCont::getOptions(), myFileMenuCommands, myViewNet, and GNEApplicationWindowHelper::FileMenuCommands::reloadSUMOConfig.

Referenced by FXDEFMAP().

Here is the caller graph for this function:

◆ onUpdReloadTLSPrograms()

long GNEApplicationWindow::onUpdReloadTLSPrograms ( FXObject *  ,
FXSelector  ,
void *   
)

called when the command/FXCall reload TLS programs is updated

Definition at line 866 of file GNEApplicationWindow.cpp.

References OptionsCont::getOptions(), myFileMenuCommands, myViewNet, and GNEApplicationWindowHelper::FileMenuCommands::reloadTLSPrograms.

Referenced by FXDEFMAP().

Here is the caller graph for this function:

◆ onUpdRequireRecomputing()

long GNEApplicationWindow::onUpdRequireRecomputing ( FXObject *  sender,
FXSelector  sel,
void *  ptr 
)

update label for requiere recomputing

Definition at line 2360 of file GNEApplicationWindow.cpp.

References updateRecomputingLabel().

Referenced by FXDEFMAP().

Here is the caller graph for this function:

◆ onUpdRequireViewNet()

long GNEApplicationWindow::onUpdRequireViewNet ( FXObject *  sender,
FXSelector  sel,
void *  ptr 
)

enable or disable sender object depending if viewNet exist

Definition at line 2352 of file GNEApplicationWindow.cpp.

References myViewNet.

Referenced by FXDEFMAP().

Here is the caller graph for this function:

◆ onUpdSaveAdditionals()

long GNEApplicationWindow::onUpdSaveAdditionals ( FXObject *  sender,
FXSelector  ,
void *   
)

called when the update/FXCall save additionals is executed

Definition at line 2907 of file GNEApplicationWindow.cpp.

References GNEViewParent::getTAZFrame(), GNETAZFrame::getTAZSaveChangesModule(), GNENet::getViewNet(), GNEViewNet::getViewParent(), GNENet::isAdditionalsSaved(), GNETAZFrame::TAZSaveChanges::isChangesPending(), and myNet.

Referenced by FXDEFMAP().

Here is the caller graph for this function:

◆ onUpdSaveAdditionalsAs()

long GNEApplicationWindow::onUpdSaveAdditionalsAs ( FXObject *  sender,
FXSelector  ,
void *   
)

called when the update/FXCall save additionals as is executed

Definition at line 2919 of file GNEApplicationWindow.cpp.

References GNENet::getAttributeCarriers(), GNENetHelper::AttributeCarriers::getNumberOfAdditionals(), and myNet.

Referenced by FXDEFMAP().

Here is the caller graph for this function:

◆ onUpdSaveAllElements()

long GNEApplicationWindow::onUpdSaveAllElements ( FXObject *  sender,
FXSelector  ,
void *   
)

called when the update/FXCall save all elements is executed

Definition at line 2879 of file GNEApplicationWindow.cpp.

References GNENet::isAdditionalsSaved(), GNENet::isDataElementsSaved(), GNENet::isDemandElementsSaved(), GNENet::isNetSaved(), and myNet.

◆ onUpdSaveDataElements()

long GNEApplicationWindow::onUpdSaveDataElements ( FXObject *  sender,
FXSelector  ,
void *   
)

called when the update/FXCall save data elements is executed

Definition at line 2937 of file GNEApplicationWindow.cpp.

References GNENet::isDataElementsSaved(), and myNet.

Referenced by FXDEFMAP().

Here is the caller graph for this function:

◆ onUpdSaveDataElementsAs()

long GNEApplicationWindow::onUpdSaveDataElementsAs ( FXObject *  sender,
FXSelector  ,
void *   
)

called when the update/FXCall save data elements as is executed

Definition at line 2943 of file GNEApplicationWindow.cpp.

References GNENet::getAttributeCarriers(), GNENetHelper::AttributeCarriers::getDataSets(), and myNet.

Referenced by FXDEFMAP().

Here is the caller graph for this function:

◆ onUpdSaveDemandElements()

long GNEApplicationWindow::onUpdSaveDemandElements ( FXObject *  sender,
FXSelector  ,
void *   
)

called when the update/FXCall save demand elements is executed

Definition at line 2925 of file GNEApplicationWindow.cpp.

References GNENet::isDemandElementsSaved(), and myNet.

Referenced by FXDEFMAP().

Here is the caller graph for this function:

◆ onUpdSaveDemandElementsAs()

long GNEApplicationWindow::onUpdSaveDemandElementsAs ( FXObject *  sender,
FXSelector  ,
void *   
)

called when the update/FXCall save demand elements as is executed

Definition at line 2931 of file GNEApplicationWindow.cpp.

References GNENet::getAttributeCarriers(), GNENetHelper::AttributeCarriers::getNumberOfDemandElements(), and myNet.

Referenced by FXDEFMAP().

Here is the caller graph for this function:

◆ onUpdSaveEdgeTypes()

long GNEApplicationWindow::onUpdSaveEdgeTypes ( FXObject *  sender,
FXSelector  ,
void *   
)

called when the command/FXCall save edge types is updated

Definition at line 3658 of file GNEApplicationWindow.cpp.

References GNENet::getAttributeCarriers(), GNENetHelper::AttributeCarriers::getEdgeTypes(), and myNet.

Referenced by FXDEFMAP().

Here is the caller graph for this function:

◆ onUpdSaveEdgeTypesAs()

long GNEApplicationWindow::onUpdSaveEdgeTypesAs ( FXObject *  sender,
FXSelector  ,
void *   
)

called when the command/FXCall save edgeTypes as is updated

Definition at line 3731 of file GNEApplicationWindow.cpp.

References GNENet::getAttributeCarriers(), GNENetHelper::AttributeCarriers::getEdgeTypes(), and myNet.

Referenced by FXDEFMAP().

Here is the caller graph for this function:

◆ onUpdSaveNetwork()

long GNEApplicationWindow::onUpdSaveNetwork ( FXObject *  sender,
FXSelector  ,
void *   
)

called when the update/FXCall save network is executed

Definition at line 2901 of file GNEApplicationWindow.cpp.

References GNENet::isNetSaved(), and myNet.

Referenced by FXDEFMAP().

Here is the caller graph for this function:

◆ onUpdSaveSUMOConfig()

long GNEApplicationWindow::onUpdSaveSUMOConfig ( FXObject *  sender,
FXSelector  ,
void *   
)

called when the command/FXCall save SUMOConfig is updated

Definition at line 3519 of file GNEApplicationWindow.cpp.

References myNet.

Referenced by FXDEFMAP().

Here is the caller graph for this function:

◆ onUpdSaveTLSPrograms()

long GNEApplicationWindow::onUpdSaveTLSPrograms ( FXObject *  sender,
FXSelector  ,
void *   
)

called when the command/FXCall save TLSPrograms is updated

Definition at line 3589 of file GNEApplicationWindow.cpp.

References GNENet::getAttributeCarriers(), GNENetHelper::AttributeCarriers::getJunctions(), and myNet.

Referenced by FXDEFMAP().

Here is the caller graph for this function:

◆ onUpdToggleViewOption()

long GNEApplicationWindow::onUpdToggleViewOption ( FXObject *  obj,
FXSelector  sel,
void *   
)

update viewOption

Definition at line 3071 of file GNEApplicationWindow.cpp.

References MFXCheckableButton::amChecked(), GNEViewNet::getDataViewOptions(), GNEViewNet::getDemandViewOptions(), GNEViewNet::getNetworkViewOptions(), GNEViewNetHelper::NetworkViewOptions::menuCheckAutoOppositeEdge, GNEViewNetHelper::NetworkViewOptions::menuCheckChainEdges, GNEViewNetHelper::NetworkViewOptions::menuCheckChangeAllPhases, GNEViewNetHelper::NetworkViewOptions::menuCheckDrawSpreadVehicles, GNEViewNetHelper::DemandViewOptions::menuCheckDrawSpreadVehicles, GNEViewNetHelper::NetworkViewOptions::menuCheckExtendSelection, GNEViewNetHelper::NetworkViewOptions::menuCheckHideConnections, GNEViewNetHelper::DemandViewOptions::menuCheckHideNonInspectedDemandElements, GNEViewNetHelper::DemandViewOptions::menuCheckHideShapes, GNEViewNetHelper::DemandViewOptions::menuCheckLockContainer, GNEViewNetHelper::DemandViewOptions::menuCheckLockPerson, GNEViewNetHelper::NetworkViewOptions::menuCheckMoveElevation, GNEViewNetHelper::NetworkViewOptions::menuCheckSelectEdges, GNEViewNetHelper::DataViewOptions::menuCheckShowAdditionals, GNEViewNetHelper::NetworkViewOptions::menuCheckShowAdditionalSubElements, GNEViewNetHelper::DemandViewOptions::menuCheckShowAllContainerPlans, GNEViewNetHelper::DemandViewOptions::menuCheckShowAllPersonPlans, GNEViewNetHelper::DemandViewOptions::menuCheckShowAllTrips, GNEViewNetHelper::NetworkViewOptions::menuCheckShowConnections, GNEViewNetHelper::NetworkViewOptions::menuCheckShowDemandElements, GNEViewNetHelper::DataViewOptions::menuCheckShowDemandElements, GNEViewNetHelper::NetworkViewOptions::menuCheckShowJunctionBubble, GNEViewNetHelper::DemandViewOptions::menuCheckShowOverlappedRoutes, GNEViewNetHelper::DataViewOptions::menuCheckShowShapes, GNEViewNetHelper::NetworkViewOptions::menuCheckShowTAZElements, GNEViewNetHelper::NetworkViewOptions::menuCheckToggleDrawJunctionShape, GNEViewNetHelper::DemandViewOptions::menuCheckToggleDrawJunctionShape, GNEViewNetHelper::DataViewOptions::menuCheckToggleDrawJunctionShape, GNEViewNetHelper::NetworkViewOptions::menuCheckToggleGrid, GNEViewNetHelper::DemandViewOptions::menuCheckToggleGrid, GNEViewNetHelper::DataViewOptions::menuCheckToggleTAZDrawFill, GNEViewNetHelper::DataViewOptions::menuCheckToggleTAZRelDrawing, GNEViewNetHelper::DataViewOptions::menuCheckToggleTAZRelOnlyFrom, GNEViewNetHelper::DataViewOptions::menuCheckToggleTAZRelOnlyTo, GNEViewNetHelper::NetworkViewOptions::menuCheckWarnAboutMerge, MID_GNE_DATAVIEWOPTIONS_SHOWADDITIONALS, MID_GNE_DATAVIEWOPTIONS_SHOWDEMANDELEMENTS, MID_GNE_DATAVIEWOPTIONS_SHOWSHAPES, MID_GNE_DATAVIEWOPTIONS_TAZDRAWFILL, MID_GNE_DATAVIEWOPTIONS_TAZRELDRAWING, MID_GNE_DATAVIEWOPTIONS_TAZRELONLYFROM, MID_GNE_DATAVIEWOPTIONS_TAZRELONLYTO, MID_GNE_DATAVIEWOPTIONS_TOGGLEDRAWJUNCTIONSHAPE, MID_GNE_DEMANDVIEWOPTIONS_DRAWSPREADVEHICLES, MID_GNE_DEMANDVIEWOPTIONS_HIDENONINSPECTED, MID_GNE_DEMANDVIEWOPTIONS_HIDESHAPES, MID_GNE_DEMANDVIEWOPTIONS_LOCKCONTAINER, MID_GNE_DEMANDVIEWOPTIONS_LOCKPERSON, MID_GNE_DEMANDVIEWOPTIONS_SHOWALLCONTAINERPLANS, MID_GNE_DEMANDVIEWOPTIONS_SHOWALLPERSONPLANS, MID_GNE_DEMANDVIEWOPTIONS_SHOWGRID, MID_GNE_DEMANDVIEWOPTIONS_SHOWOVERLAPPEDROUTES, MID_GNE_DEMANDVIEWOPTIONS_SHOWTRIPS, MID_GNE_DEMANDVIEWOPTIONS_TOGGLEDRAWJUNCTIONSHAPE, MID_GNE_NETWORKVIEWOPTIONS_ASKFORMERGE, MID_GNE_NETWORKVIEWOPTIONS_AUTOOPPOSITEEDGES, MID_GNE_NETWORKVIEWOPTIONS_CHAINEDGES, MID_GNE_NETWORKVIEWOPTIONS_CHANGEALLPHASES, MID_GNE_NETWORKVIEWOPTIONS_DRAWSPREADVEHICLES, MID_GNE_NETWORKVIEWOPTIONS_EXTENDSELECTION, MID_GNE_NETWORKVIEWOPTIONS_HIDECONNECTIONS, MID_GNE_NETWORKVIEWOPTIONS_MOVEELEVATION, MID_GNE_NETWORKVIEWOPTIONS_SELECTEDGES, MID_GNE_NETWORKVIEWOPTIONS_SHOWBUBBLES, MID_GNE_NETWORKVIEWOPTIONS_SHOWCONNECTIONS, MID_GNE_NETWORKVIEWOPTIONS_SHOWDEMANDELEMENTS, MID_GNE_NETWORKVIEWOPTIONS_SHOWSUBADDITIONALS, MID_GNE_NETWORKVIEWOPTIONS_SHOWTAZELEMENTS, MID_GNE_NETWORKVIEWOPTIONS_TOGGLEDRAWJUNCTIONSHAPE, MID_GNE_NETWORKVIEWOPTIONS_TOGGLEGRID, myViewNet, and MFXMenuCheckIcon::setCheck().

Referenced by FXDEFMAP().

Here is the caller graph for this function:

◆ onUpdUndo()

long GNEApplicationWindow::onUpdUndo ( FXObject *  obj,
FXSelector  sel,
void *  ptr 
)

called when the update/FXCall undo is executed

Definition at line 2949 of file GNEApplicationWindow.cpp.

References myUndoList, and GNEUndoList::onUpdUndo().

Referenced by FXDEFMAP(), onCmdRedo(), and onCmdUndo().

Here is the caller graph for this function:

◆ operator=()

GNEApplicationWindow & GNEApplicationWindow::operator= ( const GNEApplicationWindow )
privatedelete

Invalidated assignment operator.

◆ removeChild()

void GUIMainWindow::removeChild ( FXMainWindow *  child)
inherited

removes the given child window from the list (FXMainWindow)

Definition at line 123 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 106 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 159 of file GUIMainWindow.cpp.

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

Referenced by GUIApplicationWindow::eventOccurred().

Here is the caller graph for this function:

◆ retrieveBreakpoints()

virtual const std::vector< SUMOTime > GUIMainWindow::retrieveBreakpoints ( ) const
inlinevirtualinherited

retrieve breakpoints if provided by the application

Reimplemented in GUIApplicationWindow.

Definition at line 176 of file GUIMainWindow.h.

Referenced by GUIViewTraffic::retrieveBreakpoints(), and GUIMessageWindow::setCursorPos().

Here is the caller graph for this function:

◆ sendBlockingEvent()

virtual void GUIMainWindow::sendBlockingEvent ( GUIEvent event)
inlinevirtualinherited

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

Parameters
eventthe event to send

Reimplemented in GUIApplicationWindow.

Definition at line 151 of file GUIMainWindow.h.

References UNUSED_PARAMETER.

◆ setBreakpoints()

virtual void GUIMainWindow::setBreakpoints ( const std::vector< SUMOTime > &  )
inlinevirtualinherited

Sets the breakpoints of the parent application.

Reimplemented in GUIApplicationWindow.

Definition at line 146 of file GUIMainWindow.h.

Referenced by GUISUMOAbstractView::setBreakpoints(), and GUIMessageWindow::setCursorPos().

Here is the caller graph for this function:

◆ setDelay()

virtual void GUIMainWindow::setDelay ( double  )
inlinevirtualinherited

Sets the delay of the parent application.

Reimplemented in GUIApplicationWindow.

Definition at line 143 of file GUIMainWindow.h.

Referenced by GUISUMOAbstractView::setDelay().

Here is the caller graph for this function:

◆ setStatusBarText()

void GNEApplicationWindow::setStatusBarText ( const std::string &  statusBarText)
virtual

set text of the statusBar

Reimplemented from GUIMainWindow.

Definition at line 1675 of file GNEApplicationWindow.cpp.

References GUIMainWindow::myStatusbar.

Referenced by GNENet::computeDataElements(), GNENet::computeDemandElements(), GNENet::computeNetwork(), handleEvent_NetworkLoaded(), and loadConfigOrNet().

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 279 of file GUIMainWindow.cpp.

References OptionsCont::getOptions(), OptionsCont::getStringVector(), OptionsCont::isSet(), MAX2(), MIN2(), TL, StringUtils::toInt(), toString(), and WRITE_ERROR.

Referenced by GUIApplicationWindow::create(), create(), handleEvent_NetworkLoaded(), and GUIApplicationWindow::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 319 of file GUIMainWindow.cpp.

References GUIMainWindow::myAmFullScreen.

Referenced by GUIApplicationWindow::loadConfigOrNet(), loadConfigOrNet(), GUIApplicationWindow::onCmdQuit(), onCmdQuit(), and GUIApplicationWindow::onCmdReload().

Here is the caller graph for this function:

◆ updateChildren()

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

update childrens

Definition at line 187 of file GUIMainWindow.cpp.

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

Referenced by GUIApplicationWindow::handleEvent_SimulationStep(), GUIDialog_GLChosenEditor::onCmdClear(), GUIDialog_GLChosenEditor::onCmdDeselect(), GUIApplicationWindow::onCmdEditChosen(), and GUIApplicationWindow::setBreakpoints().

Here is the caller graph for this function:

◆ updateControls()

void GNEApplicationWindow::updateControls ( )

update control contents after undo/redo or recompute

Definition at line 4571 of file GNEApplicationWindow.cpp.

References myViewNet, and GNEViewNet::updateControls().

Referenced by computeJunctionWithVolatileOptions(), onCmdProcessButton(), GNEUndoList::redo(), and GNEUndoList::undo().

Here is the caller graph for this function:

◆ updateRecomputingLabel()

void GNEApplicationWindow::updateRecomputingLabel ( )

update recomputing label

Definition at line 1586 of file GNEApplicationWindow.cpp.

References GNENet::getAttributeCarriers(), GUIIconSubSys::getIcon(), GNENetHelper::AttributeCarriers::getJunctions(), GNEViewNet::getNet(), GNENet::isNetRecomputed(), myNet, myRequireRecomputingButton, myViewNet, OK, TL, and WARNING.

Referenced by onUpdRequireRecomputing().

Here is the caller graph for this function:

◆ updateSuperModeMenuCommands()

void GNEApplicationWindow::updateSuperModeMenuCommands ( const Supermode  supermode)

update FXMenuCommands depending of supermode

Definition at line 4580 of file GNEApplicationWindow.cpp.

References DATA, GNEApplicationWindowHelper::ModesMenuCommands::dataMenuCommands, DEMAND, GNEApplicationWindowHelper::ModesMenuCommands::demandMenuCommands, GNEApplicationWindowHelper::LockMenuCommands::hideDataLockMenuCommands(), GNEApplicationWindowHelper::ModesMenuCommands::DataMenuCommands::hideDataMenuCommands(), GNEApplicationWindowHelper::ProcessingMenuCommands::hideDataProcessingMenuCommands(), GNEApplicationWindowHelper::LockMenuCommands::hideDemandLockMenuCommands(), GNEApplicationWindowHelper::ModesMenuCommands::DemandMenuCommands::hideDemandMenuCommands(), GNEApplicationWindowHelper::ProcessingMenuCommands::hideDemandProcessingMenuCommands(), GNEApplicationWindowHelper::LockMenuCommands::hideNetworkLockMenuCommands(), GNEApplicationWindowHelper::ModesMenuCommands::NetworkMenuCommands::hideNetworkMenuCommands(), GNEApplicationWindowHelper::ProcessingMenuCommands::hideNetworkProcessingMenuCommands(), GNEApplicationWindowHelper::ProcessingMenuCommands::hideSeparator(), myLockMenuCommands, myModesMenuCommands, myProcessingMenuCommands, NETWORK, GNEApplicationWindowHelper::ModesMenuCommands::networkMenuCommands, GNEApplicationWindowHelper::LockMenuCommands::removeHotkeys(), GNEApplicationWindowHelper::LockMenuCommands::showDataLockMenuCommands(), GNEApplicationWindowHelper::ModesMenuCommands::DataMenuCommands::showDataMenuCommands(), GNEApplicationWindowHelper::ProcessingMenuCommands::showDataProcessingMenuCommands(), GNEApplicationWindowHelper::LockMenuCommands::showDemandLockMenuCommands(), GNEApplicationWindowHelper::ModesMenuCommands::DemandMenuCommands::showDemandMenuCommands(), GNEApplicationWindowHelper::ProcessingMenuCommands::showDemandProcessingMenuCommands(), GNEApplicationWindowHelper::LockMenuCommands::showNetworkLockMenuCommands(), GNEApplicationWindowHelper::ModesMenuCommands::NetworkMenuCommands::showNetworkMenuCommands(), GNEApplicationWindowHelper::ProcessingMenuCommands::showNetworkProcessingMenuCommands(), and GNEApplicationWindowHelper::ProcessingMenuCommands::showSeparator().

Field Documentation

◆ myAmFullScreen

bool GUIMainWindow::myAmFullScreen
protectedinherited

FOX need this.

whether to show the window in full screen mode

Definition at line 185 of file GUIMainWindow.h.

Referenced by GUIMainWindow::isFullScreen(), GUIApplicationWindow::onCmdFullScreen(), GUIApplicationWindow::onCmdGaming(), and GUIMainWindow::storeWindowSizeAndPos().

◆ myAmGaming

bool GUIMainWindow::myAmGaming
protectedinherited

◆ myAmLoading

bool GNEApplicationWindow::myAmLoading = false
protected

information whether the gui is currently loading and the load-options shall be greyed out

Definition at line 536 of file GNEApplicationWindow.h.

Referenced by handleEvent_NetworkLoaded(), loadConfigOrNet(), onCmdOpenRecent(), and onUpdOpen().

◆ myBoldFont

FXFont* GUIMainWindow::myBoldFont = nullptr
protectedinherited

Font used for popup-menu titles.

Definition at line 197 of file GUIMainWindow.h.

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

◆ myBottomDock

FXDockSite* GUIMainWindow::myBottomDock = nullptr
protectedinherited

Definition at line 224 of file GUIMainWindow.h.

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

◆ myCartesianCoordinate

FXLabel* GUIMainWindow::myCartesianCoordinate = nullptr
protectedinherited

Labels for the current cartesian, geo-coordinate and test coordinates.

Definition at line 209 of file GUIMainWindow.h.

Referenced by GUIApplicationWindow::closeAllWindows(), closeAllWindows(), dependentBuild(), GUIApplicationWindow::dependentBuild(), and GUIMainWindow::getCartesianLabel().

◆ myCartesianFrame

FXHorizontalFrame* GUIMainWindow::myCartesianFrame = nullptr
protectedinherited

◆ myConfigPattern

std::string GNEApplicationWindow::myConfigPattern
protected

Input file pattern.

Definition at line 592 of file GNEApplicationWindow.h.

Referenced by onCmdOpenConfiguration().

◆ myEditMenu

FXMenuPane * GNEApplicationWindow::myEditMenu = nullptr
protected

Definition at line 550 of file GNEApplicationWindow.h.

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

◆ myEditMenuCommands

GNEApplicationWindowHelper::EditMenuCommands GNEApplicationWindow::myEditMenuCommands
private

◆ myEvents

MFXSynchQue<GUIEvent*> GNEApplicationWindow::myEvents
protected

List of got requests.

Definition at line 574 of file GNEApplicationWindow.h.

Referenced by dependentBuild(), eventOccurred(), and ~GNEApplicationWindow().

◆ myFallbackFont

FXFont* GUIMainWindow::myFallbackFont = nullptr
protectedinherited

Fallback font for extended characters support.

Definition at line 200 of file GUIMainWindow.h.

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

◆ myFileMenu

FXMenuPane* GNEApplicationWindow::myFileMenu = nullptr
protected

the submenus

Definition at line 542 of file GNEApplicationWindow.h.

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

◆ myFileMenuAdditionals

FXMenuPane * GNEApplicationWindow::myFileMenuAdditionals = nullptr
protected

Definition at line 546 of file GNEApplicationWindow.h.

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

◆ myFileMenuCommands

◆ myFileMenuDataElements

FXMenuPane * GNEApplicationWindow::myFileMenuDataElements = nullptr
protected

Definition at line 548 of file GNEApplicationWindow.h.

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

◆ myFileMenuDemandElements

FXMenuPane * GNEApplicationWindow::myFileMenuDemandElements = nullptr
protected

Definition at line 547 of file GNEApplicationWindow.h.

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

◆ myFileMenuEdgeTypes

FXMenuPane * GNEApplicationWindow::myFileMenuEdgeTypes = nullptr
protected

Definition at line 545 of file GNEApplicationWindow.h.

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

◆ myFileMenuSUMOConfig

FXMenuPane * GNEApplicationWindow::myFileMenuSUMOConfig = nullptr
protected

Definition at line 543 of file GNEApplicationWindow.h.

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

◆ myFileMenuTLS

FXMenuPane * GNEApplicationWindow::myFileMenuTLS = nullptr
protected

Definition at line 544 of file GNEApplicationWindow.h.

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

◆ myGeoCoordinate

FXLabel* GUIMainWindow::myGeoCoordinate = nullptr
protectedinherited

◆ myGeoFrame

FXHorizontalFrame* GUIMainWindow::myGeoFrame = nullptr
protectedinherited

◆ myGLVisual

FXGLVisual* GUIMainWindow::myGLVisual = nullptr
protectedinherited

◆ myGLWindows

◆ myHadDependentBuild

bool GNEApplicationWindow::myHadDependentBuild = false
protected

check if had dependent build

Definition at line 580 of file GNEApplicationWindow.h.

Referenced by dependentBuild().

◆ myHelpMenu

FXMenuPane * GNEApplicationWindow::myHelpMenu = nullptr
protected

Definition at line 556 of file GNEApplicationWindow.h.

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

◆ myInstance

GUIMainWindow * GUIMainWindow::myInstance = nullptr
staticprotectedinherited

the singleton window instance

Definition at line 250 of file GUIMainWindow.h.

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

◆ myLeftDock

FXDockSite* GUIMainWindow::myLeftDock = nullptr
protectedinherited

Definition at line 225 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 238 of file GUIMainWindow.h.

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

◆ myListParking

bool GUIMainWindow::myListParking
protectedinherited

information whether the locator should list parking vehicles

Definition at line 241 of file GUIMainWindow.h.

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

◆ myListTeleporting

bool GUIMainWindow::myListTeleporting
protectedinherited

information whether the locator should list teleporting vehicles

Definition at line 244 of file GUIMainWindow.h.

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

◆ myLoadThread

GNELoadThread* GNEApplicationWindow::myLoadThread = nullptr
protected

the thread that loads the network

Definition at line 533 of file GNEApplicationWindow.h.

Referenced by dependentBuild(), loadConfigOrNet(), and ~GNEApplicationWindow().

◆ myLoadThreadEvent

FXEX::MFXThreadEvent GNEApplicationWindow::myLoadThreadEvent
protected

io-event with the load-thread

Definition at line 577 of file GNEApplicationWindow.h.

Referenced by dependentBuild().

◆ myLocateMenuCommands

GNEApplicationWindowHelper::LocateMenuCommands GNEApplicationWindow::myLocateMenuCommands
private

Locate Menu Commands.

Definition at line 620 of file GNEApplicationWindow.h.

Referenced by fillMenuBar().

◆ myLocatorMenu

FXMenuPane * GNEApplicationWindow::myLocatorMenu = nullptr
protected

Definition at line 553 of file GNEApplicationWindow.h.

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

◆ myLockMenu

FXMenuPane * GNEApplicationWindow::myLockMenu = nullptr
protected

Definition at line 551 of file GNEApplicationWindow.h.

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

◆ myLockMenuCommands

GNEApplicationWindowHelper::LockMenuCommands GNEApplicationWindow::myLockMenuCommands
private

◆ myLockMenuTitle

FXMenuTitle* GNEApplicationWindow::myLockMenuTitle = nullptr
protected

menu title for lock

Definition at line 562 of file GNEApplicationWindow.h.

Referenced by fillMenuBar(), and onUpdLockMenuTitle().

◆ myMainSplitter

FXSplitter* GNEApplicationWindow::myMainSplitter = nullptr
protected

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

Definition at line 568 of file GNEApplicationWindow.h.

Referenced by dependentBuild().

◆ myMDIClient

◆ myMDIMenu

FXMDIMenu* GNEApplicationWindow::myMDIMenu = nullptr
private

The menu used for the MDI-windows.

Definition at line 638 of file GNEApplicationWindow.h.

Referenced by dependentBuild(), and handleEvent_NetworkLoaded().

◆ myMenuBarFile

GNEApplicationWindowHelper::MenuBarFile GNEApplicationWindow::myMenuBarFile
private

MenuBarFile.

Definition at line 602 of file GNEApplicationWindow.h.

Referenced by fillMenuBar(), onCmdOpenConfiguration(), onCmdOpenNetwork(), and onCmdSaveNetwork().

◆ myMessageWindow

◆ myModesMenu

FXMenuPane * GNEApplicationWindow::myModesMenu = nullptr
protected

Definition at line 549 of file GNEApplicationWindow.h.

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

◆ myModesMenuCommands

GNEApplicationWindowHelper::ModesMenuCommands GNEApplicationWindow::myModesMenuCommands
private

Modes Menu Commands.

Definition at line 608 of file GNEApplicationWindow.h.

Referenced by fillMenuBar(), loadConfigOrNet(), onCmdClose(), onCmdReload(), and updateSuperModeMenuCommands().

◆ myModesMenuTitle

FXMenuTitle* GNEApplicationWindow::myModesMenuTitle = nullptr
protected

menu title for modes

Definition at line 559 of file GNEApplicationWindow.h.

Referenced by fillMenuBar().

◆ myNet

◆ myOnlineMaps

std::map<std::string, std::string> GUIMainWindow::myOnlineMaps
protectedinherited

online mapping services for the context menu

Definition at line 247 of file GUIMainWindow.h.

Referenced by GUIMainWindow::addOnlineMap(), GUIApplicationWindow::create(), create(), and GUIMainWindow::getOnlineMaps().

◆ myProcessingMenu

FXMenuPane * GNEApplicationWindow::myProcessingMenu = nullptr
protected

Definition at line 552 of file GNEApplicationWindow.h.

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

◆ myProcessingMenuCommands

GNEApplicationWindowHelper::ProcessingMenuCommands GNEApplicationWindow::myProcessingMenuCommands
private

◆ myReloading

bool GNEApplicationWindow::myReloading = false
protected

information whether the gui is currently reloading

Definition at line 539 of file GNEApplicationWindow.h.

Referenced by handleEvent_NetworkLoaded(), and loadConfigOrNet().

◆ myRequireRecomputingButton

MFXButtonTooltip* GNEApplicationWindow::myRequireRecomputingButton = nullptr
protected

Button used for show if recomputing is needed.

Definition at line 571 of file GNEApplicationWindow.h.

Referenced by dependentBuild(), and updateRecomputingLabel().

◆ myRightDock

FXDockSite* GUIMainWindow::myRightDock = nullptr
protectedinherited

Definition at line 226 of file GUIMainWindow.h.

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

◆ myStaticTooltipMenu

MFXStaticToolTip* GUIMainWindow::myStaticTooltipMenu = nullptr
protectedinherited

◆ myStaticTooltipView

MFXStaticToolTip* GUIMainWindow::myStaticTooltipView = nullptr
protectedinherited

static toolTip used in view

Definition at line 232 of file GUIMainWindow.h.

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

◆ myStatusbar

◆ mySupermodeCommands

GNEApplicationWindowHelper::SupermodeCommands GNEApplicationWindow::mySupermodeCommands
private

Supermode Commands.

Definition at line 629 of file GNEApplicationWindow.h.

Referenced by fillMenuBar(), loadConfigOrNet(), onCmdClose(), and onCmdReload().

◆ myTestCoordinate

FXLabel* GUIMainWindow::myTestCoordinate = nullptr
protectedinherited

◆ myTestFrame

FXHorizontalFrame* GUIMainWindow::myTestFrame = nullptr
protectedinherited

Definition at line 217 of file GUIMainWindow.h.

Referenced by GUIApplicationWindow::create(), and dependentBuild().

◆ myTitlePrefix

const FXString GNEApplicationWindow::myTitlePrefix
private

the prefix for the window title

Definition at line 635 of file GNEApplicationWindow.h.

Referenced by closeAllWindows(), dependentBuild(), handleEvent_NetworkLoaded(), and onCmdSaveAsNetwork().

◆ myToolbarsGrip

GNEApplicationWindowHelper::ToolbarsGrip GNEApplicationWindow::myToolbarsGrip
private

Toolbars Grip.

Definition at line 599 of file GNEApplicationWindow.h.

Referenced by fillMenuBar(), getToolbarsGrip(), and onCmdReload().

◆ myToolsMenu

FXMenuPane * GNEApplicationWindow::myToolsMenu = nullptr
protected

Definition at line 554 of file GNEApplicationWindow.h.

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

◆ myToolsMenuCommands

GNEApplicationWindowHelper::ToolsMenuCommands GNEApplicationWindow::myToolsMenuCommands
private

Tools Menu Commands.

Definition at line 623 of file GNEApplicationWindow.h.

Referenced by fillMenuBar().

◆ myTopDock

FXDockSite* GUIMainWindow::myTopDock = nullptr
protectedinherited

◆ myTraCiFrame

FXHorizontalFrame* GUIMainWindow::myTraCiFrame = nullptr
protectedinherited

frames for coordinates

Definition at line 214 of file GUIMainWindow.h.

Referenced by GUIApplicationWindow::dependentBuild(), and GUIApplicationWindow::onUpdTraCIStatus().

◆ myTrackerLock

FXMutex GUIMainWindow::myTrackerLock
protectedinherited

A lock to make the removal and addition of trackers secure.

Definition at line 194 of file GUIMainWindow.h.

Referenced by GUIMainWindow::addChild(), GUIApplicationWindow::closeAllWindows(), closeAllWindows(), GUIMainWindow::removeChild(), and GUIMainWindow::updateChildren().

◆ myTrackerWindows

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

◆ myUndoList

◆ myUndoListDialog

GNEUndoListDialog* GNEApplicationWindow::myUndoListDialog = nullptr
protected

◆ myUndoRedoListEnabled

std::string GNEApplicationWindow::myUndoRedoListEnabled
protected

string to check if undo/redo list is enabled (a String is used to keep the disabling reason)

Definition at line 595 of file GNEApplicationWindow.h.

Referenced by disableUndoRedo(), enableUndoRedo(), and isUndoRedoEnabled().

◆ myViewNet

GNEViewNet* GNEApplicationWindow::myViewNet = nullptr
private

pointer to current view net

Definition at line 632 of file GNEApplicationWindow.h.

Referenced by clearUndoList(), closeAllWindows(), continueWithUnsavedAdditionalChanges(), continueWithUnsavedChanges(), continueWithUnsavedDataElementChanges(), continueWithUnsavedDemandElementChanges(), getViewNet(), handleEvent_NetworkLoaded(), onCmdAbort(), onCmdBackspace(), onCmdClearTemplate(), onCmdComputePathManager(), onCmdCopyTemplate(), onCmdDel(), onCmdEditViewport(), onCmdEditViewScheme(), onCmdEnter(), onCmdFocusFrame(), onCmdForceSaveAdditionals(), onCmdForceSaveDataElements(), onCmdForceSaveDemandElements(), onCmdForceSaveNetwork(), onCmdLockAllElements(), onCmdLockElements(), onCmdLockSelectElements(), onCmdNewNetwork(), onCmdOpenConfiguration(), onCmdOpenDataElements(), onCmdOpenEdgeTypes(), onCmdOpenForeign(), onCmdOpenNetwork(), onCmdOpenRecent(), onCmdOpenSUMOGUI(), onCmdProcessButton(), onCmdRedo(), onCmdReload(), onCmdReloadDataElements(), onCmdReloadEdgeTypes(), onCmdSaveNetwork(), onCmdSetFrontElement(), onCmdSetMode(), onCmdSetSuperMode(), onCmdSetTemplate(), onCmdToggleDrawJunctionShape(), onCmdToggleEditOptions(), onCmdToggleGrid(), onCmdToggleViewOption(), onCmdUndo(), onCmdUnlockAllElements(), onUpdComputePathManager(), onUpdLockMenuTitle(), onUpdNeedsFrontElement(), onUpdReloadAdditionals(), onUpdReloadDataElements(), onUpdReloadDemandElements(), onUpdReloadEdgeTypes(), onUpdReloadSUMOConfig(), onUpdReloadTLSPrograms(), onUpdRequireViewNet(), onUpdToggleViewOption(), updateControls(), and updateRecomputingLabel().

◆ myWindowMenu

FXMenuPane * GNEApplicationWindow::myWindowMenu = nullptr
protected

Definition at line 555 of file GNEApplicationWindow.h.

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

◆ myWindowsMenuCommands

GNEApplicationWindowHelper::WindowsMenuCommands GNEApplicationWindow::myWindowsMenuCommands
private

Windows Menu Commands.

Definition at line 626 of file GNEApplicationWindow.h.

Referenced by fillMenuBar().


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