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
void decRef(const std::string &debugMsg="")
const std::string myToEdgeID
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 ...
FXString redoName() const
void removeConnection(unsigned int fromLane, const std::string &toEdgeID, unsigned int toLane)
removes a connection