SUMO - Simulation of Urban MObility
GNERerouterDialog.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-2017 German Aerospace Center (DLR) and others.
4 /****************************************************************************/
5 //
6 // This program and the accompanying materials
7 // are made available under the terms of the Eclipse Public License v2.0
8 // which accompanies this distribution, and is available at
9 // http://www.eclipse.org/legal/epl-v20.html
10 //
11 /****************************************************************************/
17 // Dialog for edit rerouters
18 /****************************************************************************/
19 #ifndef GNERerouterDialog_h
20 #define GNERerouterDialog_h
21 
22 // ===========================================================================
23 // included modules
24 // ===========================================================================
25 
26 #ifdef _MSC_VER
27 #include <windows_config.h>
28 #else
29 #include <config.h>
30 #endif
31 
32 #include "GNEAdditionalDialog.h"
33 
34 
35 // ===========================================================================
36 // class declarations
37 // ===========================================================================
38 
39 class GNERerouter;
42 
43 // ===========================================================================
44 // class definitions
45 // ===========================================================================
46 
53  FXDECLARE(GNERerouterDialog)
54 
55 public:
57  GNERerouterDialog(GNERerouter* rerouterParent);
58 
61 
64 
68  long onCmdAccept(FXObject*, FXSelector, void*);
69 
71  long onCmdCancel(FXObject*, FXSelector, void*);
72 
74  long onCmdReset(FXObject*, FXSelector, void*);
75 
77  long onCmdAddInterval(FXObject*, FXSelector, void*);
78 
80  long onCmdClickedInterval(FXObject*, FXSelector, void*);
82 
83 protected:
86 
89 
91  FXButton* myAddInterval;
92 
94  FXTable* myIntervalTable;
95 
96 private:
98  void updateIntervalTable();
99 
101  GNERerouterDialog(const GNERerouterDialog&) = delete;
102 
105 };
106 
107 #endif
FXButton * myAddInterval
button for add new interval
Dialog for edit rerouter intervals.
Dialog to edit sequences, parameters, etc.. of Additionals.
long onCmdClickedInterval(FXObject *, FXSelector, void *)
remove or edit interval
GNERerouterDialog()
FOX needs this.
GNERerouter * myEditedRerouter
pointer to edited rerouter
Dialog for edit rerouters.
FXTable * myIntervalTable
list with intervals
long onCmdReset(FXObject *, FXSelector, void *)
event after press reset button
long onCmdAddInterval(FXObject *, FXSelector, void *)
add new interval
GNERerouterDialog & operator=(const GNERerouterDialog &)=delete
Invalidated assignment operator.
GNERerouter * getEditedRerouter() const
get edited rerouter
long onCmdCancel(FXObject *, FXSelector, void *)
event after press cancel button
~GNERerouterDialog()
destructor
void updateIntervalTable()
update data table
long onCmdAccept(FXObject *, FXSelector, void *)