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-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 // A change in the values of Rerouters in netedit
18 /****************************************************************************/
19 #ifndef GNEChange_VariableSpeedSignItem_h
20 #define GNEChange_VariableSpeedSignItem_h
21 
22 
23 // ===========================================================================
24 // included modules
25 // ===========================================================================
26 #ifdef _MSC_VER
27 #include <windows_config.h>
28 #else
29 #include <config.h>
30 #endif
31 
32 #include <fx.h>
35 
36 #include "GNEChange.h"
37 
38 // ===========================================================================
39 // class declarations
40 // ===========================================================================
41 
43 
44 // ===========================================================================
45 // class definitions
46 // ===========================================================================
52  FXDECLARE_ABSTRACT(GNEChange_VariableSpeedSignItem)
53 
54 public:
59  GNEChange_VariableSpeedSignItem(GNEVariableSpeedSignStep* variableSpeedSignStep, bool forward);
60 
63 
67  FXString undoName() const;
68 
70  FXString redoName() const;
71 
73  void undo();
74 
76  void redo();
78 
79 private:
82 };
83 
84 #endif
85 /****************************************************************************/
the function-object for an editing operation (abstract base)
Definition: GNEChange.h:48
GNEChange_VariableSpeedSignItem(GNEVariableSpeedSignStep *variableSpeedSignStep, bool forward)
Constructor.
GNEVariableSpeedSignStep * myVariableSpeedSignStep
modified Variable Speed Sign interval