SUMO - Simulation of Urban MObility
GNECalibratorRouteDialog.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-2018 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 GNECalibratorRouteDialog_h
18 #define GNECalibratorRouteDialog_h
19 
20 // ===========================================================================
21 // included modules
22 // ===========================================================================
23 
24 #include <config.h>
25 
26 #include "GNEAdditionalDialog.h"
27 
28 // ===========================================================================
29 // class declarations
30 // ===========================================================================
31 
32 class GNECalibratorRoute;
33 
34 // ===========================================================================
35 // class definitions
36 // ===========================================================================
37 
45  FXDECLARE(GNECalibratorRouteDialog)
46 
47 public:
49  GNECalibratorRouteDialog(GNEAdditional* 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:
94 
97 };
98 
99 #endif
FXTextField * myTextFieldColor
color of route
bool myCalibratorRouteValid
flag to check if current calibrator vehicleType is valid
long onCmdCancel(FXObject *, FXSelector, void *)
event after press cancel button
GNECalibratorRouteDialog & operator=(const GNECalibratorRouteDialog &)=delete
Invalidated assignment operator.
Dialog to edit sequences, parameters, etc.. of Additionals.
SumoXMLAttr
Numbers representing SUMO-XML - attributes.
GNECalibratorRouteDialog()
FOX needs this.
void updateCalibratorRouteValues()
update data fields
SumoXMLAttr myInvalidAttr
current sumo attribute invalid
FXTextField * myTextFieldRouteID
route ID
long onCmdReset(FXObject *, FXSelector, void *)
event after press reset button
An Element which don&#39;t belongs to GNENet but has influency in the simulation.
Definition: GNEAdditional.h:48
Dialog for edit Calibrator Routes.
long onCmdAccept(FXObject *, FXSelector, void *)
FXTextField * myTextFieldEdges
list of edges (string)
long onCmdSetVariable(FXObject *, FXSelector, void *)
event after change value