Eclipse SUMO - Simulation of Urban MObility
GNEApplicationWindow Class Reference

The main window of the Netedit. More...

#include <GNEApplicationWindow.h>

Inheritance diagram for GNEApplicationWindow:
Collaboration diagram for GNEApplicationWindow:

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...
 
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...
 
FXLabel & getGeoLabel ()
 get geo label More...
 
FXGLVisual * getGLVisual () const
 get GL Visual More...
 
GNEApplicationWindowHelper::ToolbarsGripgetToolbarsGrip ()
 get ToolbarsGrip More...
 
FXDockSite * getTopDock ()
 get top dock More...
 
GNEUndoListgetUndoList ()
 get pointer to undoList 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 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...
 
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 ()
 update childrens More...
 
void updateControls ()
 update control contents after undo/redo or recompute 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)
 hanlde event of type message More...
 
FOX-callbacks

called when the command/FXCall new network is executed

long onCmdNewNetwork (FXObject *, FXSelector, void *)
 
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 onCmdOpenAdditionals (FXObject *, FXSelector, void *)
 called when the command/FXCall open additionals is executed More...
 
long onCmdOpenTLSPrograms (FXObject *, FXSelector, void *)
 called when the command/FXCall open TLS programs is executed More...
 
long onCmdOpenEdgeTypes (FXObject *, FXSelector, void *)
 called when the command/FXCall open edgeType is executed More...
 
long onCmdOpenDemandElements (FXObject *, FXSelector, void *)
 called when the command/FXCall open demand is executed More...
 
long onCmdOpenDataElements (FXObject *, FXSelector, void *)
 called when the command/FXCall open data is executed 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 onCmdSaveNetwork (FXObject *, FXSelector, void *)
 called when the command/FXCall save network is executed More...
 
long onCmdSaveTLSPrograms (FXObject *, FXSelector, void *)
 called when the command/FXCall save TLSPrograms is executed More...
 
long onCmdSaveEdgeTypes (FXObject *, FXSelector, void *)
 called when the command/FXCall save edge types is executed 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 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 onCmdSaveDemandElements (FXObject *, FXSelector, void *)
 called when the command/FXCall save demand elements is executed 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 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 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 onUpdSaveDemandElements (FXObject *, FXSelector, void *)
 called when the update/FXCall save demand elements is executed More...
 
long onUpdSaveDataElements (FXObject *, FXSelector, void *)
 called when the update/FXCall save data elements 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 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 toogle windows checkbox "load additionals" More...
 
long onCmdLoadDemandInSUMOGUI (FXObject *, FXSelector, void *)
 called when user toogle 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 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 f More...
 
long onCmdToogleGrid (FXObject *, FXSelector, void *)
 called if the user press key combination Ctrl + G to toogle grid More...
 
long onCmdSetFrontElement (FXObject *, FXSelector, void *)
 called if the user call set front element More...
 
long onCmdToogleEditOptions (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 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 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 hadDependentBuild
 check if had dependent build More...
 
bool myAmFullScreen
 fox need this More...
 
bool myAmGaming
 information whether the gui is currently in gaming mode More...
 
bool myAmLoading
 information whether the gui is currently loading and the load-options shall be greyed out More...
 
FXFont * myBoldFont
 Font used for popup-menu titles. More...
 
FXDockSite * myBottomDock
 
FXLabel * myCartesianCoordinate
 Labels for the current cartesian and geo-coordinate. More...
 
FXHorizontalFrame * myCartesianFrame
 
std::string myConfigPattern
 Input file pattern. More...
 
FXMenuPane * myEditMenu
 
FXSynchQue< GUIEvent * > myEvents
 List of got requests. More...
 
FXMenuPane * myFileMenu
 the submenus More...
 
FXMenuPane * myFileMenuAdditionals
 
FXMenuPane * myFileMenuDataElements
 
FXMenuPane * myFileMenuDemandElements
 
FXMenuPane * myFileMenuEdgeTypes
 
FXMenuPane * myFileMenuTLS
 
FXLabel * myGeoCoordinate
 
FXHorizontalFrame * myGeoFrame
 
FXGLVisual * myGLVisual
 The gl-visual used. More...
 
std::vector< GUIGlChildWindow * > myGLWindows
 
FXMenuPane * myHelpMenu
 
FXDockSite * myLeftDock
 
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
 the thread that loads the network More...
 
FXEX::FXThreadEvent myLoadThreadEvent
 io-event with the load-thread More...
 
FXMenuPane * myLocatorMenu
 
FXSplitter * myMainSplitter
 The splitter that divides the main window into view and the log window. More...
 
FXMDIClient * myMDIClient
 The multi view panel. More...
 
GUIMessageWindowmyMessageWindow
 A window to display messages, warnings and error in. More...
 
GNENetmyNet
 we are responsible for the net More...
 
FXMenuPane * myProcessingMenu
 
FXDockSite * myRightDock
 
FXStatusBar * myStatusbar
 The status bar. More...
 
FXDockSite * myTopDock
 
FXMutex myTrackerLock
 A lock to make the removal and addition of trackers secure. More...
 
std::vector< FXMainWindow * > myTrackerWindows
 
GNEUndoListmyUndoList
 the one and only undo list More...
 
std::string myUndoRedoListEnabled
 string to check if undo/redo list is enabled (a String is used to keep the disabling reason) More...
 
FXMenuPane * myWindowsMenu
 

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 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...
 
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...
 

Private Attributes

GNEApplicationWindowHelper::EditMenuCommands myEditMenuCommands
 Edit Menu Commands. More...
 
GNEApplicationWindowHelper::FileMenuCommands myFileMenuCommands
 File Menu Commands. More...
 
GNEApplicationWindowHelper::LocateMenuCommands myLocateMenuCommands
 Locate Menu Commands. More...
 
FXMDIMenu * myMDIMenu
 The menu used for the MDI-windows. More...
 
GNEApplicationWindowHelper::MenuBarFile myMenuBarFile
 MenuBarFile. More...
 
GNEApplicationWindowHelper::ProcessingMenuCommands myProcessingMenuCommands
 Edit 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...
 
GNEViewNetmyViewNet
 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 38 of file GNEApplicationWindow.h.

Constructor & Destructor Documentation

◆ GNEApplicationWindow() [1/2]

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 281 of file GNEApplicationWindow.cpp.

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

◆ ~GNEApplicationWindow()

◆ GNEApplicationWindow() [2/2]

GNEApplicationWindow::GNEApplicationWindow ( )
protected

FOX needs this for static members.

Definition at line 2831 of file GNEApplicationWindow.cpp.

Member Function Documentation

◆ addChild()

void GUIMainWindow::addChild ( FXMainWindow *  child)
inherited

Adds a further child window to the list (FXMainWindow)

Definition at line 106 of file GUIMainWindow.cpp.

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

Referenced by GUIParameterTableWindow::closeBuilding(), 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 91 of file GUIMainWindow.cpp.

References GUIMainWindow::myGLWindows.

◆ closeAllWindows()

◆ 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 2674 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 2614 of file GNEApplicationWindow.cpp.

References continueWithUnsavedAdditionalChanges(), continueWithUnsavedDemandElementChanges(), GNENet::isNetSaved(), myNet, myUndoList, myViewNet, onCmdSaveNetwork(), GNEUndoList::p_clear(), and WRITE_DEBUG.

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

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 2717 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 ( )

◆ disableSaveDataElementsMenu()

void GNEApplicationWindow::disableSaveDataElementsMenu ( )

disable save data elements

Definition at line 1547 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 1533 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 2811 of file GNEApplicationWindow.cpp.

References myUndoRedoListEnabled.

◆ enableSaveAdditionalsMenu()

void GNEApplicationWindow::enableSaveAdditionalsMenu ( )

enable save additionals

Definition at line 1512 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 1540 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 ( )

◆ enableSaveTLSProgramsMenu()

void GNEApplicationWindow::enableSaveTLSProgramsMenu ( )

enable save TLS Programs

Definition at line 1506 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 2817 of file GNEApplicationWindow.cpp.

References myUndoRedoListEnabled.

◆ eventOccurred()

◆ fillMenuBar()

void GNEApplicationWindow::fillMenuBar ( )
private

Builds the menu bar.

Definition at line 1108 of file GNEApplicationWindow.cpp.

References GNEApplicationWindowHelper::EditMenuCommands::buildEditMenuCommands(), GNEApplicationWindowHelper::FileMenuCommands::buildFileMenuCommands(), GUIDesigns::buildFXMenuCommandShortcut(), GUIDesigns::buildFXMenuTitle(), GNEApplicationWindowHelper::LocateMenuCommands::buildLocateMenuCommands(), GNEApplicationWindowHelper::ProcessingMenuCommands::buildProcessingMenuCommands(), GNEApplicationWindowHelper::MenuBarFile::buildRecentFiles(), GNEApplicationWindowHelper::SupermodeCommands::buildSupermodeCommands(), GNEApplicationWindowHelper::WindowsMenuCommands::buildWindowsMenuCommands(), GUIIconSubSys::getIcon(), GNEApplicationWindowHelper::SupermodeCommands::hideSupermodeCommands(), GNEApplicationWindowHelper::ToolbarsGrip::menu, MID_HOTKEY_CTRL_Q_CLOSE, MID_HOTKEY_CTRL_Y_REDO, MID_HOTKEY_CTRL_Z_UNDO, MID_HOTKEY_F12_ABOUT, MID_HOTKEY_F1_ONLINEDOCUMENTATION, myEditMenu, myEditMenuCommands, myFileMenu, myFileMenuAdditionals, myFileMenuCommands, myFileMenuDataElements, myFileMenuDemandElements, myFileMenuEdgeTypes, myFileMenuTLS, myHelpMenu, myLocateMenuCommands, myLocatorMenu, myMenuBarFile, myMessageWindow, myProcessingMenu, myProcessingMenuCommands, GUIMainWindow::myStatusbar, mySupermodeCommands, myToolbarsGrip, myWindowsMenu, myWindowsMenuCommands, NETEDIT_MINI, REDO, GNEApplicationWindowHelper::EditMenuCommands::redoLastChange, UNDO, and GNEApplicationWindowHelper::EditMenuCommands::undoLastChange.

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

References GUIMainWindow::myBoldFont.

Referenced by GUIGlObject::buildPopupHeader().

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 1189 of file GNEApplicationWindow.cpp.

◆ getCartesianLabel()

FXLabel & GUIMainWindow::getCartesianLabel ( )
inherited

get cartesian label

Definition at line 181 of file GUIMainWindow.cpp.

References GUIMainWindow::myCartesianCoordinate.

Referenced by GUISUMOAbstractView::updatePositionInformation().

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 1196 of file GNEApplicationWindow.cpp.

◆ getDefaultCursor()

FXCursor * GNEApplicationWindow::getDefaultCursor ( )

get default cursor

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

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

Here is the caller graph for this function:

◆ getGeoLabel()

FXLabel & GUIMainWindow::getGeoLabel ( )
inherited

get geo label

Definition at line 187 of file GUIMainWindow.cpp.

References GUIMainWindow::myGeoCoordinate.

Referenced by GUISUMOAbstractView::updatePositionInformation().

Here is the caller graph for this function:

◆ getGLVisual()

FXGLVisual * GUIMainWindow::getGLVisual ( ) const
inherited

get GL Visual

Definition at line 175 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

◆ getToolbarsGrip()

◆ getTopDock()

FXDockSite * GUIMainWindow::getTopDock ( )
inherited

get top dock

Definition at line 123 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 1202 of file GNEApplicationWindow.cpp.

◆ getUndoList()

GNEUndoList * GNEApplicationWindow::getUndoList ( )

get pointer to undoList

Definition at line 1208 of file GNEApplicationWindow.cpp.

References myUndoList.

Referenced by GNEViewParent::updateUndoRedoButtons().

Here is the caller graph for this function:

◆ getViewByID()

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

get specific view by ID

Definition at line 139 of file GUIMainWindow.cpp.

References GUIMainWindow::myGLWindows.

Referenced by TraCIServerAPI_GUI::getNamedView().

Here is the caller graph for this function:

◆ getViewIDs()

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

get view IDs

Definition at line 129 of file GUIMainWindow.cpp.

References GUIMainWindow::myGLWindows.

Referenced by TraCIServerAPI_GUI::processGet().

Here is the caller graph for this function:

◆ getViewNet()

GNEViewNet * GNEApplicationWindow::getViewNet ( )

get pointer to viewNet

Definition at line 1214 of file GNEApplicationWindow.cpp.

References myViewNet.

Referenced by GNEUndoList::p_clear(), and GNEUndoList::p_end().

Here is the caller graph for this function:

◆ getViews()

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

get views

Definition at line 156 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)

hanlde event of type message

Definition at line 1098 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 945 of file GNEApplicationWindow.cpp.

References GUISUMOAbstractView::addDecals(), GUISettingsHandler::addSettings(), GUISettingsHandler::applyViewport(), GNEApplicationWindowHelper::ToolbarsGrip::buildViewParentToolbarsGrips(), GNEViewNetHelper::IntervalBar::disableIntervalBarUpdate(), GNENet::disableUpdateData(), GNEViewNetHelper::IntervalBar::enableIntervalBarUpdate(), GNENet::enableUpdateData(), GNEViewNet::forceSupermodeNetwork(), GUISettingsHandler::getDecals(), GNEViewNet::getIntervalBar(), GNEViewNet::getNet(), OptionsCont::getOptions(), OptionsCont::getString(), OptionsCont::getStringVector(), MFXUtils::getTitleText(), getToolbarsGrip(), GUIGlChildWindow::getView(), OptionsCont::isSet(), myAmLoading, GNEEvent_NetworkLoaded::myFile, GUIMainWindow::myMDIClient, myMDIMenu, myMessageWindow, myNet, GNEEvent_NetworkLoaded::myNet, GNEEvent_NetworkLoaded::mySettingsFile, myTitlePrefix, myUndoList, myViewNet, GNEEvent_NetworkLoaded::myViewportFromRegistry, GNEUndoList::p_begin(), GNEUndoList::p_end(), GUIMessageWindow::registerMsgHandlers(), GNENet::requireSaveAdditionals(), GNENet::requireSaveDataElements(), GNENet::requireSaveDemandElements(), GNENet::requireSaveNet(), OptionsCont::resetWritable(), XMLSubSys::runParser(), OptionsCont::set(), Position::set(), GUISettingsHandler::setSnapshots(), setStatusBarText(), XMLSubSys::setValidation(), GUISUMOAbstractView::setViewportFromToRot(), GUIMainWindow::setWindowSizeAndPos(), toString(), 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 147 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 193 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 2823 of file GNEApplicationWindow.cpp.

References myUndoRedoListEnabled.

Referenced by GNEUndoList::p_onUpdRedo(), and GNEUndoList::p_onUpdUndo().

Here is the caller graph for this function:

◆ listInternal()

bool GUIMainWindow::listInternal ( ) const
inherited

return whether to list internal structures

Definition at line 199 of file GUIMainWindow.cpp.

References GUIMainWindow::myListInternal.

Referenced by GUISUMOViewParent::onCmdLocate().

Here is the caller graph for this function:

◆ listParking()

bool GUIMainWindow::listParking ( ) const
inherited

return whether to list parking vehicles

Definition at line 205 of file GUIMainWindow.cpp.

References GUIMainWindow::myListParking.

Referenced by GUIApplicationWindow::fillMenuBar(), and GUISUMOViewParent::onCmdLocate().

Here is the caller graph for this function:

◆ listTeleporting()

bool GUIMainWindow::listTeleporting ( ) const
inherited

return whether to list teleporting vehicles

Definition at line 211 of file GUIMainWindow.cpp.

References GUIMainWindow::myListTeleporting.

Referenced by GUISUMOViewParent::onCmdLocate().

Here is the caller graph for this function:

◆ loadConfigOrNet()

◆ loadOptionOnStartup()

void GNEApplicationWindow::loadOptionOnStartup ( )

load net on startup

Definition at line 1275 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 903 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 890 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 1769 of file GNEApplicationWindow.cpp.

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

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 867 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 *   
)

◆ onCmdClose()

◆ onCmdCopy()

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

Definition at line 2001 of file GNEApplicationWindow.cpp.

References WRITE_DEBUG.

Referenced by FXDEFMAP().

Here is the caller graph for this function:

◆ onCmdCopyTemplate()

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

◆ onCmdCut()

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

called when user press Ctrl+Z

Definition at line 1993 of file GNEApplicationWindow.cpp.

References WRITE_DEBUG.

Referenced by FXDEFMAP().

Here is the caller graph for this function:

◆ onCmdDel()

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

called if the user hits del

Definition at line 1745 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 453 of file GNEApplicationWindow.cpp.

References gSelected.

◆ onCmdEditViewport()

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

Called on menu Edit->Viewport.

Definition at line 1834 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 1844 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 1757 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 f

Definition at line 1824 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 1791 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 1813 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 1802 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 1780 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 143 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 1930 of file GNEApplicationWindow.cpp.

References FXLinkLabel::fxexecute().

Referenced by FXDEFMAP().

Here is the caller graph for this function:

◆ onCmdLoadAdditionalsInSUMOGUI()

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

called when user toogle windows checkbox "load additionals"

Definition at line 874 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 toogle windows checkbox "load demand"

Definition at line 882 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 849 of file GNEApplicationWindow.cpp.

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

Referenced by FXDEFMAP().

Here is the caller graph for this function:

◆ onCmdNewNetwork()

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

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

◆ onCmdOpenAdditionals()

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

called when the command/FXCall open additionals is executed

Definition at line 580 of file GNEApplicationWindow.cpp.

References gCurrentFolder, GUIIconSubSys::getIcon(), MODEADDITIONAL, myNet, myUndoList, GNEUndoList::p_begin(), GNEUndoList::p_end(), XMLSubSys::runParser(), XMLSubSys::setValidation(), WRITE_DEBUG, and WRITE_ERROR.

Referenced by FXDEFMAP().

Here is the caller graph for this function:

◆ onCmdOpenConfiguration()

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

called when the command/FXCall open configuration is executed

Definition at line 478 of file GNEApplicationWindow.cpp.

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

Referenced by FXDEFMAP().

Here is the caller graph for this function:

◆ onCmdOpenDataElements()

◆ onCmdOpenDemandElements()

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

called when the command/FXCall open demand is executed

Definition at line 701 of file GNEApplicationWindow.cpp.

References gCurrentFolder, GUIIconSubSys::getIcon(), myNet, myUndoList, GNEUndoList::p_begin(), GNEUndoList::p_end(), XMLSubSys::runParser(), XMLSubSys::setValidation(), SUPERMODEDEMAND, WRITE_DEBUG, and WRITE_ERROR.

Referenced by FXDEFMAP().

Here is the caller graph for this function:

◆ onCmdOpenEdgeTypes()

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

◆ onCmdOpenForeign()

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

called when the command/FXCall open foreign is executed

Definition at line 533 of file GNEApplicationWindow.cpp.

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

Referenced by FXDEFMAP().

Here is the caller graph for this function:

◆ onCmdOpenNetwork()

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

◆ onCmdOpenRecent()

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

called when the command/FXCall open recent is executed

Definition at line 792 of file GNEApplicationWindow.cpp.

References loadConfigOrNet(), myAmLoading, myMenuBarFile, GNEApplicationWindowHelper::MenuBarFile::myRecentNets, GUIMainWindow::myStatusbar, myViewNet, and onCmdClose().

Referenced by FXDEFMAP().

Here is the caller graph for this function:

◆ onCmdOpenSUMOGUI()

◆ onCmdOpenTLSPrograms()

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

◆ onCmdOptions()

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

called if the user selects Processing->Configure Options

Definition at line 1937 of file GNEApplicationWindow.cpp.

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

Referenced by FXDEFMAP().

Here is the caller graph for this function:

◆ onCmdPaste()

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

Definition at line 2009 of file GNEApplicationWindow.cpp.

References WRITE_DEBUG.

Referenced by FXDEFMAP().

Here is the caller graph for this function:

◆ 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 437 of file GNEApplicationWindow.cpp.

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

Referenced by FXDEFMAP().

Here is the caller graph for this function:

◆ onCmdRedo()

◆ onCmdReload()

◆ onCmdSaveAdditionals()

◆ onCmdSaveAdditionalsAs()

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

◆ onCmdSaveAsNetwork()

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

◆ onCmdSaveAsPlainXML()

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

◆ onCmdSaveDataElements()

◆ onCmdSaveDataElementsAs()

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

◆ onCmdSaveDemandElements()

◆ onCmdSaveDemandElementsAs()

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

◆ onCmdSaveEdgeTypes()

◆ onCmdSaveEdgeTypesAs()

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

called when the command/FXCall save edgeTypes as is executed

Definition at line 2377 of file GNEApplicationWindow.cpp.

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

Referenced by FXDEFMAP().

Here is the caller graph for this function:

◆ onCmdSaveJoined()

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

◆ onCmdSaveNetwork()

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

◆ onCmdSaveTLSPrograms()

◆ onCmdSaveTLSProgramsAs()

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

called when the command/FXCall save TLSPrograms as is executed

Definition at line 2356 of file GNEApplicationWindow.cpp.

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

Referenced by FXDEFMAP().

Here is the caller graph for this function:

◆ onCmdSetFrontElement()

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

◆ onCmdSetMode()

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

called if the user hits an edit-mode hotkey

Definition at line 1564 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 1554 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 *   
)

◆ onCmdToogleEditOptions()

◆ onCmdToogleGrid()

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

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

Definition at line 1854 of file GNEApplicationWindow.cpp.

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

Referenced by FXDEFMAP().

Here is the caller graph for this function:

◆ onCmdUndo()

◆ onKeyPress()

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

called when a key is pressed

Definition at line 2863 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 2876 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 912 of file GNEApplicationWindow.cpp.

References eventOccurred().

Referenced by FXDEFMAP().

Here is the caller graph for this function:

◆ onUpdNeedsFrontElement()

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

called when the update/FXCall needs front element is executed

Definition at line 2173 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 *   
)

called when the update/FXCall needs network is executed

Definition at line 2161 of file GNEApplicationWindow.cpp.

References 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 860 of file GNEApplicationWindow.cpp.

References myAmLoading.

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 2226 of file GNEApplicationWindow.cpp.

References myUndoList, and GNEUndoList::p_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 2185 of file GNEApplicationWindow.cpp.

References OptionsCont::getOptions(), and myNet.

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 2199 of file GNEApplicationWindow.cpp.

References GNENet::isAdditionalsSaved(), and myNet.

Referenced by FXDEFMAP().

Here is the caller graph for this function:

◆ onUpdSaveDataElements()

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

called when the update/FXCall save data elements is executed

Definition at line 2213 of file GNEApplicationWindow.cpp.

References GNENet::isDataElementsSaved(), 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 2206 of file GNEApplicationWindow.cpp.

References GNENet::isDemandElementsSaved(), 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 2192 of file GNEApplicationWindow.cpp.

References GNENet::isNetSaved(), and myNet.

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 2220 of file GNEApplicationWindow.cpp.

References myUndoList, and GNEUndoList::p_onUpdUndo().

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

Here is the caller graph for this function:

◆ removeChild()

◆ removeGLChild()

void GUIMainWindow::removeGLChild ( GUIGlChildWindow child)
inherited

removes the given child window from the list (GUIGlChildWindow)

Definition at line 97 of file GUIMainWindow.cpp.

References GUIMainWindow::myGLWindows.

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

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 152 of file GUIMainWindow.h.

Referenced by GUIViewTraffic::retrieveBreakpoints().

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 135 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 130 of file GUIMainWindow.h.

Referenced by GUISUMOAbstractView::setBreakpoints().

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 127 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 1284 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 236 of file GUIMainWindow.cpp.

References OptionsCont::getOptions(), OptionsCont::getStringVector(), OptionsCont::isSet(), MAX2(), MIN2(), 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 276 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 ( )
inherited

◆ updateControls()

void GNEApplicationWindow::updateControls ( )

update control contents after undo/redo or recompute

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

◆ updateSuperModeMenuCommands()

void GNEApplicationWindow::updateSuperModeMenuCommands ( const Supermode  supermode)

Field Documentation

◆ hadDependentBuild

bool GNEApplicationWindow::hadDependentBuild
protected

check if had dependent build

Definition at line 407 of file GNEApplicationWindow.h.

Referenced by dependentBuild().

◆ myAmFullScreen

bool GUIMainWindow::myAmFullScreen
protectedinherited

fox need this

whether to show the window in full screen mode

Definition at line 161 of file GUIMainWindow.h.

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

◆ myAmGaming

bool GUIMainWindow::myAmGaming
protectedinherited

◆ myAmLoading

bool GNEApplicationWindow::myAmLoading
protected

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

Definition at line 379 of file GNEApplicationWindow.h.

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

◆ myBoldFont

FXFont* GUIMainWindow::myBoldFont
protectedinherited

Font used for popup-menu titles.

Definition at line 171 of file GUIMainWindow.h.

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

◆ myBottomDock

FXDockSite * GUIMainWindow::myBottomDock
protectedinherited

Definition at line 187 of file GUIMainWindow.h.

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

◆ myCartesianCoordinate

FXLabel* GUIMainWindow::myCartesianCoordinate
protectedinherited

Labels for the current cartesian and geo-coordinate.

Definition at line 180 of file GUIMainWindow.h.

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

◆ myCartesianFrame

FXHorizontalFrame* GUIMainWindow::myCartesianFrame
protectedinherited

◆ myConfigPattern

std::string GNEApplicationWindow::myConfigPattern
protected

Input file pattern.

Definition at line 416 of file GNEApplicationWindow.h.

Referenced by onCmdOpenConfiguration().

◆ myEditMenu

FXMenuPane * GNEApplicationWindow::myEditMenu
protected

Definition at line 388 of file GNEApplicationWindow.h.

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

◆ myEditMenuCommands

GNEApplicationWindowHelper::EditMenuCommands GNEApplicationWindow::myEditMenuCommands
private

◆ myEvents

FXSynchQue<GUIEvent*> GNEApplicationWindow::myEvents
protected

List of got requests.

Definition at line 401 of file GNEApplicationWindow.h.

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

◆ myFileMenu

FXMenuPane* GNEApplicationWindow::myFileMenu
protected

the submenus

Definition at line 382 of file GNEApplicationWindow.h.

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

◆ myFileMenuAdditionals

FXMenuPane * GNEApplicationWindow::myFileMenuAdditionals
protected

Definition at line 385 of file GNEApplicationWindow.h.

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

◆ myFileMenuCommands

◆ myFileMenuDataElements

FXMenuPane * GNEApplicationWindow::myFileMenuDataElements
protected

Definition at line 387 of file GNEApplicationWindow.h.

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

◆ myFileMenuDemandElements

FXMenuPane * GNEApplicationWindow::myFileMenuDemandElements
protected

Definition at line 386 of file GNEApplicationWindow.h.

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

◆ myFileMenuEdgeTypes

FXMenuPane * GNEApplicationWindow::myFileMenuEdgeTypes
protected

Definition at line 384 of file GNEApplicationWindow.h.

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

◆ myFileMenuTLS

FXMenuPane * GNEApplicationWindow::myFileMenuTLS
protected

Definition at line 383 of file GNEApplicationWindow.h.

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

◆ myGeoCoordinate

FXLabel * GUIMainWindow::myGeoCoordinate
protectedinherited

◆ myGeoFrame

FXHorizontalFrame * GUIMainWindow::myGeoFrame
protectedinherited

◆ myGLVisual

FXGLVisual* GUIMainWindow::myGLVisual
protectedinherited

◆ myGLWindows

◆ myHelpMenu

FXMenuPane * GNEApplicationWindow::myHelpMenu
protected

Definition at line 392 of file GNEApplicationWindow.h.

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

◆ myInstance

GUIMainWindow * GUIMainWindow::myInstance = nullptr
staticprotectedinherited

the singleton window instance

Definition at line 202 of file GUIMainWindow.h.

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

◆ myLeftDock

FXDockSite * GUIMainWindow::myLeftDock
protectedinherited

Definition at line 187 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 193 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 196 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 199 of file GUIMainWindow.h.

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

◆ myLoadThread

GNELoadThread* GNEApplicationWindow::myLoadThread
protected

the thread that loads the network

Definition at line 376 of file GNEApplicationWindow.h.

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

◆ myLoadThreadEvent

FXEX::FXThreadEvent GNEApplicationWindow::myLoadThreadEvent
protected

io-event with the load-thread

Definition at line 404 of file GNEApplicationWindow.h.

Referenced by dependentBuild().

◆ myLocateMenuCommands

GNEApplicationWindowHelper::LocateMenuCommands GNEApplicationWindow::myLocateMenuCommands
private

Locate Menu Commands.

Definition at line 438 of file GNEApplicationWindow.h.

Referenced by fillMenuBar().

◆ myLocatorMenu

FXMenuPane * GNEApplicationWindow::myLocatorMenu
protected

Definition at line 390 of file GNEApplicationWindow.h.

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

◆ myMainSplitter

FXSplitter* GNEApplicationWindow::myMainSplitter
protected

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

Definition at line 398 of file GNEApplicationWindow.h.

Referenced by dependentBuild().

◆ myMDIClient

◆ myMDIMenu

FXMDIMenu* GNEApplicationWindow::myMDIMenu
private

The menu used for the MDI-windows.

Definition at line 453 of file GNEApplicationWindow.h.

Referenced by dependentBuild(), and handleEvent_NetworkLoaded().

◆ myMenuBarFile

GNEApplicationWindowHelper::MenuBarFile GNEApplicationWindow::myMenuBarFile
private

◆ myMessageWindow

◆ myNet

◆ myProcessingMenu

FXMenuPane * GNEApplicationWindow::myProcessingMenu
protected

Definition at line 389 of file GNEApplicationWindow.h.

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

◆ myProcessingMenuCommands

GNEApplicationWindowHelper::ProcessingMenuCommands GNEApplicationWindow::myProcessingMenuCommands
private

Edit Menu Commands.

Definition at line 435 of file GNEApplicationWindow.h.

Referenced by fillMenuBar(), and updateSuperModeMenuCommands().

◆ myRightDock

FXDockSite * GUIMainWindow::myRightDock
protectedinherited

Definition at line 187 of file GUIMainWindow.h.

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

◆ myStatusbar

◆ mySupermodeCommands

GNEApplicationWindowHelper::SupermodeCommands GNEApplicationWindow::mySupermodeCommands
private

Supermode Commands.

Definition at line 444 of file GNEApplicationWindow.h.

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

◆ myTitlePrefix

const FXString GNEApplicationWindow::myTitlePrefix
private

the prefix for the window title

Definition at line 450 of file GNEApplicationWindow.h.

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

◆ myToolbarsGrip

GNEApplicationWindowHelper::ToolbarsGrip GNEApplicationWindow::myToolbarsGrip
private

Toolbars Grip.

Definition at line 423 of file GNEApplicationWindow.h.

Referenced by fillMenuBar(), and getToolbarsGrip().

◆ myTopDock

◆ myTrackerLock

FXMutex GUIMainWindow::myTrackerLock
protectedinherited

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

Definition at line 168 of file GUIMainWindow.h.

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

◆ myTrackerWindows

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

◆ myUndoList

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

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

◆ myViewNet

◆ myWindowsMenu

FXMenuPane * GNEApplicationWindow::myWindowsMenu
protected

Definition at line 391 of file GNEApplicationWindow.h.

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

◆ myWindowsMenuCommands

GNEApplicationWindowHelper::WindowsMenuCommands GNEApplicationWindow::myWindowsMenuCommands
private

Windows Menu Commands.

Definition at line 441 of file GNEApplicationWindow.h.

Referenced by fillMenuBar().


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