 |
Eclipse SUMO - Simulation of Urban MObility
|
Go to the documentation of this file.
17 #ifndef GNEChange_Lane_h
18 #define GNEChange_Lane_h
An Element which don't belongs to GNENet but has influency in the simulation.
std::vector< GNEAdditional * > myAdditionalChildren
vector of additional children
std::vector< GNEDemandElement * > myDemandElementParents
vector of demand element parents
~GNEChange_Lane()
Destructor.
FXString redoName() const
get Redo name
const NBEdge::Lane myLaneAttrs
we need to preserve the attributes explicitly because they are not contained withing GNELane itself
std::vector< GNEShape * > myShapeParents
vector of shape parents
A road/street connecting two junctions (netedit-version)
std::vector< GNEDemandElement * > myDemandElementChildren
vector of demand element children
GNELane * myLane
we need to preserve the lane because it maybe the target of GNEChange_Attribute commands
std::vector< GNEShape * > myShapeChildren
vector of shape children
An (internal) definition of a single lane of an edge.
FXString undoName() const
return undoName
GNEEdge * myEdge
we need the edge because it is the target of our change commands
bool myRecomputeConnections
@bried whether to recompute connection when adding a new lane
the function-object for an editing operation (abstract base)
This lane is powered by an underlying GNEEdge and basically knows how to draw itself.
GNEChange_Lane(GNEEdge *edge, GNELane *lane, const NBEdge::Lane &laneAttrs, bool forward, bool recomputeConnections=true)
Constructor for creating/deleting an edge.
std::vector< GNEAdditional * > myAdditionalParents
vector of additional parents