 |
Eclipse SUMO - Simulation of Urban MObility
|
Go to the documentation of this file.
40 myNBEdgeConnection(nbCon),
41 mySelected(selected) {
62 std::string selected =
mySelected ? (
"a previously selected ") : (
"");
78 std::string selected =
mySelected ? (
"a previously selected ") : (
"");
void requireSaveNet(bool value)
inform that net has to be saved
NBEdge * toEdge
The edge the connections yields in.
const std::string getID() const
function to support debugging
bool myForward
we group antagonistic commands (create junction/delete junction) and keep them apart by this flag
FXString undoName() const
return undoName
int fromLane
The lane the connections starts at.
The representation of a single edge during network building.
A road/street connecting two junctions (netedit-version)
int toLane
The lane the connections yields in.
NBEdge * getNBEdge() const
returns the internal NBEdge
std::string getLaneID(int lane) const
get lane ID
begin/end of the description of an edge
GNENet * myNet
the net to which operations shall be applied or which shall be informed about gui updates (we are not...
FXString redoName() const
get Redo name
bool mySelected
flag to indicates if crossing was previously selected
void addConnection(NBEdge::Connection nbCon, bool selectAfterCreation=false)
adds a connection
std::string toString(const T &t, std::streamsize accuracy=gPrecision)
NBEdge::Connection myNBEdgeConnection
the data which must be copied because the original reference does not persist
connectio between two lanes
void removeConnection(NBEdge::Connection nbCon)
removes a connection
~GNEChange_Connection()
Destructor.
the function-object for an editing operation (abstract base)