53 myNBEdgeConnection(nbCon),
54 myConnection(myEdge->retrieveConnection(nbCon.fromLane, nbCon.toEdge, nbCon.toLane)) {
void addConnection(NBEdge::Connection nbCon, GNEConnection *con)
adds a connection
the function-object for an editing operation (abstract base)
GNENet * getNet() const
get Net in which this element is placed
connectio between two lanes
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.
#define WRITE_WARNING(msg)
bool isTestingModeEnabled() const
check if netedit is running in testing mode
FXString redoName() const
get Redo name
FXString undoName() const
return undoName
std::string toString(const T &t, std::streamsize accuracy=gPrecision)
const std::string getID() const
function to support debugging
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
GNEViewNet * getViewNet() const
get view net
SumoXMLTag getTag() const
get XML Tag assigned to this object