51 GNEChange(junctionParent->getNet(), forward),
52 myJunctionParent(junctionParent),
55 myPriority(priority) {
the function-object for an editing operation (abstract base)
GNENet * getNet() const
get Net in which this element is placed
The representation of a single edge during network building.
#define WRITE_WARNING(msg)
bool isTestingModeEnabled() const
check if netedit is running in testing mode
void removeCrossing(const EdgeVector &edges)
remove a pedestrian crossing from this node (identified by its edges)
std::string toString(const T &t, std::streamsize accuracy=gPrecision)
const std::string getID() const
function to support debugging
GNEJunction * myJunctionParent
full information regarding the Junction in which GNECRossing is created
GNENet * myNet
the net to which operations shall be applied or which shall be informed about gui updates (we are not...
FXString undoName() const
return undoName
void updateGeometry()
Update the boundary of the junction.
~GNEChange_Crossing()
Destructor.
bool myPriority
priority of GNECrossing
std::vector< NBEdge * > myEdges
vector to save all edges of GNECrossing
crossing between edges for pedestrians
bool myForward
we group antagonistic commands (create junction/delete junction) and keep them apart by this flag ...
void addCrossing(EdgeVector edges, double width, bool priority, bool fromSumoNet=false)
add a pedestrian crossing to this node
double myWidth
width of GNECrossing
NBNode * getNBNode() const
Return net build node.
GNEViewNet * getViewNet() const
get view net
FXString redoName() const
get Redo name