71 const double arrivalPos,
const double arrivalPosLat,
const double dist,
const bool isExit,
std::vector< const MSEdge * > ConstMSEdgeVector
std::vector< const MSEdge * > ConstMSEdgeVector
Base (microsim) event class.
A road/street connecting two junctions.
Representation of a lane in the micro simulation.
Something on a lane to be noticed about vehicle movement.
The simulated network and simulation perfomer.
The pedestrian (and also sometimes container) movement model.
Changes the wished person speed and position.
SUMOTime myLastRemoteAccess
void postProcessRemoteControl(MSPerson *p)
SUMOTime getLastAccessTimeStep() const
ConstMSEdgeVector myRemoteRoute
void setRemoteControlled(Position xyPos, MSLane *l, double pos, double posLat, double angle, int edgeOffset, const ConstMSEdgeVector &route, SUMOTime t)
bool isRemoteAffected(SUMOTime t) const
bool isRemoteControlled() const
SUMOTime execute(SUMOTime currentTime)
Executes the command.
MSTransportable *const myPerson
ProceedCmd(MSTransportable *person, MSEdge *edge)
ProceedCmd & operator=(const ProceedCmd &)
Invalidated assignment operator.
SUMOTime myEstimatedArrival
double getDistance() const
get travel distance in this stage
double getSpeed() const
the speed of the person in this stage
void tripInfoOutput(OutputDevice &os, const MSTransportable *const transportable) const
Called on writing tripinfo output.
const MSEdge * myOrigin
the origin edge
void routeOutput(const bool, OutputDevice &, const bool, const MSStage *const) const
Called on writing vehroute output. Currently does nothing.
virtual void proceed(MSNet *net, MSTransportable *person, SUMOTime now, MSStage *previous)
proceeds to the next step
std::string getStageDescription(const bool isPerson) const
returns the stage description as a string
std::string getStageSummary(const bool isPerson) const
return string summary of the current stage
~MSPersonStage_Access()
destructor
bool checkAccess(const MSStage *const prior, const bool waitAtStop=true)
Influencer * myInfluencer
An instance of a speed/position influencing instance; built in "getInfluencer".
const MSEdge * getNextEdgePtr() const
returns the next edge ptr if this person is walking and the pedestrian model allows it
void setChosenSpeedFactor(const double factor)
double getImpatience() const
double getChosenSpeedFactor() const
the current speed factor of the transportable (where applicable)
double myChosenSpeedFactor
virtual bool isSelected() const
whether this person is selected in the GUI
MSPerson(const MSPerson &)
Invalidated copy constructor.
void replaceWalk(const ConstMSEdgeVector &newEdges, double departPos, int firstIndex, int nextIndex)
set new walk and replace the stages with relative indices in the interval [firstIndex,...
bool isJammed() const
whether the person is jammed as defined by the current pedestrian model
MSPerson & operator=(const MSPerson &)
Invalidated assignment operator.
bool hasInfluencer() const
whether the vehicle is individually influenced (via TraCI or special parameters)
virtual ~MSPerson()
destructor
Influencer & getInfluencer()
Returns the velocity/lane influencer.
const std::string & getNextEdge() const
return the list of internal edges if this person is walking and the pedestrian model allows it
void setRemoteState(Position xyPos)
sets position outside the road network
A lane area vehicles can halt at.
virtual double getAngle() const
return the current angle of the transportable
bool isPerson() const
Whether it is a person.
virtual Position getPosition() const
Return the Network coordinate of the transportable.
std::vector< MSStage * > MSTransportablePlan
the structure holding the plan of a transportable
The car-following model and parameter.
Static storage of an output device and its base (abstract) implementation.
A point in 2D or 3D with translation and scaling methods.
Representation of a vehicle.
Structure representing possible vehicle parameter.