Eclipse SUMO - Simulation of Urban MObility
|
GUI-version of the transportable control for building gui persons and containers. More...
#include <GUITransportableControl.h>
Public Types | |
typedef std::map< std::string, MSTransportable * >::const_iterator | constVehIt |
Definition of the internal transportables map iterator. | |
typedef std::vector< MSTransportable * > | TransportableVector |
Definition of a list of transportables. | |
Public Member Functions | |
void | abortAnyWaitingForVehicle () |
aborts the plan for any transportable that is still waiting for a ride | |
void | abortWaiting (MSTransportable *t) |
aborts waiting stage of transportable | |
void | abortWaitingForVehicle (MSTransportable *t) |
let the given transportable abort waiting for a vehicle (when removing stage via TraCI) | |
bool | add (MSTransportable *transportable) |
Adds a single transportable, returns false if an id clash occurred. | |
void | addArrived () |
void | addDiscarded () |
void | addWaiting (const MSEdge *edge, MSTransportable *person) |
adds a transportable to the list of transportables waiting for a vehicle on the specified edge | |
virtual MSTransportable * | buildContainer (const SUMOVehicleParameter *pars, MSVehicleType *vtype, MSTransportable::MSTransportablePlan *plan) const |
Builds a new container. | |
virtual MSTransportable * | buildPerson (const SUMOVehicleParameter *pars, MSVehicleType *vtype, MSTransportable::MSTransportablePlan *plan, SumoRNG *rng) const |
Builds a new person. | |
void | checkWaiting (MSNet *net, const SUMOTime time) |
checks whether any transportables waiting time is over | |
void | clearState () |
Resets transportables when quick-loading state. | |
void | endedAccess () |
virtual void | erase (MSTransportable *transportable) |
removes a single transportable | |
void | fixLoadCount (const MSTransportable *transportable) |
decrement counter to avoid double counting transportables loaded from state | |
void | forceDeparture () |
register forced (traci) departure | |
MSTransportable * | get (const std::string &id) const |
Returns the named transportable, if existing. | |
int | getActiveCount () |
return the number of active transportable objects | |
MSPModel * | getMovementModel () |
Returns the default movement model for this kind of transportables. | |
MSPModel * | getNonInteractingModel () |
Returns the non interacting movement model (for tranship and "beaming") | |
const MSDevice_Vehroutes::SortedRouteInfo & | getRouteInfo () |
GUITransportableControl (const bool isPerson) | |
constructor | |
bool | hasAnyWaiting (const MSEdge *edge, SUMOVehicle *vehicle) const |
check whether any transportables are waiting for the given vehicle | |
bool | hasNonWaiting () const |
checks whether any transportable is still engaged in walking / stopping | |
bool | hasTransportables () const |
checks whether any transportable waits to finish her plan | |
void | insertIDs (std::vector< GUIGlID > &into) |
Returns the list of all known persons by gl-id. | |
bool | loadAnyWaiting (const MSEdge *edge, SUMOVehicle *vehicle, SUMOTime &timeToLoadNext, SUMOTime &stopDuration, MSTransportable *const force=nullptr) |
load any applicable transportables Loads any person / container that is waiting on that edge for the given vehicle and removes them from myWaiting | |
constVehIt | loadedBegin () const |
Returns the begin of the internal transportables map. | |
constVehIt | loadedEnd () const |
Returns the end of the internal transportables map. | |
void | loadState (const std::string &state) |
Reconstruct the current state. | |
void | registerJammed () |
register a jammed transportable | |
void | registerTeleportAbortWait () |
register a teleport after aborting a long wait | |
void | registerTeleportWrongDest () |
register a teleport to the final destination | |
void | saveState (OutputDevice &out) |
Saves the current state into the given stream. | |
void | setWaitEnd (SUMOTime time, MSTransportable *transportable) |
sets the arrival time for a waiting transportable | |
int | size () const |
Returns the number of known transportables. | |
void | startedAccess () |
virtual | ~GUITransportableControl () |
destructor | |
Retrieval of transportable statistics (always accessible) | |
int | getLoadedNumber () const |
Returns the number of build transportables. | |
int | getDepartedNumber () const |
int | getRunningNumber () const |
Returns the number of build and inserted, but not yet deleted transportables. | |
int | getJammedNumber () const |
Returns the number of times a transportables was jammed. | |
int | getWaitingForVehicleNumber () const |
Returns the number of transportables waiting for a ride. | |
int | getWaitingUntilNumber () const |
Returns the number of transportables waiting for a specified amount of time. | |
int | getMovingNumber () const |
Returns the number of transportables moving by themselvs (i.e. walking) | |
int | getRidingNumber () const |
Returns the number of transportables riding a vehicle. | |
int | getEndedNumber () const |
Returns the number of transportables that exited the simulation. | |
int | getArrivedNumber () const |
Returns the number of transportables that arrived at their destination. | |
int | getTeleportsAbortWait () const |
return the number of teleports due to excessive waiting for a ride | |
int | getTeleportsWrongDest () const |
return the number of teleports of transportables riding to the wrong destination | |
int | getTeleportCount () const |
Returns the number of teleports transportables did. | |
Protected Attributes | |
int | myAccessNumber |
The number of transportables currently in an access stage. | |
int | myArrivedNumber |
The number of transportables that arrived at their destination. | |
int | myDiscardedNumber |
The number of discarded transportables. | |
int | myEndedNumber |
The number of transportables that exited the simulation. | |
bool | myHaveNewWaiting |
whether a new transportable waiting for a vehicle has been added in the last step | |
const bool | myIsPerson |
int | myJammedNumber |
The number of jammed transportables. | |
int | myLoadedNumber |
The number of build transportables. | |
int | myMaxTransportableNumber |
maximum transportable count | |
int | myRunningNumber |
The number of transportables within the network (build and inserted but not removed) | |
int | myTeleportsAbortWait |
The number of teleports due to long waits for a ride. | |
int | myTeleportsWrongDest |
The number of teleports due to wrong destination. | |
std::map< std::string, MSTransportable * > | myTransportables |
all currently created transportables by id | |
std::map< SUMOTime, TransportableVector > | myWaiting4Departure |
Transportables waiting for departure. | |
std::map< const MSEdge *, TransportableVector, ComparatorNumericalIdLess > | myWaiting4Vehicle |
the lists of waiting transportables | |
int | myWaitingForDepartureNumber |
The number of transportables waiting for departure. | |
int | myWaitingForVehicleNumber |
The number of transportables waiting for vehicles. | |
std::map< SUMOTime, TransportableVector > | myWaitingUntil |
the lists of walking / stopping transportables | |
int | myWaitingUntilNumber |
The number of transportables waiting for a specified time. | |
Private Attributes | |
SUMOTime | myAbortWaitingTimeout |
The time until waiting for a ride is aborted. | |
MSPModel * | myMovementModel |
MSPModel * | myNonInteractingModel |
MSDevice_Vehroutes::SortedRouteInfo | myRouteInfos |
Information needed to sort transportable output by departure time. | |
GUI-version of the transportable control for building gui persons and containers.
Definition at line 35 of file GUITransportableControl.h.
|
inherited |
Definition of the internal transportables map iterator.
Definition at line 57 of file MSTransportableControl.h.
|
inherited |
Definition of a list of transportables.
Definition at line 54 of file MSTransportableControl.h.
GUITransportableControl::GUITransportableControl | ( | const bool | isPerson | ) |
constructor
Definition at line 35 of file GUITransportableControl.cpp.
|
virtual |
destructor
Definition at line 41 of file GUITransportableControl.cpp.
|
inherited |
aborts the plan for any transportable that is still waiting for a ride
Definition at line 365 of file MSTransportableControl.cpp.
References MSTransportableControl::erase(), MSStageDriving::getWaitingDescription(), MSTransportableControl::myAbortWaitingTimeout, MSTransportableControl::myWaiting4Vehicle, MSTransportableControl::myWaitingForVehicleNumber, MSEdge::removeTransportable(), and WRITE_WARNING.
Referenced by MSNet::adaptToState().
|
inherited |
aborts waiting stage of transportable
Definition at line 400 of file MSTransportableControl.cpp.
References MSTransportableControl::myWaiting4Departure, and MSTransportableControl::myWaitingUntil.
Referenced by MSStageWaiting::abort().
|
inherited |
let the given transportable abort waiting for a vehicle (when removing stage via TraCI)
Definition at line 384 of file MSTransportableControl.cpp.
References MSTransportable::getEdge(), MSTransportableControl::myAbortWaitingTimeout, and MSTransportableControl::myWaiting4Vehicle.
Referenced by MSStageDriving::abort(), and MSDevice_Transportable::transferAtSplitOrJoin().
|
inherited |
Adds a single transportable, returns false if an id clash occurred.
[in] | transportable | The transportable to add |
Definition at line 103 of file MSTransportableControl.cpp.
References DELTA_T, SUMOVehicleParameter::depart, MSTransportable::getParameter(), SUMOVehicleParameter::id, MSTransportableControl::myLoadedNumber, MSTransportableControl::myTransportables, MSTransportableControl::myWaiting4Departure, and MSTransportableControl::myWaitingForDepartureNumber.
Referenced by LIBSUMO_NAMESPACE::Person::add(), and MSRouteHandler::addFlowTransportable().
|
inlineinherited |
Definition at line 278 of file MSTransportableControl.h.
References MSTransportableControl::myArrivedNumber.
Referenced by MSTransportable::proceed().
|
inlineinherited |
Definition at line 282 of file MSTransportableControl.h.
References MSTransportableControl::myDiscardedNumber, and MSTransportableControl::myLoadedNumber.
Referenced by MSRouteHandler::addFlowTransportable().
|
inherited |
adds a transportable to the list of transportables waiting for a vehicle on the specified edge
Definition at line 252 of file MSTransportableControl.cpp.
References MSTransportableControl::myAbortWaitingTimeout, MSTransportableControl::myHaveNewWaiting, MSTransportableControl::myWaiting4Vehicle, MSTransportableControl::myWaitingForVehicleNumber, and MSTransportable::setAbortWaiting().
Referenced by MSStageDriving::registerWaiting().
|
virtual |
Builds a new container.
[in] | pars | The parameter |
[in] | vtype | The type (reusing vehicle type container here) |
[in] | plan | This container's plan |
Reimplemented from MSTransportableControl.
Definition at line 54 of file GUITransportableControl.cpp.
|
virtual |
Builds a new person.
[in] | pars | The parameter |
[in] | vtype | The type (reusing vehicle type container here) |
[in] | plan | This person's plan |
[in] | rng | The RNG to compute the optional speed deviation |
Reimplemented from MSTransportableControl.
Definition at line 46 of file GUITransportableControl.cpp.
References MSVehicleType::computeChosenSpeedDeviation().
checks whether any transportables waiting time is over
Definition at line 195 of file MSTransportableControl.cpp.
References MSNet::CONTAINER_DEPARTED, DELTA_T, SUMOVehicleParameter::depart, MSDevice_Vehroutes::SortedRouteInfo::departureCounts, MSTransportableControl::erase(), OptionsCont::getBool(), MSNet::getInstance(), OptionsCont::getOptions(), MSTransportable::getParameter(), MSNet::informTransportableStateListener(), MSTransportable::isPerson(), OptionsCont::isSet(), MSTransportableControl::myHaveNewWaiting, MSTransportableControl::myMaxTransportableNumber, MSTransportableControl::myRouteInfos, MSTransportableControl::myRunningNumber, MSTransportableControl::myWaiting4Departure, MSTransportableControl::myWaitingForDepartureNumber, MSTransportableControl::myWaitingUntil, MSTransportableControl::myWaitingUntilNumber, MSNet::PERSON_DEPARTED, MSTransportable::proceed(), MSDevice_Vehroutes::registerTransportableDepart(), and MSTransportable::setDeparted().
Referenced by MSNet::simulationStep().
|
inherited |
Resets transportables when quick-loading state.
Definition at line 452 of file MSTransportableControl.cpp.
References MSPModel::clearState(), MSTransportableControl::myArrivedNumber, MSTransportableControl::myDiscardedNumber, MSTransportableControl::myEndedNumber, MSTransportableControl::myHaveNewWaiting, MSTransportableControl::myJammedNumber, MSTransportableControl::myLoadedNumber, MSTransportableControl::myMovementModel, MSTransportableControl::myNonInteractingModel, MSTransportableControl::myRunningNumber, MSTransportableControl::myTransportables, MSTransportableControl::myWaiting4Departure, MSTransportableControl::myWaiting4Vehicle, MSTransportableControl::myWaitingForDepartureNumber, MSTransportableControl::myWaitingForVehicleNumber, MSTransportableControl::myWaitingUntil, and MSTransportableControl::myWaitingUntilNumber.
Referenced by MSNet::clearState(), and MSTransportableControl::~MSTransportableControl().
|
inlineinherited |
Definition at line 291 of file MSTransportableControl.h.
References MSTransportableControl::myAccessNumber.
Referenced by MSPerson::MSPersonStage_Access::ProceedCmd::execute().
|
virtualinherited |
removes a single transportable
Definition at line 146 of file MSTransportableControl.cpp.
References MSNet::CONTAINER_ARRIVED, SUMOVehicleParameter::depart, OptionsCont::getBool(), MSTransportable::getDeparture(), OutputDevice::getDeviceByOption(), Named::getID(), MSNet::getInstance(), OptionsCont::getOptions(), MSTransportable::getParameter(), OutputDevice_String::getString(), MSTransportable::hasArrived(), MSNet::informTransportableStateListener(), MSTransportable::isPerson(), OptionsCont::isSet(), MSTransportableControl::myEndedNumber, MSTransportableControl::myRouteInfos, MSTransportableControl::myRunningNumber, MSTransportableControl::myTransportables, MSNet::PERSON_ARRIVED, MSDevice_Vehroutes::SortedRouteInfo::routeOut, MSTransportable::routeOutput(), MSTransportable::tripInfoOutput(), and MSDevice_Vehroutes::writeSortedOutput().
Referenced by MSTransportableControl::abortAnyWaitingForVehicle(), MSTransportableControl::checkWaiting(), MSPerson::MSPersonStage_Access::ProceedCmd::execute(), MSDevice_Tripinfo::generateOutputForUnfinished(), MSStageTranship::moveToNextEdge(), MSStageWalking::moveToNextEdge(), MSDevice_Transportable::notifyLeave(), MSDevice_Transportable::notifyMove(), GUIPerson::GUIPersonPopupMenu::onCmdRemoveObject(), MSStageWalking::proceed(), MSTransportable::removeStage(), MSDevice_Vehroutes::writePendingOutput(), and MSDevice_Transportable::~MSDevice_Transportable().
|
inherited |
decrement counter to avoid double counting transportables loaded from state
Definition at line 118 of file MSTransportableControl.cpp.
References DELTA_T, SUMOVehicleParameter::depart, MSTransportable::getParameter(), MSTransportable::hasDeparted(), MSTransportableControl::myLoadedNumber, and MSTransportableControl::myWaiting4Departure.
Referenced by MSStateHandler::myEndElement().
|
inherited |
register forced (traci) departure
Definition at line 246 of file MSTransportableControl.cpp.
References MSTransportableControl::myRunningNumber.
Referenced by MSStageWaiting::abort().
|
inherited |
Returns the named transportable, if existing.
[in] | id | The id of the transportable |
Definition at line 136 of file MSTransportableControl.cpp.
References MSTransportableControl::myTransportables.
Referenced by MSRouteHandler::addFlowTransportable(), libsumo::Helper::getPerson(), LIBSUMO_NAMESPACE::Polygon::getTrafficObject(), libsumo::Helper::handleSubscriptions(), MSStateHandler::myEndElement(), libsumo::Helper::postProcessRemoteControl(), TraCIServer::postProcessSimulationStep(), TraCIServerAPI_Person::processSet(), and MSDevice_FCDReplay::FCDHandler::updateTrafficObjects().
|
inherited |
return the number of active transportable objects
Definition at line 343 of file MSTransportableControl.cpp.
References MSTransportableControl::myRunningNumber, MSTransportableControl::myWaiting4Departure, and MSTransportableControl::myWaitingForVehicleNumber.
Referenced by LIBSUMO_NAMESPACE::Simulation::getMinExpectedNumber().
|
inlineinherited |
Returns the number of transportables that arrived at their destination.
Definition at line 243 of file MSTransportableControl.h.
References MSTransportableControl::myArrivedNumber.
Referenced by MSNet::writeSummaryOutput().
|
inherited |
Definition at line 360 of file MSTransportableControl.cpp.
References MSTransportableControl::myDiscardedNumber, MSTransportableControl::myLoadedNumber, and MSTransportableControl::myWaitingForDepartureNumber.
Referenced by MSNet::writeSummaryOutput().
|
inlineinherited |
Returns the number of transportables that exited the simulation.
Definition at line 236 of file MSTransportableControl.h.
References MSTransportableControl::myEndedNumber.
Referenced by MSNet::writeSummaryOutput().
|
inlineinherited |
Returns the number of times a transportables was jammed.
Definition at line 209 of file MSTransportableControl.h.
References MSTransportableControl::myJammedNumber.
Referenced by MSNet::generateStatistics(), LIBSUMO_NAMESPACE::Simulation::getParameter(), GUINet::getParameterWindow(), MSNet::writeStatistics(), and MSNet::writeSummaryOutput().
|
inlineinherited |
Returns the number of build transportables.
Definition at line 193 of file MSTransportableControl.h.
References MSTransportableControl::myLoadedNumber.
Referenced by MSRouteHandler::addFlowTransportable(), MSNet::generateStatistics(), LIBSUMO_NAMESPACE::Simulation::getParameter(), GUINet::getParameterWindow(), MSNet::writeStatistics(), and MSNet::writeSummaryOutput().
|
inlineinherited |
Returns the default movement model for this kind of transportables.
Definition at line 267 of file MSTransportableControl.h.
References MSTransportableControl::myMovementModel.
Referenced by MSStageWalking::abort(), MSLink::getLeaderInfo(), MSLane::hasPedestrians(), MSStageWalking::loadState(), MSStageWalking::moveToNextEdge(), MSPModel_Striping::PState::moveToXY(), MSLane::nextBlocking(), MSStageWalking::proceed(), and MSStageWalking::walkDistance().
|
inherited |
Returns the number of transportables moving by themselvs (i.e. walking)
Definition at line 349 of file MSTransportableControl.cpp.
References MSPModel::getActiveNumber(), MSTransportableControl::myAccessNumber, and MSTransportableControl::myMovementModel.
Referenced by MSTransportableControl::getRidingNumber(), MSTransportableControl::hasNonWaiting(), and MSNet::writeSummaryOutput().
|
inlineinherited |
Returns the non interacting movement model (for tranship and "beaming")
Definition at line 274 of file MSTransportableControl.h.
References MSTransportableControl::myNonInteractingModel.
Referenced by MSStageTranship::proceed().
|
inherited |
Returns the number of transportables riding a vehicle.
Definition at line 355 of file MSTransportableControl.cpp.
References MSTransportableControl::getMovingNumber(), MSTransportableControl::myRunningNumber, MSTransportableControl::myWaitingForVehicleNumber, and MSTransportableControl::myWaitingUntilNumber.
Referenced by MSNet::writeSummaryOutput().
|
inlineinherited |
Definition at line 306 of file MSTransportableControl.h.
References MSTransportableControl::myRouteInfos.
Referenced by MSDevice_Vehroutes::writePendingOutput().
|
inlineinherited |
Returns the number of build and inserted, but not yet deleted transportables.
Definition at line 202 of file MSTransportableControl.h.
References MSTransportableControl::myRunningNumber.
Referenced by MSNet::generateStatistics(), LIBSUMO_NAMESPACE::Simulation::getParameter(), GUINet::getParameterWindow(), GUIApplicationWindow::handleEvent_SimulationStep(), MSNet::postMoveStep(), and MSNet::writeStatistics().
|
inlineinherited |
Returns the number of teleports transportables did.
Definition at line 258 of file MSTransportableControl.h.
References MSTransportableControl::myTeleportsAbortWait, and MSTransportableControl::myTeleportsWrongDest.
Referenced by MSNet::generateStatistics(), LIBSUMO_NAMESPACE::Simulation::getParameter(), MSNet::writeStatistics(), and MSNet::writeSummaryOutput().
|
inlineinherited |
return the number of teleports due to excessive waiting for a ride
Definition at line 248 of file MSTransportableControl.h.
References MSTransportableControl::myTeleportsAbortWait.
Referenced by MSNet::generateStatistics(), LIBSUMO_NAMESPACE::Simulation::getParameter(), and MSNet::writeStatistics().
|
inlineinherited |
return the number of teleports of transportables riding to the wrong destination
Definition at line 253 of file MSTransportableControl.h.
References MSTransportableControl::myTeleportsWrongDest.
Referenced by MSNet::generateStatistics(), LIBSUMO_NAMESPACE::Simulation::getParameter(), and MSNet::writeStatistics().
|
inlineinherited |
Returns the number of transportables waiting for a ride.
Definition at line 215 of file MSTransportableControl.h.
References MSTransportableControl::myWaitingForVehicleNumber.
Referenced by GUIApplicationWindow::checkGamingEventsDRT(), and MSNet::writeSummaryOutput().
|
inlineinherited |
Returns the number of transportables waiting for a specified amount of time.
Definition at line 222 of file MSTransportableControl.h.
References MSTransportableControl::myWaitingUntilNumber.
Referenced by MSNet::writeSummaryOutput().
|
inherited |
check whether any transportables are waiting for the given vehicle
Definition at line 263 of file MSTransportableControl.cpp.
References SUMOVehicle::allowsBoarding(), MSGlobals::gStopTolerance, SUMOVehicle::isStoppedInRange(), and MSTransportableControl::myWaiting4Vehicle.
Referenced by MSVehicle::processNextStop().
|
inherited |
checks whether any transportable is still engaged in walking / stopping
Definition at line 337 of file MSTransportableControl.cpp.
References MSTransportableControl::getMovingNumber(), MSTransportableControl::myHaveNewWaiting, MSTransportableControl::myWaiting4Departure, and MSTransportableControl::myWaitingUntilNumber.
Referenced by MSNet::simulationState().
|
inherited |
checks whether any transportable waits to finish her plan
Definition at line 331 of file MSTransportableControl.cpp.
References MSTransportableControl::myTransportables.
Referenced by MSNet::simulationStep(), and MSFCDExport::write().
void GUITransportableControl::insertIDs | ( | std::vector< GUIGlID > & | into | ) |
Returns the list of all known persons by gl-id.
[fill] | into The list to fill with vehicle ids |
Definition at line 60 of file GUITransportableControl.cpp.
References GUIGlObject::getGlID(), myIsPerson, MSTransportableControl::myTransportables, and WAITING_FOR_DEPART.
|
inherited |
load any applicable transportables Loads any person / container that is waiting on that edge for the given vehicle and removes them from myWaiting
[in] | edge | the edge on which the loading should take place |
[in] | vehicle | the vehicle which is taking on containers |
[in,out] | timeToLoadNext | earliest time for the next loading process (gets updated) |
[in,out] | stopDuration | the duration of the stop where the loading takes place (might be extended) |
[in] | force | load the specified transportable even if the vehicle is not on a stop (needed for replay) |
Definition at line 279 of file MSTransportableControl.cpp.
References SUMOVehicle::addTransportable(), SUMOVehicle::allowsBoarding(), DELTA_T, MSVehicleType::getBoardingFactor(), MSTransportable::getCurrentStage(), MSTransportable::getEdgePos(), MSVehicleType::getLoadingDuration(), MSStage::getOriginStop(), MSTransportable::getVehicleType(), SUMOTrafficObject::getVehicleType(), MSGlobals::gStopTolerance, MSTransportable::isPerson(), SUMOVehicle::isStoppedInRange(), MSTransportable::isWaitingFor(), MAX2(), MSTransportableControl::myAbortWaitingTimeout, MSTransportableControl::myWaiting4Vehicle, MSTransportableControl::myWaitingForVehicleNumber, MSStoppingPlace::removeTransportable(), MSEdge::removeTransportable(), MSTransportable::setAbortWaiting(), and SIMSTEP.
Referenced by MSVehicle::boardTransportables(), MEVehicle::mayProceed(), MSTransportableDevice_FCDReplay::move(), and MEVehicle::processStop().
|
inlineinherited |
Returns the begin of the internal transportables map.
Definition at line 149 of file MSTransportableControl.h.
References MSTransportableControl::myTransportables.
Referenced by MSDevice_BTreceiver::BTreceiverUpdate::execute(), MSTransportableDevice_FCDReplay::MovePedestrians::execute(), MSDevice_Tripinfo::generateOutputForUnfinished(), and MSDevice_Vehroutes::writePendingOutput().
|
inlineinherited |
Returns the end of the internal transportables map.
Definition at line 157 of file MSTransportableControl.h.
References MSTransportableControl::myTransportables.
Referenced by MSDevice_BTreceiver::BTreceiverUpdate::execute(), MSTransportableDevice_FCDReplay::MovePedestrians::execute(), MSDevice_Tripinfo::generateOutputForUnfinished(), and MSDevice_Vehroutes::writePendingOutput().
|
inherited |
Reconstruct the current state.
Definition at line 445 of file MSTransportableControl.cpp.
References MSTransportableControl::myArrivedNumber, MSTransportableControl::myDiscardedNumber, MSTransportableControl::myEndedNumber, MSTransportableControl::myHaveNewWaiting, MSTransportableControl::myJammedNumber, MSTransportableControl::myLoadedNumber, MSTransportableControl::myRunningNumber, MSTransportableControl::myWaitingForDepartureNumber, MSTransportableControl::myWaitingForVehicleNumber, and MSTransportableControl::myWaitingUntilNumber.
Referenced by MSStateHandler::myStartElement().
|
inlineinherited |
register a jammed transportable
Definition at line 170 of file MSTransportableControl.h.
References MSTransportableControl::myJammedNumber.
Referenced by MSPModel_Striping::PState::walk().
|
inlineinherited |
register a teleport after aborting a long wait
Definition at line 175 of file MSTransportableControl.h.
References MSTransportableControl::myTeleportsAbortWait.
Referenced by MSTransportable::abortStage().
|
inlineinherited |
register a teleport to the final destination
Definition at line 180 of file MSTransportableControl.h.
References MSTransportableControl::myTeleportsWrongDest.
Referenced by MSDevice_Transportable::notifyLeave().
|
inherited |
Saves the current state into the given stream.
Definition at line 433 of file MSTransportableControl.cpp.
References MSTransportableControl::myArrivedNumber, MSTransportableControl::myDiscardedNumber, MSTransportableControl::myEndedNumber, MSTransportableControl::myHaveNewWaiting, MSTransportableControl::myJammedNumber, MSTransportableControl::myLoadedNumber, MSTransportableControl::myRunningNumber, MSTransportableControl::myTransportables, MSTransportableControl::myWaitingForDepartureNumber, MSTransportableControl::myWaitingForVehicleNumber, MSTransportableControl::myWaitingUntilNumber, SUMO_ATTR_STATE, and OutputDevice::writeAttr().
Referenced by MSStateHandler::saveState().
|
inherited |
sets the arrival time for a waiting transportable
Definition at line 183 of file MSTransportableControl.cpp.
References DELTA_T, MSTransportableControl::myWaitingUntil, and MSTransportableControl::myWaitingUntilNumber.
Referenced by MSStageWaiting::loadState(), and MSStageWaiting::proceed().
|
inlineinherited |
Returns the number of known transportables.
Definition at line 165 of file MSTransportableControl.h.
References MSTransportableControl::myTransportables.
|
inlineinherited |
Definition at line 287 of file MSTransportableControl.h.
References MSTransportableControl::myAccessNumber.
Referenced by MSPerson::MSPersonStage_Access::proceed().
|
privateinherited |
The time until waiting for a ride is aborted.
Definition at line 374 of file MSTransportableControl.h.
Referenced by MSTransportableControl::abortAnyWaitingForVehicle(), MSTransportableControl::abortWaitingForVehicle(), MSTransportableControl::addWaiting(), MSTransportableControl::loadAnyWaiting(), and MSTransportableControl::MSTransportableControl().
|
protectedinherited |
The number of transportables currently in an access stage.
Definition at line 345 of file MSTransportableControl.h.
Referenced by MSTransportableControl::endedAccess(), MSTransportableControl::getMovingNumber(), and MSTransportableControl::startedAccess().
|
protectedinherited |
The number of transportables that arrived at their destination.
Definition at line 351 of file MSTransportableControl.h.
Referenced by MSTransportableControl::addArrived(), MSTransportableControl::clearState(), MSTransportableControl::getArrivedNumber(), MSTransportableControl::loadState(), and MSTransportableControl::saveState().
|
protectedinherited |
The number of discarded transportables.
Definition at line 327 of file MSTransportableControl.h.
Referenced by MSTransportableControl::addDiscarded(), MSTransportableControl::clearState(), MSTransportableControl::getDepartedNumber(), MSTransportableControl::loadState(), and MSTransportableControl::saveState().
|
protectedinherited |
The number of transportables that exited the simulation.
Definition at line 348 of file MSTransportableControl.h.
Referenced by MSTransportableControl::clearState(), MSTransportableControl::erase(), MSTransportableControl::getEndedNumber(), MSTransportableControl::loadState(), and MSTransportableControl::saveState().
|
protectedinherited |
whether a new transportable waiting for a vehicle has been added in the last step
Definition at line 360 of file MSTransportableControl.h.
Referenced by MSTransportableControl::addWaiting(), MSTransportableControl::checkWaiting(), MSTransportableControl::clearState(), MSTransportableControl::hasNonWaiting(), MSTransportableControl::loadState(), and MSTransportableControl::saveState().
|
protected |
Definition at line 69 of file GUITransportableControl.h.
Referenced by insertIDs().
|
protectedinherited |
The number of jammed transportables.
Definition at line 333 of file MSTransportableControl.h.
Referenced by MSTransportableControl::clearState(), MSTransportableControl::getJammedNumber(), MSTransportableControl::loadState(), MSTransportableControl::registerJammed(), and MSTransportableControl::saveState().
|
protectedinherited |
The number of build transportables.
Definition at line 324 of file MSTransportableControl.h.
Referenced by MSTransportableControl::add(), MSTransportableControl::addDiscarded(), MSTransportableControl::clearState(), MSTransportableControl::fixLoadCount(), MSTransportableControl::getDepartedNumber(), MSTransportableControl::getLoadedNumber(), MSTransportableControl::loadState(), and MSTransportableControl::saveState().
|
protectedinherited |
maximum transportable count
Definition at line 363 of file MSTransportableControl.h.
Referenced by MSTransportableControl::checkWaiting(), and MSTransportableControl::MSTransportableControl().
|
privateinherited |
Definition at line 366 of file MSTransportableControl.h.
Referenced by MSTransportableControl::clearState(), MSTransportableControl::getMovementModel(), MSTransportableControl::getMovingNumber(), MSTransportableControl::MSTransportableControl(), and MSTransportableControl::~MSTransportableControl().
|
privateinherited |
Definition at line 368 of file MSTransportableControl.h.
Referenced by MSTransportableControl::clearState(), MSTransportableControl::getNonInteractingModel(), MSTransportableControl::MSTransportableControl(), and MSTransportableControl::~MSTransportableControl().
|
privateinherited |
Information needed to sort transportable output by departure time.
Definition at line 371 of file MSTransportableControl.h.
Referenced by MSTransportableControl::checkWaiting(), MSTransportableControl::erase(), MSTransportableControl::getRouteInfo(), and MSTransportableControl::MSTransportableControl().
|
protectedinherited |
The number of transportables within the network (build and inserted but not removed)
Definition at line 330 of file MSTransportableControl.h.
Referenced by MSTransportableControl::checkWaiting(), MSTransportableControl::clearState(), MSTransportableControl::erase(), MSTransportableControl::forceDeparture(), MSTransportableControl::getActiveCount(), MSTransportableControl::getRidingNumber(), MSTransportableControl::getRunningNumber(), MSTransportableControl::loadState(), and MSTransportableControl::saveState().
|
protectedinherited |
The number of teleports due to long waits for a ride.
Definition at line 354 of file MSTransportableControl.h.
Referenced by MSTransportableControl::getTeleportCount(), MSTransportableControl::getTeleportsAbortWait(), and MSTransportableControl::registerTeleportAbortWait().
|
protectedinherited |
The number of teleports due to wrong destination.
Definition at line 357 of file MSTransportableControl.h.
Referenced by MSTransportableControl::getTeleportCount(), MSTransportableControl::getTeleportsWrongDest(), and MSTransportableControl::registerTeleportWrongDest().
|
protectedinherited |
all currently created transportables by id
Definition at line 312 of file MSTransportableControl.h.
Referenced by MSTransportableControl::add(), MSTransportableControl::clearState(), MSTransportableControl::erase(), MSTransportableControl::get(), MSTransportableControl::hasTransportables(), insertIDs(), MSTransportableControl::loadedBegin(), MSTransportableControl::loadedEnd(), MSTransportableControl::saveState(), and MSTransportableControl::size().
|
protectedinherited |
Transportables waiting for departure.
Definition at line 315 of file MSTransportableControl.h.
Referenced by MSTransportableControl::abortWaiting(), MSTransportableControl::add(), MSTransportableControl::checkWaiting(), MSTransportableControl::clearState(), MSTransportableControl::fixLoadCount(), MSTransportableControl::getActiveCount(), and MSTransportableControl::hasNonWaiting().
|
protectedinherited |
the lists of waiting transportables
Definition at line 321 of file MSTransportableControl.h.
Referenced by MSTransportableControl::abortAnyWaitingForVehicle(), MSTransportableControl::abortWaitingForVehicle(), MSTransportableControl::addWaiting(), MSTransportableControl::clearState(), MSTransportableControl::hasAnyWaiting(), and MSTransportableControl::loadAnyWaiting().
|
protectedinherited |
The number of transportables waiting for departure.
Definition at line 336 of file MSTransportableControl.h.
Referenced by MSTransportableControl::add(), MSTransportableControl::checkWaiting(), MSTransportableControl::clearState(), MSTransportableControl::getDepartedNumber(), MSTransportableControl::loadState(), and MSTransportableControl::saveState().
|
protectedinherited |
The number of transportables waiting for vehicles.
Definition at line 339 of file MSTransportableControl.h.
Referenced by MSTransportableControl::abortAnyWaitingForVehicle(), MSTransportableControl::addWaiting(), MSTransportableControl::clearState(), MSTransportableControl::getActiveCount(), MSTransportableControl::getRidingNumber(), MSTransportableControl::getWaitingForVehicleNumber(), MSTransportableControl::loadAnyWaiting(), MSTransportableControl::loadState(), and MSTransportableControl::saveState().
|
protectedinherited |
the lists of walking / stopping transportables
Definition at line 318 of file MSTransportableControl.h.
Referenced by MSTransportableControl::abortWaiting(), MSTransportableControl::checkWaiting(), MSTransportableControl::clearState(), and MSTransportableControl::setWaitEnd().
|
protectedinherited |
The number of transportables waiting for a specified time.
Definition at line 342 of file MSTransportableControl.h.
Referenced by MSTransportableControl::checkWaiting(), MSTransportableControl::clearState(), MSTransportableControl::getRidingNumber(), MSTransportableControl::getWaitingUntilNumber(), MSTransportableControl::hasNonWaiting(), MSTransportableControl::loadState(), MSTransportableControl::saveState(), and MSTransportableControl::setWaitEnd().