SUMO - Simulation of Urban MObility
GNEApplicationWindow Class Reference

The main window of the Netedit. More...

#include <GNEApplicationWindow.h>

Inheritance diagram for GNEApplicationWindow:
Inheritance graph
Collaboration diagram for GNEApplicationWindow:
Collaboration graph

Data Structures

class  GNEShapeHandler
 FOX-declaration. More...
 

Public Member Functions

void addChild (FXMDIChild *child, bool updateOnSimStep=true)
 Adds a further child window to the list. More...
 
void addChild (FXMainWindow *child, bool updateOnSimStep=true)
 
virtual void create ()
 Creates the main window (required by FOX) More...
 
void dependentBuild ()
 build dependent More...
 
virtual void detach ()
 detaches the tool/menu bar More...
 
void enableSaveAdditionalsMenu ()
 enable save additionals More...
 
void enableSaveShapesMenu ()
 enable save shapes More...
 
GUISUMOAbstractViewgetActiveView () const
 get the active view or 0 More...
 
FXFont * getBoldFont ()
 
FXGLCanvas * getBuildGLCanvas () const
 get build OpenGL Canvas More...
 
FXLabel & getCartesianLabel ()
 
SUMOTime getCurrentSimTime () const
 get current simulation time (pure virtual but we don't need it) More...
 
FXCursor * getDefaultCursor ()
 get default cursor More...
 
virtual double getDelay () const
 Returns the delay (should be overwritten by subclasses if applicable) More...
 
FXLabel & getGeoLabel ()
 
FXGLVisual * getGLVisual () const
 
double getTrackerInterval () const
 get current tracker interval (pure virtual but we don't need it) More...
 
GNEUndoListgetUndoList ()
 get pointer to undoList More...
 
FXMDIChild * getViewByID (const std::string &id) const
 
std::vector< std::string > getViewIDs () const
 
 GNEApplicationWindow (FXApp *a, const std::string &configPattern)
 Constructor. More...
 
bool isGaming () const
 return whether the gui is in gaming mode More...
 
bool listInternal () const
 return whether to list internal structures More...
 
bool listParking () const
 return whether to list parking vehicles More...
 
bool listTeleporting () const
 return whether to list teleporting vehicles More...
 
void loadOptionOnStartup ()
 load net on startup More...
 
void removeChild (FXMDIChild *child)
 removes the given child window from the list More...
 
void removeChild (FXMainWindow *child)
 
virtual void sendBlockingEvent (GUIEvent *event)
 Sends an event from the application thread to the GUI and waits until it is handled. More...
 
void setAdditionalsFile (const std::string &additionalsFile)
 set additionals file More...
 
virtual void setDelay (double)
 Sets the delay of the parent application. More...
 
void setShapesFile (const std::string &shapesFile)
 set shapes file More...
 
void setStatusBarText (const std::string &statusBarText)
 set text of the statusBar More...
 
void updateChildren ()
 
void updateControls ()
 update control contents after undo/redo or recompute More...
 
virtual ~GNEApplicationWindow ()
 Destructor. More...
 
Inter-thread event handling

called when an event occured

virtual void eventOccured ()
 
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 onCmdOpenShapes (FXObject *, FXSelector, void *)
 called when the command/FXCall open shapes is executed More...
 
long onCmdOpenAdditionals (FXObject *, FXSelector, void *)
 called when the command/FXCall open additionals 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 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 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 onUpdSaveNetwork (FXObject *, FXSelector, void *)
 called when the update/FXCall save network 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 upadte/FXCall needs network is executed More...
 
long onUpdReload (FXObject *, FXSelector, void *)
 called when the update/FXCall reload 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 onCmdSaveShapes (FXObject *, FXSelector, void *)
 called when the command/FXCall save shapes is executed More...
 
long onCmdSaveShapesAs (FXObject *, FXSelector, void *)
 called when the command/FXCall save shapes as 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 onCmdAppSettings (FXObject *, FXSelector, void *)
 Opens the application settings menu. More...
 
long onCmdGaming (FXObject *, FXSelector, void *)
 called when the command/FXCall toogle gaming mode is executed More...
 
long onCmdAbout (FXObject *, FXSelector, void *)
 called when the command/FXCall show about dialog is executed More...
 
long onCmdNewView (FXObject *, FXSelector, void *)
 called when the command/FXCall new view 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 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 onCmdSetMode (FXObject *sender, FXSelector sel, void *ptr)
 called if the user hits an edit-mode hotkey 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 onCmdFocusFrame (FXObject *sender, FXSelector sel, void *ptr)
 called if the user hits f More...
 
long onCmdEditViewport (FXObject *, FXSelector, void *)
 called if the user press key v to open zoom editor More...
 
long onCmdHelp (FXObject *sender, FXSelector sel, void *ptr)
 called if the user selects help->Documentation More...
 
long onCmdComputeJunctions (FXObject *, FXSelector, void *)
 called if the user selects Processing->compute junctions More...
 
long onCmdComputeJunctionsVolatile (FXObject *, FXSelector, void *)
 called if the user selects Processing->compute junctions with volatile options More...
 
long onCmdCleanJunctions (FXObject *, FXSelector, void *)
 called if the user selects Processing->clean junctions More...
 
long onCmdJoinJunctions (FXObject *, FXSelector, void *)
 called if the user selects Processing->join junctions More...
 
long onCmdCleanInvalidCrossings (FXObject *, FXSelector, void *)
 called if the user selects Processing->clear invalid crossings More...
 
long onCmdOptions (FXObject *, FXSelector, void *)
 called if the user selects Processing->Configure Options More...
 

Static Public Member Functions

static GUIMainWindowgetInstance ()
 

Protected Member Functions

virtual void fillMenuBar ()
 Builds the menu bar. More...
 
 GNEApplicationWindow ()
 FOX needs this for static members. More...
 
void setWindowSizeAndPos ()
 perform initial window positioning and sizing according to user options / previous call More...
 

Protected Attributes

bool hadDependentBuild
 check if had dependent build More...
 
std::string myAdditionalsFile
 filename for load/save additionals 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
 
MFXEventQue< GUIEvent * > myEvents
 List of got requests. More...
 
FXMenuPane * myFileMenu
 the submenus More...
 
FXLabel * myGeoCoordinate
 
FXHorizontalFrame * myGeoFrame
 
FXGLVisual * myGLVisual
 The gl-visual used. More...
 
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...
 
FXMDIMenu * myMDIMenu
 The menu used for the MDI-windows. More...
 
FXMenuBar * myMenuBar
 The application menu bar. More...
 
FXToolBarShell * myMenuBarDrag
 
GUIMessageWindowmyMessageWindow
 A window to display messages, warnings and error in. More...
 
std::string myName
 the name of the simulation More...
 
GNENetmyNet
 we are responsible for the net More...
 
FXMenuPane * myProcessingMenu
 
FXRecentFiles myRecentConfigs
 List of recent config files. More...
 
FXRecentFiles myRecentNets
 List of recent nets. More...
 
FXDockSite * myRightDock
 
std::string myShapesFile
 filename for load/save shapes More...
 
FXStatusBar * myStatusbar
 The status bar. More...
 
std::vector< FXMDIChild * > mySubWindows
 
const FXString myTitlePrefix
 the prefix for the window title More...
 
FXToolBar * myToolBar1
 The application tool bar. More...
 
FXToolBar * myToolBar2
 
FXToolBar * myToolBar3
 
FXToolBar * myToolBar4
 
FXToolBar * myToolBar5
 
FXToolBarShell * myToolBarDrag1
 for some menu detaching fun More...
 
FXToolBarShell * myToolBarDrag2
 
FXToolBarShell * myToolBarDrag3
 
FXToolBarShell * myToolBarDrag4
 
FXToolBarShell * myToolBarDrag5
 
FXDockSite * myTopDock
 
MFXMutex 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...
 
int myViewNumber
 The current view number. More...
 
FXMenuPane * myWindowsMenu
 

Static Protected Attributes

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

Private Member Functions

void closeAllWindows ()
 this method closes all windows and deletes the current simulation */ More...
 
bool continueWithUnsavedAdditionalChanges ()
 warns about unsaved changes in additionals and gives the user the option to abort More...
 
bool continueWithUnsavedChanges ()
 warns about unsaved changes and gives the user the option to abort More...
 
bool continueWithUnsavedShapeChanges ()
 warns about unsaved changes in shapes and gives the user the option to abort More...
 
GNEViewNetgetView ()
 convenience method 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...
 
GUISUMOAbstractViewopenNewView ()
 opens a new simulation display More...
 

Private Attributes

FXMenuCommand * mySaveAdditionalsMenuCommand
 FXMenuCommand for enable or disable save additionals. More...
 
FXMenuCommand * mySaveShapesMenuCommand
 FXMenuCommand for enable or disable save shapes. 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 69 of file GNEApplicationWindow.h.

Constructor & Destructor Documentation

◆ GNEApplicationWindow() [1/2]

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

Constructor.

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

Definition at line 205 of file GNEApplicationWindow.cpp.

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

◆ ~GNEApplicationWindow()

◆ GNEApplicationWindow() [2/2]

GNEApplicationWindow::GNEApplicationWindow ( )
inlineprotected

FOX needs this for static members.

Definition at line 314 of file GNEApplicationWindow.h.

References fillMenuBar().

Member Function Documentation

◆ addChild() [1/2]

void GUIMainWindow::addChild ( FXMDIChild *  child,
bool  updateOnSimStep = true 
)
inherited

Adds a further child window to the list.

Definition at line 99 of file GUIMainWindow.cpp.

References GUIMainWindow::mySubWindows.

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

◆ addChild() [2/2]

void GUIMainWindow::addChild ( FXMainWindow *  child,
bool  updateOnSimStep = true 
)
inherited

◆ closeAllWindows()

◆ continueWithUnsavedAdditionalChanges()

bool GNEApplicationWindow::continueWithUnsavedAdditionalChanges ( )
private

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

Definition at line 1794 of file GNEApplicationWindow.cpp.

References OptionsCont::getBool(), OptionsCont::getOptions(), getView(), mySaveAdditionalsMenuCommand, onCmdSaveAdditionals(), and WRITE_WARNING.

Referenced by continueWithUnsavedChanges().

◆ continueWithUnsavedChanges()

bool GNEApplicationWindow::continueWithUnsavedChanges ( )
private

◆ continueWithUnsavedShapeChanges()

bool GNEApplicationWindow::continueWithUnsavedShapeChanges ( )
private

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

Definition at line 1843 of file GNEApplicationWindow.cpp.

References OptionsCont::getBool(), OptionsCont::getOptions(), getView(), mySaveShapesMenuCommand, onCmdSaveShapes(), and WRITE_WARNING.

Referenced by continueWithUnsavedChanges().

◆ create()

void GNEApplicationWindow::create ( )
virtual

◆ dependentBuild()

◆ detach()

void GNEApplicationWindow::detach ( )
virtual

detaches the tool/menu bar

Definition at line 352 of file GNEApplicationWindow.cpp.

References myMenuBarDrag.

◆ enableSaveAdditionalsMenu()

void GNEApplicationWindow::enableSaveAdditionalsMenu ( )

enable save additionals

Definition at line 1126 of file GNEApplicationWindow.cpp.

References mySaveAdditionalsMenuCommand.

Referenced by GNENet::requiereSaveAdditionals().

◆ enableSaveShapesMenu()

void GNEApplicationWindow::enableSaveShapesMenu ( )

enable save shapes

Definition at line 1132 of file GNEApplicationWindow.cpp.

References mySaveShapesMenuCommand.

Referenced by GNENet::requiereSaveShapes().

◆ eventOccured()

◆ fillMenuBar()

void GNEApplicationWindow::fillMenuBar ( )
protectedvirtual

Builds the menu bar.

Definition at line 359 of file GNEApplicationWindow.cpp.

References GUIIconSubSys::getIcon(), ICON_CLEANJUNCTIONS, ICON_CLOSE, ICON_COMPUTEJUNCTIONS, ICON_JOINJUNCTIONS, ICON_LOCATEADD, ICON_LOCATEEDGE, ICON_LOCATEJUNCTION, ICON_LOCATEPOI, ICON_LOCATEPOLY, ICON_LOCATETLS, ICON_MODEADDITIONAL, ICON_MODECONNECTION, ICON_MODECREATEEDGE, ICON_MODECROSSING, ICON_MODEDELETE, ICON_MODEINSPECT, ICON_MODEMOVE, ICON_MODEPOLYGON, ICON_MODESELECT, ICON_MODETLS, ICON_OPEN_ADDITIONALS, ICON_OPEN_CONFIG, ICON_OPEN_NET, ICON_OPEN_SHAPES, ICON_OPTIONS, ICON_REDO, ICON_RELOAD, ICON_SAVE, ICON_UNDO, MID_ABOUT, MID_CLEARMESSAGEWINDOW, MID_CLOSE, MID_GNE_PROCESSING_CLEANINVALIDCROSSINGS, MID_GNE_PROCESSING_CLEANJUNCTIONS, MID_GNE_PROCESSING_COMPUTEJUNCTIONS, MID_GNE_PROCESSING_COMPUTEJUNCTIONS_VOLATILE, MID_GNE_PROCESSING_JOINJUNCTIONS, MID_GNE_PROCESSING_OPTIONS, MID_GNE_SETMODE_ADDITIONAL, MID_GNE_SETMODE_CONNECT, MID_GNE_SETMODE_CREATE_EDGE, MID_GNE_SETMODE_CROSSING, MID_GNE_SETMODE_DELETE, MID_GNE_SETMODE_INSPECT, MID_GNE_SETMODE_MOVE, MID_GNE_SETMODE_POLYGON, MID_GNE_SETMODE_SELECT, MID_GNE_SETMODE_TLS, MID_GNE_TOOLBARFILE_NEWNETWORK, MID_GNE_TOOLBARFILE_OPENFOREIGN, MID_GNE_TOOLBARFILE_SAVEADDITIONALS, MID_GNE_TOOLBARFILE_SAVEADDITIONALS_AS, MID_GNE_TOOLBARFILE_SAVEJOINED, MID_GNE_TOOLBARFILE_SAVENETWORK, MID_GNE_TOOLBARFILE_SAVENETWORK_AS, MID_GNE_TOOLBARFILE_SAVEPLAINXML, MID_GNE_TOOLBARFILE_SAVESHAPES, MID_GNE_TOOLBARFILE_SAVESHAPES_AS, MID_HELP, MID_LOCATEADD, MID_LOCATEEDGE, MID_LOCATEJUNCTION, MID_LOCATEPOI, MID_LOCATEPOLY, MID_LOCATETLS, MID_OPEN_ADDITIONALS, MID_OPEN_CONFIG, MID_OPEN_NETWORK, MID_OPEN_SHAPES, MID_QUIT, MID_RECENTFILE, MID_RELOAD, myEditMenu, myFileMenu, myHelpMenu, myLocatorMenu, myMenuBar, myMessageWindow, myProcessingMenu, myRecentConfigs, myRecentNets, mySaveAdditionalsMenuCommand, mySaveShapesMenuCommand, GUIMainWindow::myStatusbar, myUndoList, and myWindowsMenu.

Referenced by dependentBuild(), and GNEApplicationWindow().

◆ getActiveView()

GUISUMOAbstractView * GUIMainWindow::getActiveView ( ) const
inherited

get the active view or 0

Definition at line 198 of file GUIMainWindow.cpp.

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

Referenced by GUIVehicle::drawOutsideNetwork(), and GUIMainWindow::sendBlockingEvent().

◆ getBoldFont()

FXFont * GUIMainWindow::getBoldFont ( )
inherited

◆ getBuildGLCanvas()

FXGLCanvas * GNEApplicationWindow::getBuildGLCanvas ( ) const
virtual

get build OpenGL Canvas

Implements GUIMainWindow.

Definition at line 1023 of file GNEApplicationWindow.cpp.

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

Referenced by openNewView().

◆ getCartesianLabel()

FXLabel & GUIMainWindow::getCartesianLabel ( )
inherited

◆ getCurrentSimTime()

SUMOTime GNEApplicationWindow::getCurrentSimTime ( ) const
virtual

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

Implements GUIMainWindow.

Definition at line 1034 of file GNEApplicationWindow.cpp.

◆ getDefaultCursor()

FXCursor * GNEApplicationWindow::getDefaultCursor ( )

get default cursor

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

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

◆ getGeoLabel()

FXLabel & GUIMainWindow::getGeoLabel ( )
inherited

◆ getGLVisual()

FXGLVisual * GUIMainWindow::getGLVisual ( ) const
inherited

Definition at line 171 of file GUIMainWindow.cpp.

References GUIMainWindow::myGLVisual.

Referenced by GUISUMOViewParent::init().

◆ getInstance()

◆ getTrackerInterval()

double GNEApplicationWindow::getTrackerInterval ( ) const
virtual

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

Implements GUIMainWindow.

Definition at line 1040 of file GNEApplicationWindow.cpp.

◆ getUndoList()

GNEUndoList * GNEApplicationWindow::getUndoList ( )

get pointer to undoList

Definition at line 1046 of file GNEApplicationWindow.cpp.

References myUndoList.

◆ getView()

◆ getViewByID()

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

◆ getViewIDs()

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

◆ handleEvent_Message()

void GNEApplicationWindow::handleEvent_Message ( GUIEvent e)

hanlde event of type message

Definition at line 978 of file GNEApplicationWindow.cpp.

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

Referenced by eventOccured().

◆ handleEvent_NetworkLoaded()

◆ isGaming()

◆ listInternal()

bool GUIMainWindow::listInternal ( ) const
inlineinherited

return whether to list internal structures

Definition at line 91 of file GUIMainWindow.h.

References GUIMainWindow::myListInternal.

Referenced by GUISUMOViewParent::onCmdLocate().

◆ listParking()

bool GUIMainWindow::listParking ( ) const
inlineinherited

return whether to list parking vehicles

Definition at line 96 of file GUIMainWindow.h.

References GUIMainWindow::myListParking.

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

◆ listTeleporting()

bool GUIMainWindow::listTeleporting ( ) const
inlineinherited

return whether to list teleporting vehicles

Definition at line 101 of file GUIMainWindow.h.

References GUIMainWindow::getInstance(), and GUIMainWindow::myListTeleporting.

Referenced by GUISUMOViewParent::onCmdLocate().

◆ loadConfigOrNet()

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

◆ loadOptionOnStartup()

void GNEApplicationWindow::loadOptionOnStartup ( )

load net on startup

Definition at line 1100 of file GNEApplicationWindow.cpp.

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

Referenced by main().

◆ onClipboardRequest()

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

called when the command/FXCall clipboard request is executed

Definition at line 866 of file GNEApplicationWindow.cpp.

References GUIUserIO::clipped.

◆ onCmdAbort()

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

called if the user hits esc

Definition at line 1147 of file GNEApplicationWindow.cpp.

References GNEViewNet::abortOperation(), OptionsCont::getOptions(), getView(), and WRITE_WARNING.

◆ onCmdAbout()

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

called when the command/FXCall show about dialog is executed

Definition at line 849 of file GNEApplicationWindow.cpp.

References GNEDialog_About::create(), OptionsCont::getOptions(), and WRITE_WARNING.

◆ onCmdAppSettings()

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

Opens the application settings menu.

◆ onCmdCleanInvalidCrossings()

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

called if the user selects Processing->clear invalid crossings

Definition at line 1400 of file GNEApplicationWindow.cpp.

References GNENet::cleanInvalidCrossings(), OptionsCont::getOptions(), myNet, myUndoList, and WRITE_WARNING.

◆ onCmdCleanJunctions()

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

called if the user selects Processing->clean junctions

Definition at line 1378 of file GNEApplicationWindow.cpp.

References OptionsCont::getOptions(), myNet, myUndoList, GNENet::removeSolitaryJunctions(), and WRITE_WARNING.

◆ onCmdClearMsgWindow()

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

called when the command/FXCall clear message windows is executed

Definition at line 842 of file GNEApplicationWindow.cpp.

References GUIMessageWindow::clear(), and myMessageWindow.

◆ onCmdClose()

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

called when the command/FXCall close is executed

Definition at line 812 of file GNEApplicationWindow.cpp.

References closeAllWindows(), continueWithUnsavedChanges(), mySaveAdditionalsMenuCommand, and mySaveShapesMenuCommand.

◆ onCmdComputeJunctions()

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

called if the user selects Processing->compute junctions

Definition at line 1213 of file GNEApplicationWindow.cpp.

References GNENet::computeEverything(), OptionsCont::getOptions(), myNet, updateControls(), and WRITE_WARNING.

◆ onCmdComputeJunctionsVolatile()

◆ onCmdDel()

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

called if the user hits del

Definition at line 1162 of file GNEApplicationWindow.cpp.

References OptionsCont::getOptions(), getView(), GNEViewNet::hotkeyDel(), and WRITE_WARNING.

◆ onCmdEditChosen()

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

called when the command/FXCall edit chosen is executed

Definition at line 625 of file GNEApplicationWindow.cpp.

References gSelected.

◆ onCmdEditViewport()

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

called if the user press key v to open zoom editor

Definition at line 1197 of file GNEApplicationWindow.cpp.

References getView(), and GUISUMOAbstractView::showViewportEditor().

◆ onCmdEnter()

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

called if the user hits enter

Definition at line 1175 of file GNEApplicationWindow.cpp.

References OptionsCont::getOptions(), getView(), GNEViewNet::hotkeyEnter(), and WRITE_WARNING.

◆ onCmdFocusFrame()

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

called if the user hits f

Definition at line 1188 of file GNEApplicationWindow.cpp.

References getView(), and GNEViewNet::hotkeyFocusFrame().

◆ onCmdGaming()

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

called when the command/FXCall toogle gaming mode is executed

◆ onCmdHelp()

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

called if the user selects help->Documentation

Definition at line 1206 of file GNEApplicationWindow.cpp.

References FXLinkLabel::fxexecute().

◆ onCmdJoinJunctions()

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

called if the user selects Processing->join junctions

Definition at line 1389 of file GNEApplicationWindow.cpp.

References OptionsCont::getOptions(), GNENet::joinSelectedJunctions(), myNet, myUndoList, and WRITE_WARNING.

◆ onCmdLocate()

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

called when the command/FXCall locate is executed

Definition at line 824 of file GNEApplicationWindow.cpp.

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

◆ onCmdNewNetwork()

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

◆ onCmdNewView()

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

called when the command/FXCall new view is executed

◆ onCmdOpenAdditionals()

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

called when the command/FXCall open additionals is executed

Definition at line 758 of file GNEApplicationWindow.cpp.

References gCurrentFolder, GUIIconSubSys::getIcon(), GNENet::getViewNet(), ICON_EMPTY, myNet, myUndoList, GNEUndoList::p_begin(), GNEUndoList::p_end(), XMLSubSys::runParser(), and WRITE_MESSAGE.

◆ onCmdOpenConfiguration()

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

called when the command/FXCall open configuration is executed

Definition at line 649 of file GNEApplicationWindow.cpp.

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

◆ onCmdOpenForeign()

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

◆ onCmdOpenNetwork()

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

called when the command/FXCall open network is executed

Definition at line 669 of file GNEApplicationWindow.cpp.

References gCurrentFolder, GUIIconSubSys::getIcon(), ICON_EMPTY, loadConfigOrNet(), myRecentNets, mySaveAdditionalsMenuCommand, and mySaveShapesMenuCommand.

◆ 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, myRecentNets, and GUIMainWindow::myStatusbar.

◆ onCmdOpenShapes()

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

called when the command/FXCall open shapes is executed

Definition at line 733 of file GNEApplicationWindow.cpp.

References gCurrentFolder, GUIIconSubSys::getIcon(), ICON_EMPTY, myNet, myUndoList, GNEUndoList::p_begin(), GNEUndoList::p_end(), XMLSubSys::runParser(), and WRITE_MESSAGE.

◆ onCmdOptions()

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

called if the user selects Processing->Configure Options

Definition at line 1411 of file GNEApplicationWindow.cpp.

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

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

References continueWithUnsavedChanges(), and gCurrentFolder.

◆ onCmdReload()

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

called when the command/FXCall reload is executed

Definition at line 804 of file GNEApplicationWindow.cpp.

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

◆ onCmdSaveAdditionals()

◆ onCmdSaveAdditionalsAs()

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

called when the command/FXCall save additionals as is executed

Definition at line 1689 of file GNEApplicationWindow.cpp.

References gCurrentFolder, MFXUtils::getFilename2Write(), GUIIconSubSys::getIcon(), ICON_EMPTY, myAdditionalsFile, and onCmdSaveAdditionals().

◆ onCmdSaveAsNetwork()

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

◆ onCmdSaveAsPlainXML()

◆ onCmdSaveJoined()

◆ onCmdSaveNetwork()

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

◆ onCmdSaveShapes()

◆ onCmdSaveShapesAs()

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

called when the command/FXCall save shapes as is executed

Definition at line 1581 of file GNEApplicationWindow.cpp.

References gCurrentFolder, MFXUtils::getFilename2Write(), GUIIconSubSys::getIcon(), ICON_EMPTY, myShapesFile, and onCmdSaveShapes().

◆ onCmdSetMode()

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

called if the user hits an edit-mode hotkey

Definition at line 1138 of file GNEApplicationWindow.cpp.

References getView(), and GNEViewNet::setEditModeFromHotkey().

◆ onKeyPress()

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

called when a key is pressed

Definition at line 1900 of file GNEApplicationWindow.cpp.

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

◆ onKeyRelease()

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

called when a key is released

Definition at line 1913 of file GNEApplicationWindow.cpp.

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

◆ onLoadThreadEvent()

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

called when the command/FXCall load thread is executed

Definition at line 875 of file GNEApplicationWindow.cpp.

References eventOccured().

◆ onUpdNeedsNetwork()

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

called when the upadte/FXCall needs network is executed

Definition at line 1599 of file GNEApplicationWindow.cpp.

References myNet.

◆ onUpdOpen()

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

called when the command/FXCall on update open executed

Definition at line 835 of file GNEApplicationWindow.cpp.

References myAmLoading.

◆ onUpdReload()

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

called when the update/FXCall reload is executed

Definition at line 1606 of file GNEApplicationWindow.cpp.

References OptionsCont::getOptions(), and myNet.

◆ onUpdSaveNetwork()

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

called when the update/FXCall save network is executed

Definition at line 1707 of file GNEApplicationWindow.cpp.

References OptionsCont::getOptions(), OptionsCont::getString(), OptionsCont::isSet(), and myNet.

◆ openNewView()

GUISUMOAbstractView * GNEApplicationWindow::openNewView ( )
private

◆ removeChild() [1/2]

◆ removeChild() [2/2]

void GUIMainWindow::removeChild ( FXMainWindow *  child)
inherited

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

References GUIMainWindow::getActiveView(), and UNUSED_PARAMETER.

◆ setAdditionalsFile()

void GNEApplicationWindow::setAdditionalsFile ( const std::string &  additionalsFile)

set additionals file

Definition at line 1114 of file GNEApplicationWindow.cpp.

References myAdditionalsFile.

◆ setDelay()

virtual void GUIMainWindow::setDelay ( double  )
inlinevirtualinherited

Sets the delay of the parent application.

Reimplemented in GUIApplicationWindow.

Definition at line 116 of file GUIMainWindow.h.

Referenced by GUISUMOAbstractView::setDelay().

◆ setShapesFile()

void GNEApplicationWindow::setShapesFile ( const std::string &  shapesFile)

set shapes file

Definition at line 1120 of file GNEApplicationWindow.cpp.

References myShapesFile.

◆ setStatusBarText()

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

set text of the statusBar

Reimplemented from GUIMainWindow.

Definition at line 1107 of file GNEApplicationWindow.cpp.

References GUIMainWindow::myStatusbar.

Referenced by GNENet::computeEverything(), handleEvent_NetworkLoaded(), and loadConfigOrNet().

◆ setWindowSizeAndPos()

void GUIMainWindow::setWindowSizeAndPos ( )
protectedinherited

◆ updateChildren()

◆ updateControls()

void GNEApplicationWindow::updateControls ( )

update control contents after undo/redo or recompute

Definition at line 1891 of file GNEApplicationWindow.cpp.

References getView(), and GNEViewNet::updateControls().

Referenced by onCmdComputeJunctions(), onCmdComputeJunctionsVolatile(), GNEUndoList::redo(), and GNEUndoList::undo().

Field Documentation

◆ hadDependentBuild

bool GNEApplicationWindow::hadDependentBuild
protected

check if had dependent build

Definition at line 375 of file GNEApplicationWindow.h.

Referenced by dependentBuild().

◆ myAdditionalsFile

std::string GNEApplicationWindow::myAdditionalsFile
protected

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

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

◆ myBottomDock

FXDockSite * GUIMainWindow::myBottomDock
protectedinherited

Definition at line 150 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 144 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 372 of file GNEApplicationWindow.h.

Referenced by onCmdOpenConfiguration().

◆ myEditMenu

FXMenuPane * GNEApplicationWindow::myEditMenu
protected

Definition at line 332 of file GNEApplicationWindow.h.

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

◆ myEvents

MFXEventQue<GUIEvent*> GNEApplicationWindow::myEvents
protected

List of got requests.

Definition at line 351 of file GNEApplicationWindow.h.

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

◆ myFileMenu

FXMenuPane* GNEApplicationWindow::myFileMenu
protected

the submenus

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

◆ myHelpMenu

FXMenuPane * GNEApplicationWindow::myHelpMenu
protected

Definition at line 332 of file GNEApplicationWindow.h.

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

◆ myInstance

GUIMainWindow * GUIMainWindow::myInstance = 0
staticprotectedinherited

the singleton window instance

Definition at line 165 of file GUIMainWindow.h.

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

◆ myLeftDock

FXDockSite * GUIMainWindow::myLeftDock
protectedinherited

Definition at line 150 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 156 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 159 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 162 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 323 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 363 of file GNEApplicationWindow.h.

Referenced by dependentBuild().

◆ myLocatorMenu

FXMenuPane * GNEApplicationWindow::myLocatorMenu
protected

Definition at line 332 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 343 of file GNEApplicationWindow.h.

Referenced by dependentBuild().

◆ myMDIClient

◆ myMDIMenu

FXMDIMenu* GNEApplicationWindow::myMDIMenu
protected

The menu used for the MDI-windows.

Definition at line 354 of file GNEApplicationWindow.h.

Referenced by dependentBuild(), and openNewView().

◆ myMenuBar

FXMenuBar* GNEApplicationWindow::myMenuBar
protected

The application menu bar.

Definition at line 357 of file GNEApplicationWindow.h.

Referenced by dependentBuild(), and fillMenuBar().

◆ myMenuBarDrag

FXToolBarShell * GNEApplicationWindow::myMenuBarDrag
protected

Definition at line 346 of file GNEApplicationWindow.h.

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

◆ myMessageWindow

◆ myName

std::string GNEApplicationWindow::myName
protected

the name of the simulation

Definition at line 320 of file GNEApplicationWindow.h.

◆ myNet

◆ myProcessingMenu

FXMenuPane * GNEApplicationWindow::myProcessingMenu
protected

Definition at line 332 of file GNEApplicationWindow.h.

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

◆ myRecentConfigs

FXRecentFiles GNEApplicationWindow::myRecentConfigs
protected

List of recent config files.

Definition at line 366 of file GNEApplicationWindow.h.

Referenced by fillMenuBar(), and onCmdOpenConfiguration().

◆ myRecentNets

FXRecentFiles GNEApplicationWindow::myRecentNets
protected

List of recent nets.

Definition at line 369 of file GNEApplicationWindow.h.

Referenced by fillMenuBar(), onCmdOpenNetwork(), and onCmdOpenRecent().

◆ myRightDock

FXDockSite * GUIMainWindow::myRightDock
protectedinherited

Definition at line 150 of file GUIMainWindow.h.

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

◆ mySaveAdditionalsMenuCommand

FXMenuCommand* GNEApplicationWindow::mySaveAdditionalsMenuCommand
private

FXMenuCommand for enable or disable save additionals.

Definition at line 394 of file GNEApplicationWindow.h.

Referenced by continueWithUnsavedAdditionalChanges(), enableSaveAdditionalsMenu(), fillMenuBar(), onCmdClose(), onCmdOpenNetwork(), and onCmdSaveAdditionals().

◆ mySaveShapesMenuCommand

FXMenuCommand* GNEApplicationWindow::mySaveShapesMenuCommand
private

FXMenuCommand for enable or disable save shapes.

Definition at line 397 of file GNEApplicationWindow.h.

Referenced by continueWithUnsavedShapeChanges(), enableSaveShapesMenu(), fillMenuBar(), onCmdClose(), onCmdOpenNetwork(), and onCmdSaveShapes().

◆ myShapesFile

std::string GNEApplicationWindow::myShapesFile
protected

◆ myStatusbar

◆ mySubWindows

◆ myTitlePrefix

const FXString GNEApplicationWindow::myTitlePrefix
protected

the prefix for the window title

Definition at line 384 of file GNEApplicationWindow.h.

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

◆ myToolBar1

FXToolBar* GNEApplicationWindow::myToolBar1
protected

The application tool bar.

Definition at line 360 of file GNEApplicationWindow.h.

◆ myToolBar2

FXToolBar * GNEApplicationWindow::myToolBar2
protected

Definition at line 360 of file GNEApplicationWindow.h.

◆ myToolBar3

FXToolBar * GNEApplicationWindow::myToolBar3
protected

Definition at line 360 of file GNEApplicationWindow.h.

◆ myToolBar4

FXToolBar * GNEApplicationWindow::myToolBar4
protected

Definition at line 360 of file GNEApplicationWindow.h.

◆ myToolBar5

FXToolBar * GNEApplicationWindow::myToolBar5
protected

Definition at line 360 of file GNEApplicationWindow.h.

◆ myToolBarDrag1

FXToolBarShell* GNEApplicationWindow::myToolBarDrag1
protected

for some menu detaching fun

Definition at line 346 of file GNEApplicationWindow.h.

◆ myToolBarDrag2

FXToolBarShell * GNEApplicationWindow::myToolBarDrag2
protected

Definition at line 346 of file GNEApplicationWindow.h.

◆ myToolBarDrag3

FXToolBarShell * GNEApplicationWindow::myToolBarDrag3
protected

Definition at line 346 of file GNEApplicationWindow.h.

◆ myToolBarDrag4

FXToolBarShell * GNEApplicationWindow::myToolBarDrag4
protected

Definition at line 346 of file GNEApplicationWindow.h.

◆ myToolBarDrag5

FXToolBarShell * GNEApplicationWindow::myToolBarDrag5
protected

Definition at line 346 of file GNEApplicationWindow.h.

◆ myTopDock

FXDockSite* GUIMainWindow::myTopDock
protectedinherited

◆ myTrackerLock

MFXMutex GUIMainWindow::myTrackerLock
protectedinherited

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

Definition at line 132 of file GUIMainWindow.h.

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

◆ myTrackerWindows

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

◆ myUndoList

◆ myViewNumber

int GNEApplicationWindow::myViewNumber
protected

The current view number.

Definition at line 326 of file GNEApplicationWindow.h.

Referenced by handleEvent_NetworkLoaded(), and openNewView().

◆ myWindowsMenu

FXMenuPane * GNEApplicationWindow::myWindowsMenu
protected

Definition at line 332 of file GNEApplicationWindow.h.

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


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