Eclipse SUMO - Simulation of Urban MObility
MSPModel_Striping::PStateVehicle Class Reference

#include <MSPModel_Striping.h>

Inheritance diagram for MSPModel_Striping::PStateVehicle:
[legend]
Collaboration diagram for MSPModel_Striping::PStateVehicle:
[legend]

Public Member Functions

double distanceTo (const Obstacle &obs, const bool includeMinGap=true) const
 
double distToLaneEnd () const
 the absolute distance to the end of the lane in walking direction (or to the arrivalPos) More...
 
double getAngle (const MSStageMoving &stage, SUMOTime now) const
 return the current orientation in degrees More...
 
const std::string & getID () const
 return ID of the person (or sometimes vehicle) being represented More...
 
double getImpatience (SUMOTime now) const
 returns the impatience More...
 
double getLatOffset () const
 return the lateral offset to the lane center More...
 
double getLength () const
 return the length of the pedestrian More...
 
double getMaxX (const bool includeMinGap=true) const
 return the maximum position on the lane More...
 
double getMinGap () const
 return the minimum gap of the pedestrian More...
 
double getMinX (const bool includeMinGap=true) const
 return the minimum position on the lane More...
 
const MSLanegetNextCrossing () const
 placeholder function for the accessing the next crossing More...
 
const MSEdgegetNextEdge (const MSStageMoving &stage) const
 return the list of internal edges if the transportable is on an intersection More...
 
ObstacleType getOType () const
 
double getPathLength () const
 return the total length of the current lane (in particular for on a walkingarea) More...
 
MSPersongetPerson () const
 return the represented person More...
 
Position getPosition (const MSStageMoving &stage, SUMOTime now) const
 return the network coordinate of the transportable More...
 
double getPosLat () const
 
const PositiongetRemotePosition () const
 return the remote position if being controlled by TraCI or JuPedSim More...
 
MSStageMovinggetStage () const
 return the current stage More...
 
const MSVehiclegetVehicle () const
 
double getWidth () const
 return the person width More...
 
bool ignoreRed (const MSLink *link) const
 whether the pedestrian may ignore a red light More...
 
virtual bool isFinished () const
 whether the transportable has finished walking More...
 
bool isRemoteControlled () const
 whether the person is currently being controlled via TraCI More...
 
bool isWaitingToEnter () const
 whether the person still waits to entere the network More...
 
void mergeObstacles (Obstacles &into, const Obstacles &obs2)
 replace obstacles in the first vector with obstacles from the second if they are closer to me More...
 
void moveTo (MSPerson *p, MSLane *lane, double lanePos, double lanePosLat, SUMOTime t)
 try to move transportable to the given position More...
 
bool moveToNextLane (SUMOTime currentTime)
 return whether this pedestrian has passed the end of the current lane and update myRelX if so More...
 
void moveToXY (MSPerson *p, Position pos, MSLane *lane, double lanePos, double lanePosLat, double angle, int routeOffset, const ConstMSEdgeVector &edges, SUMOTime t)
 try to move transportable to the given position More...
 
int otherStripe () const
 
int otherStripe (const double relY) const
 
 PStateVehicle (const MSVehicle *veh, const MSLane *walkingarea, double relX, double relY, double xWidth, double yWidth)
 
void reset (const double edgePos, const double latPos)
 
void reverse (const double pathLength, const double usableWidth)
 
void saveState (std::ostringstream &out)
 Saves the current state into the given stream. More...
 
int stripe () const
 
void walk (const Obstacles &obs, SUMOTime currentTime)
 perform position update More...
 
double getEdgePos (SUMOTime) const
 abstract methods inherited from MSTransportableStateAdapter More...
 
int getDirection () const
 return the walking direction (FORWARD, BACKWARD, UNDEFINED_DIRECTION) More...
 
SUMOTime getWaitingTime () const
 return the time the transportable spent standing More...
 
double getSpeed (const MSStageMoving &) const
 return the current speed of the transportable More...
 
bool isJammed () const
 whether the transportable is jammed More...
 
const MSLanegetLane () const
 the current lane of the transportable More...
 

Static Public Member Functions

static void mergeObstacles (Obstacles &into, const Obstacles &obs2, int dir, int offset)
 replace obstacles in the first vector with obstacles from the second if they are closer in the given direction More...
 
static int stripe (const double relY)
 

Data Fields

NextLaneInfo myNLI
 information about the upcoming lane More...
 
const WalkingAreaPathmyWalkingAreaPath
 the current walkingAreaPath or 0 More...
 

Protected Attributes

bool myAmJammed = false
 whether the person is jammed More...
 
double myAngle = std::numeric_limits<double>::max()
 cached angle More...
 
int myDir = MSPModel::UNDEFINED_DIRECTION
 the walking direction on the current lane (1 forward, -1 backward) More...
 
double myEdgePos = 0.
 the advancement along the current lane More...
 
const MSLanemyLane = nullptr
 the current lane of this pedestrian More...
 
MSPersonmyPerson = nullptr
 the person who is being represented More...
 
double myPosLat = 0.
 the orthogonal shift on the current lane More...
 
Position myRemoteXYPos = Position::INVALID
 remote-controlled position More...
 
double mySpeed = 0.
 the current walking speed More...
 
double mySpeedLat = 0.
 the current lateral walking speed More...
 
MSStageMovingmyStage = nullptr
 the current stage of this pedestrian More...
 
SUMOTime myWaitingTime = 0
 the consecutive time spent at speed 0 More...
 
bool myWaitingToEnter = false
 whether the pedestrian is waiting to start its walk More...
 

Private Attributes

const MSVehiclemyVehicle
 
const double myXWidth
 
const double myYWidth
 

Detailed Description

Definition at line 359 of file MSPModel_Striping.h.

Constructor & Destructor Documentation

◆ PStateVehicle()

MSPModel_Striping::PStateVehicle::PStateVehicle ( const MSVehicle veh,
const MSLane walkingarea,
double  relX,
double  relY,
double  xWidth,
double  yWidth 
)

Member Function Documentation

◆ distanceTo()

double MSPModel_Striping::PState::distanceTo ( const Obstacle obs,
const bool  includeMinGap = true 
) const
inherited

◆ distToLaneEnd()

double MSPModel_Striping::PState::distToLaneEnd ( ) const
inherited

the absolute distance to the end of the lane in walking direction (or to the arrivalPos)

Definition at line 1738 of file MSPModel_Striping.cpp.

References DELTA_T, and MSPModel::FORWARD.

Referenced by MSPModel_Striping::arriveAndAdvance(), and MSPModel_Striping::moveInDirectionOnLane().

Here is the caller graph for this function:

◆ getAngle()

double MSPModel_Striping::PState::getAngle ( const MSStageMoving ,
SUMOTime   
) const
virtualinherited

return the current orientation in degrees

Reimplemented from MSPModel_InteractingState.

Definition at line 2190 of file MSPModel_Striping.cpp.

References MSPModel::BACKWARD, INVALID_DOUBLE, M_PI, MAX2(), and PositionVector::rotationAtOffset().

◆ getDirection()

int MSPModel_InteractingState::getDirection ( ) const
inlinevirtualinherited

return the walking direction (FORWARD, BACKWARD, UNDEFINED_DIRECTION)

Implements MSTransportableStateAdapter.

Definition at line 148 of file MSPModel_Interacting.h.

References MSPModel_InteractingState::myDir.

Referenced by MSPModel_Striping::arriveAndAdvance(), MSPModel_Striping::MovePedestrians::execute(), MSPModel_Striping::getNeighboringObstacles(), MSPModel_Striping::getNextLane(), MSPModel_Striping::moveInDirection(), and MSPModel_Striping::moveInDirectionOnLane().

Here is the caller graph for this function:

◆ getEdgePos()

double MSPModel_InteractingState::getEdgePos ( SUMOTime  ) const
inlinevirtualinherited

abstract methods inherited from MSTransportableStateAdapter

return the offset from the start of the current edge measured in its natural direction

Implements MSTransportableStateAdapter.

Definition at line 143 of file MSPModel_Interacting.h.

References MSPModel_InteractingState::myEdgePos.

Referenced by MSPModel_Striping::moveInDirection(), MSPModel_Striping::moveInDirectionOnLane(), and MSPModel_Striping::by_xpos_sorter::operator()().

Here is the caller graph for this function:

◆ getID()

const std::string & MSPModel_Striping::PStateVehicle::getID ( ) const
virtual

return ID of the person (or sometimes vehicle) being represented

Reimplemented from MSPModel_InteractingState.

Definition at line 2534 of file MSPModel_Striping.cpp.

◆ getImpatience()

double MSPModel_Striping::PState::getImpatience ( SUMOTime  now) const
inherited

returns the impatience

Definition at line 2149 of file MSPModel_Striping.cpp.

References MAX2(), MSPModel_Striping::MAX_WAIT_TOLERANCE, MIN2(), and STEPS2TIME.

Referenced by MSPModel_Striping::moveInDirectionOnLane().

Here is the caller graph for this function:

◆ getLane()

const MSLane* MSPModel_InteractingState::getLane ( ) const
inlinevirtualinherited

the current lane of the transportable

Reimplemented from MSTransportableStateAdapter.

Definition at line 168 of file MSPModel_Interacting.h.

References MSPModel_InteractingState::myLane.

Referenced by MSPModel_Striping::arriveAndAdvance(), MSPModel_JuPedSim::execute(), MSPModel_Striping::loadState(), MSPModel_Striping::moveInDirectionOnLane(), MSPModel_Striping::registerCrossingApproach(), and MSPModel_JuPedSim::remove().

Here is the caller graph for this function:

◆ getLatOffset()

double MSPModel_Striping::PState::getLatOffset ( ) const
inlinevirtualinherited

return the lateral offset to the lane center

Reimplemented from MSPModel_InteractingState.

Definition at line 339 of file MSPModel_Striping.h.

References MSLane::getWidth(), MSPModel_InteractingState::myLane, MSPModel_InteractingState::myPosLat, and MSPModel_Striping::posLatConversion().

◆ getLength()

double MSPModel_Striping::PState::getLength ( ) const
inherited

return the length of the pedestrian

Definition at line 1689 of file MSPModel_Striping.cpp.

Referenced by MSPModel_Striping::moveInDirectionOnLane().

Here is the caller graph for this function:

◆ getMaxX()

double MSPModel_Striping::PStateVehicle::getMaxX ( const bool  includeMinGap = true) const
virtual

return the maximum position on the lane

Reimplemented from MSPModel_Striping::PState.

Definition at line 2549 of file MSPModel_Striping.cpp.

◆ getMinGap()

double MSPModel_Striping::PState::getMinGap ( ) const
inherited

return the minimum gap of the pedestrian

Definition at line 1695 of file MSPModel_Striping.cpp.

Referenced by MSPModel_Striping::moveInDirectionOnLane().

Here is the caller graph for this function:

◆ getMinX()

double MSPModel_Striping::PStateVehicle::getMinX ( const bool  includeMinGap = true) const
virtual

return the minimum position on the lane

Reimplemented from MSPModel_Striping::PState.

Definition at line 2544 of file MSPModel_Striping.cpp.

◆ getNextCrossing()

const MSLane * MSPModel_Striping::PState::getNextCrossing ( ) const
virtualinherited

placeholder function for the accessing the next crossing

Reimplemented from MSPModel_InteractingState.

Definition at line 2224 of file MSPModel_Striping.cpp.

References MSLane::isCrossing().

◆ getNextEdge()

const MSEdge * MSPModel_Striping::PState::getNextEdge ( const MSStageMoving stage) const
virtualinherited

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

Implements MSTransportableStateAdapter.

Definition at line 2218 of file MSPModel_Striping.cpp.

◆ getOType()

ObstacleType MSPModel_Striping::PStateVehicle::getOType ( ) const
inlinevirtual

Reimplemented from MSPModel_Striping::PState.

Definition at line 367 of file MSPModel_Striping.h.

References MSPModel_Striping::OBSTACLE_VEHICLE.

◆ getPathLength()

double MSPModel_Striping::PState::getPathLength ( ) const
virtualinherited

return the total length of the current lane (in particular for on a walkingarea)

Reimplemented from MSTransportableStateAdapter.

Definition at line 2422 of file MSPModel_Striping.cpp.

◆ getPerson()

◆ getPosition()

Position MSPModel_Striping::PState::getPosition ( const MSStageMoving stage,
SUMOTime  now 
) const
virtualinherited

return the network coordinate of the transportable

Implements MSTransportableStateAdapter.

Definition at line 2156 of file MSPModel_Striping.cpp.

References DEG2RAD, MSPModel::FORWARD, MSStage::getLanePosition(), Position::INVALID, and INVALID_DOUBLE.

Referenced by MSPModel_Striping::getNextLaneObstacles(), and MSPModel_Striping::moveInDirection().

Here is the caller graph for this function:

◆ getPosLat()

double MSPModel_Striping::PState::getPosLat ( ) const
inlineinherited

Definition at line 343 of file MSPModel_Striping.h.

References MSPModel_InteractingState::myPosLat.

Referenced by MSPModel_Striping::getNextLaneObstacles(), MSPModel_Striping::getVehicleObstacles(), and MSPModel_Striping::moveInDirection().

Here is the caller graph for this function:

◆ getRemotePosition()

const Position& MSPModel_InteractingState::getRemotePosition ( ) const
inlineinherited

return the remote position if being controlled by TraCI or JuPedSim

Definition at line 199 of file MSPModel_Interacting.h.

References MSPModel_InteractingState::myRemoteXYPos.

Referenced by MSPModel_Striping::moveInDirectionOnLane().

Here is the caller graph for this function:

◆ getSpeed()

double MSPModel_InteractingState::getSpeed ( const MSStageMoving ) const
inlinevirtualinherited

return the current speed of the transportable

Implements MSTransportableStateAdapter.

Definition at line 158 of file MSPModel_Interacting.h.

References MSPModel_InteractingState::mySpeed.

Referenced by MSPModel_Striping::moveInDirectionOnLane().

Here is the caller graph for this function:

◆ getStage()

MSStageMoving* MSPModel_InteractingState::getStage ( ) const
inlineinherited

◆ getVehicle()

const MSVehicle* MSPModel_Striping::PStateVehicle::getVehicle ( ) const
inline

Definition at line 371 of file MSPModel_Striping.h.

References myVehicle.

◆ getWaitingTime()

SUMOTime MSPModel_InteractingState::getWaitingTime ( ) const
inlinevirtualinherited

return the time the transportable spent standing

Implements MSTransportableStateAdapter.

Definition at line 153 of file MSPModel_Interacting.h.

References MSPModel_InteractingState::myWaitingTime.

◆ getWidth()

double MSPModel_Striping::PStateVehicle::getWidth ( ) const
virtual

return the person width

Reimplemented from MSPModel_Striping::PState.

Definition at line 2539 of file MSPModel_Striping.cpp.

◆ ignoreRed()

bool MSPModel_Striping::PState::ignoreRed ( const MSLink link) const
inherited

whether the pedestrian may ignore a red light

Definition at line 2492 of file MSPModel_Striping.cpp.

References DEBUGCOND, MSNet::getInstance(), MSLink::getLastStateChange(), MSLink::haveRed(), SIMTIME, STEPS2TIME, and SUMO_ATTR_JM_DRIVE_AFTER_RED_TIME.

Referenced by MSPModel_Striping::moveInDirectionOnLane().

Here is the caller graph for this function:

◆ isFinished()

virtual bool MSTransportableStateAdapter::isFinished ( ) const
inlinevirtualinherited

whether the transportable has finished walking

Reimplemented in MSPModel_JuPedSim::PState.

Definition at line 211 of file MSPModel.h.

Referenced by MSStageMoving::~MSStageMoving().

Here is the caller graph for this function:

◆ isJammed()

bool MSPModel_InteractingState::isJammed ( ) const
inlinevirtualinherited

whether the transportable is jammed

Reimplemented from MSTransportableStateAdapter.

Definition at line 163 of file MSPModel_Interacting.h.

References MSPModel_InteractingState::myAmJammed.

Referenced by MSPModel_Striping::getNeighboringObstacles(), MSPModel_Striping::getNextLaneObstacles(), and MSPModel_Striping::moveInDirectionOnLane().

Here is the caller graph for this function:

◆ isRemoteControlled()

bool MSPModel_Striping::PState::isRemoteControlled ( ) const
inherited

whether the person is currently being controlled via TraCI

Definition at line 2516 of file MSPModel_Striping.cpp.

Referenced by MSPModel_Striping::arriveAndAdvance().

Here is the caller graph for this function:

◆ isWaitingToEnter()

bool MSPModel_InteractingState::isWaitingToEnter ( ) const
inlineinherited

whether the person still waits to entere the network

Definition at line 194 of file MSPModel_Interacting.h.

References MSPModel_InteractingState::myWaitingToEnter.

Referenced by MSPModel_JuPedSim::add(), MSPModel_JuPedSim::execute(), MSPModel_Striping::getNeighboringObstacles(), MSPModel_Striping::getNextLaneObstacles(), MSPModel_Striping::moveInDirectionOnLane(), and MSPModel_Striping::Obstacle::Obstacle().

Here is the caller graph for this function:

◆ mergeObstacles() [1/2]

void MSPModel_Striping::PState::mergeObstacles ( Obstacles into,
const Obstacles obs2 
)
inherited

replace obstacles in the first vector with obstacles from the second if they are closer to me

Definition at line 2451 of file MSPModel_Striping.cpp.

References gDebugFlag1, MSPModel_Striping::OBSTACLE_PED, and MSPModel_Striping::OBSTACLE_VEHICLE.

Referenced by MSPModel_Striping::getNextLaneObstacles(), and MSPModel_Striping::moveInDirectionOnLane().

Here is the caller graph for this function:

◆ mergeObstacles() [2/2]

void MSPModel_Striping::PState::mergeObstacles ( Obstacles into,
const Obstacles obs2,
int  dir,
int  offset 
)
staticinherited

replace obstacles in the first vector with obstacles from the second if they are closer in the given direction

Definition at line 2473 of file MSPModel_Striping.cpp.

References MSPModel::FORWARD.

◆ moveTo()

◆ moveToNextLane()

bool MSPModel_Striping::PState::moveToNextLane ( SUMOTime  currentTime)
inherited

return whether this pedestrian has passed the end of the current lane and update myRelX if so

Definition at line 1752 of file MSPModel_Striping.cpp.

References MSPModel::BACKWARD, DEBUGCOND, MSPModel::FORWARD, MSEdge::getFromJunction(), Named::getID(), Named::getIDSecure(), MSPModel_Striping::getNextLane(), OptionsCont::getOptions(), MSPModel_Striping::getStripeOffset(), MSEdge::getToJunction(), MSPModel_Striping::getWalkingAreaPath(), NORMAL, MSPModel_Striping::numStripes(), SIMTIME, MSPModel_Striping::stripeWidth, TLF, MSPModel::UNDEFINED_DIRECTION, and UNUSED_PARAMETER.

Referenced by MSPModel_Striping::arriveAndAdvance().

Here is the caller graph for this function:

◆ moveToXY()

◆ otherStripe() [1/2]

int MSPModel_Striping::PState::otherStripe ( ) const
inherited

Definition at line 1732 of file MSPModel_Striping.cpp.

References MAX2(), MIN2(), and MSPModel_Striping::numStripes().

Referenced by MSPModel_Striping::getNeighboringObstacles(), MSPModel_Striping::getNextLaneObstacles(), and MSPModel_Striping::moveInDirectionOnLane().

Here is the caller graph for this function:

◆ otherStripe() [2/2]

int MSPModel_Striping::PState::otherStripe ( const double  relY) const
inherited

◆ reset()

void MSPModel_Striping::PState::reset ( const double  edgePos,
const double  latPos 
)
inherited

Definition at line 2239 of file MSPModel_Striping.cpp.

References MSPModel::UNDEFINED_DIRECTION.

Referenced by MSPModel_Striping::moveInDirection().

Here is the caller graph for this function:

◆ reverse()

void MSPModel_Striping::PState::reverse ( const double  pathLength,
const double  usableWidth 
)
inherited

Definition at line 2230 of file MSPModel_Striping.cpp.

Referenced by MSPModel_Striping::moveInDirection().

Here is the caller graph for this function:

◆ saveState()

void MSPModel_Striping::PState::saveState ( std::ostringstream &  out)
virtualinherited

Saves the current state into the given stream.

Reimplemented from MSTransportableStateAdapter.

Definition at line 1634 of file MSPModel_Striping.cpp.

◆ stripe() [1/2]

int MSPModel_Striping::PState::stripe ( ) const
inherited

Definition at line 1726 of file MSPModel_Striping.cpp.

References MAX2(), MIN2(), and MSPModel_Striping::numStripes().

Referenced by MSPModel_Striping::addCrossingVehs(), MSPModel_Striping::getNeighboringObstacles(), MSPModel_Striping::getNextLaneObstacles(), MSPModel_Striping::getVehicleObstacles(), and MSPModel_Striping::moveInDirectionOnLane().

Here is the caller graph for this function:

◆ stripe() [2/2]

int MSPModel_Striping::PState::stripe ( const double  relY)
staticinherited

Definition at line 1701 of file MSPModel_Striping.cpp.

References MSPModel_Striping::stripeWidth.

◆ walk()

void MSPModel_Striping::PState::walk ( const Obstacles obs,
SUMOTime  currentTime 
)
inherited

perform position update

Definition at line 1891 of file MSPModel_Striping.cpp.

References MSPModel::BACKWARD, MSPModel_Striping::dawdling, DEBUGCOND, DELTA_T, MSPModel_Striping::Obstacle::description, DIST2SPEED, MSPModel_Striping::DIST_OVERLAP, MSPModel::FORWARD, Named::getIDSecure(), MSNet::getInstance(), MSNet::getPersonControl(), MSPModel_Striping::getReserved(), MSPModel_Striping::INAPPROPRIATE_PENALTY, MSPModel_Striping::jamTime, MSPModel_Striping::jamTimeCrossing, MSPModel_Striping::jamTimeNarrow, MSPModel_Striping::LATERAL_PENALTY, MSPModel_Striping::LATERAL_SPEED_FACTOR, MSPModel_Striping::LOOKAHEAD_ONCOMING, MSPModel_Striping::LOOKAHEAD_SAMEDIR, MAX2(), MIN2(), MIN3(), MSPModel_Striping::MIN_STARTUP_DIST, MSPModel_Striping::myWalkingAreaFoes, MSPModel_Striping::numStripes(), MSPModel_Striping::OBSTACLE_END, MSPModel_Striping::OBSTACLE_PED, MSPModel_Striping::OBSTACLE_VEHICLE, MSPModel_Striping::OBSTRUCTED_PENALTY, MSPModel_Striping::OBSTRUCTION_THRESHOLD, MSPModel_Striping::ONCOMING_CONFLICT_PENALTY, RandHelper::rand(), MSTransportableControl::registerJammed(), MSPModel_Striping::RESERVE_FOR_ONCOMING_FACTOR, MSPModel_Striping::RESERVE_FOR_ONCOMING_FACTOR_JUNCTIONS, SIMSTEP, SIMTIME, MSPModel_Striping::Obstacle::speed, SPEED2DIST, STEPS2TIME, MSPModel_Striping::stripeWidth, SUMO_const_haltingSpeed, SVC_PEDESTRIAN, time2string(), TL, WRITE_WARNINGF, MSPModel_Striping::Obstacle::xBack, and MSPModel_Striping::Obstacle::xFwd.

Referenced by MSPModel_Striping::moveInDirectionOnLane().

Here is the caller graph for this function:

Field Documentation

◆ myAmJammed

bool MSPModel_InteractingState::myAmJammed = false
protectedinherited

whether the person is jammed

Definition at line 235 of file MSPModel_Interacting.h.

Referenced by MSPModel_InteractingState::isJammed(), and MSPModel_Striping::PState::PState().

◆ myAngle

double MSPModel_InteractingState::myAngle = std::numeric_limits<double>::max()
mutableprotectedinherited

cached angle

Definition at line 239 of file MSPModel_Interacting.h.

Referenced by MSPModel_InteractingState::getAngle(), and MSPModel_JuPedSim::PState::setAngle().

◆ myDir

int MSPModel_InteractingState::myDir = MSPModel::UNDEFINED_DIRECTION
protectedinherited

the walking direction on the current lane (1 forward, -1 backward)

Definition at line 225 of file MSPModel_Interacting.h.

Referenced by MSPModel_InteractingState::getDirection(), MSPModel_Striping::PState::PState(), and MSPModel_JuPedSim::PState::PState().

◆ myEdgePos

double MSPModel_InteractingState::myEdgePos = 0.
protectedinherited

◆ myLane

const MSLane* MSPModel_InteractingState::myLane = nullptr
protectedinherited

◆ myNLI

NextLaneInfo MSPModel_Striping::PState::myNLI
inherited

information about the upcoming lane

Definition at line 271 of file MSPModel_Striping.h.

Referenced by MSPModel_Striping::moveInDirectionOnLane(), and MSPModel_Striping::PState::PState().

◆ myPerson

MSPerson* MSPModel_InteractingState::myPerson = nullptr
protectedinherited

the person who is being represented

Definition at line 215 of file MSPModel_Interacting.h.

Referenced by MSPModel_InteractingState::getID(), MSPModel_InteractingState::getPerson(), and MSPModel_Striping::PState::PState().

◆ myPosLat

double MSPModel_InteractingState::myPosLat = 0.
protectedinherited

◆ myRemoteXYPos

Position MSPModel_InteractingState::myRemoteXYPos = Position::INVALID
protectedinherited

remote-controlled position

Definition at line 237 of file MSPModel_Interacting.h.

Referenced by MSPModel_JuPedSim::PState::getPosition(), and MSPModel_InteractingState::getRemotePosition().

◆ mySpeed

double MSPModel_InteractingState::mySpeed = 0.
protectedinherited

the current walking speed

Definition at line 227 of file MSPModel_Interacting.h.

Referenced by MSPModel_InteractingState::getSpeed(), and MSPModel_Striping::PState::PState().

◆ mySpeedLat

double MSPModel_InteractingState::mySpeedLat = 0.
protectedinherited

the current lateral walking speed

Definition at line 229 of file MSPModel_Interacting.h.

Referenced by MSPModel_Striping::PState::PState().

◆ myStage

MSStageMoving* MSPModel_InteractingState::myStage = nullptr
protectedinherited

the current stage of this pedestrian

Definition at line 217 of file MSPModel_Interacting.h.

Referenced by MSPModel_InteractingState::getStage(), MSPModel_Striping::PState::PState(), and MSPModel_JuPedSim::PState::setStage().

◆ myVehicle

const MSVehicle* MSPModel_Striping::PStateVehicle::myVehicle
private

Definition at line 375 of file MSPModel_Striping.h.

Referenced by getVehicle().

◆ myWaitingTime

SUMOTime MSPModel_InteractingState::myWaitingTime = 0
protectedinherited

the consecutive time spent at speed 0

Definition at line 233 of file MSPModel_Interacting.h.

Referenced by MSPModel_InteractingState::getWaitingTime(), and MSPModel_Striping::PState::PState().

◆ myWaitingToEnter

bool MSPModel_InteractingState::myWaitingToEnter = false
protectedinherited

whether the pedestrian is waiting to start its walk

Definition at line 231 of file MSPModel_Interacting.h.

Referenced by MSPModel_InteractingState::isWaitingToEnter(), MSPModel_Striping::PState::PState(), and MSPModel_JuPedSim::PState::setAgentId().

◆ myWalkingAreaPath

const WalkingAreaPath* MSPModel_Striping::PState::myWalkingAreaPath
inherited

◆ myXWidth

const double MSPModel_Striping::PStateVehicle::myXWidth
private

Definition at line 376 of file MSPModel_Striping.h.

◆ myYWidth

const double MSPModel_Striping::PStateVehicle::myYWidth
private

Definition at line 377 of file MSPModel_Striping.h.


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