Eclipse SUMO - Simulation of Urban MObility
Loading...
Searching...
No Matches
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-2025 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>
22
26
28
29// ===========================================================================
30// class definitions
31// ===========================================================================
32
34
35public:
38
41
43 void runInternalTest(const InternalTestStep::DialogArgument* dialogArgument);
44
47
49 long onCmdAccept(FXObject*, FXSelector, void*);
50
52 long onCmdReset(FXObject*, FXSelector, void*);
53
55
56protected:
58 class ClosingReroutesList : public GNETemplateElementList<GNEAdditional, GNEAdditional, GNEChange_Additional> {
59
60 public:
62 ClosingReroutesList(GNERerouterIntervalDialog* rerouterIntervalDialog, FXVerticalFrame* contentFrame);
63
65 long addNewElement();
66
68 long openElementDialog(const size_t rowIndex);
69
70 private:
73
76 };
77
79 class ClosingLaneReroutesList : public GNETemplateElementList<GNEAdditional, GNEAdditional, GNEChange_Additional> {
80
81 public:
83 ClosingLaneReroutesList(GNERerouterIntervalDialog* rerouterIntervalDialog, FXVerticalFrame* contentFrame);
84
86 long addNewElement();
87
89 long openElementDialog(const size_t rowIndex);
90
91 private:
94
97 };
98
100 class DestProbReroutesList : public GNETemplateElementList<GNEAdditional, GNEAdditional, GNEChange_Additional> {
101
102 public:
104 DestProbReroutesList(GNERerouterIntervalDialog* rerouterIntervalDialog, FXVerticalFrame* contentFrame);
105
107 long addNewElement();
108
110 long openElementDialog(const size_t rowIndex);
111
112 private:
115
118 };
119
121 class RouteProbReroutesList : public GNETemplateElementList<GNEAdditional, GNEAdditional, GNEChange_Additional> {
122
123 public:
125 RouteProbReroutesList(GNERerouterIntervalDialog* rerouterIntervalDialog, FXVerticalFrame* contentFrame);
126
128 long addNewElement();
129
131 long openElementDialog(const size_t rowIndex);
132
133 private:
136
139 };
140
142 class ParkingAreaReroutesList : public GNETemplateElementList<GNEAdditional, GNEAdditional, GNEChange_Additional> {
143
144 public:
146 ParkingAreaReroutesList(GNERerouterIntervalDialog* rerouterIntervalDialog, FXVerticalFrame* contentFrame);
147
149 long addNewElement();
150
152 long openElementDialog(const size_t rowIndex);
153
154 private:
157
160 };
161
164
167
170
173
176
177private:
180
183};
ClosingLaneReroutesList & operator=(const ClosingLaneReroutesList &)=delete
Invalidated assignment operator.
long openElementDialog(const size_t rowIndex)
open element dialog
ClosingLaneReroutesList(const ClosingLaneReroutesList &)=delete
Invalidated copy constructor.
ClosingReroutesList & operator=(const ClosingReroutesList &)=delete
Invalidated assignment operator.
long openElementDialog(const size_t rowIndex)
open element dialog
ClosingReroutesList(const ClosingReroutesList &)=delete
Invalidated copy constructor.
DestProbReroutesList & operator=(const DestProbReroutesList &)=delete
Invalidated assignment operator.
long openElementDialog(const size_t rowIndex)
open element dialog
DestProbReroutesList(const DestProbReroutesList &)=delete
Invalidated copy constructor.
long openElementDialog(const size_t rowIndex)
open element dialog
ParkingAreaReroutesList & operator=(const ParkingAreaReroutesList &)=delete
Invalidated assignment operator.
ParkingAreaReroutesList(const ParkingAreaReroutesList &)=delete
Invalidated copy constructor.
long openElementDialog(const size_t rowIndex)
open element dialog
RouteProbReroutesList & operator=(const RouteProbReroutesList &)=delete
Invalidated assignment operator.
RouteProbReroutesList(const RouteProbReroutesList &)=delete
Invalidated copy constructor.
GNERerouterIntervalDialog & operator=(const GNERerouterIntervalDialog &)=delete
Invalidated assignment operator.
GNERerouterIntervalDialog(const GNERerouterIntervalDialog &)=delete
Invalidated copy constructor.
long onCmdReset(FXObject *, FXSelector, void *)
event after press reset button
DestProbReroutesList * myDestProbReroutes
list with destination probability reroutes
ClosingLaneReroutesList * myClosingLaneReroutes
list with closing lane reroutes
ClosingReroutesList * myClosingReroutes
list with closing reroutes
void runInternalTest(const InternalTestStep::DialogArgument *dialogArgument)
run internal test
RouteProbReroutesList * myRouteProbReroutes
list with route probability reroute
ParkingAreaReroutesList * myParkingAreaReroutes
list with parkingAreaReroutes
long onCmdAccept(FXObject *, FXSelector, void *)
event after press accept button
dialog arguments, used for certain modal dialogs that can not be edited using tab