Eclipse SUMO - Simulation of Urban MObility
GNEApplicationWindow.h
Go to the documentation of this file.
1 /****************************************************************************/
2 // Eclipse SUMO, Simulation of Urban MObility; see https://eclipse.org/sumo
3 // Copyright (C) 2001-2019 German Aerospace Center (DLR) and others.
4 // This program and the accompanying materials
5 // are made available under the terms of the Eclipse Public License v2.0
6 // which accompanies this distribution, and is available at
7 // http://www.eclipse.org/legal/epl-v20.html
8 // SPDX-License-Identifier: EPL-2.0
9 /****************************************************************************/
14 // The main window of Netedit (adapted from GUIApplicationWindow)
15 /****************************************************************************/
16 #ifndef GNEApplicationWindow_h
17 #define GNEApplicationWindow_h
18 
19 
20 // ===========================================================================
21 // included modules
22 // ===========================================================================
23 #include <config.h>
24 
25 #include <utils/common/SUMOTime.h>
29 #include <utils/geom/Position.h>
33 
34 
35 // ===========================================================================
36 // class declarations
37 // ===========================================================================
38 class GNELoadThread;
39 class GNEUndoList;
40 class GNENet;
41 class GNEViewNet;
42 class GUIEvent;
43 
44 
45 // ===========================================================================
46 // class definition
47 // ===========================================================================
60  FXDECLARE(GNEApplicationWindow)
61 
62 public:
64  struct ToolbarsGrip {
65 
68 
70  void buildMenuToolbarsGrip();
71 
74 
77 
79  FXMenuBar* menu;
80 
82  FXMenuBar* superModes;
83 
85  FXMenuBar* saveElements;
86 
88  FXMenuBar* navigation;
89 
91  FXMenuBar* modes;
92 
94  FXMenuBar* modeOptions;
95 
96  private:
99 
101  FXToolBarShell* myToolBarShellMenu;
102 
104  FXToolBarShell* myToolBarShellSuperModes;
105 
107  FXToolBarShell* myToolBarShellSaveElements;
108 
110  FXToolBarShell* myToolBarShellNavigation;
111 
113  FXToolBarShell* myToolBarShellModes;
114 
116  FXToolBarShell* myToolBarShellModeOptions;
117  };
118 
123  GNEApplicationWindow(FXApp* a, const std::string& configPattern);
124 
127 
129  void create();
130 
132  void loadOptionOnStartup();
133 
135  void dependentBuild();
136 
138  void setStatusBarText(const std::string& statusBarText);
139 
142 
145 
148 
151 
154 
157 
161  void eventOccurred();
162 
165 
167  void handleEvent_Message(GUIEvent* e);
169 
173  long onCmdNewNetwork(FXObject*, FXSelector, void*);
174 
176  long onCmdOpenConfiguration(FXObject*, FXSelector, void*);
177 
179  long onCmdOpenNetwork(FXObject*, FXSelector, void*);
180 
182  long onCmdOpenForeign(FXObject*, FXSelector, void*);
183 
185  long onCmdOpenAdditionals(FXObject*, FXSelector, void*);
186 
188  long onCmdOpenTLSPrograms(FXObject*, FXSelector, void*);
189 
191  long onCmdOpenDemandElements(FXObject*, FXSelector, void*);
192 
194  long onCmdReload(FXObject*, FXSelector, void*);
195 
197  long onCmdOpenRecent(FXObject*, FXSelector, void*);
198 
200  long onCmdClose(FXObject*, FXSelector, void*);
201 
203  long onCmdEditViewScheme(FXObject*, FXSelector, void*);
204 
206  long onCmdEditViewport(FXObject*, FXSelector, void*);
207 
209  long onCmdLocate(FXObject*, FXSelector, void*);
210 
212  long onCmdSaveNetwork(FXObject*, FXSelector, void*);
213 
215  long onCmdSaveAdditionals(FXObject*, FXSelector, void*);
216 
218  long onCmdSaveAdditionalsAs(FXObject*, FXSelector, void*);
219 
221  long onCmdSaveTLSPrograms(FXObject*, FXSelector, void*);
222 
224  long onCmdSaveTLSProgramsAs(FXObject*, FXSelector, void*);
225 
227  long onCmdSaveDemandElements(FXObject*, FXSelector, void*);
228 
230  long onCmdSaveDemandElementsAs(FXObject*, FXSelector, void*);
231 
233  long onUpdSaveNetwork(FXObject*, FXSelector, void*);
234 
236  long onCmdSaveAsNetwork(FXObject*, FXSelector, void*);
237 
239  long onUpdNeedsNetwork(FXObject*, FXSelector, void*);
240 
242  long onUpdReload(FXObject*, FXSelector, void*);
243 
245  long onUpdSaveAdditionals(FXObject*, FXSelector, void*);
246 
248  long onUpdSaveDemandElements(FXObject*, FXSelector, void*);
249 
251  long onUpdUndo(FXObject* obj, FXSelector sel, void* ptr);
252 
254  long onUpdRedo(FXObject* obj, FXSelector sel, void* ptr);
255 
257  long onCmdSaveAsPlainXML(FXObject*, FXSelector, void*);
258 
260  long onCmdSaveJoined(FXObject*, FXSelector, void*);
261 
263  long onKeyPress(FXObject* o, FXSelector sel, void* data);
264 
266  long onKeyRelease(FXObject* o, FXSelector sel, void* data);
267 
271  long onCmdQuit(FXObject*, FXSelector, void*);
272 
274  long onCmdEditChosen(FXObject*, FXSelector, void*);
275 
277  long onCmdAbout(FXObject*, FXSelector, void*);
278 
280  long onUpdOpen(FXObject*, FXSelector, void*);
281 
283  long onCmdClearMsgWindow(FXObject*, FXSelector, void*);
284 
286  long onCmdLoadAdditionalsInSUMOGUI(FXObject*, FXSelector, void*);
287 
289  long onCmdLoadDemandInSUMOGUI(FXObject*, FXSelector, void*);
290 
292  long onLoadThreadEvent(FXObject*, FXSelector, void*);
293 
295  long onClipboardRequest(FXObject* sender, FXSelector sel, void* ptr);
296 
298  long onCmdSetSuperMode(FXObject* sender, FXSelector sel, void* ptr);
299 
301  long onCmdSetMode(FXObject* sender, FXSelector sel, void* ptr);
302 
304  long onCmdProcessButton(FXObject*, FXSelector sel, void*);
305 
307  long onCmdOpenSUMOGUI(FXObject* sender, FXSelector sel, void* ptr);
308 
310  long onCmdAbort(FXObject* sender, FXSelector sel, void* ptr);
311 
313  long onCmdDel(FXObject* sender, FXSelector sel, void* ptr);
314 
316  long onCmdEnter(FXObject* sender, FXSelector sel, void* ptr);
317 
319  long onCmdBackspace(FXObject* sender, FXSelector sel, void* ptr);
320 
322  long onCmdFocusFrame(FXObject* sender, FXSelector sel, void* ptr);
323 
325  long onCmdToogleGrid(FXObject*, FXSelector, void*);
326 
328  long onCmdToogleEditOptions(FXObject*, FXSelector, void*);
329 
331  long onCmdHelp(FXObject* sender, FXSelector sel, void* ptr);
332 
334  long onCmdOptions(FXObject*, FXSelector, void*);
335 
337  long onCmdUndo(FXObject*, FXSelector, void*);
338 
339  // @brief called when user press Ctrl+Y
340  long onCmdRedo(FXObject*, FXSelector, void*);
341 
343  long onCmdCut(FXObject*, FXSelector, void*);
344 
345  // @brief called when user press Ctrl+Y
346  long onCmdCopy(FXObject*, FXSelector, void*);
347 
348  // @brief called when user press Ctrl+Y
349  long onCmdPaste(FXObject*, FXSelector, void*);
350 
351  // @brief called when user press Ctrl+F1
352  long onCmdSetTemplate(FXObject*, FXSelector, void*);
353 
354  // @brief called when user press Ctrl+F2
355  long onCmdCopyTemplate(FXObject*, FXSelector, void*);
356 
357  // @brief called when user press Ctrl+F3
358  long onCmdClearTemplate(FXObject*, FXSelector, void*);
359 
361 
365  FXGLCanvas* getBuildGLCanvas() const;
366 
368  SUMOTime getCurrentSimTime() const;
369 
371  double getTrackerInterval() const;
373 
375  FXCursor* getDefaultCursor();
376 
379 
382 
384  void updateControls();
385 
387  void updateSuperModeMenuCommands(int supermode);
388 
390  void disableUndoRedo(const std::string& reason);
391 
393  void enableUndoRedo();
394 
396  const std::string& isUndoRedoEnabled() const;
397 
398 protected:
401 
404 
407 
409  FXMenuPane* myFileMenu,
411  *myFileMenuTLS,
413  *myEditMenu,
415  *myLocatorMenu,
416  *myWindowsMenu,
417  *myHelpMenu;
418 
421 
423  FXSplitter* myMainSplitter;
424 
427 
430 
433 
436 
439 
441  std::string myConfigPattern;
442 
445 
446 private:
448  struct MenuBarFile {
449 
452 
454  void buildRecentFiles(FXMenuPane* fileMenu);
455 
457  FXRecentFiles myRecentConfigs;
458 
460  FXRecentFiles myRecentNets;
461 
462  private:
465  };
466 
469 
472 
474  void buildFileMenuCommands(FXMenuPane* editMenu);
475 
477  FXMenuCommand* saveAdditionals;
478 
480  FXMenuCommand* saveAdditionalsAs;
481 
483  FXMenuCommand* saveTLSPrograms;
484 
486  FXMenuCommand* saveDemandElements;
487 
489  FXMenuCommand* saveDemandElementsAs;
490 
491  private:
494  };
495 
498 
501 
503  NetworkMenuCommands(const EditMenuCommands* editMenuCommandsParent);
504 
506  void buildNetworkMenuCommands(FXMenuPane* editMenu);
507 
510 
513 
515  FXMenuCommand* createEdgeMode;
516 
518  FXMenuCommand* moveMode;
519 
521  FXMenuCommand* deleteMode;
522 
524  FXMenuCommand* inspectMode;
525 
527  FXMenuCommand* selectMode;
528 
530  FXMenuCommand* connectMode;
531 
533  FXMenuCommand* prohibitionMode;
534 
536  FXMenuCommand* TLSMode;
537 
539  FXMenuCommand* additionalMode;
540 
542  FXMenuCommand* crossingMode;
543 
545  FXMenuCommand* TAZMode;
546 
548  FXMenuCommand* shapeMode;
549 
550  private:
553 
555  FXMenuSeparator* myHorizontalSeparator;
556  };
557 
560 
562  DemandMenuCommands(const EditMenuCommands* editMenuCommandsParent);
563 
565  void buildDemandMenuCommands(FXMenuPane* editMenu);
566 
568  void showDemandMenuCommands();
569 
571  void hideDemandMenuCommands();
572 
574  FXMenuCommand* routeMode;
575 
577  FXMenuCommand* vehicleMode;
578 
580  FXMenuCommand* vehicleTypeMode;
581 
583  FXMenuCommand* stopMode;
584 
586  FXMenuCommand* personTypeMode;
587 
589  FXMenuCommand* personMode;
590 
592  FXMenuCommand* personPlanMode;
593 
594  private:
597 
599  FXMenuSeparator* myHorizontalSeparator;
600  };
601 
604 
606  void buildEditMenuCommands(FXMenuPane* editMenu);
607 
608  private:
611 
612  public:
615 
618 
620  FXMenuCommand* undoLastChange;
621 
623  FXMenuCommand* redoLastChange;
624 
626  FXMenuCommand* editViewScheme;
627 
629  FXMenuCommand* editViewPort;
630 
632  FXMenuCommand* toogleGrid;
633 
636 
638  FXMenuCheck* loadDemandInSUMOGUI;
639 
641  FXMenuCommand* openInSUMOGUI;
642  };
643 
646 
649 
651  void buildProcessingMenuCommands(FXMenuPane* editMenu);
652 
655 
658 
661 
664 
668  FXMenuCommand* computeNetwork;
669 
671  FXMenuCommand* computeNetworkVolatile;
672 
674  FXMenuCommand* cleanJunctions;
675 
677  FXMenuCommand* joinJunctions;
678 
680  FXMenuCommand* clearInvalidCrossings;
682 
686  FXMenuCommand* computeDemand;
687 
689  FXMenuCommand* cleanRoutes;
690 
692  FXMenuCommand* joinRoutes;
693 
697 
699  FXMenuCommand* optionMenus;
700 
701  private:
704  };
705 
708 
711 
713  void buildLocateMenuCommands(FXMenuPane* locateMenu);
714 
715  private:
718  };
719 
722 
725 
727  void buildWindowsMenuCommands(FXMenuPane* windowsMenu);
728 
729  private:
732  };
733 
736 
739 
741  void buildSupermodeCommands(FXMenuPane* editMenu);
742 
744  void showSupermodeCommands();
745 
747  void hideSupermodeCommands();
748 
750  FXMenuCommand* networkMode;
751 
753  FXMenuCommand* demandMode;
754 
755  private:
758 
760  FXMenuSeparator* myHorizontalSeparator;
761  };
762 
765 
768 
771 
774 
777 
780 
783 
786 
789 
791  const FXString myTitlePrefix;
792 
794  FXMDIMenu* myMDIMenu;
795 
797  void fillMenuBar();
798 
800  void loadConfigOrNet(const std::string file, bool isNet, bool isReload = false, bool useStartupOptions = false, bool newNet = false);
801 
803  void closeAllWindows();
804 
806  bool continueWithUnsavedChanges(const std::string& operation);
807 
809  bool continueWithUnsavedAdditionalChanges(const std::string& operation);
810 
812  bool continueWithUnsavedDemandElementChanges(const std::string& operation);
813 };
814 
815 
816 #endif
817 
818 /****************************************************************************/
819 
GNEApplicationWindow::onCmdQuit
long onCmdQuit(FXObject *, FXSelector, void *)
Called by FOX if the application shall be closed.
Definition: GNEApplicationWindow.cpp:492
GNEApplicationWindow::ProcessingMenuCommands::joinJunctions
FXMenuCommand * joinJunctions
FXMenuCommand for join selected junctions.
Definition: GNEApplicationWindow.h:677
GNEApplicationWindow::MenuBarFile::MenuBarFile
MenuBarFile(GNEApplicationWindow *GNEApp)
constructor
Definition: GNEApplicationWindow.cpp:1027
GNEApplicationWindow::myToolbarsGrip
ToolbarsGrip myToolbarsGrip
Toolbars Grip.
Definition: GNEApplicationWindow.h:764
GNEApplicationWindow::ToolbarsGrip::superModes
FXMenuBar * superModes
The application menu bar for supermodes (network and demand)
Definition: GNEApplicationWindow.h:82
GNEApplicationWindow::ProcessingMenuCommands::joinRoutes
FXMenuCommand * joinRoutes
FXMenuCommand for join routes.
Definition: GNEApplicationWindow.h:692
GNEApplicationWindow::EditMenuCommands::DemandMenuCommands::vehicleTypeMode
FXMenuCommand * vehicleTypeMode
menu command for vehicle type mode
Definition: GNEApplicationWindow.h:580
GNEApplicationWindow::onCmdHelp
long onCmdHelp(FXObject *sender, FXSelector sel, void *ptr)
called if the user selects help->Documentation
Definition: GNEApplicationWindow.cpp:2504
GNEApplicationWindow::myWindowsMenuCommands
WindowsMenuCommands myWindowsMenuCommands
Windows Menu Commands.
Definition: GNEApplicationWindow.h:782
GNEApplicationWindow::EditMenuCommands::buildEditMenuCommands
void buildEditMenuCommands(FXMenuPane *editMenu)
build edit menu commands
Definition: GNEApplicationWindow.cpp:1360
GNEApplicationWindow::onClipboardRequest
long onClipboardRequest(FXObject *sender, FXSelector sel, void *ptr)
called when the command/FXCall clipboard request is executed
Definition: GNEApplicationWindow.cpp:864
GNEApplicationWindow::EditMenuCommands::redoLastChange
FXMenuCommand * redoLastChange
FXMenuCommand for redo last change.
Definition: GNEApplicationWindow.h:623
GNEApplicationWindow::myUndoRedoListEnabled
std::string myUndoRedoListEnabled
string to check if undo/redo list is enabled (a String is used to keep the disabling reason)
Definition: GNEApplicationWindow.h:444
GNEApplicationWindow::EditMenuCommands::NetworkMenuCommands::TAZMode
FXMenuCommand * TAZMode
menu command for TAZ mode
Definition: GNEApplicationWindow.h:545
GNEApplicationWindow::myProcessingMenu
FXMenuPane * myProcessingMenu
Definition: GNEApplicationWindow.h:409
GNEApplicationWindow::ProcessingMenuCommands::showDemandProcessingMenuCommands
void showDemandProcessingMenuCommands()
show demand processing menu commands
Definition: GNEApplicationWindow.cpp:1496
GNEApplicationWindow::EditMenuCommands::NetworkMenuCommands::myEditMenuCommandsParent
const EditMenuCommands * myEditMenuCommandsParent
reference to EditMenuCommands
Definition: GNEApplicationWindow.h:552
GNEApplicationWindow::EditMenuCommands::NetworkMenuCommands::deleteMode
FXMenuCommand * deleteMode
menu command for delete mode
Definition: GNEApplicationWindow.h:521
GNEApplicationWindow::loadOptionOnStartup
void loadOptionOnStartup()
load net on startup
Definition: GNEApplicationWindow.cpp:1783
GNEApplicationWindow::ToolbarsGrip::myToolBarShellMenu
FXToolBarShell * myToolBarShellMenu
menu bar drag (for file, edit, processing...)
Definition: GNEApplicationWindow.h:101
MFXInterThreadEventClient
Definition: MFXInterThreadEventClient.h:27
GNEApplicationWindow::SupermodeCommands
struct for supermode commands
Definition: GNEApplicationWindow.h:735
SUMOTime.h
GNEApplicationWindow::loadConfigOrNet
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 *‍/
Definition: GNEApplicationWindow.cpp:1680
GNEApplicationWindow::ToolbarsGrip::myToolBarShellModeOptions
FXToolBarShell * myToolBarShellModeOptions
menu bar drag for mode options(show connections, select edges...)
Definition: GNEApplicationWindow.h:116
GNEApplicationWindow::onCmdOptions
long onCmdOptions(FXObject *, FXSelector, void *)
called if the user selects Processing->Configure Options
Definition: GNEApplicationWindow.cpp:2511
GNEApplicationWindow::EditMenuCommands::NetworkMenuCommands::NetworkMenuCommands
NetworkMenuCommands(const EditMenuCommands *editMenuCommandsParent)
constructor
Definition: GNEApplicationWindow.cpp:1168
GNEApplicationWindow::onCmdClose
long onCmdClose(FXObject *, FXSelector, void *)
called when the command/FXCall close is executed
Definition: GNEApplicationWindow.cpp:794
GUIMessageWindow
A logging window for the gui.
Definition: GUIMessageWindow.h:53
GNEApplicationWindow::onCmdEditViewScheme
long onCmdEditViewScheme(FXObject *, FXSelector, void *)
Called on menu Edit->Visualization.
Definition: GNEApplicationWindow.cpp:2235
GNEApplicationWindow::onCmdUndo
long onCmdUndo(FXObject *, FXSelector, void *)
called when user press Ctrl+Z
Definition: GNEApplicationWindow.cpp:2526
GNEApplicationWindow::ToolbarsGrip::myGNEApp
GNEApplicationWindow * myGNEApp
pointer to current GNEApplicationWindow
Definition: GNEApplicationWindow.h:98
GNEApplicationWindow::ProcessingMenuCommands::computeNetworkVolatile
FXMenuCommand * computeNetworkVolatile
FXMenuCommand for compute network with volatile options.
Definition: GNEApplicationWindow.h:671
GNEApplicationWindow::myViewNet
GNEViewNet * myViewNet
pointer to current view net
Definition: GNEApplicationWindow.h:788
GNEApplicationWindow::myMainSplitter
FXSplitter * myMainSplitter
The splitter that divides the main window into view and the log window.
Definition: GNEApplicationWindow.h:423
GNEApplicationWindow::eventOccurred
void eventOccurred()
Definition: GNEApplicationWindow.cpp:880
GNEApplicationWindow::ToolbarsGrip::myToolBarShellSuperModes
FXToolBarShell * myToolBarShellSuperModes
menu bar drag for modes (network and demand)
Definition: GNEApplicationWindow.h:104
GNEApplicationWindow::EditMenuCommands::DemandMenuCommands
struct for Demand menu commands
Definition: GNEApplicationWindow.h:559
GNEApplicationWindow::EditMenuCommands::NetworkMenuCommands::myHorizontalSeparator
FXMenuSeparator * myHorizontalSeparator
separator between sets of FXMenuCommand
Definition: GNEApplicationWindow.h:555
GNENet
A NBNetBuilder extended by visualisation and editing capabilities.
Definition: GNENet.h:77
GNEApplicationWindow::onUpdUndo
long onUpdUndo(FXObject *obj, FXSelector sel, void *ptr)
called when the update/FXCall undo is executed
Definition: GNEApplicationWindow.cpp:2762
GNEApplicationWindow::onUpdSaveAdditionals
long onUpdSaveAdditionals(FXObject *, FXSelector, void *)
called when the update/FXCall save additionals is executed
Definition: GNEApplicationWindow.cpp:2748
GNEApplicationWindow::EditMenuCommands::NetworkMenuCommands::inspectMode
FXMenuCommand * inspectMode
menu command for inspect mode
Definition: GNEApplicationWindow.h:524
GNEApplicationWindow::myTitlePrefix
const FXString myTitlePrefix
the prefix for the window title
Definition: GNEApplicationWindow.h:791
GNEApplicationWindow::onCmdSaveDemandElementsAs
long onCmdSaveDemandElementsAs(FXObject *, FXSelector, void *)
called when the command/FXCall save demand elements as is executed
Definition: GNEApplicationWindow.cpp:2991
GNEApplicationWindow::LocateMenuCommands::LocateMenuCommands
LocateMenuCommands(GNEApplicationWindow *GNEApp)
constructor
Definition: GNEApplicationWindow.cpp:1528
GNEApplicationWindow::ToolbarsGrip::buildViewParentToolbarsGrips
void buildViewParentToolbarsGrips()
build toolbars grips
Definition: GNEApplicationWindow.cpp:280
GNEApplicationWindow::onCmdSaveDemandElements
long onCmdSaveDemandElements(FXObject *, FXSelector, void *)
called when the command/FXCall save demand elements is executed
Definition: GNEApplicationWindow.cpp:2944
GNEApplicationWindow::myLoadThreadEvent
FXEX::FXThreadEvent myLoadThreadEvent
io-event with the load-thread
Definition: GNEApplicationWindow.h:429
GNEApplicationWindow::onCmdCopyTemplate
long onCmdCopyTemplate(FXObject *, FXSelector, void *)
Definition: GNEApplicationWindow.cpp:2603
GNEApplicationWindow::onCmdToogleGrid
long onCmdToogleGrid(FXObject *, FXSelector, void *)
called if the user press key combination Ctrl + G to toogle grid
Definition: GNEApplicationWindow.cpp:2245
GNEApplicationWindow::continueWithUnsavedAdditionalChanges
bool continueWithUnsavedAdditionalChanges(const std::string &operation)
warns about unsaved changes in additionals and gives the user the option to abort
Definition: GNEApplicationWindow.cpp:3089
GNEApplicationWindow::onCmdCopy
long onCmdCopy(FXObject *, FXSelector, void *)
Definition: GNEApplicationWindow.cpp:2575
GNEApplicationWindow::continueWithUnsavedDemandElementChanges
bool continueWithUnsavedDemandElementChanges(const std::string &operation)
warns about unsaved changes in demand elements and gives the user the option to abort
Definition: GNEApplicationWindow.cpp:3132
GNEApplicationWindow::onCmdFocusFrame
long onCmdFocusFrame(FXObject *sender, FXSelector sel, void *ptr)
called if the user hits f
Definition: GNEApplicationWindow.cpp:2215
GNEApplicationWindow::EditMenuCommands::DemandMenuCommands::personTypeMode
FXMenuCommand * personTypeMode
menu command for person type mode
Definition: GNEApplicationWindow.h:586
GNEApplicationWindow::ToolbarsGrip::modes
FXMenuBar * modes
The application menu bar (for select, inspect...)
Definition: GNEApplicationWindow.h:91
SUMOTime
long long int SUMOTime
Definition: SUMOTime.h:34
GNEApplicationWindow::EditMenuCommands::NetworkMenuCommands::selectMode
FXMenuCommand * selectMode
menu command for select mode
Definition: GNEApplicationWindow.h:527
GNEApplicationWindow::onUpdReload
long onUpdReload(FXObject *, FXSelector, void *)
called when the update/FXCall reload is executed
Definition: GNEApplicationWindow.cpp:2742
GNEApplicationWindow::ProcessingMenuCommands::ProcessingMenuCommands
ProcessingMenuCommands(GNEApplicationWindow *GNEApp)
constructor
Definition: GNEApplicationWindow.cpp:1407
GNEApplicationWindow::EditMenuCommands::DemandMenuCommands::buildDemandMenuCommands
void buildDemandMenuCommands(FXMenuPane *editMenu)
build menu commands
Definition: GNEApplicationWindow.cpp:1313
GNEApplicationWindow::isUndoRedoEnabled
const std::string & isUndoRedoEnabled() const
check if undo-redo is enabled
Definition: GNEApplicationWindow.cpp:3219
GNEApplicationWindow::ToolbarsGrip::modeOptions
FXMenuBar * modeOptions
The application menu bar for mode options (show connections, select edges...)
Definition: GNEApplicationWindow.h:94
GNEApplicationWindow::FileMenuCommands::myGNEApp
GNEApplicationWindow * myGNEApp
pointer to current GNEApplicationWindows
Definition: GNEApplicationWindow.h:493
GNEApplicationWindow::EditMenuCommands::demandMenuCommands
DemandMenuCommands demandMenuCommands
Demand Menu Commands.
Definition: GNEApplicationWindow.h:617
GNEViewNet
Definition: GNEViewNet.h:42
GNEApplicationWindow
The main window of the Netedit.
Definition: GNEApplicationWindow.h:58
GNEApplicationWindow::ProcessingMenuCommands::cleanJunctions
FXMenuCommand * cleanJunctions
FXMenuCommand for clean junctions without edges.
Definition: GNEApplicationWindow.h:674
GNEApplicationWindow::disableUndoRedo
void disableUndoRedo(const std::string &reason)
disable undo-redo giving a string with the reason
Definition: GNEApplicationWindow.cpp:3207
GNEApplicationWindow::myEditMenuCommands
EditMenuCommands myEditMenuCommands
Edit Menu Commands.
Definition: GNEApplicationWindow.h:773
GNEApplicationWindow::computeJunctionWithVolatileOptions
long computeJunctionWithVolatileOptions()
called if the user selects Processing->compute junctions with volatile options
Definition: GNEApplicationWindow.cpp:1799
GNEApplicationWindow::FileMenuCommands::saveDemandElements
FXMenuCommand * saveDemandElements
FXMenuCommand for enable or disable save demand elements.
Definition: GNEApplicationWindow.h:486
GNEApplicationWindow::SupermodeCommands::myGNEApp
GNEApplicationWindow * myGNEApp
pointer to current GNEApplicationWindows
Definition: GNEApplicationWindow.h:757
GNEApplicationWindow::disableSaveDemandElementsMenu
void disableSaveDemandElementsMenu()
disable save demand elements
Definition: GNEApplicationWindow.cpp:1980
GNEApplicationWindow::onCmdOpenTLSPrograms
long onCmdOpenTLSPrograms(FXObject *, FXSelector, void *)
called when the command/FXCall open additionals is executed
Definition: GNEApplicationWindow.cpp:676
GNEApplicationWindow::myFileMenu
FXMenuPane * myFileMenu
the submenus
Definition: GNEApplicationWindow.h:409
GNEApplicationWindow::ToolbarsGrip::ToolbarsGrip
ToolbarsGrip(GNEApplicationWindow *GNEApp)
constructor
Definition: GNEApplicationWindow.cpp:252
GNEApplicationWindow::ToolbarsGrip::myToolBarShellSaveElements
FXToolBarShell * myToolBarShellSaveElements
menu bar drag for save elements (NetElements, additionals and demand elements)
Definition: GNEApplicationWindow.h:107
GNEApplicationWindow::onCmdSetTemplate
long onCmdSetTemplate(FXObject *, FXSelector, void *)
Definition: GNEApplicationWindow.cpp:2591
GNEApplicationWindow::EditMenuCommands
struct for edit menu commands
Definition: GNEApplicationWindow.h:497
GNEApplicationWindow::getDefaultCursor
FXCursor * getDefaultCursor()
get default cursor
Definition: GNEApplicationWindow.cpp:1777
GNEApplicationWindow::myProcessingMenuCommands
ProcessingMenuCommands myProcessingMenuCommands
Edit Menu Commands.
Definition: GNEApplicationWindow.h:776
FXSynchQue.h
GNEApplicationWindow::EditMenuCommands::DemandMenuCommands::personMode
FXMenuCommand * personMode
menu command for person mode
Definition: GNEApplicationWindow.h:589
GNEApplicationWindow::FileMenuCommands::FileMenuCommands
FileMenuCommands(GNEApplicationWindow *GNEApp)
constructor
Definition: GNEApplicationWindow.cpp:1073
GNEApplicationWindow::onCmdPaste
long onCmdPaste(FXObject *, FXSelector, void *)
Definition: GNEApplicationWindow.cpp:2583
GUIMainWindow.h
GNEApplicationWindow::SupermodeCommands::networkMode
FXMenuCommand * networkMode
FXMenuCommand for network supermode.
Definition: GNEApplicationWindow.h:750
GNEApplicationWindow::onCmdOpenNetwork
long onCmdOpenNetwork(FXObject *, FXSelector, void *)
called when the command/FXCall open network is executed
Definition: GNEApplicationWindow.cpp:559
GNEApplicationWindow::WindowsMenuCommands::buildWindowsMenuCommands
void buildWindowsMenuCommands(FXMenuPane *windowsMenu)
build menu commands
Definition: GNEApplicationWindow.cpp:1578
GNEApplicationWindow::onUpdSaveDemandElements
long onUpdSaveDemandElements(FXObject *, FXSelector, void *)
called when the update/FXCall save demand elements is executed
Definition: GNEApplicationWindow.cpp:2755
GNEApplicationWindow::EditMenuCommands::NetworkMenuCommands
struct for network menu commands
Definition: GNEApplicationWindow.h:500
GNEApplicationWindow::WindowsMenuCommands::WindowsMenuCommands
WindowsMenuCommands(GNEApplicationWindow *GNEApp)
constructor
Definition: GNEApplicationWindow.cpp:1572
GNEApplicationWindow::EditMenuCommands::NetworkMenuCommands::shapeMode
FXMenuCommand * shapeMode
menu command for shape mode
Definition: GNEApplicationWindow.h:548
GNEApplicationWindow::myAmLoading
bool myAmLoading
information whether the gui is currently loading and the load-options shall be greyed out
Definition: GNEApplicationWindow.h:406
GNEApplicationWindow::myNet
GNENet * myNet
we are responsible for the net
Definition: GNEApplicationWindow.h:435
GNEApplicationWindow::myLocateMenuCommands
LocateMenuCommands myLocateMenuCommands
Locate Menu Commands.
Definition: GNEApplicationWindow.h:779
GNEApplicationWindow::SupermodeCommands::SupermodeCommands
SupermodeCommands(GNEApplicationWindow *GNEApp)
constructor
Definition: GNEApplicationWindow.cpp:1595
GNEApplicationWindow::LocateMenuCommands
struct for locate menu commands
Definition: GNEApplicationWindow.h:707
GNEApplicationWindow::enableSaveDemandElementsMenu
void enableSaveDemandElementsMenu()
enable save demand elements
Definition: GNEApplicationWindow.cpp:1973
GNEApplicationWindow::MenuBarFile::myRecentConfigs
FXRecentFiles myRecentConfigs
List of recent config files.
Definition: GNEApplicationWindow.h:457
GNEApplicationWindow::onCmdDel
long onCmdDel(FXObject *sender, FXSelector sel, void *ptr)
called if the user hits del
Definition: GNEApplicationWindow.cpp:2179
GNEApplicationWindow::myMessageWindow
GUIMessageWindow * myMessageWindow
A window to display messages, warnings and error in.
Definition: GNEApplicationWindow.h:420
GNEApplicationWindow::onCmdToogleEditOptions
long onCmdToogleEditOptions(FXObject *, FXSelector, void *)
called if the user press key combination Alt + <0-9>
Definition: GNEApplicationWindow.cpp:2266
GNEApplicationWindow::ToolbarsGrip::myToolBarShellModes
FXToolBarShell * myToolBarShellModes
menu bar drag for modes (select, inspect, delete...)
Definition: GNEApplicationWindow.h:113
GNEApplicationWindow::SupermodeCommands::demandMode
FXMenuCommand * demandMode
FXMenuCommand for demand supermode.
Definition: GNEApplicationWindow.h:753
GNEApplicationWindow::mySupermodeCommands
SupermodeCommands mySupermodeCommands
Supermode Commands.
Definition: GNEApplicationWindow.h:785
GNEApplicationWindow::ProcessingMenuCommands::showNetworkProcessingMenuCommands
void showNetworkProcessingMenuCommands()
show network processing menu commands
Definition: GNEApplicationWindow.cpp:1462
GNEApplicationWindow::EditMenuCommands::DemandMenuCommands::hideDemandMenuCommands
void hideDemandMenuCommands()
hide all menu commands
Definition: GNEApplicationWindow.cpp:1299
GNEApplicationWindow::onCmdLoadDemandInSUMOGUI
long onCmdLoadDemandInSUMOGUI(FXObject *, FXSelector, void *)
called when user toogle windows checkbox "load demand"
Definition: GNEApplicationWindow.cpp:843
GNEApplicationWindow::MenuBarFile
struct for menu bar file
Definition: GNEApplicationWindow.h:448
GNEApplicationWindow::ToolbarsGrip::navigation
FXMenuBar * navigation
The application menu bar for navigation (zoom, coloring...)
Definition: GNEApplicationWindow.h:88
GNEApplicationWindow::myFileMenuDemandElements
FXMenuPane * myFileMenuDemandElements
Definition: GNEApplicationWindow.h:409
GNEApplicationWindow::hadDependentBuild
bool hadDependentBuild
check if had dependent build
Definition: GNEApplicationWindow.h:432
GNEApplicationWindow::myLocatorMenu
FXMenuPane * myLocatorMenu
Definition: GNEApplicationWindow.h:409
GNEApplicationWindow::onCmdClearMsgWindow
long onCmdClearMsgWindow(FXObject *, FXSelector, void *)
called when the command/FXCall clear message windows is executed
Definition: GNEApplicationWindow.cpp:828
GNEApplicationWindow::onUpdRedo
long onUpdRedo(FXObject *obj, FXSelector sel, void *ptr)
called when the update/FXCall redo is executed
Definition: GNEApplicationWindow.cpp:2768
GNEApplicationWindow::create
void create()
Creates the main window (required by FOX)
Definition: GNEApplicationWindow.cpp:431
GNEApplicationWindow::ToolbarsGrip
FOX-declaration.
Definition: GNEApplicationWindow.h:64
GNEApplicationWindow::EditMenuCommands::toogleGrid
FXMenuCommand * toogleGrid
FXMenuCommand for toogle grid.
Definition: GNEApplicationWindow.h:632
GNEApplicationWindow::FileMenuCommands::buildFileMenuCommands
void buildFileMenuCommands(FXMenuPane *editMenu)
build menu commands
Definition: GNEApplicationWindow.cpp:1084
GNEApplicationWindow::handleEvent_Message
void handleEvent_Message(GUIEvent *e)
hanlde event of type message
Definition: GNEApplicationWindow.cpp:1018
GNEApplicationWindow::EditMenuCommands::NetworkMenuCommands::moveMode
FXMenuCommand * moveMode
menu command for move mode
Definition: GNEApplicationWindow.h:518
GNEApplicationWindow::enableSaveTLSProgramsMenu
void enableSaveTLSProgramsMenu()
enable save TLS Programs
Definition: GNEApplicationWindow.cpp:1967
GNEApplicationWindow::FileMenuCommands::saveAdditionals
FXMenuCommand * saveAdditionals
FXMenuCommand for enable or disable save additionals.
Definition: GNEApplicationWindow.h:477
GNEApplicationWindow::onCmdAbort
long onCmdAbort(FXObject *sender, FXSelector sel, void *ptr)
called if the user hits esc
Definition: GNEApplicationWindow.cpp:2152
GNEApplicationWindow::FileMenuCommands::saveDemandElementsAs
FXMenuCommand * saveDemandElementsAs
FXMenuCommand for enable or disable save demand elements as.
Definition: GNEApplicationWindow.h:489
MFXInterThreadEventClient.h
GNEApplicationWindow::onCmdClearTemplate
long onCmdClearTemplate(FXObject *, FXSelector, void *)
Definition: GNEApplicationWindow.cpp:2615
GNEApplicationWindow::~GNEApplicationWindow
~GNEApplicationWindow()
Destructor.
Definition: GNEApplicationWindow.cpp:458
GNEApplicationWindow::getCurrentSimTime
SUMOTime getCurrentSimTime() const
get current simulation time (pure virtual but we don't need it)
Definition: GNEApplicationWindow.cpp:1710
GNEApplicationWindow::onUpdOpen
long onUpdOpen(FXObject *, FXSelector, void *)
called when the command/FXCall on update open executed
Definition: GNEApplicationWindow.cpp:821
GNEApplicationWindow::myLoadThread
GNELoadThread * myLoadThread
the thread that loads the network
Definition: GNEApplicationWindow.h:403
GNEApplicationWindow::EditMenuCommands::NetworkMenuCommands::crossingMode
FXMenuCommand * crossingMode
menu command for crossing mode
Definition: GNEApplicationWindow.h:542
GNEApplicationWindow::EditMenuCommands::editViewScheme
FXMenuCommand * editViewScheme
FXMenuCommand for edit view scheme.
Definition: GNEApplicationWindow.h:626
GNEApplicationWindow::myFileMenuTLS
FXMenuPane * myFileMenuTLS
Definition: GNEApplicationWindow.h:409
GNEApplicationWindow::ToolbarsGrip::destroyParentToolbarsGrips
void destroyParentToolbarsGrips()
build toolbars grips
Definition: GNEApplicationWindow.cpp:322
GNEApplicationWindow::onCmdEnter
long onCmdEnter(FXObject *sender, FXSelector sel, void *ptr)
called if the user hits enter
Definition: GNEApplicationWindow.cpp:2191
GNEApplicationWindow::SupermodeCommands::hideSupermodeCommands
void hideSupermodeCommands()
hide all menu commands
Definition: GNEApplicationWindow.cpp:1613
GNEApplicationWindow::enableSaveAdditionalsMenu
void enableSaveAdditionalsMenu()
enable save additionals
Definition: GNEApplicationWindow.cpp:1953
GNEApplicationWindow::onKeyRelease
long onKeyRelease(FXObject *o, FXSelector sel, void *data)
called when a key is released
Definition: GNEApplicationWindow.cpp:3253
GNEApplicationWindow::continueWithUnsavedChanges
bool continueWithUnsavedChanges(const std::string &operation)
warns about unsaved changes and gives the user the option to abort
Definition: GNEApplicationWindow.cpp:3029
GNELoadThread
Definition: GNELoadThread.h:45
GNEApplicationWindow::onCmdNewNetwork
long onCmdNewNetwork(FXObject *, FXSelector, void *)
Definition: GNEApplicationWindow.cpp:518
GNEApplicationWindow::SupermodeCommands::myHorizontalSeparator
FXMenuSeparator * myHorizontalSeparator
separator between sets of FXMenuCommand
Definition: GNEApplicationWindow.h:760
GNEApplicationWindow::onCmdAbout
long onCmdAbout(FXObject *, FXSelector, void *)
called when the command/FXCall show about dialog is executed
Definition: GNEApplicationWindow.cpp:851
GNEApplicationWindow::dependentBuild
void dependentBuild()
build dependent
Definition: GNEApplicationWindow.cpp:385
GNEApplicationWindow::onCmdSaveNetwork
long onCmdSaveNetwork(FXObject *, FXSelector, void *)
called when the command/FXCall save network is executed
Definition: GNEApplicationWindow.cpp:2774
GNEApplicationWindow::FileMenuCommands::saveAdditionalsAs
FXMenuCommand * saveAdditionalsAs
FXMenuCommand for enable or disable save additionals As.
Definition: GNEApplicationWindow.h:480
GNEApplicationWindow::ProcessingMenuCommands::computeNetwork
FXMenuCommand * computeNetwork
Definition: GNEApplicationWindow.h:668
GNEApplicationWindow::onCmdOpenDemandElements
long onCmdOpenDemandElements(FXObject *, FXSelector, void *)
called when the command/FXCall open demand is executed
Definition: GNEApplicationWindow.cpp:712
GNEApplicationWindow::closeAllWindows
void closeAllWindows()
this method closes all windows and deletes the current simulation *‍/
Definition: GNEApplicationWindow.cpp:1734
GNEApplicationWindow::LocateMenuCommands::myGNEApp
GNEApplicationWindow * myGNEApp
pointer to current GNEApplicationWindows
Definition: GNEApplicationWindow.h:717
GNEApplicationWindow::EditMenuCommands::loadAdditionalsInSUMOGUI
FXMenuCheck * loadAdditionalsInSUMOGUI
menu check for load additionals in SUMO GUI
Definition: GNEApplicationWindow.h:635
GNEApplicationWindow::onCmdCut
long onCmdCut(FXObject *, FXSelector, void *)
called when user press Ctrl+Z
Definition: GNEApplicationWindow.cpp:2567
GNEApplicationWindow::ToolbarsGrip::menu
FXMenuBar * menu
The application menu bar (for file, edit, processing...)
Definition: GNEApplicationWindow.h:79
GNEApplicationWindow::onLoadThreadEvent
long onLoadThreadEvent(FXObject *, FXSelector, void *)
called when the command/FXCall load thread is executed
Definition: GNEApplicationWindow.cpp:873
GNEApplicationWindow::onUpdNeedsNetwork
long onUpdNeedsNetwork(FXObject *, FXSelector, void *)
called when the update/FXCall needs network is executed
Definition: GNEApplicationWindow.cpp:2735
GNEApplicationWindow::onCmdSetSuperMode
long onCmdSetSuperMode(FXObject *sender, FXSelector sel, void *ptr)
called if the user hits an edit-supermode hotkey
Definition: GNEApplicationWindow.cpp:1987
GNEApplicationWindow::onCmdOpenRecent
long onCmdOpenRecent(FXObject *, FXSelector, void *)
called when the command/FXCall open recent is executed
Definition: GNEApplicationWindow.cpp:753
FXSynchQue< GUIEvent * >
GNEApplicationWindow::onCmdSaveAsNetwork
long onCmdSaveAsNetwork(FXObject *, FXSelector, void *)
called when the command/FXCall save network as is executed
Definition: GNEApplicationWindow.cpp:2627
GNEApplicationWindow::EditMenuCommands::NetworkMenuCommands::prohibitionMode
FXMenuCommand * prohibitionMode
menu command for prohibition mode
Definition: GNEApplicationWindow.h:533
GNEApplicationWindow::EditMenuCommands::NetworkMenuCommands::additionalMode
FXMenuCommand * additionalMode
menu command for additional mode
Definition: GNEApplicationWindow.h:539
GUIMessageWindow.h
GNEApplicationWindow::ProcessingMenuCommands::clearInvalidDemandElements
FXMenuCommand * clearInvalidDemandElements
FXMenuCommand for clear invalid demand elements.
Definition: GNEApplicationWindow.h:695
GNEApplicationWindow::onKeyPress
long onKeyPress(FXObject *o, FXSelector sel, void *data)
called when a key is pressed
Definition: GNEApplicationWindow.cpp:3240
Position.h
GNEApplicationWindow::EditMenuCommands::DemandMenuCommands::stopMode
FXMenuCommand * stopMode
menu command for stop mode
Definition: GNEApplicationWindow.h:583
GNEApplicationWindow::onCmdSaveTLSPrograms
long onCmdSaveTLSPrograms(FXObject *, FXSelector, void *)
called when the command/FXCall save TLSPrograms is executed
Definition: GNEApplicationWindow.cpp:2876
GNEApplicationWindow::disableSaveAdditionalsMenu
void disableSaveAdditionalsMenu()
disable save additionals
Definition: GNEApplicationWindow.cpp:1960
GNEApplicationWindow::EditMenuCommands::DemandMenuCommands::personPlanMode
FXMenuCommand * personPlanMode
menu command for person plan mode
Definition: GNEApplicationWindow.h:592
GNEApplicationWindow::ProcessingMenuCommands::myGNEApp
GNEApplicationWindow * myGNEApp
pointer to current GNEApplicationWindows
Definition: GNEApplicationWindow.h:703
GUIMainWindow
Definition: GUIMainWindow.h:46
GNEApplicationWindow::myMenuBarFile
MenuBarFile myMenuBarFile
MenuBarFile.
Definition: GNEApplicationWindow.h:767
GNEApplicationWindow::handleEvent_NetworkLoaded
void handleEvent_NetworkLoaded(GUIEvent *e)
handle event of type Network loaded
Definition: GNEApplicationWindow.cpp:906
GNEApplicationWindow::EditMenuCommands::openInSUMOGUI
FXMenuCommand * openInSUMOGUI
FXMenuCommand for open in SUMO GUI.
Definition: GNEApplicationWindow.h:641
GNEApplicationWindow::onCmdOpenSUMOGUI
long onCmdOpenSUMOGUI(FXObject *sender, FXSelector sel, void *ptr)
called if the user hints ctrl + T
Definition: GNEApplicationWindow.cpp:2077
GNEApplicationWindow::onCmdSetMode
long onCmdSetMode(FXObject *sender, FXSelector sel, void *ptr)
called if the user hits an edit-mode hotkey
Definition: GNEApplicationWindow.cpp:1997
GNEApplicationWindow::ProcessingMenuCommands::optionMenus
FXMenuCommand * optionMenus
FXMenuCommand for open option menus.
Definition: GNEApplicationWindow.h:699
GNEApplicationWindow::myFileMenuCommands
FileMenuCommands myFileMenuCommands
File Menu Commands.
Definition: GNEApplicationWindow.h:770
GNEApplicationWindow::WindowsMenuCommands
struct for windows menu commands
Definition: GNEApplicationWindow.h:721
GNEApplicationWindow::onCmdSaveAdditionalsAs
long onCmdSaveAdditionalsAs(FXObject *, FXSelector, void *)
called when the command/FXCall save additionals as is executed
Definition: GNEApplicationWindow.cpp:2851
GNEApplicationWindow::onCmdOpenAdditionals
long onCmdOpenAdditionals(FXObject *, FXSelector, void *)
called when the command/FXCall open additionals is executed
Definition: GNEApplicationWindow.cpp:635
GNEApplicationWindow::onCmdSaveJoined
long onCmdSaveJoined(FXObject *, FXSelector, void *)
called when the command/FXCall save joined is executed
Definition: GNEApplicationWindow.cpp:2695
GUIEvent
Definition: GUIEvent.h:76
GNEApplicationWindow::ProcessingMenuCommands::hideDemandProcessingMenuCommands
void hideDemandProcessingMenuCommands()
show demand processing menu commands
Definition: GNEApplicationWindow.cpp:1511
GNEApplicationWindow::myWindowsMenu
FXMenuPane * myWindowsMenu
Definition: GNEApplicationWindow.h:409
GNEApplicationWindow::LocateMenuCommands::buildLocateMenuCommands
void buildLocateMenuCommands(FXMenuPane *locateMenu)
build menu commands
Definition: GNEApplicationWindow.cpp:1534
GNEApplicationWindow::EditMenuCommands::undoLastChange
FXMenuCommand * undoLastChange
FXMenuCommand for undo last change.
Definition: GNEApplicationWindow.h:620
GNEApplicationWindow::setStatusBarText
void setStatusBarText(const std::string &statusBarText)
set text of the statusBar
Definition: GNEApplicationWindow.cpp:1792
GNEApplicationWindow::EditMenuCommands::NetworkMenuCommands::hideNetworkMenuCommands
void hideNetworkMenuCommands()
hide all menu commands
Definition: GNEApplicationWindow.cpp:1206
GNEApplicationWindow::getUndoList
GNEUndoList * getUndoList()
get pointer to undoList
Definition: GNEApplicationWindow.cpp:1722
GNEApplicationWindow::onCmdReload
long onCmdReload(FXObject *, FXSelector, void *)
called when the command/FXCall reload is executed
Definition: GNEApplicationWindow.cpp:769
GNEApplicationWindow::SupermodeCommands::buildSupermodeCommands
void buildSupermodeCommands(FXMenuPane *editMenu)
build menu commands
Definition: GNEApplicationWindow.cpp:1622
GNEApplicationWindow::EditMenuCommands::NetworkMenuCommands::buildNetworkMenuCommands
void buildNetworkMenuCommands(FXMenuPane *editMenu)
build menu commands
Definition: GNEApplicationWindow.cpp:1225
GNEApplicationWindow::EditMenuCommands::NetworkMenuCommands::TLSMode
FXMenuCommand * TLSMode
menu command for TLS Mode
Definition: GNEApplicationWindow.h:536
GNEApplicationWindow::getBuildGLCanvas
FXGLCanvas * getBuildGLCanvas() const
Definition: GNEApplicationWindow.cpp:1703
GNEApplicationWindow::EditMenuCommands::NetworkMenuCommands::connectMode
FXMenuCommand * connectMode
menu command for connect mode
Definition: GNEApplicationWindow.h:530
GNEApplicationWindow::ToolbarsGrip::myToolBarShellNavigation
FXToolBarShell * myToolBarShellNavigation
menu bar drag for navigation (Zoom, coloring...)
Definition: GNEApplicationWindow.h:110
FXThreadEvent.h
GNEApplicationWindow::MenuBarFile::myRecentNets
FXRecentFiles myRecentNets
List of recent nets.
Definition: GNEApplicationWindow.h:460
GNEApplicationWindow::fillMenuBar
void fillMenuBar()
Builds the menu bar.
Definition: GNEApplicationWindow.cpp:1637
config.h
GNEApplicationWindow::updateControls
void updateControls()
update control contents after undo/redo or recompute
Definition: GNEApplicationWindow.cpp:3175
GNEApplicationWindow::onUpdSaveNetwork
long onUpdSaveNetwork(FXObject *, FXSelector, void *)
called when the update/FXCall save network is executed
Definition: GNEApplicationWindow.cpp:3016
GNEApplicationWindow::getToolbarsGrip
ToolbarsGrip & getToolbarsGrip()
get ToolbarsGrip
Definition: GNEApplicationWindow.cpp:1728
GNEApplicationWindow::onCmdEditChosen
long onCmdEditChosen(FXObject *, FXSelector, void *)
called when the command/FXCall edit chosen is executed
Definition: GNEApplicationWindow.cpp:508
GNEApplicationWindow::ProcessingMenuCommands::cleanRoutes
FXMenuCommand * cleanRoutes
FXMenuCommand for clean routes without vehicles.
Definition: GNEApplicationWindow.h:689
GNEApplicationWindow::EditMenuCommands::DemandMenuCommands::routeMode
FXMenuCommand * routeMode
menu command for route mode
Definition: GNEApplicationWindow.h:574
GNEApplicationWindow::onCmdRedo
long onCmdRedo(FXObject *, FXSelector, void *)
Definition: GNEApplicationWindow.cpp:2546
GNEApplicationWindow::enableUndoRedo
void enableUndoRedo()
disable undo-redo
Definition: GNEApplicationWindow.cpp:3213
ShapeHandler.h
GNEApplicationWindow::myHelpMenu
FXMenuPane * myHelpMenu
Definition: GNEApplicationWindow.h:409
GNEApplicationWindow::onCmdLoadAdditionalsInSUMOGUI
long onCmdLoadAdditionalsInSUMOGUI(FXObject *, FXSelector, void *)
called when user toogle windows checkbox "load additionals"
Definition: GNEApplicationWindow.cpp:835
GNEApplicationWindow::myEditMenu
FXMenuPane * myEditMenu
Definition: GNEApplicationWindow.h:409
GNEApplicationWindow::EditMenuCommands::editViewPort
FXMenuCommand * editViewPort
FXMenuCommand for edit view port.
Definition: GNEApplicationWindow.h:629
GNEApplicationWindow::ProcessingMenuCommands
struct for processing menu commands
Definition: GNEApplicationWindow.h:645
GNEApplicationWindow::myUndoList
GNEUndoList * myUndoList
the one and only undo list
Definition: GNEApplicationWindow.h:438
GNEApplicationWindow::ToolbarsGrip::saveElements
FXMenuBar * saveElements
The application menu bar for save elements (NetElements, additionals and demand elements)
Definition: GNEApplicationWindow.h:85
GNEApplicationWindow::EditMenuCommands::loadDemandInSUMOGUI
FXMenuCheck * loadDemandInSUMOGUI
menu check for load demand in SUMO GUI
Definition: GNEApplicationWindow.h:638
GNEApplicationWindow::EditMenuCommands::DemandMenuCommands::myEditMenuCommandsParent
const EditMenuCommands * myEditMenuCommandsParent
reference to EditMenuCommands
Definition: GNEApplicationWindow.h:596
GNEUndoList
Definition: GNEUndoList.h:48
GNEApplicationWindow::myConfigPattern
std::string myConfigPattern
Input file pattern.
Definition: GNEApplicationWindow.h:441
FXEX::FXThreadEvent
Definition: FXThreadEvent.h:105
GNEApplicationWindow::FileMenuCommands
struct for File menu commands
Definition: GNEApplicationWindow.h:468
GNEApplicationWindow::onCmdSaveTLSProgramsAs
long onCmdSaveTLSProgramsAs(FXObject *, FXSelector, void *)
called when the command/FXCall save TLSPrograms as is executed
Definition: GNEApplicationWindow.cpp:2923
GNEApplicationWindow::ProcessingMenuCommands::computeDemand
FXMenuCommand * computeDemand
Definition: GNEApplicationWindow.h:686
GNEApplicationWindow::ProcessingMenuCommands::clearInvalidCrossings
FXMenuCommand * clearInvalidCrossings
FXMenuCommand for clear invalid crosings.
Definition: GNEApplicationWindow.h:680
GNEApplicationWindow::EditMenuCommands::DemandMenuCommands::myHorizontalSeparator
FXMenuSeparator * myHorizontalSeparator
separator between sets of FXMenuCommand
Definition: GNEApplicationWindow.h:599
GNEApplicationWindow::onCmdSaveAsPlainXML
long onCmdSaveAsPlainXML(FXObject *, FXSelector, void *)
called when the command/FXCall save as plain xml is executed
Definition: GNEApplicationWindow.cpp:2647
GNEApplicationWindow::SupermodeCommands::showSupermodeCommands
void showSupermodeCommands()
show all menu commands
Definition: GNEApplicationWindow.cpp:1604
GNEApplicationWindow::myEvents
FXSynchQue< GUIEvent * > myEvents
List of got requests.
Definition: GNEApplicationWindow.h:426
GNEApplicationWindow::onCmdOpenConfiguration
long onCmdOpenConfiguration(FXObject *, FXSelector, void *)
called when the command/FXCall open configuration is executed
Definition: GNEApplicationWindow.cpp:533
GNEApplicationWindow::ToolbarsGrip::buildMenuToolbarsGrip
void buildMenuToolbarsGrip()
build menu toolbar grips
Definition: GNEApplicationWindow.cpp:270
GNEApplicationWindow::MenuBarFile::myGNEApp
GNEApplicationWindow * myGNEApp
pointer to current GNEApplicationWindow
Definition: GNEApplicationWindow.h:464
GNEApplicationWindow::EditMenuCommands::NetworkMenuCommands::showNetworkMenuCommands
void showNetworkMenuCommands()
show all menu commands
Definition: GNEApplicationWindow.cpp:1187
GNEApplicationWindow::onCmdEditViewport
long onCmdEditViewport(FXObject *, FXSelector, void *)
Called on menu Edit->Viewport.
Definition: GNEApplicationWindow.cpp:2225
GNEApplicationWindow::onCmdLocate
long onCmdLocate(FXObject *, FXSelector, void *)
called when the command/FXCall locate is executed
Definition: GNEApplicationWindow.cpp:810
GNEApplicationWindow::getTrackerInterval
double getTrackerInterval() const
get current tracker interval (pure virtual but we don't need it)
Definition: GNEApplicationWindow.cpp:1716
GNEApplicationWindow::EditMenuCommands::DemandMenuCommands::DemandMenuCommands
DemandMenuCommands(const EditMenuCommands *editMenuCommandsParent)
constructor
Definition: GNEApplicationWindow.cpp:1271
GNEApplicationWindow::updateSuperModeMenuCommands
void updateSuperModeMenuCommands(int supermode)
update FXMenuCommands
Definition: GNEApplicationWindow.cpp:3184
GNEApplicationWindow::onCmdProcessButton
long onCmdProcessButton(FXObject *, FXSelector sel, void *)
called when user press a process button (or a shortcut)
Definition: GNEApplicationWindow.cpp:2007
GNEApplicationWindow::MenuBarFile::buildRecentFiles
void buildRecentFiles(FXMenuPane *fileMenu)
build recent files
Definition: GNEApplicationWindow.cpp:1034
GNEApplicationWindow::GNEApplicationWindow
GNEApplicationWindow()
FOX needs this for static members.
Definition: GNEApplicationWindow.cpp:3227
GNEApplicationWindow::FileMenuCommands::saveTLSPrograms
FXMenuCommand * saveTLSPrograms
FXMenuCommand for enable or disable save additionals.
Definition: GNEApplicationWindow.h:483
GNEApplicationWindow::EditMenuCommands::NetworkMenuCommands::createEdgeMode
FXMenuCommand * createEdgeMode
menu command for create edge
Definition: GNEApplicationWindow.h:515
GNEApplicationWindow::ProcessingMenuCommands::buildProcessingMenuCommands
void buildProcessingMenuCommands(FXMenuPane *editMenu)
build menu commands
Definition: GNEApplicationWindow.cpp:1423
GNEApplicationWindow::EditMenuCommands::DemandMenuCommands::showDemandMenuCommands
void showDemandMenuCommands()
show all menu commands
Definition: GNEApplicationWindow.cpp:1285
GNEApplicationWindow::ProcessingMenuCommands::hideNetworkProcessingMenuCommands
void hideNetworkProcessingMenuCommands()
show network processing menu commands
Definition: GNEApplicationWindow.cpp:1479
GNEApplicationWindow::onCmdOpenForeign
long onCmdOpenForeign(FXObject *, FXSelector, void *)
called when the command/FXCall open foreign is executed
Definition: GNEApplicationWindow.cpp:588
GNEApplicationWindow::EditMenuCommands::myGNEApp
GNEApplicationWindow * myGNEApp
pointer to current GNEApplicationWindows
Definition: GNEApplicationWindow.h:610
GNEApplicationWindow::onCmdBackspace
long onCmdBackspace(FXObject *sender, FXSelector sel, void *ptr)
called if the user hits backspace
Definition: GNEApplicationWindow.cpp:2203
GNEApplicationWindow::EditMenuCommands::EditMenuCommands
EditMenuCommands(GNEApplicationWindow *GNEApp)
constructor
Definition: GNEApplicationWindow.cpp:1344
GNEApplicationWindow::WindowsMenuCommands::myGNEApp
GNEApplicationWindow * myGNEApp
pointer to current GNEApplicationWindows
Definition: GNEApplicationWindow.h:731
GNEApplicationWindow::onCmdSaveAdditionals
long onCmdSaveAdditionals(FXObject *, FXSelector, void *)
called when the command/FXCall save additionals is executed
Definition: GNEApplicationWindow.cpp:2804
GNEApplicationWindow::myFileMenuAdditionals
FXMenuPane * myFileMenuAdditionals
Definition: GNEApplicationWindow.h:409
GNEApplicationWindow::myMDIMenu
FXMDIMenu * myMDIMenu
The menu used for the MDI-windows.
Definition: GNEApplicationWindow.h:794
GNEApplicationWindow::EditMenuCommands::networkMenuCommands
NetworkMenuCommands networkMenuCommands
Network Menu Commands.
Definition: GNEApplicationWindow.h:614
GNEApplicationWindow::EditMenuCommands::DemandMenuCommands::vehicleMode
FXMenuCommand * vehicleMode
menu command for vehicle mode
Definition: GNEApplicationWindow.h:577