virtual void cleanupHelper()
static const SUMOReal SAFETY_GAP
virtual ~PedestrianState()
The base class for an intersection.
std::vector< const MSEdge * > ConstMSEdgeVector
virtual bool blockedAtDist(const MSLane *lane, SUMOReal distToCrossing, std::vector< const MSPerson *> *collectBlockers)=0
whether a pedestrian is blocking the crossing of lane at offset distToCrossing
static MSPModel * myModel
The simulated network and simulation perfomer.
virtual PedestrianState * add(MSPerson *person, MSPerson::MSPersonStage_Walking *stage, SUMOTime now)=0
register the given person as a pedestrian
The pedestrian following model.
A road/street connecting two junctions.
static const int UNDEFINED_DIRECTION
static MSPModel * getModel()
A point in 2D or 3D with translation and scaling methods.
abstract base class for managing callbacks to retrieve various state information from the model ...
static const SUMOReal SIDEWALK_OFFSET
the offset for computing person positions when walking on edges without a sidewalk ...
static void cleanup()
remove state at simulation end
static const int BACKWARD
Representation of a lane in the micro simulation.
static bool canTraverse(int dir, const ConstMSEdgeVector &route)
return whether the route may traversed with the given starting direction