35 #ifdef CHECK_MEMORY_LEAKS 51 myAdditional(additional) {
53 myAdditional->incRef(
"GNEChange_Additional");
86 return (
"Undo create additional");
88 return (
"Undo delete additional");
95 return (
"Redo create additional");
97 return (
"Redo delete additional");
the function-object for an editing operation (abstract base)
A NBNetBuilder extended by visualisation and editing capabilities.
~GNEChange_Additional()
Destructor.
GNEAdditional * myAdditional
full information regarding the additional element that is to be created/deleted
FXString undoName() const
return undoName
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...
An Element which don't belongs to GNENet but has influency in the simulation.
bool myForward
we group antagonistic commands (create junction/delete junction) and keep them apart by this flag ...
void deleteAdditional(GNEAdditional *additional)
delete additional element previously inserted
FXString redoName() const
get Redo name
void insertAdditional(GNEAdditional *additional, bool hardFail=true)
Insert a additional element previously created in GNEAdditionalHandler.