37 #ifdef CHECK_MEMORY_LEAKS 39 #endif // CHECK_MEMORY_LEAKS MSEdge & getEdge() const
Returns the lane's edge.
Representation of a vehicle in the micro simulation.
virtual ~MSJunction()
Destructor.
Position myPosition
The position of the junction.
MSJunction(const std::string &id, SumoXMLNodeType type, const Position &position, const PositionVector &shape)
Constructor.
void passedJunction(const MSVehicle *vehicle)
erase vehicle from myLinkLeaders
A point in 2D or 3D with translation and scaling methods.
Base class for objects which have an id.
SumoXMLNodeType
Numbers representing special SUMO-XML-attribute values for representing node- (junction-) types used ...
virtual void postloadInit()
MSLane * getLane() const
Returns the lane the vehicle is on.
bool isLeader(const MSVehicle *ego, const MSVehicle *foe)
const MSJunction * getToJunction() const
const Position & getPosition() const