34 #ifdef CHECK_MEMORY_LEAKS 51 const std::
string& toEdgeID,
int toLane,
52 bool mayDefinitelyPass,
bool forward):
58 myPass(mayDefinitelyPass) {
59 myEdge->incRef(
"GNEChange_Connection");
92 return (
"Undo create connection");
94 return (
"Undo delete connection");
101 return (
"Redo create connection");
103 return (
"Redo delete connection");
the function-object for an editing operation (abstract base)
int myToLane
the target lane of the connection
void addConnection(int fromLane, const std::string &toEdgeID, int toLane, bool mayPass)
adds a connection
~GNEChange_Connection()
Destructor.
FXString undoName() const
return undoName
void decRef(const std::string &debugMsg="")
const std::string myToEdgeID
the id of the target edge
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(int fromLane, const std::string &toEdgeID, int toLane)
removes a connection
bool myPass
whether this connection never yields
FXString redoName() const
get Redo name
int myFromLane
the lane from which the connection originates