Eclipse SUMO - Simulation of Urban MObility
GNERerouterIntervalDialog.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 // Dialog for edit rerouter intervals
15 /****************************************************************************/
16 #ifndef GNERerouterIntervalDialog_h
17 #define GNERerouterIntervalDialog_h
18 
19 // ===========================================================================
20 // included modules
21 // ===========================================================================
22 #include <config.h>
29 
30 #include "GNEAdditionalDialog.h"
31 
32 
33 // ===========================================================================
34 // class declarations
35 // ===========================================================================
36 
38 
39 
40 // ===========================================================================
41 // class definitions
42 // ===========================================================================
43 
51  FXDECLARE(GNERerouterIntervalDialog)
52 
53 public:
55  GNERerouterIntervalDialog(GNEAdditional* rerouterInterval, bool updatingElement);
56 
59 
63  long onCmdAccept(FXObject*, FXSelector, void*);
64 
66  long onCmdCancel(FXObject*, FXSelector, void*);
67 
69  long onCmdReset(FXObject*, FXSelector, void*);
70 
72  long onCmdAddClosingLaneReroute(FXObject*, FXSelector, void*);
73 
75  long onCmdAddClosingReroute(FXObject*, FXSelector, void*);
76 
78  long onCmdAddDestProbReroute(FXObject*, FXSelector, void*);
79 
81  long onCmdAddRouteProbReroute(FXObject*, FXSelector, void*);
82 
84  long onCmdAddParkingAreaReroute(FXObject*, FXSelector, void*);
85 
87  long onCmdClickedClosingLaneReroute(FXObject*, FXSelector, void*);
88 
90  long onCmdClickedClosingReroute(FXObject*, FXSelector, void*);
91 
93  long onCmdClickedDestProbReroute(FXObject*, FXSelector, void*);
94 
96  long onCmdClickedRouteProbReroute(FXObject*, FXSelector, void*);
97 
99  long onCmdClickedParkingAreaReroute(FXObject*, FXSelector, void*);
100 
102  long onCmdEditClosingLaneReroute(FXObject*, FXSelector, void*);
103 
105  long onCmdEditClosingReroute(FXObject*, FXSelector, void*);
106 
108  long onCmdEditDestProbReroute(FXObject*, FXSelector, void*);
109 
111  long onCmdEditRouteProbReroute(FXObject*, FXSelector, void*);
112 
114  long onCmdEditParkingAreaReroute(FXObject*, FXSelector, void*);
115 
117  long onCmdChangeBeginEnd(FXObject*, FXSelector, void*);
118 
120 
121 protected:
123 
124 
125  FXTextField* myBeginTextField;
126 
128  FXTextField* myEndTextField;
129 
131  FXLabel* myCheckLabel;
132 
135 
138 
141 
144 
147 
150 
153 
156 
159 
162 
165 
168 
171 
174 
177 
180 
183 
186 
189 
192 
195 
196 private:
199 
202 
205 
208 
211 
214 
216  GNERerouterIntervalDialog& operator=(const GNERerouterIntervalDialog&) = delete;
217 };
218 
219 #endif
GNERerouterIntervalDialog::onCmdEditRouteProbReroute
long onCmdEditRouteProbReroute(FXObject *, FXSelector, void *)
/edit route prob reroute
Definition: GNERerouterIntervalDialog.cpp:555
GNEAdditional
An Element which don't belongs to GNENet but has influency in the simulation.
Definition: GNEAdditional.h:48
GNEParkingAreaReroute.h
GNERerouterInterval
Definition: GNERerouterInterval.h:45
GNERerouterIntervalDialog::onCmdClickedClosingLaneReroute
long onCmdClickedClosingLaneReroute(FXObject *, FXSelector, void *)
remove closing lane reroute
Definition: GNERerouterIntervalDialog.cpp:367
GNERerouterIntervalDialog::onCmdEditParkingAreaReroute
long onCmdEditParkingAreaReroute(FXObject *, FXSelector, void *)
/edit parkingAreaReroute
Definition: GNERerouterIntervalDialog.cpp:581
GNEAdditionalDialog
Dialog to edit sequences, parameters, etc.. of Additionals.
Definition: GNEAdditionalDialog.h:44
GNERerouterIntervalDialog::onCmdAddDestProbReroute
long onCmdAddDestProbReroute(FXObject *, FXSelector, void *)
add dest prob reroute
Definition: GNERerouterIntervalDialog.cpp:331
GNERerouterIntervalDialog::myRouteProbRerouteTable
FXTable * myRouteProbRerouteTable
list with route probability reroute
Definition: GNERerouterIntervalDialog.h:158
GNERerouterIntervalDialog::myClosingLaneReroutesValid
bool myClosingLaneReroutesValid
flag to check if closing lane reroutes are valid
Definition: GNERerouterIntervalDialog.h:182
GNERerouterIntervalDialog::onCmdAccept
long onCmdAccept(FXObject *, FXSelector, void *)
Definition: GNERerouterIntervalDialog.cpp:209
GNERerouterIntervalDialog::updateRouteProbReroutesTable
void updateRouteProbReroutesTable()
update data of probabilitry reroutes table
Definition: GNERerouterIntervalDialog.cpp:767
GNEClosingLaneReroute.h
GNERerouterIntervalDialog::myParkingAreaRerouteTable
FXTable * myParkingAreaRerouteTable
list with parkingAreaReroutes
Definition: GNERerouterIntervalDialog.h:161
GNERerouterIntervalDialog::myDestProbRerouteTable
FXTable * myDestProbRerouteTable
list with destiny probability reroutes
Definition: GNERerouterIntervalDialog.h:155
GNERerouterIntervalDialog::myClosingLaneRerouteTable
FXTable * myClosingLaneRerouteTable
list with closing lane reroutes
Definition: GNERerouterIntervalDialog.h:149
GNERerouterInterval.h
GNERerouterIntervalDialog::myBeginTextField
FXTextField * myBeginTextField
begin time text field
Definition: GNERerouterIntervalDialog.h:125
GNERerouterIntervalDialog::myClosingLaneReroutesEdited
std::vector< GNEAdditional * > myClosingLaneReroutesEdited
closing Lane Reroutes edited
Definition: GNERerouterIntervalDialog.h:167
GNERerouterIntervalDialog::updateClosingReroutesTable
void updateClosingReroutesTable()
update data of closing reroute table
Definition: GNERerouterIntervalDialog.cpp:678
GNERerouterIntervalDialog::onCmdClickedClosingReroute
long onCmdClickedClosingReroute(FXObject *, FXSelector, void *)
remove closing reroute
Definition: GNERerouterIntervalDialog.cpp:383
GNERerouterIntervalDialog::onCmdChangeBeginEnd
long onCmdChangeBeginEnd(FXObject *, FXSelector, void *)
called when begin or endis changed
Definition: GNERerouterIntervalDialog.cpp:611
GNERerouterIntervalDialog::onCmdClickedDestProbReroute
long onCmdClickedDestProbReroute(FXObject *, FXSelector, void *)
remove dest prob reroute
Definition: GNERerouterIntervalDialog.cpp:399
GNERerouterIntervalDialog::~GNERerouterIntervalDialog
~GNERerouterIntervalDialog()
destructor
Definition: GNERerouterIntervalDialog.cpp:205
GNERerouterIntervalDialog::onCmdReset
long onCmdReset(FXObject *, FXSelector, void *)
event after press reset button
Definition: GNERerouterIntervalDialog.cpp:294
GNEAdditionalDialog.h
FOX_CONSTRUCTOR
#define FOX_CONSTRUCTOR(classname)
Definition: config.h:13
GNERerouterIntervalDialog::myClosingRerouteTable
FXTable * myClosingRerouteTable
list with closing reroutes
Definition: GNERerouterIntervalDialog.h:152
GNERerouterIntervalDialog::updateDestProbReroutesTable
void updateDestProbReroutesTable()
update data of destiny probabilitry reroute table
Definition: GNERerouterIntervalDialog.cpp:725
GNERerouterIntervalDialog::onCmdCancel
long onCmdCancel(FXObject *, FXSelector, void *)
event after press cancel button
Definition: GNERerouterIntervalDialog.cpp:284
GNERerouterIntervalDialog::GNERerouterIntervalDialog
GNERerouterIntervalDialog(GNEAdditional *rerouterInterval, bool updatingElement)
FOX-declaration.
Definition: GNERerouterIntervalDialog.cpp:77
GNERerouterIntervalDialog::onCmdAddClosingReroute
long onCmdAddClosingReroute(FXObject *, FXSelector, void *)
add closing reroute
Definition: GNERerouterIntervalDialog.cpp:319
GNERerouterIntervalDialog::myCheckLabel
FXLabel * myCheckLabel
begin/end time check label
Definition: GNERerouterIntervalDialog.h:131
GNERerouterIntervalDialog::myAddRouteProbReroute
FXButton * myAddRouteProbReroute
button for add new route probability reroutes
Definition: GNERerouterIntervalDialog.h:143
GNERerouterIntervalDialog::myBeginEndValid
bool myBeginEndValid
flag to check if begin an end are valid
Definition: GNERerouterIntervalDialog.h:179
GNERerouterIntervalDialog::myClosingReroutesEdited
std::vector< GNEAdditional * > myClosingReroutesEdited
closing Reroutes edited
Definition: GNERerouterIntervalDialog.h:164
GNERerouterIntervalDialog::myRouteProbReroutesEdited
std::vector< GNEAdditional * > myRouteProbReroutesEdited
Route Prob Reroutes edited.
Definition: GNERerouterIntervalDialog.h:173
GNERerouterIntervalDialog::onCmdEditClosingReroute
long onCmdEditClosingReroute(FXObject *, FXSelector, void *)
/edit closing reroute
Definition: GNERerouterIntervalDialog.cpp:489
GNERerouterIntervalDialog::onCmdAddClosingLaneReroute
long onCmdAddClosingLaneReroute(FXObject *, FXSelector, void *)
add closing lane reroute
Definition: GNERerouterIntervalDialog.cpp:307
GNERerouterIntervalDialog::onCmdAddParkingAreaReroute
long onCmdAddParkingAreaReroute(FXObject *, FXSelector, void *)
add parkingAreaReroute
Definition: GNERerouterIntervalDialog.cpp:355
GNEClosingReroute.h
GNERerouterIntervalDialog::myDestProbReroutesEdited
std::vector< GNEAdditional * > myDestProbReroutesEdited
Dest Prob Reroutes edited.
Definition: GNERerouterIntervalDialog.h:170
GNERerouterIntervalDialog::myAddClosingReroutes
FXButton * myAddClosingReroutes
button for add new closing reroutes
Definition: GNERerouterIntervalDialog.h:137
GNERerouterIntervalDialog::onCmdAddRouteProbReroute
long onCmdAddRouteProbReroute(FXObject *, FXSelector, void *)
add route prob reroute
Definition: GNERerouterIntervalDialog.cpp:343
GNEDestProbReroute.h
GNERerouterIntervalDialog::myRouteProbReroutesValid
bool myRouteProbReroutesValid
flag to check if route prob reroutes are valid
Definition: GNERerouterIntervalDialog.h:194
GNERerouterIntervalDialog::myParkingAreaReroutesValid
bool myParkingAreaReroutesValid
flag to check if parkingAreaReroutes are valid
Definition: GNERerouterIntervalDialog.h:191
GNERerouterIntervalDialog::myAddDestProbReroutes
FXButton * myAddDestProbReroutes
button for add new destiny probability reroutes
Definition: GNERerouterIntervalDialog.h:140
config.h
GNERerouterIntervalDialog::myClosingReroutesValid
bool myClosingReroutesValid
flag to check if closing reroutes are valid
Definition: GNERerouterIntervalDialog.h:185
GNERerouterIntervalDialog::myAddParkingAreaReroute
FXButton * myAddParkingAreaReroute
button for add new parkingAreaReroute
Definition: GNERerouterIntervalDialog.h:146
GNERerouterIntervalDialog::myParkingAreaRerouteEdited
std::vector< GNEAdditional * > myParkingAreaRerouteEdited
Parking Area reroute edited.
Definition: GNERerouterIntervalDialog.h:176
GNERouteProbReroute.h
GNERerouterIntervalDialog::onCmdClickedRouteProbReroute
long onCmdClickedRouteProbReroute(FXObject *, FXSelector, void *)
remove route prob reroute
Definition: GNERerouterIntervalDialog.cpp:415
GNERerouterIntervalDialog::updateClosingLaneReroutesTable
void updateClosingLaneReroutesTable()
update data of closing lane reroute table
Definition: GNERerouterIntervalDialog.cpp:631
GNERerouterIntervalDialog::onCmdEditDestProbReroute
long onCmdEditDestProbReroute(FXObject *, FXSelector, void *)
/edit dest prob reroute
Definition: GNERerouterIntervalDialog.cpp:529
GNERerouterIntervalDialog::onCmdClickedParkingAreaReroute
long onCmdClickedParkingAreaReroute(FXObject *, FXSelector, void *)
remove parkingAreaReroute
Definition: GNERerouterIntervalDialog.cpp:431
GNERerouterIntervalDialog::myAddClosingLaneReroutes
FXButton * myAddClosingLaneReroutes
button for add new closing lane reroutes
Definition: GNERerouterIntervalDialog.h:134
GNERerouterIntervalDialog::myDestProbReroutesValid
bool myDestProbReroutesValid
flag to check if Destiny probability reroutes are valid
Definition: GNERerouterIntervalDialog.h:188
GNERerouterIntervalDialog::updateParkingAreaReroutesTable
void updateParkingAreaReroutesTable()
update data of parkingAreaReroute table
Definition: GNERerouterIntervalDialog.cpp:809
GNERerouterIntervalDialog
Dialog for edit rerouter intervals.
Definition: GNERerouterIntervalDialog.h:49
GNERerouterIntervalDialog::onCmdEditClosingLaneReroute
long onCmdEditClosingLaneReroute(FXObject *, FXSelector, void *)
/edit closing lane reroute
Definition: GNERerouterIntervalDialog.cpp:449
GNERerouterIntervalDialog::myEndTextField
FXTextField * myEndTextField
end time text field
Definition: GNERerouterIntervalDialog.h:128