34 #ifdef CHECK_MEMORY_LEAKS 51 const std::
string& toEdgeID,
unsigned 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)
~GNEChange_Connection()
Destructor.
void addConnection(unsigned int fromLane, const std::string &toEdgeID, unsigned int toLane, bool mayPass)
adds a connection
FXString undoName() const
return undoName
unsigned int myToLane
the target lane of the connection
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 ...
unsigned int myFromLane
the lane from which the connection originates
bool myPass
whether this connection never yields
FXString redoName() const
get Redo name
void removeConnection(unsigned int fromLane, const std::string &toEdgeID, unsigned int toLane)
removes a connection