37 #ifdef CHECK_MEMORY_LEAKS 55 myJunction(junction) {
57 junction->incRef(
"GNEChange_Junction");
90 return (
"Undo create junction");
92 return (
"Undo delete junction");
99 return (
"Redo create junction");
101 return (
"Redo delete junction");
the function-object for an editing operation (abstract base)
FXString redoName() const
void insertJunction(GNEJunction *junction)
inserts a single junction into the net and into the underlying
A NBNetBuilder extended by visualisation and editing capabilities.
~GNEChange_Junction()
Destructor.
GNEJunction * myJunction
full information regarding the junction that is to be created/deleted we assume shared responsibility...
void decRef(const std::string &debugMsg="")
GNENet * myNet
the net to which operations shall be applied or which shall be informed about gui updates (we are not...
void deleteSingleJunction(GNEJunction *junction)
deletes a single junction
bool myForward
we group antagonistic commands (create junction/delete junction) and keep them apart by this flag ...
FXString undoName() const