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