223 const SUMOReal arrivalPos,
const std::vector<std::string>& lines);
SUMOReal getDepartPos() const
virtual void endEventOutput(const MSTransportable &p, SUMOTime t, OutputDevice &os) const
Called for writing the events output (end of an action)
virtual ~MSPerson()
destructor
SUMOReal getEdgePos(SUMOTime now) const
A lane area vehicles can halt at.
arrival_finder(SUMOTime time)
constructor
MSEdge * myCurrentInternalEdge
The current internal edge this person is on or 0.
const MSEdge * getEdge() const
Returns the current edge.
Position getPosition(SUMOTime now) const
returns the position of the transportable
const std::string & getNextEdge() const
return the list of internal edges if this person is walking and the pedestrian model allows it ...
std::vector< const MSEdge * > ConstMSEdgeVector
std::vector< const MSEdge * > ConstMSEdgeVector
bool operator()(SUMOReal t) const
comparison operator
The simulated network and simulation perfomer.
The car-following model and parameter.
PedestrianState * getPedestrianState() const
The pedestrian following model.
virtual void beginEventOutput(const MSTransportable &p, SUMOTime t, OutputDevice &os) const
Called for writing the events output.
virtual void proceed(MSNet *net, MSTransportable *person, SUMOTime now, Stage *previous)
proceeds to the next step
ConstMSEdgeVector myRoute
The route of the person.
A road/street connecting two junctions.
std::vector< MSTransportable::Stage * > MSTransportablePlan
the structure holding the plan of a transportable
SUMOReal getMaxSpeed() const
accessors to be used by MSPModel
SUMOReal computeAverageSpeed() const
bool moveToNextEdge(MSPerson *person, SUMOTime currentTime, MSEdge *nextInternal=0)
move forward and return whether the person arrived
Representation of a vehicle.
virtual void routeOutput(OutputDevice &os) const
Called on writing vehroute output.
MSPersonStage_Walking & operator=(const MSPersonStage_Walking &)
Invalidated assignment operator.
A point in 2D or 3D with translation and scaling methods.
SUMOReal getAngle(SUMOTime now) const
returns the angle of the transportable
virtual void tripInfoOutput(OutputDevice &os) const
Called on writing tripinfo output.
SUMOReal myArrivalPos
the position at which we want to arrive
ConstMSEdgeVector::iterator myRouteStep
const ConstMSEdgeVector & getRoute() const
abstract base class for managing callbacks to retrieve various state information from the model ...
SUMOReal getSpeed() const
the speed of the transportable
Structure representing possible vehicle parameter.
SUMOTime getWaitingTime(SUMOTime now) const
the time this transportable spent waiting
SUMOTime myTime
the searched arrival time
SUMOReal getArrivalPos() const
SUMOTime myWalkingTime
the time the person is walking
~MSPersonStage_Walking()
destructor
std::string getStageDescription() const
return string representation of the current stage
PedestrianState * myPedestrianState
state that is to be manipulated by MSPModel
const MSEdge * getNextEdgePtr() const
returns the next edge ptr if this person is walking and the pedestrian model allows it ...
MSPerson(const SUMOVehicleParameter *pars, const MSVehicleType *vtype, MSTransportable::MSTransportablePlan *plan)
constructor
Static storage of an output device and its base (abstract) implementation.
const MSEdge * getRouteEdge() const
const MSEdge * getNextRouteEdge() const
MSPersonStage_Walking(const ConstMSEdgeVector &route, MSStoppingPlace *toStop, SUMOTime walkingTime, SUMOReal speed, SUMOReal departPos, SUMOReal arrivalPos)
constructor
Representation of a lane in the micro simulation.
const MSEdge * getFromEdge() const