SUMO - Simulation of Urban MObility
GNEChange_VariableSpeedSignItem.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 // A change in the values of Rerouters in netedit
16 /****************************************************************************/
17 #ifndef GNEChange_VariableSpeedSignItem_h
18 #define GNEChange_VariableSpeedSignItem_h
19 
20 
21 // ===========================================================================
22 // included modules
23 // ===========================================================================
24 #include <config.h>
25 
26 #include <fx.h>
29 
30 #include "GNEChange.h"
31 
32 // ===========================================================================
33 // class declarations
34 // ===========================================================================
35 
37 
38 // ===========================================================================
39 // class definitions
40 // ===========================================================================
46  FXDECLARE_ABSTRACT(GNEChange_VariableSpeedSignItem)
47 
48 public:
53  GNEChange_VariableSpeedSignItem(GNEVariableSpeedSignStep* variableSpeedSignStep, bool forward);
54 
57 
61  FXString undoName() const;
62 
64  FXString redoName() const;
65 
67  void undo();
68 
70  void redo();
72 
73 private:
76 };
77 
78 #endif
79 /****************************************************************************/
the function-object for an editing operation (abstract base)
Definition: GNEChange.h:42
GNEChange_VariableSpeedSignItem(GNEVariableSpeedSignStep *variableSpeedSignStep, bool forward)
Constructor.
GNEVariableSpeedSignStep * myVariableSpeedSignStep
modified Variable Speed Sign interval
FXString undoName() const
return undoName