35 #ifdef CHECK_MEMORY_LEAKS 53 myNBEdgeConnection(nbCon),
54 myConnection(myEdge->retrieveConnection(nbCon.fromLane, nbCon.toEdge, nbCon.toLane)) {
86 return (
"Undo create connection");
88 return (
"Undo delete connection");
95 return (
"Redo create connection");
97 return (
"Redo delete connection");
void addConnection(NBEdge::Connection nbCon, GNEConnection *con)
adds a connection
the function-object for an editing operation (abstract base)
The representation of a single edge during network building.
~GNEChange_Connection()
Destructor.
NBEdge::Connection myNBEdgeConnection
the data which must be copied because the original reference does not persist
GNEConnection * myConnection
We only keep this to retain the GUIGlID.
FXString redoName() const
get Redo name
FXString undoName() const
return undoName
A road/street connecting two junctions (netedit-version)
bool myForward
we group antagonistic commands (create junction/delete junction) and keep them apart by this flag ...
void removeConnection(NBEdge::Connection nbCon)
removes a connection