![]() |
SUMO - Simulation of Urban MObility
|
the function-object for an editing operation (abstract base) More...
#include <GNEChange.h>
Public Member Functions | |
GNEChange (GNENet *net, bool forward) | |
Constructor. More... | |
virtual void | redo () |
virtual FXString | redoName () const |
virtual FXuint | size () const |
virtual void | undo () |
virtual FXString | undoName () const |
~GNEChange () | |
Destructor. More... | |
Protected Attributes | |
bool | myForward |
we group antagonistic commands (create junction/delete junction) and keep them apart by this flag More... | |
GNENet * | myNet |
the net to which operations shall be applied or which shall be informed about gui updates (we are not responsible for the pointer) More... | |
the function-object for an editing operation (abstract base)
Definition at line 48 of file GNEChange.h.
GNEChange::GNEChange | ( | GNENet * | net, |
bool | forward | ||
) |
Constructor.
[in] | net | The net on which to apply changes |
[in] | forward | The direction of this change |
Definition at line 48 of file GNEChange.cpp.
|
inline |
Destructor.
Definition at line 60 of file GNEChange.h.
|
inlinevirtual |
Reimplemented in GNEChange_Attribute, GNEChange_Connection, GNEChange_Lane, GNEChange_TLS, GNEChange_Edge, GNEChange_Junction, and GNEChange_Selection.
Definition at line 73 of file GNEChange.h.
References myNet.
|
inlinevirtual |
Reimplemented in GNEChange_Attribute, GNEChange_Connection, GNEChange_Lane, GNEChange_TLS, GNEChange_Edge, GNEChange_Junction, and GNEChange_Selection.
Definition at line 69 of file GNEChange.h.
|
inlinevirtual |
Definition at line 62 of file GNEChange.h.
|
inlinevirtual |
Reimplemented in GNEChange_Attribute, GNEChange_Connection, GNEChange_Lane, GNEChange_TLS, GNEChange_Edge, GNEChange_Junction, and GNEChange_Selection.
Definition at line 72 of file GNEChange.h.
|
inlinevirtual |
Reimplemented in GNEChange_Attribute, GNEChange_Connection, GNEChange_Lane, GNEChange_TLS, GNEChange_Edge, GNEChange_Junction, and GNEChange_Selection.
Definition at line 66 of file GNEChange.h.
|
protected |
we group antagonistic commands (create junction/delete junction) and keep them apart by this flag
Definition at line 86 of file GNEChange.h.
Referenced by GNEChange_Selection::redo(), GNEChange_Edge::redo(), GNEChange_Junction::redo(), GNEChange_TLS::redo(), GNEChange_Lane::redo(), GNEChange_Connection::redo(), GNEChange_Selection::redoName(), GNEChange_Edge::redoName(), GNEChange_Junction::redoName(), GNEChange_TLS::redoName(), GNEChange_Lane::redoName(), GNEChange_Connection::redoName(), GNEChange_Selection::undo(), GNEChange_Junction::undo(), GNEChange_Edge::undo(), GNEChange_TLS::undo(), GNEChange_Lane::undo(), GNEChange_Connection::undo(), GNEChange_Selection::undoName(), GNEChange_Edge::undoName(), GNEChange_Junction::undoName(), GNEChange_TLS::undoName(), GNEChange_Lane::undoName(), and GNEChange_Connection::undoName().
|
protected |
the net to which operations shall be applied or which shall be informed about gui updates (we are not responsible for the pointer)
Definition at line 73 of file GNEChange.h.
Referenced by GNEChange_Edge::redo(), GNEChange_Junction::redo(), redo(), GNEChange_Junction::undo(), and GNEChange_Edge::undo().