SUMO - Simulation of Urban MObility
DummyState Class Reference

#include <MSPModel.h>

Inheritance diagram for DummyState:
Inheritance graph
Collaboration diagram for DummyState:
Collaboration graph

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 MSEdgegetNextEdge (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...
 

Detailed Description

Definition at line 169 of file MSPModel.h.

Member Function Documentation

◆ getAngle()

double DummyState::getAngle ( const MSPerson::MSPersonStage_Walking stage,
SUMOTime  now 
) const
inlinevirtual

return the direction in which the person faces in degrees

Implements PedestrianState.

Definition at line 178 of file MSPModel.h.

◆ getEdgePos()

double DummyState::getEdgePos ( const MSPerson::MSPersonStage_Walking stage,
SUMOTime  now 
) const
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.

◆ getNextEdge()

const MSEdge* DummyState::getNextEdge ( const MSPerson::MSPersonStage_Walking stage) const
inlinevirtual

return the list of internal edges if the pedestrian is on an intersection

Implements PedestrianState.

Definition at line 187 of file MSPModel.h.

◆ getPosition()

Position DummyState::getPosition ( const MSPerson::MSPersonStage_Walking stage,
SUMOTime  now 
) const
inlinevirtual

return the network coordinate of the person

Implements PedestrianState.

Definition at line 175 of file MSPModel.h.

References Position::INVALID.

◆ getSpeed()

double DummyState::getSpeed ( const MSPerson::MSPersonStage_Walking stage) const
inlinevirtual

return the current speed of the person

Implements PedestrianState.

Definition at line 184 of file MSPModel.h.

◆ getWaitingTime()

SUMOTime DummyState::getWaitingTime ( const MSPerson::MSPersonStage_Walking stage,
SUMOTime  now 
) const
inlinevirtual

return the time the person spent standing

Implements PedestrianState.

Definition at line 181 of file MSPModel.h.

◆ moveToXY()

virtual void PedestrianState::moveToXY ( MSPerson p,
Position  pos,
MSLane lane,
double  lanePos,
double  lanePosLat,
double  angle,
int  routeOffset,
const ConstMSEdgeVector edges,
SUMOTime  t 
)
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().


The documentation for this class was generated from the following file: