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-2018 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 /****************************************************************************/
15 // Dialog for edit rerouters
16 /****************************************************************************/
17 #ifndef GNERerouterDialog_h
18 #define GNERerouterDialog_h
19 
20 // ===========================================================================
21 // included modules
22 // ===========================================================================
23 
24 #include <config.h>
25 
26 #include "GNEAdditionalDialog.h"
27 
28 
29 // ===========================================================================
30 // class declarations
31 // ===========================================================================
32 
33 class GNERerouter;
36 
37 // ===========================================================================
38 // class definitions
39 // ===========================================================================
40 
47  FXDECLARE(GNERerouterDialog)
48 
49 public:
51  GNERerouterDialog(GNERerouter* rerouterParent);
52 
55 
59  long onCmdAccept(FXObject*, FXSelector, void*);
60 
62  long onCmdCancel(FXObject*, FXSelector, void*);
63 
65  long onCmdReset(FXObject*, FXSelector, void*);
66 
68  long onCmdAddInterval(FXObject*, FXSelector, void*);
69 
71  long onCmdSortIntervals(FXObject*, FXSelector, void*);
72 
74  long onCmdClickedInterval(FXObject*, FXSelector, void*);
76 
77 protected:
80 
82  FXButton* myAddInterval;
83 
85  FXButton* mySortIntervals;
86 
88  FXTable* myIntervalTable;
89 
90 private:
92  void updateIntervalTable();
93 
95  GNERerouterDialog(const GNERerouterDialog&) = delete;
96 
99 };
100 
101 #endif
FXButton * myAddInterval
button for add new interval
Dialog for edit rerouter intervals.
FXButton * mySortIntervals
button for sort interval
Dialog to edit sequences, parameters, etc.. of Additionals.
long onCmdClickedInterval(FXObject *, FXSelector, void *)
remove or edit interval
GNERerouterDialog()
FOX needs this.
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.
long onCmdSortIntervals(FXObject *, FXSelector, void *)
sort current intervals
long onCmdCancel(FXObject *, FXSelector, void *)
event after press cancel button
~GNERerouterDialog()
destructor
void updateIntervalTable()
update data table
long onCmdAccept(FXObject *, FXSelector, void *)