Eclipse SUMO - Simulation of Urban MObility
Loading...
Searching...
No Matches
GNEFixAdditionalElementsDialog.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-2025 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 used to fix additional elements
19/****************************************************************************/
20#pragma once
21#include <config.h>
22
24
25// ===========================================================================
26// class declarations
27// ===========================================================================
28
29class GNEAdditional;
30
31// ===========================================================================
32// class definitions
33// ===========================================================================
34
36
37public:
41 FXDECLARE(PositionOptions)
42
43 public:
45 PositionOptions(GNEFixAdditionalElementsDialog* fixAdditionalPositions);
46
48 void selectInternalTestSolution(const std::string& solution);
49
51 bool applyFixOption();
52
55
57 long onCmdSelectOption(FXObject* obj, FXSelector, void*);
58
60
61 protected:
63 FOX_CONSTRUCTOR(PositionOptions)
64
65
67
69 FXRadioButton* myFixPositions;
70
72 FXRadioButton* mySaveInvalids;
73
75 FXRadioButton* mySelectInvalids;
76
77 private:
80
82 PositionOptions& operator=(const PositionOptions&) = delete;
83 };
84
88 FXDECLARE(ConsecutiveLaneOptions)
89
90 public:
93
95 void selectInternalTestSolution(const std::string& solution);
96
98 bool applyFixOption();
99
102
104 long onCmdSelectOption(FXObject* obj, FXSelector, void*);
105
107
108 protected:
110 FOX_CONSTRUCTOR(ConsecutiveLaneOptions)
111
112
113 FXRadioButton* myBuildConnectionBetweenLanes;
114
116 FXRadioButton* myRemoveInvalidElements;
117
120
122 FXRadioButton* myFixPositions;
123
124 private:
127
130 };
131
134 const std::vector<GNEAdditional*>& elements);
135
138
139protected:
142
145
146private:
149
152};
The main window of Netedit.
long onCmdSelectOption(FXObject *obj, FXSelector, void *)
called when user select a option
FXRadioButton * mySelectInvalids
Option "Select invalid stops and cancel".
FXRadioButton * myFixPositions
Option "Fix Positions and save".
void selectInternalTestSolution(const std::string &solution)
select internal test solution
ConsecutiveLaneOptions * myConsecutiveLaneOptions
consecutive lane options
PositionOptions * myPositionOptions
position options
Definition json.hpp:4471
every row value