39 myNBEdgeConnection(nbCon) {
108 return (
TL(
"Redo create connection '") +
111 return (
TL(
"Redo delete connection '") +
Supermode
@brie enum for supermodes
@ NETWORK
Network mode (Edges, junctions, etc..)
@ SUMO_TAG_CONNECTION
connectioon between two lanes
@ SUMO_TAG_EDGE
begin/end of the description of an edge
std::string toString(const T &t, std::streamsize accuracy=gPrecision)
const std::string getID() const
get ID (all Attribute Carriers have one)
GNENet * getNet() const
get pointer to net
std::string undoName() const
return undoName
~GNEChange_Connection()
Destructor.
NBEdge::Connection myNBEdgeConnection
the data which must be copied because the original reference does not persist
std::string redoName() const
get Redo name
the function-object for an editing operation (abstract base)
bool myForward
we group antagonistic commands (create junction/delete junction) and keep them apart by this flag
const bool mySelectedElement
flag for check if element is selected
A road/street connecting two junctions (netedit-version)
NBEdge * getNBEdge() const
returns the internal NBEdge
void removeConnection(NBEdge::Connection nbCon)
removes a connection
void addConnection(NBEdge::Connection nbCon, bool selectAfterCreation=false)
adds a connection
void requireSaveNetwork()
inform that network has to be saved
GNENetHelper::SavingStatus * getSavingStatus() const
get saving status
The representation of a single edge during network building.
std::string getLaneID(int lane) const
get lane ID
int fromLane
The lane the connections starts at.
int toLane
The lane the connections yields in.
NBEdge * toEdge
The edge the connections yields in.