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.dev/sumo
3 // Copyright (C) 2001-2024 German Aerospace Center (DLR) and others.
4 // This program and the accompanying materials are made available under the
5 // terms of the Eclipse Public License 2.0 which is available at
6 // https://www.eclipse.org/legal/epl-2.0/
7 // This Source Code may also be made available under the following Secondary
8 // Licenses when the conditions for such availability set forth in the Eclipse
9 // Public License 2.0 are satisfied: GNU General Public License, version 2
10 // or later which is available at
11 // https://www.gnu.org/licenses/old-licenses/gpl-2.0-standalone.html
12 // SPDX-License-Identifier: EPL-2.0 OR GPL-2.0-or-later
13 /****************************************************************************/
18 // Dialog for edit rerouter intervals
19 /****************************************************************************/
20 #pragma once
21 #include <config.h>
28 
29 #include "GNEAdditionalDialog.h"
30 
31 
32 // ===========================================================================
33 // class declarations
34 // ===========================================================================
35 
37 
38 
39 // ===========================================================================
40 // class definitions
41 // ===========================================================================
42 
50  FXDECLARE(GNERerouterIntervalDialog)
51 
52 public:
54  GNERerouterIntervalDialog(GNEAdditional* rerouterInterval, bool updatingElement);
55 
58 
62  long onCmdAccept(FXObject*, FXSelector, void*);
63 
65  long onCmdCancel(FXObject*, FXSelector, void*);
66 
68  long onCmdReset(FXObject*, FXSelector, void*);
69 
71  long onCmdAddClosingLaneReroute(FXObject*, FXSelector, void*);
72 
74  long onCmdAddClosingReroute(FXObject*, FXSelector, void*);
75 
77  long onCmdAddDestProbReroute(FXObject*, FXSelector, void*);
78 
80  long onCmdAddRouteProbReroute(FXObject*, FXSelector, void*);
81 
83  long onCmdAddParkingAreaReroute(FXObject*, FXSelector, void*);
84 
86  long onCmdClickedClosingLaneReroute(FXObject*, FXSelector, void*);
87 
89  long onCmdClickedClosingReroute(FXObject*, FXSelector, void*);
90 
92  long onCmdClickedDestProbReroute(FXObject*, FXSelector, void*);
93 
95  long onCmdClickedRouteProbReroute(FXObject*, FXSelector, void*);
96 
98  long onCmdClickedParkingAreaReroute(FXObject*, FXSelector, void*);
99 
101  long onCmdEditClosingLaneReroute(FXObject*, FXSelector, void*);
102 
104  long onCmdEditClosingReroute(FXObject*, FXSelector, void*);
105 
107  long onCmdEditDestProbReroute(FXObject*, FXSelector, void*);
108 
110  long onCmdEditRouteProbReroute(FXObject*, FXSelector, void*);
111 
113  long onCmdEditParkingAreaReroute(FXObject*, FXSelector, void*);
114 
116  long onCmdChangeBeginEnd(FXObject*, FXSelector, void*);
117 
119 
120 protected:
121  FOX_CONSTRUCTOR(GNERerouterIntervalDialog)
122 
123 
124  FXTextField* myBeginTextField;
125 
127  FXTextField* myEndTextField;
128 
130  FXLabel* myCheckLabel;
131 
134 
137 
140 
143 
146 
149 
152 
155 
158 
161 
164 
167 
170 
173 
176 
179 
182 
185 
188 
191 
194 
195 private:
198 
201 
204 
207 
210 
213 
216 };
Dialog to edit sequences, parameters, etc.. of Additionals.
An Element which don't belong to GNENet but has influence in the simulation.
Definition: GNEAdditional.h:49
Dialog for edit rerouter intervals.
long onCmdAddDestProbReroute(FXObject *, FXSelector, void *)
add dest prob reroute
long onCmdClickedClosingReroute(FXObject *, FXSelector, void *)
remove closing reroute
bool myRouteProbReroutesValid
flag to check if route prob reroutes are valid
FXButton * myAddParkingAreaReroute
button for add new parkingAreaReroute
long onCmdAddClosingReroute(FXObject *, FXSelector, void *)
add closing reroute
void updateRouteProbReroutesTable()
update data of probability reroutes table
std::vector< GNEAdditional * > myRouteProbReroutesEdited
Route Prob Reroutes edited.
long onCmdClickedClosingLaneReroute(FXObject *, FXSelector, void *)
remove closing lane reroute
void updateClosingLaneReroutesTable()
update data of closing lane reroute table
FXTable * myDestProbRerouteTable
list with destination probability reroutes
bool myDestProbReroutesValid
flag to check if Destination probability reroutes are valid
FXButton * myAddClosingLaneReroutes
button for add new closing lane reroutes
long onCmdClickedRouteProbReroute(FXObject *, FXSelector, void *)
remove route prob reroute
FXTable * myClosingRerouteTable
list with closing reroutes
long onCmdReset(FXObject *, FXSelector, void *)
event after press reset button
FXTextField * myEndTextField
end time text field
long onCmdEditClosingLaneReroute(FXObject *, FXSelector, void *)
/edit closing lane reroute
std::vector< GNEAdditional * > myClosingReroutesEdited
closing Reroutes edited
void updateClosingReroutesTable()
update data of closing reroute table
long onCmdEditRouteProbReroute(FXObject *, FXSelector, void *)
/edit route prob reroute
FXButton * myAddClosingReroutes
button for add new closing reroutes
void updateDestProbReroutesTable()
update data of destination probability reroute table
FXLabel * myCheckLabel
begin/end time check label
FXTextField * myBeginTextField
begin time text field
std::vector< GNEAdditional * > myClosingLaneReroutesEdited
closing Lane Reroutes edited
GNERerouterIntervalDialog(GNEAdditional *rerouterInterval, bool updatingElement)
FOX-declaration.
FXTable * myParkingAreaRerouteTable
list with parkingAreaReroutes
bool myClosingReroutesValid
flag to check if closing reroutes are valid
long onCmdAddRouteProbReroute(FXObject *, FXSelector, void *)
add route prob reroute
long onCmdChangeBeginEnd(FXObject *, FXSelector, void *)
called when begin or end is changed
long onCmdAddParkingAreaReroute(FXObject *, FXSelector, void *)
add parkingAreaReroute
bool myParkingAreaReroutesValid
flag to check if parkingAreaReroutes are valid
long onCmdAddClosingLaneReroute(FXObject *, FXSelector, void *)
add closing lane reroute
FXTable * myClosingLaneRerouteTable
list with closing lane reroutes
bool myBeginEndValid
flag to check if begin an end are valid
FXButton * myAddRouteProbReroute
button for add new route probability reroutes
FXTable * myRouteProbRerouteTable
list with route probability reroute
long onCmdEditClosingReroute(FXObject *, FXSelector, void *)
/edit closing reroute
long onCmdClickedParkingAreaReroute(FXObject *, FXSelector, void *)
remove parkingAreaReroute
long onCmdCancel(FXObject *, FXSelector, void *)
event after press cancel button
std::vector< GNEAdditional * > myParkingAreaRerouteEdited
Parking Area reroute edited.
long onCmdEditDestProbReroute(FXObject *, FXSelector, void *)
/edit dest prob reroute
bool myClosingLaneReroutesValid
flag to check if closing lane reroutes are valid
long onCmdClickedDestProbReroute(FXObject *, FXSelector, void *)
remove dest prob reroute
long onCmdAccept(FXObject *, FXSelector, void *)
FXButton * myAddDestProbReroutes
button for add new destination probability reroutes
long onCmdEditParkingAreaReroute(FXObject *, FXSelector, void *)
/edit parkingAreaReroute
std::vector< GNEAdditional * > myDestProbReroutesEdited
Dest Prob Reroutes edited.
void updateParkingAreaReroutesTable()
update data of parkingAreaReroute table
Definition: json.hpp:4471