80 double speed,
double departPos,
double arrivalPos,
double departPosLat);
158 inline const std::vector<const MSEdge*>::iterator
getRouteStep()
const {
240 const double arrivalPos,
const std::vector<std::string>& lines);
329 return myLastRemoteAccess;
332 void postProcessRemoteControl(
MSPerson* p);
334 bool isRemoteControlled()
const;
336 bool isRemoteAffected(
SUMOTime t)
const;
double getEdgePos(SUMOTime now) const
double getDepartPos() const
virtual ~MSPerson()
destructor
const MSEdge * getNextRouteEdge() const
void setRemoteState(Position xyPos)
sets position outside the road network
A lane area vehicles can halt at.
double getMaxSpeed(const MSPerson *person) const
accessors to be used by MSPModel
arrival_finder(SUMOTime time)
constructor
double getArrivalPos() const
MSEdge * myCurrentInternalEdge
The current internal edge this person is on or 0.
Position getPosition(SUMOTime now) const
returns the position of the transportable
const MSEdge * getNextEdgePtr() const
returns the next edge ptr if this person is walking and the pedestrian model allows it ...
virtual void routeOutput(OutputDevice &os) const
Called on writing vehroute output.
std::vector< const MSEdge * > ConstMSEdgeVector
SUMOTime myLastRemoteAccess
virtual void beginEventOutput(const MSTransportable &p, SUMOTime t, OutputDevice &os) const
Called for writing the events output.
std::vector< const MSEdge * > ConstMSEdgeVector
bool hasInfluencer() const
void reroute(ConstMSEdgeVector &newEdges)
set new walk
The simulated network and simulation perfomer.
The car-following model and parameter.
double getAngle(SUMOTime now) const
returns the angle of the transportable
ConstMSEdgeVector getEdges() const
the edges of the current stage
const MSEdge * getEdge() const
Returns the current edge.
The pedestrian following model.
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
bool operator()(double t) const
comparison operator
void abort(MSTransportable *)
abort this stage (TraCI)
bool moveToNextEdge(MSPerson *person, SUMOTime currentTime, MSEdge *nextInternal=0)
move forward and return whether the person arrived
Influencer & getInfluencer()
Returns the velocity/lane influencer.
PedestrianState * getPedestrianState() const
Representation of a vehicle.
MSPersonStage_Walking & operator=(const MSPersonStage_Walking &)
Invalidated assignment operator.
A point in 2D or 3D with translation and scaling methods.
const ConstMSEdgeVector & getRoute() const
ConstMSEdgeVector::iterator myRouteStep
const MSEdge * getRouteEdge() const
void setSpeed(double speed)
sets the walking speed (ignored in other stages)
SUMOTime getWaitingTime(SUMOTime now) const
the time this transportable spent waiting
MSPerson(const SUMOVehicleParameter *pars, MSVehicleType *vtype, MSTransportable::MSTransportablePlan *plan, const double speedFactor)
constructor
std::string getStageDescription() const
return string representation of the current stage
virtual void tripInfoOutput(OutputDevice &os, MSTransportable *transportable) const
Called on writing tripinfo output.
abstract base class for managing callbacks to retrieve various state information from the model ...
SUMOTime getLastAccessTimeStep() const
double computeAverageSpeed() const
virtual void endEventOutput(const MSTransportable &p, SUMOTime t, OutputDevice &os) const
Called for writing the events output (end of an action)
Changes the wished person speed and position.
Structure representing possible vehicle parameter.
ConstMSEdgeVector myRemoteRoute
SUMOTime myTime
the searched arrival time
const double myChosenSpeedFactor
double getSpeed() const
the speed of the transportable
SUMOTime myWalkingTime
the time the person is walking
double getSpeedFactor() const
the current speed factor of the transportable (where applicable)
~MSPersonStage_Walking()
destructor
const std::string & getNextEdge() const
return the list of internal edges if this person is walking and the pedestrian model allows it ...
MSPersonStage_Walking(const std::string &personID, const ConstMSEdgeVector &route, MSStoppingPlace *toStop, SUMOTime walkingTime, double speed, double departPos, double arrivalPos, double departPosLat)
constructor
const std::vector< const MSEdge * >::iterator getRouteStep() const
PedestrianState * myPedestrianState
state that is to be manipulated by MSPModel
virtual bool isSelected() const
whether this person is selected in the GUI
const MSEdge * getFromEdge() const
Static storage of an output device and its base (abstract) implementation.
double getDepartPosLat() const
Influencer * myInfluencer
An instance of a speed/position influencing instance; built in "getInfluencer".
Representation of a lane in the micro simulation.
double walkDistance() const
compute total walking distance
double myArrivalPos
the position at which we want to arrive