43 myNBEdgeConnection(nbCon),
44 mySelected(selected) {
65 std::string selected =
mySelected ? (
"a previously selected ") : (
"");
85 std::string selected =
mySelected ? (
"a previously selected ") : (
"");
GNEInspectorFrame * getInspectorFrame() const
get frame for GNE_MODE_INSPECT
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
GNEViewParent * getViewParent() const
get the net object
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
FXString undoName() const
return undoName
std::string toString(const T &t, std::streamsize accuracy=gPrecision)
std::string getLaneID(int lane) const
get Lane ID (Secure)
int fromLane
The lane the connections starts at.
GNEFrame::ACHierarchy * getACHierarchy() const
get ACHierarchy
void refreshACHierarchy()
refresh ACHierarchy
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
NBEdge * getNBEdge()
returns the internal NBEdge
GNEViewNet * getViewNet() const
get view net