Eclipse SUMO - Simulation of Urban MObility
GNERouteDialog.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 /****************************************************************************/
15 // Dialog for edit calibrator routes
16 /****************************************************************************/
17 #ifndef GNERouteDialog_h
18 #define GNERouteDialog_h
19 
20 // ===========================================================================
21 // included modules
22 // ===========================================================================
23 
24 #include <config.h>
25 
26 #include "GNEDemandElementDialog.h"
27 
28 // ===========================================================================
29 // class declarations
30 // ===========================================================================
31 
32 class GNERoute;
33 
34 // ===========================================================================
35 // class definitions
36 // ===========================================================================
37 
45  FXDECLARE(GNERouteDialog)
46 
47 public:
49  GNERouteDialog(GNEDemandElement* editedCalibratorRoute, bool updatingElement);
50 
53 
57  long onCmdAccept(FXObject*, FXSelector, void*);
58 
60  long onCmdCancel(FXObject*, FXSelector, void*);
61 
63  long onCmdReset(FXObject*, FXSelector, void*);
64 
66  long onCmdSetVariable(FXObject*, FXSelector, void*);
68 
69 protected:
72 
75 
78 
80  FXTextField* myTextFieldRouteID;
81 
83  FXTextField* myTextFieldEdges;
84 
86  FXTextField* myTextFieldColor;
87 
90 
91 private:
93  GNERouteDialog(const GNERouteDialog&) = delete;
94 
96  GNERouteDialog& operator=(const GNERouteDialog&) = delete;
97 };
98 
99 #endif
long onCmdReset(FXObject *, FXSelector, void *)
event after press reset button
GNERouteDialog()
FOX needs this.
Dialog for edit Calibrator Routes.
GNERouteDialog & operator=(const GNERouteDialog &)=delete
Invalidated assignment operator.
bool myCalibratorRouteValid
flag to check if current calibrator vehicleType is valid
FXTextField * myTextFieldColor
color of route
FXTextField * myTextFieldRouteID
route ID
SumoXMLAttr
Numbers representing SUMO-XML - attributes.
long onCmdSetVariable(FXObject *, FXSelector, void *)
event after change value
void updateCalibratorRouteValues()
update data fields
~GNERouteDialog()
destructor
long onCmdAccept(FXObject *, FXSelector, void *)
FXTextField * myTextFieldEdges
list of edges (string)
Dialog to edit sequences, parameters, etc.. of DemandElements.
SumoXMLAttr myInvalidAttr
current sumo attribute invalid
An Element which don&#39;t belongs to GNENet but has influency in the simulation.
long onCmdCancel(FXObject *, FXSelector, void *)
event after press cancel button