![]() |
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 double | getAngle (const MSPerson::MSPersonStage_Walking &stage, SUMOTime now) const =0 |
return the direction in which the person faces in degrees More... | |
virtual double | 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 double | 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 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... | |
virtual | ~PedestrianState () |
abstract base class for managing callbacks to retrieve various state information from the model
Definition at line 128 of file MSPModel.h.
|
inlinevirtual |
Definition at line 130 of file MSPModel.h.
|
pure virtual |
return the direction in which the person faces in degrees
Implemented in MSPModel_Striping::PState, DummyState, MSPModel_NonInteracting::PState, and MSPModel_Remote::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, DummyState, MSPModel_NonInteracting::PState, and MSPModel_Remote::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, DummyState, MSPModel_NonInteracting::PState, and MSPModel_Remote::PState.
Referenced by MSPerson::getNextEdgePtr().
|
pure virtual |
return the network coordinate of the person
Implemented in MSPModel_Striping::PState, DummyState, MSPModel_NonInteracting::PState, and MSPModel_Remote::PState.
Referenced by MSPerson::MSPersonStage_Walking::getPosition().
|
pure virtual |
return the current speed of the person
Implemented in MSPModel_Striping::PState, DummyState, MSPModel_NonInteracting::PState, and MSPModel_Remote::PState.
Referenced by MSPerson::MSPersonStage_Walking::getSpeed().
|
pure virtual |
return the time the person spent standing
Implemented in MSPModel_Striping::PState, DummyState, MSPModel_NonInteracting::PState, and MSPModel_Remote::PState.
Referenced by MSPerson::MSPersonStage_Walking::getWaitingTime().
|
inlinevirtual |
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().