Eclipse 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.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 rerouters
19 /****************************************************************************/
20 #pragma once
21 #include <config.h>
22 
23 #include "GNEAdditionalDialog.h"
24 
25 
26 // ===========================================================================
27 // class declarations
28 // ===========================================================================
29 
30 class GNERerouter;
33 
34 // ===========================================================================
35 // class definitions
36 // ===========================================================================
37 
44  FXDECLARE(GNERerouterDialog)
45 
46 public:
48  GNERerouterDialog(GNERerouter* rerouterParent);
49 
52 
56  long onCmdAccept(FXObject*, FXSelector, void*);
57 
59  long onCmdCancel(FXObject*, FXSelector, void*);
60 
62  long onCmdReset(FXObject*, FXSelector, void*);
63 
65  long onCmdAddInterval(FXObject*, FXSelector, void*);
66 
68  long onCmdClickedInterval(FXObject*, FXSelector, void*);
70 
71 protected:
72  FOX_CONSTRUCTOR(GNERerouterDialog)
73 
74 
75  FXButton* myAddInterval;
76 
78  FXButton* mySortIntervals;
79 
81  FXTable* myIntervalTable;
82 
83 private:
85  void updateIntervalTable();
86 
89 
91  GNERerouterDialog& operator=(const GNERerouterDialog&) = delete;
92 };
Dialog to edit sequences, parameters, etc.. of Additionals.
Dialog for edit rerouters.
~GNERerouterDialog()
destructor
long onCmdAccept(FXObject *, FXSelector, void *)
FXButton * myAddInterval
button for add new interval
FXButton * mySortIntervals
button for sort interval
long onCmdReset(FXObject *, FXSelector, void *)
event after press reset button
long onCmdAddInterval(FXObject *, FXSelector, void *)
add new interval
long onCmdCancel(FXObject *, FXSelector, void *)
event after press cancel button
long onCmdClickedInterval(FXObject *, FXSelector, void *)
remove or edit interval
FXTable * myIntervalTable
list with intervals
void updateIntervalTable()
update data table
GNERerouterDialog(GNERerouter *rerouterParent)
FOX-declaration.
Dialog for edit rerouter intervals.