35 #ifdef CHECK_MEMORY_LEAKS 55 myLaneAttrs(laneAttrs) {
56 myEdge->incRef(
"GNEChange_Lane");
59 myLane->incRef(
"GNEChange_Lane");
101 return (
"Undo create lane");
103 return (
"Undo delete lane");
110 return (
"Redo create lane");
112 return (
"Redo delete lane");
void addLane(GNELane *lane, const NBEdge::Lane &laneAttrs)
increase number of lanes by one use the given attributes and restore the GNELane
const NBEdge::Lane myLaneAttrs
~GNEChange_Lane()
Destructor.
the function-object for an editing operation (abstract base)
The representation of a single edge during network building.
This lane is powered by an underlying GNEEdge and basically knows how to draw itself.
FXString redoName() const
FXString undoName() const
void removeLane(GNELane *lane)
void decRef(const std::string &debugMsg="")
A road/street connecting two junctions (netedit-version)
GNEEdge * myEdge
full information regarding the lane that is to be created/deleted we assume shared responsibility for...
bool myForward
we group antagonistic commands (create junction/delete junction) and keep them apart by this flag ...