Eclipse SUMO - Simulation of Urban MObility
Loading...
Searching...
No Matches
GNECalibratorFlowDialog.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 calibrator flows
19/****************************************************************************/
20#pragma once
21#include <config.h>
22
23#include "GNEAdditionalDialog.h"
24
25// ===========================================================================
26// class declarations
27// ===========================================================================
28
30
31// ===========================================================================
32// class definitions
33// ===========================================================================
34
46
47public:
49 GNECalibratorFlowDialog(GNEAdditional* editedCalibratorFlow, 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
69protected:
70 FOX_CONSTRUCTOR(GNECalibratorFlowDialog)
71
72
74
77
80
83
86
88 FXTextField* myTextFieldSpeed;
89
91 FXTextField* myTextFieldColor;
92
95
98
101
104
107
110
112 FXTextField* myTextFieldLine;
113
116
119
121 FXCheckButton* myRerouteCheckButton;
122
125
128
130 FXTextField* myTextFieldBegin;
131
133 FXTextField* myTextFieldEnd;
134
137
138private:
141
144};
SumoXMLAttr
Numbers representing SUMO-XML - attributes.
Dialog to edit sequences, parameters, etc.. of Additionals.
An Element which don't belong to GNENet but has influence in the simulation.
Dialog for editing calibrator flows.
FXTextField * myTextFieldPersonNumber
TextField for PersonNumber.
long onCmdReset(FXObject *, FXSelector, void *)
event after press reset button
FXTextField * myTextFieldDepartPos
TextField for Depart Pos.
long onCmdSetVariable(FXObject *, FXSelector, void *)
event after change value
long onCmdAccept(FXObject *, FXSelector, void *)
FXTextField * myTextFieldVehsPerHour
TextField for VehsPerHour.
FXTextField * myTextFieldEnd
TextField for End.
long onCmdCancel(FXObject *, FXSelector, void *)
event after press cancel button
FXTextField * myTextFieldColor
TextField for Color.
MFXComboBoxIcon * myComboBoxVehicleType
ComboBox for Type.
FXTextField * myTextFieldBegin
TextField for Begin.
MFXComboBoxIcon * myComboBoxRoute
TextField for Route.
FXTextField * myTextFieldArrivalSpeed
TextField for Arrival Speed.
FXTextField * myTextFieldArrivalLane
TextField for Arrival Lane.
SumoXMLAttr myInvalidAttr
current sumo attribute invalid
FXTextField * myTextFieldDepartPosLat
TextField for DepartPosLat.
FXTextField * myTextFieldLine
TextField for Line.
FXTextField * myTextFieldDepartSpeed
TextField for Depart Speed.
FXTextField * myTextFieldDepartLane
TextField for Depart Lane.
FXTextField * myTextFieldContainerNumber
TextField for Container Number.
FXTextField * myTextFieldArrivalPosLat
TextField for ArrivalPosLat.
FXTextField * myTextFieldSpeed
TextField for Speed.
FXTextField * myTextFieldArrivalPos
TextField for Arrival Pos.
FXCheckButton * myRerouteCheckButton
checkButton for Reroute
void updateCalibratorFlowValues()
update data fields
bool myCalibratorFlowValid
flag to check if current calibrator flow is valid
ComboBox with icon.