![]() |
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 93 of file MSPModel.h.
|
inlinevirtual |
Definition at line 95 of file MSPModel.h.
References SUMOReal.
|
pure virtual |
return the direction in which the person faces in degrees
Implemented in MSPModel_Striping::PState, and MSPModel_NonInteracting::PState.
Referenced by MSPerson::MSPersonStage_Walking::getAngle().
|
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.
Referenced by MSPerson::MSPersonStage_Walking::getEdgePos().
|
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::getNextEdgePtr().
|
pure virtual |
return the network coordinate of the person
Implemented in MSPModel_Striping::PState, and MSPModel_NonInteracting::PState.
Referenced by MSPerson::MSPersonStage_Walking::getPosition().
|
pure virtual |
return the current speed of the person
Implemented in MSPModel_Striping::PState, and MSPModel_NonInteracting::PState.
Referenced by MSPerson::MSPersonStage_Walking::getSpeed().
|
pure virtual |
return the time the person spent standing
Implemented in MSPModel_Striping::PState, and MSPModel_NonInteracting::PState.
Referenced by MSPerson::MSPersonStage_Walking::getWaitingTime().