![]() |
Eclipse SUMO - Simulation of Urban MObility
|
#include <MSStageDriving.h>
Public Member Functions | |
void | abort (MSTransportable *t) |
abort this stage (TraCI) More... | |
MSStage * | clone () const |
double | getAngle (SUMOTime now) const |
returns the angle of the transportable More... | |
double | getArrivalPos () const |
return default value for undefined arrivalPos More... | |
SUMOTime | getArrived () const |
get arrival time of stage 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 |
const std::string & | getGroup () const |
return the id of the group of transportables traveling together More... | |
SUMOTime | getIntendedDepart () const |
std::string | getIntendedVehicleID () const |
virtual const MSLane * | getLane () const |
Returns the current lane (if applicable) More... | |
Position | getLanePosition (const MSLane *lane, double at, double offset) const |
get position on lane at length at with orthogonal offset More... | |
const std::set< std::string > & | getLines () const |
MSStoppingPlace * | getOriginStop () const |
returns the origin stop (if any). only needed for MSStageTrip 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 bool isPerson) const |
return (brief) string representation of the current stage More... | |
std::string | getStageSummary (const bool isPerson) const |
return string summary of the current stage More... | |
MSStageType | getStageType () const |
SUMOVehicle * | getVehicle () const |
Whether the transportable waits for a vehicle. More... | |
std::string | getVehicleType () const |
std::string | getWaitingDescription () const |
Return where the person waits and for what. More... | |
SUMOTime | getWaitingTime (SUMOTime now) const |
time spent waiting for a ride More... | |
bool | isWaiting4Vehicle () const |
Whether the person waits for a vehicle. More... | |
bool | isWaitingFor (const SUMOVehicle *vehicle) const |
Whether the person waits for the given vehicle. More... | |
void | loadState (MSTransportable *transportable, std::istringstream &state) |
Reconstructs the current state. More... | |
MSStageDriving (const MSEdge *origin, const MSEdge *destination, MSStoppingPlace *toStop, const double arrivalPos, const std::vector< std::string > &lines, const std::string &group="", const std::string &intendedVeh="", SUMOTime intendedDepart=-1) | |
constructor More... | |
void | proceed (MSNet *net, MSTransportable *transportable, SUMOTime now, MSStage *previous) |
proceeds to this stage More... | |
void | routeOutput (const bool isPerson, OutputDevice &os, const bool withRouteLength, const MSStage *const previous) const |
Called on writing vehroute output. More... | |
void | saveState (std::ostringstream &out) |
Saves the current state into the given stream. More... | |
void | setArrivalPos (double arrivalPos) |
const std::string | setArrived (MSNet *net, MSTransportable *transportable, SUMOTime now, const bool vehicleArrived) |
marks arrival time and records driven distance More... | |
void | setDeparted (SUMOTime now) |
logs end of the step More... | |
void | setDestination (const MSEdge *newDestination, MSStoppingPlace *newDestStop) |
void | setOrigin (const MSEdge *origin) |
change origin for parking area rerouting More... | |
virtual void | setSpeed (double) |
sets the walking speed (ignored in other stages) More... | |
void | setVehicle (SUMOVehicle *v) |
void | tripInfoOutput (OutputDevice &os, const MSTransportable *const transportable) const |
Called on writing tripinfo output. More... | |
bool | unspecifiedArrivalPos () const |
virtual | ~MSStageDriving () |
destructor More... | |
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... | |
const std::string | myGroup |
The id of the group of transportables traveling together. More... | |
SUMOTime | myIntendedDepart |
std::string | myIntendedVehicleID |
const std::set< std::string > | myLines |
the lines to choose from More... | |
const MSEdge * | myOrigin |
the origin edge More... | |
MSStoppingPlace * | myOriginStop |
the stop at which this ride starts (or nullptr) More... | |
Position | myStopWaitPos |
SUMOTime | myTimeLoss |
While driving, this is the timeLoss of the vehicle when the ride started, after arrival this is the timeLoss which the vehicle accumulated during the ride. More... | |
MSStageType | myType |
The type of this stage. More... | |
SUMOVehicle * | myVehicle |
The taken vehicle. More... | |
double | myVehicleDistance |
std::string | myVehicleID |
cached vehicle data for output after the vehicle has been removed More... | |
std::string | myVehicleLine |
std::string | myVehicleType |
SUMOVehicleClass | myVehicleVClass |
const MSEdge * | myWaitingEdge |
double | myWaitingPos |
SUMOTime | myWaitingSince |
The time since which this person is waiting for a ride. More... | |
Static Protected Attributes | |
static const double | ROADSIDE_OFFSET |
the offset for computing positions when standing at an edge More... | |
Private Member Functions | |
MSStageDriving (const MSStageDriving &) | |
Invalidated copy constructor. More... | |
MSStageDriving & | operator= (const MSStageDriving &)=delete |
Invalidated assignment operator. More... | |
A "real" stage performing the travelling by a transport system The given route will be chosen. The travel time is computed by the simulation
Definition at line 58 of file MSStageDriving.h.
MSStageDriving::MSStageDriving | ( | const MSEdge * | origin, |
const MSEdge * | destination, | ||
MSStoppingPlace * | toStop, | ||
const double | arrivalPos, | ||
const std::vector< std::string > & | lines, | ||
const std::string & | group = "" , |
||
const std::string & | intendedVeh = "" , |
||
SUMOTime | intendedDepart = -1 |
||
) |
constructor
Definition at line 46 of file MSStageDriving.cpp.
References DRIVING, and INVALID.
Referenced by clone().
|
virtual |
destructor
Definition at line 74 of file MSStageDriving.cpp.
|
private |
Invalidated copy constructor.
|
virtual |
abort this stage (TraCI)
Reimplemented from MSStage.
Definition at line 383 of file MSStageDriving.cpp.
References MSTransportableControl::abortWaitingForVehicle(), MSNet::getContainerControl(), MSLane::getEdge(), SUMOTrafficObject::getEdge(), MSNet::getInstance(), SUMOTrafficObject::getLane(), MSNet::getPersonControl(), MSTransportable::isPerson(), MSStage::myDestination, MSStage::myDestinationStop, myVehicle, and SUMOVehicle::removeTransportable().
|
virtual |
Implements MSStage.
Definition at line 68 of file MSStageDriving.cpp.
References MSStageDriving(), MSStage::myArrivalPos, MSStage::myDestination, MSStage::myDestinationStop, MSStage::myGroup, myIntendedDepart, myIntendedVehicleID, myLines, and myOrigin.
|
virtual |
returns the angle of the transportable
Implements MSStage.
Definition at line 129 of file MSStageDriving.cpp.
References MSVehicle::getAngle(), MSStage::getEdgeAngle(), MSGlobals::gLefthand, isWaiting4Vehicle(), M_PI, MSStage::myArrivalPos, MSStage::myArrived, MSStage::myDestination, myVehicle, myWaitingEdge, and myWaitingPos.
|
virtual |
return default value for undefined arrivalPos
Reimplemented from MSStage.
Definition at line 333 of file MSStageDriving.cpp.
References MSStage::getDestination(), MSEdge::getLength(), MSStage::myArrivalPos, and unspecifiedArrivalPos().
Referenced by MSDevice_Transportable::notifyMove(), proceed(), MSTransportable::rerouteParkingArea(), and tripInfoOutput().
|
inherited |
get arrival time of stage
Definition at line 126 of file MSStage.cpp.
References MSStage::myArrived.
Referenced by LIBSUMO_NAMESPACE::Person::getStage().
|
inherited |
get departure time of stage
Definition at line 121 of file MSStage.cpp.
References MSStage::myDeparted.
Referenced by LIBSUMO_NAMESPACE::Person::getStage().
|
inherited |
returns the destination edge
Definition at line 70 of file MSStage.cpp.
References MSStage::myDestination.
Referenced by MSPerson::checkAccess(), getArrivalPos(), MSStage::getEdges(), getEdges(), MSStageTrip::getStageSummary(), MSStageWaiting::getStageSummary(), getStageSummary(), MSStageTranship::getStageSummary(), MSPModel_Striping::moveInDirectionOnLane(), MSRouteHandler::parseWalkPositions(), proceed(), MSTransportable::proceed(), MSTransportable::rerouteParkingArea(), MSStageWaiting::routeOutput(), routeOutput(), and MSStageTrip::setArrived().
|
inlineinherited |
returns the destination stop (if any)
Definition at line 80 of file MSStage.h.
References MSStage::myDestinationStop.
Referenced by MSPerson::checkAccess(), LIBSUMO_NAMESPACE::Person::getStage(), getStageSummary(), MSStageTranship::getStageSummary(), MSPModel_Striping::moveInDirectionOnLane(), GUIPerson::GUIPersonPopupMenu::onCmdRemoveObject(), MSRouteHandler::parseWalkPositions(), proceed(), MSTransportable::proceed(), MSTransportable::rerouteParkingArea(), and MSStageTrip::setArrived().
|
virtual |
get travel distance in this stage
Implements MSStage.
Definition at line 146 of file MSStageDriving.cpp.
References SUMOVehicle::getOdometer(), myVehicle, and myVehicleDistance.
|
virtual |
Returns the current edge.
Reimplemented from MSStage.
Definition at line 78 of file MSStageDriving.cpp.
References MSLane::getEdge(), SUMOTrafficObject::getEdge(), SUMOTrafficObject::getLane(), MSStage::myArrived, MSStage::myDestination, myVehicle, and myWaitingEdge.
Referenced by getEdgePos().
|
inherited |
get angle of the edge at a certain position
Definition at line 153 of file MSStage.cpp.
References MSEdge::getLanes().
Referenced by MSPModel_NonInteracting::PState::getAngle(), MSPModel_NonInteracting::CState::getAngle(), MSStageTrip::getAngle(), MSStageWaiting::getAngle(), and getAngle().
|
virtual |
Reimplemented from MSStage.
Definition at line 99 of file MSStageDriving.cpp.
References getEdge(), SUMOTrafficObject::getPositionOnLane(), isWaiting4Vehicle(), MIN2(), MSStage::myArrivalPos, MSStage::myArrived, myVehicle, and myWaitingPos.
get position on edge e at length at with orthogonal offset
Definition at line 142 of file MSStage.cpp.
References MSStage::getLanePosition(), and MSEdge::getLanes().
Referenced by MSStageTrip::getPosition(), MSStageWaiting::getPosition(), and getPosition().
|
virtual |
the edges of the current stage
Reimplemented from MSStage.
Definition at line 325 of file MSStageDriving.cpp.
References MSStage::getDestination(), and getFromEdge().
|
virtual |
Reimplemented from MSStage.
Definition at line 93 of file MSStageDriving.cpp.
References myWaitingEdge.
Referenced by getEdges(), and routeOutput().
|
inlineinherited |
return the id of the group of transportables traveling together
Definition at line 119 of file MSStage.h.
References MSStage::myGroup.
|
inline |
Definition at line 153 of file MSStageDriving.h.
References myIntendedDepart.
Referenced by LIBSUMO_NAMESPACE::Person::getStage().
|
inline |
Definition at line 149 of file MSStageDriving.h.
References myIntendedVehicleID.
Referenced by LIBSUMO_NAMESPACE::Person::getStage().
|
inlinevirtualinherited |
Returns the current lane (if applicable)
Reimplemented in MSStageMoving.
get position on lane at length at with orthogonal offset
Definition at line 147 of file MSStage.cpp.
References MSLane::getShape(), MSLane::interpolateLanePosToGeometryPos(), and PositionVector::positionAtOffset().
Referenced by MSPModel_NonInteracting::CState::computeDuration(), MSStage::getEdgePosition(), MSPModel_NonInteracting::PState::getPosition(), and MSPModel_Striping::PState::getPosition().
|
inline |
Definition at line 145 of file MSStageDriving.h.
References myLines.
Referenced by LIBSUMO_NAMESPACE::Person::getStage(), proceed(), and MSTransportable::rerouteParkingArea().
|
inlinevirtual |
returns the origin stop (if any). only needed for MSStageTrip
Reimplemented from MSStage.
Definition at line 84 of file MSStageDriving.h.
References myOriginStop.
Referenced by MSTransportableControl::boardAnyWaiting(), and MSTransportableControl::loadAnyWaiting().
returns the position of the transportable
Implements MSStage.
Definition at line 112 of file MSStageDriving.cpp.
References MSStage::getEdgePosition(), SUMOTrafficObject::getPosition(), MSGlobals::gLefthand, Position::INVALID, isWaiting4Vehicle(), MSStage::myArrivalPos, MSStage::myArrived, MSStage::myDestination, myStopWaitPos, myVehicle, myWaitingEdge, myWaitingPos, and MSStage::ROADSIDE_OFFSET.
|
virtual |
the speed of the transportable
Reimplemented from MSStage.
Definition at line 319 of file MSStageDriving.cpp.
References SUMOTrafficObject::getSpeed(), and myVehicle.
|
virtual |
return (brief) string representation of the current stage
Implements MSStage.
Definition at line 156 of file MSStageDriving.cpp.
References isWaiting4Vehicle(), joinToString(), and myLines.
|
virtual |
return string summary of the current stage
Implements MSStage.
Definition at line 162 of file MSStageDriving.cpp.
References MSStage::getDestination(), MSStage::getDestinationStop(), Named::getID(), MSStoppingPlace::getMyName(), isWaiting4Vehicle(), joinToString(), myIntendedDepart, myIntendedVehicleID, myLines, and time2string().
|
inlineinherited |
Definition at line 114 of file MSStage.h.
References MSStage::myType.
Referenced by MSPerson::checkAccess(), LIBSUMO_NAMESPACE::Person::getStage(), proceed(), MSTransportable::proceed(), MSTransportable::rerouteParkingArea(), and routeOutput().
|
inlinevirtual |
Whether the transportable waits for a vehicle.
Reimplemented from MSStage.
Definition at line 129 of file MSStageDriving.h.
References myVehicle.
Referenced by MSTransportable::rerouteParkingArea(), and MSTransportable::~MSTransportable().
|
inline |
Definition at line 157 of file MSStageDriving.h.
References myVehicleType.
Referenced by LIBSUMO_NAMESPACE::Person::getStage().
std::string MSStageDriving::getWaitingDescription | ( | ) | const |
Return where the person waits and for what.
Definition at line 400 of file MSStageDriving.cpp.
References Named::getID(), isWaiting4Vehicle(), joinToString(), MSStage::myDestinationStop, myLines, and myWaitingEdge.
Referenced by MSTransportableControl::abortAnyWaitingForVehicle().
time spent waiting for a ride
Reimplemented from MSStage.
Definition at line 313 of file MSStageDriving.cpp.
References isWaiting4Vehicle(), and myWaitingSince.
|
virtual |
Whether the person waits for a vehicle.
Reimplemented from MSStage.
Definition at line 307 of file MSStageDriving.cpp.
References MSStage::myArrived, and myVehicle.
Referenced by getAngle(), getEdgePos(), getPosition(), getStageDescription(), getStageSummary(), getWaitingDescription(), and getWaitingTime().
|
virtual |
Whether the person waits for the given vehicle.
Reimplemented from MSStage.
Definition at line 296 of file MSStageDriving.cpp.
References Named::getID(), SUMOTrafficObject::getParameter(), SUMOVehicleParameter::line, MSStage::myDestination, MSStage::myDestinationStop, myLines, SUMOVehicle::stopsAt(), and SUMOVehicle::stopsAtEdge().
|
virtual |
Reconstructs the current state.
Reimplemented from MSStage.
Definition at line 420 of file MSStageDriving.cpp.
References SUMOVehicle::addTransportable(), MSNet::getInstance(), MSVehicleControl::getVehicle(), MSNet::getVehicleControl(), MSStage::myArrived, MSStage::myDeparted, myTimeLoss, myVehicle, myVehicleDistance, myWaitingSince, and setVehicle().
|
privatedelete |
Invalidated assignment operator.
|
virtual |
proceeds to this stage
Implements MSStage.
Definition at line 178 of file MSStageDriving.cpp.
References MSInsertionControl::add(), MSEdge::addContainer(), MSEdge::addPerson(), MSDevice_Taxi::addReservation(), SUMOVehicle::addTransportable(), MSTransportableControl::addWaiting(), DEPART_CONTAINER_TRIGGERED, DEPART_TRIGGERED, SUMOVehicleParameter::departProcedure, getArrivalPos(), MSNet::getContainerControl(), MSStage::getDestination(), MSStage::getDestinationStop(), MSLane::getEdge(), MSStage::getEdge(), MSStage::getEdgePos(), Named::getID(), MSNet::getInsertionControl(), MSStoppingPlace::getLane(), getLines(), MSTransportable::getNumRemainingStages(), MSTransportable::getNumStages(), MSStage::getOriginStop(), MSTransportable::getParameter(), SUMOTrafficObject::getParameter(), MSNet::getPersonControl(), MSStage::getStageType(), MSVehicleControl::getVehicle(), MSNet::getVehicleControl(), MSStoppingPlace::getWaitingPositionOnLane(), MSEdge::getWaitingVehicle(), MSStoppingPlace::getWaitPosition(), SUMOVehicle::hasDeparted(), Position::INVALID, MSTransportable::isPerson(), MSStage::myGroup, myLines, myOrigin, myOriginStop, myStopWaitPos, myVehicle, myWaitingEdge, myWaitingPos, myWaitingSince, MSStoppingPlace::removeTransportable(), MSEdge::removeWaiting(), setVehicle(), TRIP, and MSVehicleControl::unregisterOneWaiting().
|
virtual |
Called on writing vehroute output.
[in] | isPerson | Whether we are writing person or container info |
[in] | os | The stream to write the information into |
[in] | withRouteLength | whether route length shall be written |
[in] | previous | The previous stage for additional info such as from edge |
IOError | not yet implemented |
Implements MSStage.
Definition at line 264 of file MSStageDriving.cpp.
References OutputDevice::closeTag(), StringUtils::escapeXML(), MSStage::getDestination(), MSStage::getEdge(), getFromEdge(), Named::getID(), MSStoppingPlace::getMyName(), MSStage::getStageType(), MSStage::myArrivalPos, MSStage::myDestinationStop, myIntendedDepart, myIntendedVehicleID, myLines, myVehicleDistance, OutputDevice::openTag(), SUMO_ATTR_ARRIVALPOS, SUMO_ATTR_BUS_STOP, SUMO_ATTR_DEPART, SUMO_ATTR_FROM, SUMO_ATTR_INTENDED, SUMO_ATTR_LINES, SUMO_ATTR_TO, time2string(), unspecifiedArrivalPos(), WAITING_FOR_DEPART, and OutputDevice::writeAttr().
|
virtual |
Saves the current state into the given stream.
Reimplemented from MSStage.
Definition at line 410 of file MSStageDriving.cpp.
References Named::getID(), MSStage::myArrived, MSStage::myDeparted, myTimeLoss, myVehicle, myVehicleDistance, and myWaitingSince.
|
inlineinherited |
Definition at line 93 of file MSStage.h.
References MSStage::myArrivalPos.
Referenced by MSStageTrip::setArrived().
|
virtual |
marks arrival time and records driven distance
Reimplemented from MSStage.
Definition at line 343 of file MSStageDriving.cpp.
References SUMOVehicle::getArrivalPos(), SUMOVehicle::getOdometer(), SUMOTrafficObject::getPositionOnLane(), SUMOVehicle::getTimeLoss(), MSStage::myArrivalPos, myTimeLoss, myVehicle, myVehicleDistance, and MSStage::setArrived().
|
inherited |
|
inherited |
Definition at line 159 of file MSStage.cpp.
References MSStoppingPlace::getBeginLanePosition(), MSStoppingPlace::getEndLanePosition(), MSStage::myArrivalPos, MSStage::myDestination, and MSStage::myDestinationStop.
Referenced by MSTransportable::rerouteParkingArea().
|
inline |
change origin for parking area rerouting
Definition at line 162 of file MSStageDriving.h.
References myOrigin.
Referenced by MSTransportable::rerouteParkingArea().
|
inlinevirtualinherited |
sets the walking speed (ignored in other stages)
Reimplemented in MSPerson::MSPersonStage_Walking.
void MSStageDriving::setVehicle | ( | SUMOVehicle * | v | ) |
Definition at line 364 of file MSStageDriving.cpp.
References MSVehicleType::getID(), Named::getID(), SUMOVehicle::getOdometer(), SUMOTrafficObject::getParameter(), SUMOVehicle::getTimeLoss(), SUMOTrafficObject::getVClass(), SUMOTrafficObject::getVehicleType(), SUMOVehicle::hasDeparted(), SUMOVehicleParameter::line, myTimeLoss, myVehicle, myVehicleDistance, myVehicleID, myVehicleLine, myVehicleType, and myVehicleVClass.
Referenced by loadState(), proceed(), and MSDevice_Transportable::~MSDevice_Transportable().
|
virtual |
Called on writing tripinfo output.
[in] | os | The stream to write the information into |
IOError | not yet implemented |
Implements MSStage.
Definition at line 243 of file MSStageDriving.cpp.
References MSDevice_Tripinfo::addRideTransportData(), OutputDevice::closeTag(), getArrivalPos(), MSNet::getCurrentTimeStep(), MSNet::getInstance(), MSTransportable::isPerson(), MSStage::myArrived, MSStage::myDeparted, myTimeLoss, myVehicleDistance, myVehicleID, myVehicleLine, myVehicleVClass, myWaitingSince, OutputDevice::openTag(), time2string(), toString(), and OutputDevice::writeAttr().
bool MSStageDriving::unspecifiedArrivalPos | ( | ) | const |
Definition at line 338 of file MSStageDriving.cpp.
References MSStage::myArrivalPos.
Referenced by getArrivalPos(), MSDevice_Transportable::notifyMove(), and routeOutput().
|
protectedinherited |
the position at which we want to arrive
Definition at line 224 of file MSStage.h.
Referenced by MSStageTrip::clone(), MSStageWaiting::clone(), clone(), MSStageTranship::clone(), MSStageWaiting::getAngle(), getAngle(), MSPerson::MSPersonStage_Walking::getArrivalPos(), MSStage::getArrivalPos(), getArrivalPos(), MSStageTranship::getArrivalPos(), MSStage::getEdgePos(), getEdgePos(), MSStageWaiting::getPosition(), getPosition(), MSPerson::MSPersonStage_Walking::MSPersonStage_Walking(), MSStageTranship::MSStageTranship(), routeOutput(), MSStage::setArrivalPos(), MSStageTrip::setArrived(), setArrived(), MSStage::setDestination(), MSStageWaiting::tripInfoOutput(), MSStageTranship::tripInfoOutput(), and unspecifiedArrivalPos().
|
protectedinherited |
the time at which this stage ended
Definition at line 230 of file MSStage.h.
Referenced by getAngle(), MSStage::getArrived(), MSStageTranship::getDistance(), getEdge(), getEdgePos(), getPosition(), isWaiting4Vehicle(), loadState(), MSStageTranship::routeOutput(), saveState(), MSStage::setArrived(), MSStageWaiting::tripInfoOutput(), tripInfoOutput(), and MSStageTranship::tripInfoOutput().
|
protectedinherited |
the time at which this stage started
Definition at line 227 of file MSStage.h.
Referenced by MSStage::getDeparted(), MSStageTranship::getDistance(), MSStageWaiting::getWaitingTime(), loadState(), MSStageWaiting::proceed(), MSStageTranship::proceed(), MSStageTranship::routeOutput(), saveState(), MSStage::setDeparted(), MSStageWaiting::tripInfoOutput(), tripInfoOutput(), and MSStageTranship::tripInfoOutput().
|
protectedinherited |
the next edge to reach by getting transported
Definition at line 218 of file MSStage.h.
Referenced by abort(), MSStageTrip::clone(), MSStageWaiting::clone(), clone(), MSStageWaiting::getAngle(), getAngle(), MSStage::getDestination(), MSStage::getEdge(), getEdge(), MSStage::getFromEdge(), MSStageWaiting::getPosition(), getPosition(), isWaitingFor(), MSStageTrip::setArrived(), and MSStage::setDestination().
|
protectedinherited |
the stop to reach by getting transported (if any)
Definition at line 221 of file MSStage.h.
Referenced by abort(), MSStageTrip::clone(), MSStageWaiting::clone(), clone(), MSStageTranship::clone(), MSStage::getDestinationStop(), getWaitingDescription(), isWaitingFor(), MSStageTranship::moveToNextEdge(), MSPerson::MSPersonStage_Access::MSPersonStage_Access(), MSStageWaiting::proceed(), MSStageWaiting::routeOutput(), routeOutput(), MSStageTrip::setArrived(), and MSStage::setDestination().
|
protectedinherited |
The id of the group of transportables traveling together.
Definition at line 236 of file MSStage.h.
Referenced by clone(), MSStage::getGroup(), and proceed().
|
protected |
Definition at line 202 of file MSStageDriving.h.
Referenced by clone(), getIntendedDepart(), getStageSummary(), and routeOutput().
|
protected |
Definition at line 201 of file MSStageDriving.h.
Referenced by clone(), getIntendedVehicleID(), getStageSummary(), and routeOutput().
|
protected |
the lines to choose from
Definition at line 179 of file MSStageDriving.h.
Referenced by clone(), getLines(), getStageDescription(), getStageSummary(), getWaitingDescription(), isWaitingFor(), proceed(), and routeOutput().
|
protected |
the origin edge
Definition at line 176 of file MSStageDriving.h.
Referenced by clone(), proceed(), and setOrigin().
|
protected |
the stop at which this ride starts (or nullptr)
Definition at line 199 of file MSStageDriving.h.
Referenced by getOriginStop(), and proceed().
|
protected |
Definition at line 197 of file MSStageDriving.h.
Referenced by getPosition(), and proceed().
|
protected |
While driving, this is the timeLoss of the vehicle when the ride started, after arrival this is the timeLoss which the vehicle accumulated during the ride.
Definition at line 191 of file MSStageDriving.h.
Referenced by loadState(), saveState(), setArrived(), setVehicle(), and tripInfoOutput().
|
protectedinherited |
The type of this stage.
Definition at line 233 of file MSStage.h.
Referenced by MSStageWaiting::clone(), MSStage::getStageType(), MSStageWaiting::routeOutput(), and MSStageWaiting::tripInfoOutput().
|
protected |
The taken vehicle.
Definition at line 182 of file MSStageDriving.h.
Referenced by abort(), getAngle(), getDistance(), getEdge(), getEdgePos(), getPosition(), getSpeed(), getVehicle(), isWaiting4Vehicle(), loadState(), proceed(), saveState(), setArrived(), and setVehicle().
|
protected |
Definition at line 189 of file MSStageDriving.h.
Referenced by getDistance(), loadState(), routeOutput(), saveState(), setArrived(), setVehicle(), and tripInfoOutput().
|
protected |
cached vehicle data for output after the vehicle has been removed
Definition at line 184 of file MSStageDriving.h.
Referenced by setVehicle(), and tripInfoOutput().
|
protected |
Definition at line 185 of file MSStageDriving.h.
Referenced by setVehicle(), and tripInfoOutput().
|
protected |
Definition at line 186 of file MSStageDriving.h.
Referenced by getVehicleType(), and setVehicle().
|
protected |
Definition at line 188 of file MSStageDriving.h.
Referenced by setVehicle(), and tripInfoOutput().
|
protected |
Definition at line 196 of file MSStageDriving.h.
Referenced by getAngle(), getEdge(), getFromEdge(), getPosition(), getWaitingDescription(), and proceed().
|
protected |
Definition at line 193 of file MSStageDriving.h.
Referenced by getAngle(), getEdgePos(), getPosition(), and proceed().
|
protected |
The time since which this person is waiting for a ride.
Definition at line 195 of file MSStageDriving.h.
Referenced by getWaitingTime(), loadState(), proceed(), saveState(), and tripInfoOutput().
|
staticprotectedinherited |
the offset for computing positions when standing at an edge
Definition at line 239 of file MSStage.h.
Referenced by MSStageTrip::getPosition(), MSStageWaiting::getPosition(), and getPosition().