|
SUMO - Simulation of Urban MObility
|
abstract base class for managing callbacks to retrieve various state information from the model More...
#include <MSPModel.h>


Public Member Functions | |
| virtual SUMOReal | getAngle (const MSPerson::MSPersonStage_Walking &stage, SUMOTime now) const =0 |
| return the direction in which the person faces in degrees More... | |
| virtual SUMOReal | getEdgePos (const MSPerson::MSPersonStage_Walking &stage, SUMOTime now) const =0 |
| return the offset from the start of the current edge measured in its natural direction More... | |
| virtual const MSEdge * | getNextEdge (const MSPerson::MSPersonStage_Walking &stage) const =0 |
| return the list of internal edges if the pedestrian is on an intersection More... | |
| virtual Position | getPosition (const MSPerson::MSPersonStage_Walking &stage, SUMOTime now) const =0 |
| return the network coordinate of the person More... | |
| virtual SUMOReal | getSpeed (const MSPerson::MSPersonStage_Walking &stage) const =0 |
| return the current speed of the person More... | |
| virtual SUMOTime | getWaitingTime (const MSPerson::MSPersonStage_Walking &stage, SUMOTime now) const =0 |
| return the time the person spent standing More... | |
| virtual | ~PedestrianState () |
abstract base class for managing callbacks to retrieve various state information from the model
Definition at line 96 of file MSPModel.h.
|
inlinevirtual |
Definition at line 98 of file MSPModel.h.
|
pure virtual |
return the direction in which the person faces in degrees
Implemented in MSPModel_Striping::PState, and MSPModel_NonInteracting::PState.
|
pure virtual |
return the offset from the start of the current edge measured in its natural direction
Implemented in MSPModel_Striping::PState, and MSPModel_NonInteracting::PState.
|
pure virtual |
return the list of internal edges if the pedestrian is on an intersection
Implemented in MSPModel_Striping::PState, and MSPModel_NonInteracting::PState.
Referenced by MSPerson::getNextEdge().
|
pure virtual |
return the network coordinate of the person
Implemented in MSPModel_Striping::PState, and MSPModel_NonInteracting::PState.
|
pure virtual |
return the current speed of the person
Implemented in MSPModel_Striping::PState, and MSPModel_NonInteracting::PState.
|
pure virtual |
return the time the person spent standing
Implemented in MSPModel_Striping::PState, and MSPModel_NonInteracting::PState.