SUMO - Simulation of Urban MObility
GNECalibratorRouteDialog.h
Go to the documentation of this file.
1 /****************************************************************************/
8 /****************************************************************************/
9 // SUMO, Simulation of Urban MObility; see http://sumo.dlr.de/
10 // Copyright (C) 2001-2017 DLR (http://www.dlr.de/) and contributors
11 /****************************************************************************/
12 //
13 // This file is part of SUMO.
14 // SUMO is free software; you can redistribute it and/or modify
15 // it under the terms of the GNU General Public License as published by
16 // the Free Software Foundation; either version 3 of the License, or
17 // (at your option) any later version.
18 //
19 /****************************************************************************/
20 #ifndef GNECalibratorRouteDialog_h
21 #define GNECalibratorRouteDialog_h
22 
23 // ===========================================================================
24 // included modules
25 // ===========================================================================
26 
27 #ifdef _MSC_VER
28 #include <windows_config.h>
29 #else
30 #include <config.h>
31 #endif
32 
33 #include "GNEAdditionalDialog.h"
34 #include "GNECalibratorRoute.h"
35 
36 // ===========================================================================
37 // class declarations
38 // ===========================================================================
39 
41 
42 // ===========================================================================
43 // class definitions
44 // ===========================================================================
45 
53  FXDECLARE(GNECalibratorRouteDialog)
54 
55 public:
57  GNECalibratorRouteDialog(GNECalibratorDialog* calibratorDialog, GNECalibratorRoute& calibratorRoute, bool updatingElement);
58 
61 
65  long onCmdAccept(FXObject*, FXSelector, void*);
66 
68  long onCmdCancel(FXObject*, FXSelector, void*);
69 
71  long onCmdReset(FXObject*, FXSelector, void*);
72 
74  long onCmdSetVariable(FXObject*, FXSelector, void*);
76 
77 protected:
80 
83 
86 
89 
92 
95 
98 
101 
103  FXTextField* myTextFieldRouteID;
104 
106  FXTextField* myTextFieldEdges;
107 
109  FXTextField* myTextFieldColor;
110 
113 
116 
117 private:
120 
123 };
124 
125 #endif
FXTextField * myTextFieldColor
color of route
FXList * myListOfEdgesOfRoute
list of edges of route
GNECalibratorRouteDialog & operator=(const GNECalibratorRouteDialog &)
Invalidated assignment operator.
bool myCalibratorRouteValid
flag to check if current calibrator vehicleType is valid
long onCmdCancel(FXObject *, FXSelector, void *)
event after press cancel button
Dialog to edit sequences, parameters, etc.. of Additionals.
FXList * myListOfEdgesOfNet
list of edges of net
SumoXMLAttr
Numbers representing SUMO-XML - attributes.
GNECalibratorRouteDialog()
FOX needs this.
GNECalibratorRoute * myCalibratorRoute
pointer to modified rerouter interval
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 calibrators.
Dialog for edit rerouter intervals.
GNECalibratorDialog * myCalibratorDialogParent
pointer to GNECalibratorDialog parent
GNECalibratorRoute * myCopyOfCalibratorRoute
pointer in which save modifications of CalibratorRoute
long onCmdAccept(FXObject *, FXSelector, void *)
FXTextField * myTextFieldEdges
list of edges (string)
long onCmdSetVariable(FXObject *, FXSelector, void *)
event after change value