69 const std::string& name);
std::vector< const MSEdge * > ConstMSEdgeVector
std::vector< MSEdge * > MSEdgeVector
SumoXMLNodeType
Numbers representing special SUMO-XML-attribute values for representing node- (junction-) types used ...
A road/street connecting two junctions.
The base class for an intersection.
virtual const std::vector< MSLane * > & getFoeInternalLanes(const MSLink *const) const
SumoXMLNodeType getType() const
return the type of this Junction
virtual const MSJunctionLogic * getLogic() const
MSJunction(const MSJunction &)=delete
Invalidated copy constructor.
Position myPosition2
The secondary position of the junction.
std::vector< MSLane * > myEmptyLanes
virtual ~MSJunction()
Destructor.
PositionVector myShape
The shape of the junction.
ConstMSEdgeVector myOutgoing
outgoing edges
MSJunction & operator=(const MSJunction &)=delete
Invalidated assignment operator.
void addSecondaryPosition(const Position &pos)
used by the gui
std::vector< MSLink * > myEmptyLinks
Position myPosition
The position of the junction.
virtual const std::vector< MSLane * > getInternalLanes() const
Returns all internal lanes on the junction.
std::string myName
@briefh The (optional) junction name
int getNrOfIncomingLanes() const
void addOutgoing(MSEdge *edge)
ConstMSEdgeVector myIncoming
incoming edges
void addIncoming(MSEdge *edge)
virtual const std::vector< MSLink * > & getFoeLinks(const MSLink *const) const
const ConstMSEdgeVector & getOutgoing() const
const std::string & getName() const
return the junction name
void passedJunction(const MSVehicle *vehicle)
erase vehicle from myLinkLeaders
SumoXMLNodeType myType
Tye type of this junction.
const Position & getPosition(bool secondaryShape=false) const
const PositionVector & getShape() const
Returns this junction's shape.
virtual void postloadInit()
const ConstMSEdgeVector & getIncoming() const
Representation of a lane in the micro simulation.
Representation of a vehicle in the micro simulation.
Base class for objects which have an id.
An upper class for objects with additional parameters.
A point in 2D or 3D with translation and scaling methods.