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-2017 German Aerospace Center (DLR) and others.
4 /****************************************************************************/
5 //
6 // This program and the accompanying materials
7 // are made available under the terms of the Eclipse Public License v2.0
8 // which accompanies this distribution, and is available at
9 // http://www.eclipse.org/legal/epl-v20.html
10 //
11 /****************************************************************************/
17 // Dialog for edit calibrator routes
18 /****************************************************************************/
19 #ifndef GNECalibratorRouteDialog_h
20 #define GNECalibratorRouteDialog_h
21 
22 // ===========================================================================
23 // included modules
24 // ===========================================================================
25 
26 #ifdef _MSC_VER
27 #include <windows_config.h>
28 #else
29 #include <config.h>
30 #endif
31 
32 #include "GNEAdditionalDialog.h"
33 
34 // ===========================================================================
35 // class declarations
36 // ===========================================================================
37 
38 class GNECalibratorRoute;
39 
40 // ===========================================================================
41 // class definitions
42 // ===========================================================================
43 
51  FXDECLARE(GNECalibratorRouteDialog)
52 
53 public:
55  GNECalibratorRouteDialog(GNECalibratorRoute* editedCalibratorRoute, bool updatingElement);
56 
59 
63  long onCmdAccept(FXObject*, FXSelector, void*);
64 
66  long onCmdCancel(FXObject*, FXSelector, void*);
67 
69  long onCmdReset(FXObject*, FXSelector, void*);
70 
72  long onCmdSetVariable(FXObject*, FXSelector, void*);
74 
75 protected:
78 
81 
84 
87 
90 
92  FXTextField* myTextFieldRouteID;
93 
95  FXTextField* myTextFieldEdges;
96 
98  FXTextField* myTextFieldColor;
99 
102 
103 private:
106 
109 };
110 
111 #endif
FXTextField * myTextFieldColor
color of route
GNECalibratorRoute * myEditedCalibratorRoute
pointer to modified rerouter interval
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
bool myUpdatingElement
flag to indicate if flow are being created or modified
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