![]() |
SUMO - Simulation of Urban MObility
|
#include <MSPModel.h>
Public Member Functions | |
double | getAngle (const MSPerson::MSPersonStage_Walking &, SUMOTime) const |
return the direction in which the person faces in degrees More... | |
double | getEdgePos (const MSPerson::MSPersonStage_Walking &, SUMOTime) const |
return the offset from the start of the current edge measured in its natural direction More... | |
const MSEdge * | getNextEdge (const MSPerson::MSPersonStage_Walking &) const |
return the list of internal edges if the pedestrian is on an intersection More... | |
Position | getPosition (const MSPerson::MSPersonStage_Walking &, SUMOTime) const |
return the network coordinate of the person More... | |
double | getSpeed (const MSPerson::MSPersonStage_Walking &) const |
return the current speed of the person More... | |
SUMOTime | getWaitingTime (const MSPerson::MSPersonStage_Walking &, SUMOTime) const |
return the time the person spent standing More... | |
virtual void | moveToXY (MSPerson *p, Position pos, MSLane *lane, double lanePos, double lanePosLat, double angle, int routeOffset, const ConstMSEdgeVector &edges, SUMOTime t) |
try to move person to the given position More... | |
Definition at line 169 of file MSPModel.h.
|
inlinevirtual |
return the direction in which the person faces in degrees
Implements PedestrianState.
Definition at line 178 of file MSPModel.h.
|
inlinevirtual |
return the offset from the start of the current edge measured in its natural direction
Implements PedestrianState.
Definition at line 172 of file MSPModel.h.
|
inlinevirtual |
return the list of internal edges if the pedestrian is on an intersection
Implements PedestrianState.
Definition at line 187 of file MSPModel.h.
|
inlinevirtual |
return the network coordinate of the person
Implements PedestrianState.
Definition at line 175 of file MSPModel.h.
References Position::INVALID.
|
inlinevirtual |
return the current speed of the person
Implements PedestrianState.
Definition at line 184 of file MSPModel.h.
|
inlinevirtual |
return the time the person spent standing
Implements PedestrianState.
Definition at line 181 of file MSPModel.h.
|
inlinevirtualinherited |
try to move person to the given position
Reimplemented in MSPModel_Striping::PState.
Definition at line 151 of file MSPModel.h.
References UNUSED_PARAMETER, and WRITE_WARNING.
Referenced by MSPerson::Influencer::postProcessRemoteControl().