![]() |
Eclipse SUMO - Simulation of Urban MObility
|
#include <MSPerson.h>
Data Structures | |
class | arrival_finder |
Public Member Functions | |
void | abort (MSTransportable *) |
abort this stage (TraCI) More... | |
virtual void | beginEventOutput (const MSTransportable &p, SUMOTime t, OutputDevice &os) const |
Called for writing the events output. More... | |
Stage * | clone () const |
virtual void | endEventOutput (const MSTransportable &p, SUMOTime t, OutputDevice &os) const |
Called for writing the events output (end of an action) More... | |
double | getAngle (SUMOTime now) const |
returns the angle of the transportable More... | |
SUMOTime | getDeparted () const |
get departure time of stage More... | |
const MSEdge * | getDestination () const |
returns the destination edge More... | |
MSStoppingPlace * | getDestinationStop () const |
returns the destination stop (if any) More... | |
double | getDistance () const |
get travel distance in this stage More... | |
const MSEdge * | getEdge () const |
Returns the current edge. More... | |
double | getEdgeAngle (const MSEdge *e, double at) const |
get angle of the edge at a certain position More... | |
double | getEdgePos (SUMOTime now) const |
Position | getEdgePosition (const MSEdge *e, double at, double offset) const |
get position on edge e at length at with orthogonal offset More... | |
ConstMSEdgeVector | getEdges () const |
the edges of the current stage More... | |
const MSEdge * | getFromEdge () const |
Position | getLanePosition (const MSLane *lane, double at, double offset) const |
get position on lane at length at with orthogonal offset More... | |
virtual const MSStoppingPlace * | getOriginStop () const |
returns the origin stop (if any). only needed for Stage_Trip More... | |
Position | getPosition (SUMOTime now) const |
returns the position of the transportable More... | |
double | getSpeed () const |
the speed of the transportable More... | |
std::string | getStageDescription () const |
return (brief) string representation of the current stage More... | |
std::string | getStageSummary () const |
return string summary of the current stage More... | |
StageType | getStageType () const |
virtual SUMOVehicle * | getVehicle () const |
Whether the transportable waits for a vehicle. More... | |
SUMOTime | getWaitingTime (SUMOTime now) const |
the time this transportable spent waiting More... | |
virtual bool | isWaiting4Vehicle () const |
Whether the transportable waits for a vehicle. More... | |
virtual bool | isWaitingFor (const SUMOVehicle *vehicle) const |
Whether the transportable waits for the given vehicle. More... | |
bool | moveToNextEdge (MSPerson *person, SUMOTime currentTime, MSEdge *nextInternal=nullptr) |
move forward and return whether the person arrived More... | |
MSPersonStage_Walking (const std::string &personID, const ConstMSEdgeVector &route, MSStoppingPlace *toStop, SUMOTime walkingTime, double speed, double departPos, double arrivalPos, double departPosLat) | |
constructor More... | |
virtual void | proceed (MSNet *net, MSTransportable *person, SUMOTime now, Stage *previous) |
proceeds to the next step More... | |
virtual void | routeOutput (OutputDevice &os, const bool withRouteLength) const |
Called on writing vehroute output. More... | |
virtual void | setArrived (MSNet *net, MSTransportable *transportable, SUMOTime now) |
logs end of the step More... | |
void | setDeparted (SUMOTime now) |
logs end of the step More... | |
void | setDestination (const MSEdge *newDestination, MSStoppingPlace *newDestStop) |
void | setRouteIndex (MSPerson *person, int routeOffset) |
place person on a previously passed edge More... | |
void | setSpeed (double speed) |
sets the walking speed (ignored in other stages) More... | |
virtual void | tripInfoOutput (OutputDevice &os, const MSTransportable *const transportable) const |
Called on writing tripinfo output. More... | |
~MSPersonStage_Walking () | |
destructor More... | |
double | getMaxSpeed (const MSTransportable *const person) const |
accessors to be used by MSPModel More... | |
double | getDepartPos () const |
double | getDepartPosLat () const |
double | getArrivalPos () const |
const std::vector< const MSEdge * >::iterator | getRouteStep () const |
const MSEdge * | getRouteEdge () const |
const MSEdge * | getNextRouteEdge () const |
const ConstMSEdgeVector & | getRoute () const |
PedestrianState * | getPedestrianState () const |
Protected Attributes | |
double | myArrivalPos |
the position at which we want to arrive More... | |
SUMOTime | myArrived |
the time at which this stage ended More... | |
SUMOTime | myDeparted |
the time at which this stage started More... | |
const MSEdge * | myDestination |
the next edge to reach by getting transported More... | |
MSStoppingPlace * | myDestinationStop |
the stop to reach by getting transported (if any) More... | |
StageType | myType |
The type of this stage. More... | |
Private Member Functions | |
double | computeAverageSpeed () const |
MSPersonStage_Walking (const MSPersonStage_Walking &) | |
Invalidated copy constructor. More... | |
MSPersonStage_Walking & | operator= (const MSPersonStage_Walking &) |
Invalidated assignment operator. More... | |
double | walkDistance () const |
compute total walking distance More... | |
Private Attributes | |
MSEdge * | myCurrentInternalEdge |
The current internal edge this person is on or 0. More... | |
double | myDepartPos |
double | myDepartPosLat |
SUMOTime | myLastEdgeEntryTime |
the time the person entered the edge More... | |
PedestrianState * | myPedestrianState |
state that is to be manipulated by MSPModel More... | |
ConstMSEdgeVector | myRoute |
The route of the person. More... | |
ConstMSEdgeVector::iterator | myRouteStep |
double | mySpeed |
SUMOTime | myWalkingTime |
the time the person is walking More... | |
A "real" stage performing the walking to an edge The walking does not need any route as it is not simulated. Only the duration is needed
Definition at line 71 of file MSPerson.h.
MSPerson::MSPersonStage_Walking::MSPersonStage_Walking | ( | const std::string & | personID, |
const ConstMSEdgeVector & | route, | ||
MSStoppingPlace * | toStop, | ||
SUMOTime | walkingTime, | ||
double | speed, | ||
double | departPos, | ||
double | arrivalPos, | ||
double | departPosLat | ||
) |
constructor
Definition at line 56 of file MSPerson.cpp.
References computeAverageSpeed(), SUMOVehicleParameter::interpretEdgePos(), myDepartPos, mySpeed, and SUMO_ATTR_DEPARTPOS.
Referenced by clone().
MSPerson::MSPersonStage_Walking::~MSPersonStage_Walking | ( | ) |
destructor
Definition at line 80 of file MSPerson.cpp.
References MSPerson::myDummyState, and myPedestrianState.
|
private |
Invalidated copy constructor.
|
virtual |
abort this stage (TraCI)
Reimplemented from MSTransportable::Stage.
Definition at line 177 of file MSPerson.cpp.
References MSPModel::getModel(), myPedestrianState, and MSPModel::remove().
|
virtual |
Called for writing the events output.
[in] | os | The stream to write the information into |
IOError | not yet implemented |
Implements MSTransportable::Stage.
Definition at line 314 of file MSPerson.cpp.
References MSTransportable::getID(), myRoute, OutputDevice::openTag(), time2string(), and OutputDevice::writeAttr().
Referenced by getStageDescription().
|
virtual |
Implements MSTransportable::Stage.
Definition at line 87 of file MSPerson.cpp.
References MSPersonStage_Walking(), MSTransportable::Stage::myArrivalPos, myDepartPos, myDepartPosLat, MSTransportable::Stage::myDestinationStop, myRoute, mySpeed, and myWalkingTime.
|
private |
Definition at line 189 of file MSPerson.cpp.
References myWalkingTime, STEPS2TIME, and walkDistance().
Referenced by getPedestrianState(), MSPersonStage_Walking(), and proceed().
|
virtual |
Called for writing the events output (end of an action)
[in] | os | The stream to write the information into |
IOError | not yet implemented |
Implements MSTransportable::Stage.
Definition at line 321 of file MSPerson.cpp.
References MSTransportable::getID(), myRoute, OutputDevice::openTag(), time2string(), and OutputDevice::writeAttr().
Referenced by getStageDescription().
|
virtual |
returns the angle of the transportable
Implements MSTransportable::Stage.
Definition at line 120 of file MSPerson.cpp.
References PedestrianState::getAngle(), and myPedestrianState.
|
inline |
Definition at line 161 of file MSPerson.h.
References MSTransportable::Stage::myArrivalPos.
Referenced by MSPModel_Remote::add(), MSPModel_NonInteracting::PState::computeWalkingTime(), MSPModel_Striping::PState::distToLaneEnd(), MSPModel_Striping::getNextLane(), MSPModel_Striping::moveInDirectionOnLane(), moveToNextEdge(), MSPModel_Striping::PState::moveToNextLane(), and MSPModel_Striping::PState::PState().
|
inherited |
get departure time of stage
Definition at line 109 of file MSTransportable.cpp.
References MSTransportable::Stage::myDeparted.
Referenced by MSTransportable::Stage::setSpeed().
|
inline |
Definition at line 153 of file MSPerson.h.
References myDepartPos.
Referenced by MSPModel_Remote::add(), and MSPModel_NonInteracting::PState::computeWalkingTime().
|
inline |
Definition at line 157 of file MSPerson.h.
References myDepartPosLat.
|
inherited |
returns the destination edge
Definition at line 58 of file MSTransportable.cpp.
References MSTransportable::Stage::myDestination.
Referenced by MSTransportable::Stage::getEdges(), MSTransportable::Stage_Driving::getEdges(), MSContainer::MSContainerStage_Driving::getStageSummary(), getStageSummary(), MSContainer::MSContainerStage_Tranship::getStageSummary(), MSPerson::MSPersonStage_Driving::getStageSummary(), MSTransportable::Stage_Trip::getStageSummary(), MSTransportable::Stage_Waiting::getStageSummary(), MSPModel_Striping::moveInDirectionOnLane(), MSRouteHandler::parseWalkPositions(), MSPerson::proceed(), MSTransportable::rerouteParkingArea(), MSContainer::MSContainerStage_Driving::routeOutput(), MSPerson::MSPersonStage_Driving::routeOutput(), and MSTransportable::Stage_Waiting::routeOutput().
|
inlineinherited |
returns the destination stop (if any)
Definition at line 86 of file MSTransportable.h.
References MSTransportable::Stage::myDestinationStop.
Referenced by libsumo::Person::getStage(), MSContainer::MSContainerStage_Driving::getStageSummary(), getStageSummary(), MSContainer::MSContainerStage_Tranship::getStageSummary(), MSPerson::MSPersonStage_Driving::getStageSummary(), MSPerson::MSPersonStage_Access::getStageSummary(), MSPModel_Striping::moveInDirectionOnLane(), GUIPerson::GUIPersonPopupMenu::onCmdRemoveObject(), MSRouteHandler::parseWalkPositions(), MSContainer::MSContainerStage_Driving::proceed(), MSContainer::proceed(), MSPerson::MSPersonStage_Driving::proceed(), MSPerson::proceed(), MSTransportable::rerouteParkingArea(), MSTransportable::Stage_Trip::setArrived(), and MSPerson::MSPersonStage_Access::tripInfoOutput().
|
inlinevirtual |
get travel distance in this stage
Implements MSTransportable::Stage.
Definition at line 102 of file MSPerson.h.
References getEdges(), getSpeed(), getWaitingTime(), and walkDistance().
|
virtual |
Returns the current edge.
Reimplemented from MSTransportable::Stage.
Definition at line 92 of file MSPerson.cpp.
References myCurrentInternalEdge, and myRouteStep.
Referenced by MSPModel_NonInteracting::PState::computeWalkingTime(), MSPModel_NonInteracting::PState::getAngle(), MSPModel_NonInteracting::PState::getPosition(), moveToNextEdge(), proceed(), setRouteIndex(), and MSPModel_Striping::PState::walk().
|
inherited |
get angle of the edge at a certain position
Definition at line 134 of file MSTransportable.cpp.
References MSEdge::getLanes().
Referenced by MSPModel_NonInteracting::PState::getAngle(), CState::getAngle(), MSTransportable::Stage_Trip::getAngle(), MSTransportable::Stage_Waiting::getAngle(), MSTransportable::Stage_Driving::getAngle(), and MSTransportable::Stage::getVehicle().
|
virtual |
Reimplemented from MSTransportable::Stage.
Definition at line 108 of file MSPerson.cpp.
References PedestrianState::getEdgePos(), and myPedestrianState.
|
inherited |
get position on edge e at length at with orthogonal offset
Definition at line 124 of file MSTransportable.cpp.
References MSTransportable::Stage::getLanePosition(), and MSEdge::getLanes().
Referenced by MSTransportable::Stage_Trip::getPosition(), MSTransportable::Stage_Waiting::getPosition(), MSTransportable::Stage_Driving::getPosition(), and MSTransportable::Stage::getVehicle().
|
virtual |
the edges of the current stage
Reimplemented from MSTransportable::Stage.
Definition at line 138 of file MSPerson.cpp.
References myRoute.
Referenced by getDistance(), and libsumo::Person::moveToXY().
|
virtual |
Reimplemented from MSTransportable::Stage.
Definition at line 102 of file MSPerson.cpp.
References myRoute.
|
inherited |
get position on lane at length at with orthogonal offset
Definition at line 129 of file MSTransportable.cpp.
References MSLane::getShape(), MSLane::interpolateLanePosToGeometryPos(), and PositionVector::positionAtOffset().
Referenced by CState::computeTranshipTime(), MSTransportable::Stage::getEdgePosition(), MSPModel_NonInteracting::PState::getPosition(), MSPModel_Striping::PState::getPosition(), and MSTransportable::Stage::getVehicle().
double MSPerson::MSPersonStage_Walking::getMaxSpeed | ( | const MSTransportable *const | person | ) | const |
accessors to be used by MSPModel
Definition at line 379 of file MSPerson.cpp.
References MSVehicleType::getMaxSpeed(), MSTransportable::getSpeedFactor(), MSTransportable::getVehicleType(), and mySpeed.
Referenced by MSPModel_NonInteracting::PState::computeWalkingTime(), MSPModel_Striping::getNextLane(), MSPModel_NonInteracting::PState::getSpeed(), getStageDescription(), MSPModel_Striping::moveInDirectionOnLane(), MSPModel_Striping::PState::PState(), tripInfoOutput(), and MSPModel_Striping::PState::walk().
|
inline |
Definition at line 172 of file MSPerson.h.
References myRoute, and myRouteStep.
Referenced by MSPModel_NonInteracting::PState::computeWalkingTime(), MSPModel_Striping::PState::distToLaneEnd(), MSPModel_Remote::execute(), MSPModel_NonInteracting::PState::getNextEdge(), MSPModel_Striping::getNextLane(), and MSPModel_Striping::PState::moveToNextLane().
|
inlinevirtualinherited |
returns the origin stop (if any). only needed for Stage_Trip
Reimplemented in MSTransportable::Stage_Trip.
Definition at line 91 of file MSTransportable.h.
Referenced by MSPerson::MSPersonStage_Driving::proceed().
|
inline |
Definition at line 179 of file MSPerson.h.
References computeAverageSpeed(), myPedestrianState, and walkDistance().
Referenced by GUIPerson::drawAction_drawWalkingareaPath(), MSPerson::getNextEdgePtr(), and MSPerson::Influencer::postProcessRemoteControl().
returns the position of the transportable
Implements MSTransportable::Stage.
Definition at line 114 of file MSPerson.cpp.
References PedestrianState::getPosition(), and myPedestrianState.
|
inline |
Definition at line 175 of file MSPerson.h.
References myRoute.
Referenced by MSPModel_Remote::add(), GUIPerson::drawGLAdditional(), MSPModel_Striping::getNextLane(), MSPModel_Striping::PState::moveToNextLane(), libsumo::Person::moveToXY(), and MSPModel_Striping::PState::PState().
|
inline |
Definition at line 169 of file MSPerson.h.
References myRouteStep.
Referenced by MSPModel_Striping::PState::moveToNextLane().
|
inline |
Definition at line 165 of file MSPerson.h.
References myRouteStep.
Referenced by MSPModel_Striping::PState::moveToNextLane(), and libsumo::Person::moveToXY().
|
virtual |
the speed of the transportable
Reimplemented from MSTransportable::Stage.
Definition at line 132 of file MSPerson.cpp.
References PedestrianState::getSpeed(), and myPedestrianState.
Referenced by getDistance().
|
inlinevirtual |
return (brief) string representation of the current stage
Implements MSTransportable::Stage.
Definition at line 113 of file MSPerson.h.
References beginEventOutput(), endEventOutput(), getMaxSpeed(), getStageSummary(), moveToNextEdge(), routeOutput(), setRouteIndex(), and tripInfoOutput().
|
virtual |
return string summary of the current stage
Implements MSTransportable::Stage.
Definition at line 384 of file MSPerson.cpp.
References MSTransportable::Stage::getDestination(), MSTransportable::Stage::getDestinationStop(), Named::getID(), and MSStoppingPlace::getMyName().
Referenced by getStageDescription().
|
inlineinherited |
Definition at line 111 of file MSTransportable.h.
References MSTransportable::Stage::getStageDescription(), MSTransportable::Stage::getStageSummary(), MSTransportable::Stage::myType, and MSTransportable::Stage::proceed().
Referenced by libsumo::Person::getStage(), MSTransportable::getStageType(), MSPerson::MSPersonStage_Driving::proceed(), MSPerson::proceed(), and MSTransportable::rerouteParkingArea().
|
inlinevirtualinherited |
Whether the transportable waits for a vehicle.
Reimplemented in MSTransportable::Stage_Driving.
Definition at line 148 of file MSTransportable.h.
References MSTransportable::Stage::beginEventOutput(), MSTransportable::Stage::clone(), MSTransportable::Stage::endEventOutput(), MSTransportable::Stage::getDistance(), MSTransportable::Stage::getEdgeAngle(), MSTransportable::Stage::getEdgePosition(), MSTransportable::Stage::getEdges(), MSTransportable::Stage::getLanePosition(), MSTransportable::Stage::getSpeed(), MSTransportable::Stage::getWaitingTime(), MSTransportable::Stage::routeOutput(), MSTransportable::Stage::setDestination(), and MSTransportable::Stage::tripInfoOutput().
Referenced by libsumo::Person::getStage().
the time this transportable spent waiting
Reimplemented from MSTransportable::Stage.
Definition at line 126 of file MSPerson.cpp.
References PedestrianState::getWaitingTime(), and myPedestrianState.
Referenced by getDistance(), MSPModel_Striping::PState::getImpatience(), and MSPModel_Striping::PState::walk().
|
inlinevirtualinherited |
Whether the transportable waits for a vehicle.
Reimplemented in MSTransportable::Stage_Driving.
Definition at line 143 of file MSTransportable.h.
Referenced by MSTransportable::Stage_Driving::getDistance().
|
virtualinherited |
Whether the transportable waits for the given vehicle.
Reimplemented in MSTransportable::Stage_Driving.
Definition at line 119 of file MSTransportable.cpp.
Referenced by MSTransportable::Stage_Driving::getDistance(), and MSTransportable::Stage::setSpeed().
bool MSPerson::MSPersonStage_Walking::moveToNextEdge | ( | MSPerson * | person, |
SUMOTime | currentTime, | ||
MSEdge * | nextInternal = nullptr |
||
) |
move forward and return whether the person arrived
Definition at line 328 of file MSPerson.cpp.
References MSStoppingPlace::addTransportable(), MSTransportableControl::erase(), getArrivalPos(), getEdge(), MSNet::getInstance(), MSLane::getLength(), MSLane::getMoveReminders(), MSNet::getPersonControl(), myCurrentInternalEdge, MSTransportable::Stage::myDestinationStop, myLastEdgeEntryTime, myRoute, myRouteStep, MSMoveReminder::NOTIFICATION_ARRIVED, MSMoveReminder::NOTIFICATION_JUNCTION, and MSPerson::proceed().
Referenced by MSPModel_Striping::arriveAndAdvance(), MSPModel_Remote::execute(), getStageDescription(), MSPModel_Striping::PState::moveToNextLane(), and MSPModel_Striping::PState::moveToXY().
|
private |
Invalidated assignment operator.
|
virtual |
proceeds to the next step
Implements MSTransportable::Stage.
Definition at line 144 of file MSPerson.cpp.
References MSPModel::add(), MSEdge::addPerson(), computeAverageSpeed(), MSTransportableControl::erase(), getEdge(), MSTransportable::Stage::getEdge(), MSTransportable::Stage::getEdgePos(), MSNet::getInstance(), MSPModel::getModel(), MSLane::getMoveReminders(), MSNet::getPersonControl(), MSTransportable::Stage::myDeparted, myDepartPos, myLastEdgeEntryTime, myPedestrianState, myRoute, myRouteStep, mySpeed, myWalkingTime, MSMoveReminder::NOTIFICATION_DEPARTED, and MSTransportable::proceed().
|
virtual |
Called on writing vehroute output.
[in] | os | The stream to write the information into |
[in] | withRouteLength | whether route length shall be written |
IOError | not yet implemented |
Implements MSTransportable::Stage.
Definition at line 292 of file MSPerson.cpp.
References OutputDevice::closeTag(), StringUtils::escapeXML(), Named::getID(), MSStoppingPlace::getMyName(), MSTransportable::Stage::myDestinationStop, myRoute, mySpeed, myWalkingTime, OutputDevice::openTag(), SUMO_ATTR_BUS_STOP, SUMO_ATTR_DURATION, SUMO_ATTR_EDGES, SUMO_ATTR_SPEED, time2string(), walkDistance(), and OutputDevice::writeAttr().
Referenced by getStageDescription().
|
virtualinherited |
logs end of the step
Reimplemented in MSTransportable::Stage_Driving, and MSTransportable::Stage_Trip.
Definition at line 114 of file MSTransportable.cpp.
References MSTransportable::Stage::myArrived.
Referenced by MSTransportable::Stage_Trip::getStageDescription(), MSTransportable::Stage_Driving::getVehicle(), MSContainer::proceed(), MSPerson::proceed(), MSTransportable::Stage_Trip::setArrived(), MSTransportable::Stage_Driving::setArrived(), and MSTransportable::Stage::setSpeed().
|
inherited |
logs end of the step
Definition at line 102 of file MSTransportable.cpp.
References MSTransportable::Stage::myDeparted.
Referenced by MSTransportable::getVehicleType(), and MSTransportable::Stage::setSpeed().
|
inherited |
Definition at line 140 of file MSTransportable.cpp.
References MSStoppingPlace::getBeginLanePosition(), MSStoppingPlace::getEndLanePosition(), MSTransportable::Stage::myArrivalPos, MSTransportable::Stage::myDestination, and MSTransportable::Stage::myDestinationStop.
Referenced by MSTransportable::Stage::getVehicle(), and MSTransportable::rerouteParkingArea().
void MSPerson::MSPersonStage_Walking::setRouteIndex | ( | MSPerson * | person, |
int | routeOffset | ||
) |
place person on a previously passed edge
Definition at line 370 of file MSPerson.cpp.
References getEdge(), myRoute, and myRouteStep.
Referenced by getStageDescription(), and MSPModel_Striping::PState::moveToXY().
|
virtual |
sets the walking speed (ignored in other stages)
Reimplemented from MSTransportable::Stage.
Definition at line 183 of file MSPerson.cpp.
References mySpeed.
|
virtual |
Called on writing tripinfo output.
[in] | os | The stream to write the information into |
IOError | not yet implemented |
Implements MSTransportable::Stage.
Definition at line 271 of file MSPerson.cpp.
References MSDevice_Tripinfo::addPedestrianData(), OutputDevice::closeTag(), MSNet::getInstance(), getMaxSpeed(), MSTransportable::Stage::myArrivalPos, MSTransportable::Stage::myArrived, MSTransportable::Stage::myDeparted, myDepartPos, OutputDevice::openTag(), TIME2STEPS, time2string(), walkDistance(), and OutputDevice::writeAttr().
Referenced by MSPerson::MSPersonStage_Access::getDistance(), and getStageDescription().
|
private |
compute total walking distance
Definition at line 195 of file MSPerson.cpp.
References MSPModel::BACKWARD, MSPModel::canTraverse(), Position::distanceTo2D(), MSPModel::FORWARD, MSEdge::getFromJunction(), MSPModel::getModel(), MSLane::getShape(), MSEdge::getToJunction(), MAX2(), MSTransportable::Stage::myArrivalPos, myDepartPos, myRoute, POSITION_EPS, MSPModel::UNDEFINED_DIRECTION, and MSPModel::usingInternalLanes().
Referenced by computeAverageSpeed(), getDistance(), getPedestrianState(), routeOutput(), and tripInfoOutput().
|
protectedinherited |
the position at which we want to arrive
Definition at line 210 of file MSTransportable.h.
Referenced by MSContainer::MSContainerStage_Driving::clone(), clone(), MSContainer::MSContainerStage_Tranship::clone(), MSTransportable::Stage_Trip::clone(), MSPerson::MSPersonStage_Driving::clone(), MSPerson::MSPersonStage_Access::clone(), MSTransportable::Stage_Waiting::clone(), MSTransportable::Stage_Waiting::getAngle(), MSTransportable::Stage::getArrivalPos(), getArrivalPos(), MSContainer::MSContainerStage_Tranship::getArrivalPos(), MSTransportable::Stage::getEdgePos(), MSTransportable::Stage_Waiting::getPosition(), MSTransportable::Stage_Trip::setArrived(), MSTransportable::Stage_Driving::setArrived(), MSTransportable::Stage::setDestination(), MSContainer::MSContainerStage_Driving::tripInfoOutput(), tripInfoOutput(), MSContainer::MSContainerStage_Tranship::tripInfoOutput(), MSPerson::MSPersonStage_Driving::tripInfoOutput(), MSTransportable::Stage_Waiting::tripInfoOutput(), and walkDistance().
|
protectedinherited |
the time at which this stage ended
Definition at line 216 of file MSTransportable.h.
Referenced by MSContainer::MSContainerStage_Tranship::getDistance(), MSContainer::MSContainerStage_Tranship::routeOutput(), MSTransportable::Stage::setArrived(), MSContainer::MSContainerStage_Driving::tripInfoOutput(), tripInfoOutput(), MSContainer::MSContainerStage_Tranship::tripInfoOutput(), MSPerson::MSPersonStage_Driving::tripInfoOutput(), MSPerson::MSPersonStage_Access::tripInfoOutput(), and MSTransportable::Stage_Waiting::tripInfoOutput().
|
private |
The current internal edge this person is on or 0.
Definition at line 209 of file MSPerson.h.
Referenced by getEdge(), and moveToNextEdge().
|
protectedinherited |
the time at which this stage started
Definition at line 213 of file MSTransportable.h.
Referenced by MSTransportable::Stage::getDeparted(), MSContainer::MSContainerStage_Tranship::getDistance(), MSPerson::MSPersonStage_Access::getPosition(), MSTransportable::Stage_Waiting::getWaitingTime(), proceed(), MSContainer::MSContainerStage_Tranship::proceed(), MSPerson::MSPersonStage_Access::proceed(), MSTransportable::Stage_Waiting::proceed(), MSContainer::MSContainerStage_Tranship::routeOutput(), MSTransportable::Stage::setDeparted(), MSContainer::MSContainerStage_Driving::tripInfoOutput(), tripInfoOutput(), MSContainer::MSContainerStage_Tranship::tripInfoOutput(), MSPerson::MSPersonStage_Driving::tripInfoOutput(), MSPerson::MSPersonStage_Access::tripInfoOutput(), and MSTransportable::Stage_Waiting::tripInfoOutput().
|
private |
Definition at line 211 of file MSPerson.h.
Referenced by clone(), getDepartPos(), MSPersonStage_Walking(), proceed(), tripInfoOutput(), and walkDistance().
|
private |
Definition at line 212 of file MSPerson.h.
Referenced by clone(), and getDepartPosLat().
|
protectedinherited |
the next edge to reach by getting transported
Definition at line 204 of file MSTransportable.h.
Referenced by MSContainer::MSContainerStage_Driving::clone(), MSTransportable::Stage_Trip::clone(), MSPerson::MSPersonStage_Driving::clone(), MSPerson::MSPersonStage_Access::clone(), MSTransportable::Stage_Waiting::clone(), MSTransportable::Stage_Waiting::getAngle(), MSTransportable::Stage::getDestination(), MSTransportable::Stage::getEdge(), MSTransportable::Stage::getFromEdge(), MSTransportable::Stage_Waiting::getPosition(), MSTransportable::Stage_Trip::setArrived(), and MSTransportable::Stage::setDestination().
|
protectedinherited |
the stop to reach by getting transported (if any)
Definition at line 207 of file MSTransportable.h.
Referenced by MSContainer::MSContainerStage_Driving::clone(), clone(), MSContainer::MSContainerStage_Tranship::clone(), MSTransportable::Stage_Trip::clone(), MSPerson::MSPersonStage_Driving::clone(), MSPerson::MSPersonStage_Access::clone(), MSTransportable::Stage_Waiting::clone(), MSTransportable::Stage::getDestinationStop(), MSTransportable::Stage_Driving::getWaitingDescription(), MSTransportable::Stage_Driving::isWaitingFor(), moveToNextEdge(), MSContainer::MSContainerStage_Tranship::moveToNextEdge(), MSPerson::MSPersonStage_Access::MSPersonStage_Access(), MSPerson::MSPersonStage_Access::proceed(), MSTransportable::Stage_Waiting::proceed(), routeOutput(), MSPerson::MSPersonStage_Driving::routeOutput(), MSTransportable::Stage_Trip::setArrived(), and MSTransportable::Stage::setDestination().
|
private |
the time the person entered the edge
Definition at line 200 of file MSPerson.h.
Referenced by moveToNextEdge(), and proceed().
|
private |
state that is to be manipulated by MSPModel
Definition at line 216 of file MSPerson.h.
Referenced by abort(), getAngle(), getEdgePos(), getPedestrianState(), getPosition(), getSpeed(), getWaitingTime(), proceed(), and ~MSPersonStage_Walking().
|
private |
The route of the person.
Definition at line 203 of file MSPerson.h.
Referenced by beginEventOutput(), clone(), endEventOutput(), getEdges(), getFromEdge(), getNextRouteEdge(), getRoute(), moveToNextEdge(), proceed(), routeOutput(), setRouteIndex(), and walkDistance().
|
private |
Definition at line 206 of file MSPerson.h.
Referenced by getEdge(), getNextRouteEdge(), getRouteEdge(), getRouteStep(), moveToNextEdge(), proceed(), and setRouteIndex().
|
private |
Definition at line 213 of file MSPerson.h.
Referenced by clone(), getMaxSpeed(), MSPersonStage_Walking(), proceed(), routeOutput(), and setSpeed().
|
protectedinherited |
The type of this stage.
Definition at line 219 of file MSTransportable.h.
Referenced by MSTransportable::Stage_Waiting::clone(), MSTransportable::Stage::getStageType(), MSTransportable::Stage_Waiting::routeOutput(), and MSTransportable::Stage_Waiting::tripInfoOutput().
|
private |
the time the person is walking
Definition at line 197 of file MSPerson.h.
Referenced by clone(), computeAverageSpeed(), proceed(), and routeOutput().