126 bool isInRange(
const double pos,
const double tolerance)
const;
ConstMSEdgeVector::const_iterator MSRouteIterator
A single mesoscopic segment (cell)
A road/street connecting two junctions.
Representation of a lane in the micro simulation.
A lane area vehicles can halt at.
void write(OutputDevice &dev) const
Write the current stop configuration (used for state saving)
const MSLane * lane
The lane to stop at (microsim only)
bool triggered
whether an arriving person lets the vehicle continue
bool containerTriggered
whether an arriving container lets the vehicle continue
SUMOTime timeToLoadNextContainer
The time at which the vehicle is able to load another container.
MSStoppingPlace * containerstop
(Optional) container stop if one is assigned to the stop
MSStop(const SUMOVehicleParameter::Stop &par)
double getSpeed() const
return speed for passing waypoint / skipping on-demand stop
bool joinTriggered
whether coupling another vehicle (train) the vehicle continue
bool isOpposite
whether this an opposite-direction stop
SUMOTime getMinDuration(SUMOTime time) const
return minimum stop duration when starting stop at time
void initPars(const SUMOVehicleParameter::Stop &stopPar)
initialize attributes from the given stop parameters
int getStateFlagsOld() const
return flags as used by Vehicle::getStopState
const MESegment * segment
The segment to stop at (mesosim only)
int numExpectedContainer
The number of still expected containers.
bool reached
Information whether the stop has been reached.
MSRouteIterator edge
The edge in the route to stop at.
SUMOTime timeToBoardNextPerson
The time at which the vehicle is able to board another person.
bool skipOnDemand
whether the decision to skip this stop has been made
bool isInRange(const double pos, const double tolerance) const
whether the stop is in range of the given position
const MSEdge * getEdge() const
double getReachedThreshold() const
return startPos taking into account opposite stopping
SUMOTime endBoarding
the maximum time at which persons may board this vehicle
double getEndPos(const SUMOVehicle &veh) const
return halting position for upcoming stop;
int numExpectedPerson
The number of still expected persons.
MSParkingArea * parkingarea
(Optional) parkingArea if one is assigned to the stop
bool startedFromState
whether the 'started' value was loaded from simulaton state
MSStoppingPlace * chargingStation
(Optional) charging station if one is assigned to the stop
std::string getDescription() const
get a short description for showing in the gui
SUMOTime duration
The stopping duration.
SUMOTime getUntil() const
return until / ended time
SUMOTime getArrival() const
return arrival / started time
const SUMOVehicleParameter::Stop pars
The stop parameter.
MSStoppingPlace * busstop
(Optional) bus stop if one is assigned to the stop
MSStoppingPlace * overheadWireSegment
(Optional) overhead wire segment if one is assigned to the stop
A lane area vehicles can halt at.
Static storage of an output device and its base (abstract) implementation.
Representation of a vehicle.
Definition of vehicle stop (position and duration)