41 myNBEdgeConnection(nbCon),
42 mySelected(selected) {
63 std::string selected =
mySelected ? (
"a previously selected ") : (
"");
79 std::string selected =
mySelected ? (
"a previously selected ") : (
"");
the function-object for an editing operation (abstract base)
int toLane
The lane the connections yields in.
bool mySelected
flag to indicates if crossing was previously selected
NBEdge * toEdge
The edge the connections yields in.
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
FXString redoName() const
get Redo name
NBEdge * getNBEdge() const
returns the internal NBEdge
FXString undoName() const
return undoName
std::string toString(const T &t, std::streamsize accuracy=gPrecision)
std::string getLaneID(int lane) const
get lane ID
int fromLane
The lane the connections starts at.
const std::string getID() const
function to support debugging
begin/end of the description of an edge
A road/street connecting two junctions (netedit-version)
GNENet * myNet
the net to which operations shall be applied or which shall be informed about gui updates (we are not...
void addConnection(NBEdge::Connection nbCon, bool selectAfterCreation=false)
adds a connection
void requiereSaveNet(bool value)
inform that net has to be saved
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