Eclipse SUMO - Simulation of Urban MObility
GUITransportableControl Class Reference

GUI-version of the transportable control for building gui persons and containers. More...

#include <GUITransportableControl.h>

Inheritance diagram for GUITransportableControl:
[legend]
Collaboration diagram for GUITransportableControl:
[legend]

Public Types

typedef std::map< std::string, MSTransportable * >::const_iterator constVehIt
 Definition of the internal transportables map iterator. More...
 
typedef std::vector< MSTransportable * > TransportableVector
 Definition of a list of transportables. More...
 

Public Member Functions

void abortAnyWaitingForVehicle ()
 aborts the plan for any transportable that is still waiting for a ride More...
 
void abortWaiting (MSTransportable *t)
 aborts waiting stage of transportable More...
 
void abortWaitingForVehicle (MSTransportable *t)
 let the given transportable abort waiting for a vehicle (when removing stage via TraCI) More...
 
bool add (MSTransportable *transportable)
 Adds a single transportable, returns false if an id clash occurred. More...
 
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 More...
 
bool boardAnyWaiting (MSEdge *edge, SUMOVehicle *vehicle, const SUMOVehicleParameter::Stop &stop, SUMOTime &timeToBoardNextPerson, SUMOTime &stopDuration)
 board any applicable persons Boards any people who wait on that edge for the given vehicle and removes them from myWaiting More...
 
virtual MSTransportablebuildContainer (const SUMOVehicleParameter *pars, MSVehicleType *vtype, MSTransportable::MSTransportablePlan *plan) const
 Builds a new container. More...
 
virtual MSTransportablebuildPerson (const SUMOVehicleParameter *pars, MSVehicleType *vtype, MSTransportable::MSTransportablePlan *plan, std::mt19937 *rng) const
 Builds a new person. More...
 
void checkWaiting (MSNet *net, const SUMOTime time)
 checks whether any transportables waiting time is over More...
 
virtual void erase (MSTransportable *transportable)
 removes a single transportable More...
 
void fixLoadCount ()
 decrement counter to avoid double counting transportables loaded from state More...
 
void forceDeparture ()
 register forced (traci) departure More...
 
MSTransportableget (const std::string &id) const
 Returns the named transportable, if existing. More...
 
int getActiveCount ()
 return the number of active transportable objects More...
 
MSPModelgetMovementModel ()
 Returns the default movement model for this kind of transportables. More...
 
MSPModelgetNonInteractingModel ()
 Returns the non interacting movement model (for tranship and "beaming") More...
 
 GUITransportableControl (const bool isPerson)
 constructor More...
 
bool hasNonWaiting () const
 checks whether any transportable is still engaged in walking / stopping More...
 
bool hasTransportables () const
 checks whether any transportable waits to finish her plan More...
 
void insertIDs (std::vector< GUIGlID > &into)
 Returns the list of all known persons by gl-id. More...
 
bool loadAnyWaiting (MSEdge *edge, SUMOVehicle *vehicle, const SUMOVehicleParameter::Stop &stop, SUMOTime &timeToLoadNextContainer, SUMOTime &stopDuration)
 load any applicable containers Loads any container that is waiting on that edge for the given vehicle and removes them from myWaiting More...
 
constVehIt loadedBegin () const
 Returns the begin of the internal transportables map. More...
 
constVehIt loadedEnd () const
 Returns the end of the internal transportables map. More...
 
void loadState (const std::string &state)
 Reconstruct the current state. More...
 
void registerJammed ()
 register a jammed transportable More...
 
void saveState (OutputDevice &out)
 Saves the current state into the given stream. More...
 
void setWaitEnd (SUMOTime time, MSTransportable *transportable)
 sets the arrival time for a waiting transportable More...
 
int size () const
 Returns the number of known transportables. More...
 
virtual ~GUITransportableControl ()
 destructor More...
 
Retrieval of transportable statistics (always accessible)
int getLoadedNumber () const
 Returns the number of build transportables. More...
 
int getDepartedNumber () const
 
int getRunningNumber () const
 Returns the number of build and inserted, but not yet deleted transportables. More...
 
int getJammedNumber () const
 Returns the number of times a transportables was jammed. More...
 
int getWaitingForVehicleNumber () const
 Returns the number of transportables waiting for a ride. More...
 
int getWaitingUntilNumber () const
 Returns the number of transportables waiting for a specified amount of time. More...
 
int getMovingNumber () const
 Returns the number of transportables moving by themselvs (i.e. walking) More...
 
int getRidingNumber () const
 Returns the number of transportables riding a vehicle. More...
 
int getEndedNumber () const
 Returns the number of transportables that exited the simulation. More...
 
int getArrivedNumber () const
 Returns the number of transportables that arrived at their destination. More...
 

Protected Attributes

int myArrivedNumber
 The number of transportables that arrived at their destination. More...
 
int myDiscardedNumber
 The number of discarded transportables. More...
 
int myEndedNumber
 The number of transportables that exited the simulation. More...
 
bool myHaveNewWaiting
 whether a new transportable waiting for a vehicle has been added in the last step More...
 
const bool myIsPerson
 
int myJammedNumber
 The number of jammed transportables. More...
 
int myLoadedNumber
 The number of build transportables. More...
 
int myRunningNumber
 The number of transportables within the network (build and inserted but not removed) More...
 
std::map< std::string, MSTransportable * > myTransportables
 all currently created transportables by id More...
 
std::map< SUMOTime, TransportableVectormyWaiting4Departure
 Transportables waiting for departure. More...
 
std::map< const MSEdge *, TransportableVectormyWaiting4Vehicle
 the lists of waiting transportables More...
 
int myWaitingForDepartureNumber
 The number of transportables waiting for departure. More...
 
int myWaitingForVehicleNumber
 The number of transportables waiting for vehicles. More...
 
std::map< SUMOTime, TransportableVectormyWaitingUntil
 the lists of walking / stopping transportables More...
 
int myWaitingUntilNumber
 The number of transportables waiting for a specified time. More...
 

Private Attributes

MSPModelmyMovementModel
 
MSPModelmyNonInteractingModel
 

Detailed Description

GUI-version of the transportable control for building gui persons and containers.

Definition at line 35 of file GUITransportableControl.h.

Member Typedef Documentation

◆ constVehIt

typedef std::map<std::string, MSTransportable*>::const_iterator MSTransportableControl::constVehIt
inherited

Definition of the internal transportables map iterator.

Definition at line 56 of file MSTransportableControl.h.

◆ TransportableVector

Definition of a list of transportables.

Definition at line 53 of file MSTransportableControl.h.

Constructor & Destructor Documentation

◆ GUITransportableControl()

GUITransportableControl::GUITransportableControl ( const bool  isPerson)

constructor

Definition at line 35 of file GUITransportableControl.cpp.

◆ ~GUITransportableControl()

GUITransportableControl::~GUITransportableControl ( )
virtual

destructor

Definition at line 41 of file GUITransportableControl.cpp.

Member Function Documentation

◆ abortAnyWaitingForVehicle()

void MSTransportableControl::abortAnyWaitingForVehicle ( )
inherited

aborts the plan for any transportable that is still waiting for a ride

Definition at line 321 of file MSTransportableControl.cpp.

References MSTransportableControl::erase(), MSTransportable::getCurrentStage(), Named::getID(), MSStageDriving::getWaitingDescription(), MSTransportable::isPerson(), MSTransportableControl::myWaiting4Vehicle, MSTransportableControl::myWaitingForVehicleNumber, MSEdge::removeContainer(), MSEdge::removePerson(), and WRITE_WARNING.

Referenced by MSNet::adaptToState().

Here is the caller graph for this function:

◆ abortWaiting()

void MSTransportableControl::abortWaiting ( MSTransportable t)
inherited

aborts waiting stage of transportable

Definition at line 357 of file MSTransportableControl.cpp.

References MSTransportableControl::myWaiting4Departure, and MSTransportableControl::myWaitingUntil.

Referenced by MSStageWaiting::abort().

Here is the caller graph for this function:

◆ abortWaitingForVehicle()

void MSTransportableControl::abortWaitingForVehicle ( MSTransportable t)
inherited

let the given transportable abort waiting for a vehicle (when removing stage via TraCI)

Definition at line 344 of file MSTransportableControl.cpp.

References MSTransportable::getEdge(), and MSTransportableControl::myWaiting4Vehicle.

Referenced by MSStageDriving::abort().

Here is the caller graph for this function:

◆ add()

bool MSTransportableControl::add ( MSTransportable transportable)
inherited

Adds a single transportable, returns false if an id clash occurred.

Parameters
[in]transportableThe transportable to add
Returns
Whether the transportable could be added (none with the same id existed before)

Definition at line 87 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(), MSRouteHandler::addFlowPerson(), and MSRouteHandler::closeContainer().

Here is the caller graph for this function:

◆ addArrived()

void MSTransportableControl::addArrived ( )
inlineinherited

Definition at line 257 of file MSTransportableControl.h.

References MSTransportableControl::myArrivedNumber.

Referenced by MSTransportable::proceed().

Here is the caller graph for this function:

◆ addDiscarded()

void MSTransportableControl::addDiscarded ( )
inlineinherited

Definition at line 261 of file MSTransportableControl.h.

References MSTransportableControl::myDiscardedNumber, and MSTransportableControl::myLoadedNumber.

Referenced by MSRouteHandler::addFlowPerson().

Here is the caller graph for this function:

◆ addWaiting()

void MSTransportableControl::addWaiting ( const MSEdge edge,
MSTransportable person 
)
inherited

adds a transportable to the list of transportables waiting for a vehicle on the specified edge

Definition at line 180 of file MSTransportableControl.cpp.

References MSTransportableControl::myHaveNewWaiting, MSTransportableControl::myWaiting4Vehicle, and MSTransportableControl::myWaitingForVehicleNumber.

Referenced by MSStageDriving::proceed().

Here is the caller graph for this function:

◆ boardAnyWaiting()

bool MSTransportableControl::boardAnyWaiting ( MSEdge edge,
SUMOVehicle vehicle,
const SUMOVehicleParameter::Stop stop,
SUMOTime timeToBoardNextPerson,
SUMOTime stopDuration 
)
inherited

board any applicable persons Boards any people who wait on that edge for the given vehicle and removes them from myWaiting

Parameters
[in]theedge on which the boarding should take place
[in]thevehicle which is taking on passengers / goods
[in]thestop at which the vehicle is stopping
Returns
Whether any transportables have been boarded

Definition at line 188 of file MSTransportableControl.cpp.

References SUMOVehicle::addTransportable(), SUMOVehicle::allowsBoarding(), DELTA_T, MSVehicleType::getBoardingDuration(), MSNet::getCurrentTimeStep(), MSNet::getInstance(), MSStageDriving::getOriginStop(), SUMOTrafficObject::getVehicleType(), MSGlobals::gStopTolerance, SUMOVehicle::isStoppedInRange(), MAX2(), MSTransportableControl::myWaiting4Vehicle, MSTransportableControl::myWaitingForVehicleNumber, MSEdge::removePerson(), MSStoppingPlace::removeTransportable(), and UNUSED_PARAMETER.

Referenced by MSVehicle::boardTransportables(), and MEVehicle::processStop().

Here is the caller graph for this function:

◆ buildContainer()

MSTransportable * GUITransportableControl::buildContainer ( const SUMOVehicleParameter pars,
MSVehicleType vtype,
MSTransportable::MSTransportablePlan plan 
) const
virtual

Builds a new container.

Parameters
[in]parsThe parameter
[in]vtypeThe type (reusing vehicle type container here)
[in]planThis container's plan

Reimplemented from MSTransportableControl.

Definition at line 54 of file GUITransportableControl.cpp.

◆ buildPerson()

MSTransportable * GUITransportableControl::buildPerson ( const SUMOVehicleParameter pars,
MSVehicleType vtype,
MSTransportable::MSTransportablePlan plan,
std::mt19937 *  rng 
) const
virtual

Builds a new person.

Parameters
[in]parsThe parameter
[in]vtypeThe type (reusing vehicle type container here)
[in]planThis person's plan
[in]rngThe RNG to compute the optional speed deviation

Reimplemented from MSTransportableControl.

Definition at line 46 of file GUITransportableControl.cpp.

References MSVehicleType::computeChosenSpeedDeviation().

◆ checkWaiting()

void MSTransportableControl::checkWaiting ( MSNet net,
const SUMOTime  time 
)
inherited

checks whether any transportables waiting time is over

Definition at line 146 of file MSTransportableControl.cpp.

References MSTransportableControl::erase(), MSTransportableControl::myHaveNewWaiting, MSTransportableControl::myRunningNumber, MSTransportableControl::myWaiting4Departure, MSTransportableControl::myWaitingForDepartureNumber, MSTransportableControl::myWaitingUntil, and MSTransportableControl::myWaitingUntilNumber.

Referenced by MSNet::simulationStep().

Here is the caller graph for this function:

◆ erase()

◆ fixLoadCount()

void MSTransportableControl::fixLoadCount ( )
inlineinherited

decrement counter to avoid double counting transportables loaded from state

Definition at line 177 of file MSTransportableControl.h.

References MSTransportableControl::myLoadedNumber.

Referenced by MSStateHandler::myEndElement().

Here is the caller graph for this function:

◆ forceDeparture()

void MSTransportableControl::forceDeparture ( )
inherited

register forced (traci) departure

Definition at line 175 of file MSTransportableControl.cpp.

References MSTransportableControl::myRunningNumber.

Referenced by LIBSUMO_NAMESPACE::Person::moveToXY().

Here is the caller graph for this function:

◆ get()

MSTransportable * MSTransportableControl::get ( const std::string &  id) const
inherited

Returns the named transportable, if existing.

Parameters
[in]idThe id of the transportable
Returns
The named transportable, if existing, otherwise nullptr

Definition at line 102 of file MSTransportableControl.cpp.

References MSTransportableControl::myTransportables.

Referenced by MSRouteHandler::addFlowPerson(), MSRouteHandler::closeContainer(), libsumo::Helper::getPerson(), libsumo::Polygon::getTrafficObject(), libsumo::Helper::handleSubscriptions(), MSStateHandler::myEndElement(), TraCIServer::postProcessSimulationStep(), TraCIServerAPI_GUI::processSet(), and TraCIServerAPI_Person::processSet().

Here is the caller graph for this function:

◆ getActiveCount()

int MSTransportableControl::getActiveCount ( )
inherited

return the number of active transportable objects

Definition at line 300 of file MSTransportableControl.cpp.

References MSTransportableControl::myRunningNumber, MSTransportableControl::myWaiting4Departure, and MSTransportableControl::myWaitingForVehicleNumber.

Referenced by LIBSUMO_NAMESPACE::Simulation::getMinExpectedNumber().

Here is the caller graph for this function:

◆ getArrivedNumber()

int MSTransportableControl::getArrivedNumber ( ) const
inlineinherited

Returns the number of transportables that arrived at their destination.

Definition at line 237 of file MSTransportableControl.h.

References MSTransportableControl::myArrivedNumber.

Referenced by MSNet::writeOutput().

Here is the caller graph for this function:

◆ getDepartedNumber()

int MSTransportableControl::getDepartedNumber ( ) const
inherited

Definition at line 316 of file MSTransportableControl.cpp.

References MSTransportableControl::myDiscardedNumber, MSTransportableControl::myLoadedNumber, and MSTransportableControl::myWaitingForDepartureNumber.

Referenced by MSNet::writeOutput().

Here is the caller graph for this function:

◆ getEndedNumber()

int MSTransportableControl::getEndedNumber ( ) const
inlineinherited

Returns the number of transportables that exited the simulation.

Definition at line 230 of file MSTransportableControl.h.

References MSTransportableControl::myEndedNumber.

Referenced by MSNet::writeOutput().

Here is the caller graph for this function:

◆ getJammedNumber()

int MSTransportableControl::getJammedNumber ( ) const
inlineinherited

Returns the number of times a transportables was jammed.

Returns
The number of times transportables were jammed

Definition at line 203 of file MSTransportableControl.h.

References MSTransportableControl::myJammedNumber.

Referenced by MSNet::generateStatistics(), GUINet::getParameterWindow(), MSNet::writeOutput(), and MSNet::writeStatistics().

Here is the caller graph for this function:

◆ getLoadedNumber()

int MSTransportableControl::getLoadedNumber ( ) const
inlineinherited

Returns the number of build transportables.

Returns
The number of loaded (build) transportables

Definition at line 187 of file MSTransportableControl.h.

References MSTransportableControl::myLoadedNumber.

Referenced by MSRouteHandler::addFlowPerson(), MSNet::generateStatistics(), GUINet::getParameterWindow(), MSNet::writeOutput(), and MSNet::writeStatistics().

Here is the caller graph for this function:

◆ getMovementModel()

MSPModel* MSTransportableControl::getMovementModel ( )
inlineinherited

Returns the default movement model for this kind of transportables.

Returns
The movement model

Definition at line 246 of file MSTransportableControl.h.

References MSTransportableControl::myMovementModel.

Referenced by MSPerson::MSPersonStage_Walking::abort(), MSLink::getLeaderInfo(), MSLane::hasPedestrians(), MSPerson::MSPersonStage_Walking::loadState(), MSPModel_Striping::PState::moveToXY(), MSLane::nextBlocking(), MSPerson::MSPersonStage_Walking::proceed(), and MSPerson::MSPersonStage_Walking::walkDistance().

Here is the caller graph for this function:

◆ getMovingNumber()

int MSTransportableControl::getMovingNumber ( ) const
inherited

Returns the number of transportables moving by themselvs (i.e. walking)

Definition at line 305 of file MSTransportableControl.cpp.

References MSPModel::getActiveNumber(), and MSTransportableControl::myMovementModel.

Referenced by MSTransportableControl::getRidingNumber(), and MSNet::writeOutput().

Here is the caller graph for this function:

◆ getNonInteractingModel()

MSPModel* MSTransportableControl::getNonInteractingModel ( )
inlineinherited

Returns the non interacting movement model (for tranship and "beaming")

Returns
The non interacting movement model

Definition at line 253 of file MSTransportableControl.h.

References MSTransportableControl::myNonInteractingModel.

Referenced by MSStageTranship::proceed().

Here is the caller graph for this function:

◆ getRidingNumber()

int MSTransportableControl::getRidingNumber ( ) const
inherited

Returns the number of transportables riding a vehicle.

Definition at line 311 of file MSTransportableControl.cpp.

References MSTransportableControl::getMovingNumber(), MSTransportableControl::myRunningNumber, MSTransportableControl::myWaitingForVehicleNumber, and MSTransportableControl::myWaitingUntilNumber.

Referenced by MSNet::writeOutput().

Here is the caller graph for this function:

◆ getRunningNumber()

int MSTransportableControl::getRunningNumber ( ) const
inlineinherited

Returns the number of build and inserted, but not yet deleted transportables.

Returns
The number of simulated transportables

Definition at line 196 of file MSTransportableControl.h.

References MSTransportableControl::myRunningNumber.

Referenced by MSNet::generateStatistics(), GUINet::getParameterWindow(), GUIApplicationWindow::handleEvent_SimulationStep(), MSNet::simulationStep(), and MSNet::writeStatistics().

Here is the caller graph for this function:

◆ getWaitingForVehicleNumber()

int MSTransportableControl::getWaitingForVehicleNumber ( ) const
inlineinherited

Returns the number of transportables waiting for a ride.

Definition at line 209 of file MSTransportableControl.h.

References MSTransportableControl::myWaitingForVehicleNumber.

Referenced by GUIApplicationWindow::checkGamingEventsDRT(), and MSNet::writeOutput().

Here is the caller graph for this function:

◆ getWaitingUntilNumber()

int MSTransportableControl::getWaitingUntilNumber ( ) const
inlineinherited

Returns the number of transportables waiting for a specified amount of time.

Definition at line 216 of file MSTransportableControl.h.

References MSTransportableControl::myWaitingUntilNumber.

Referenced by MSNet::writeOutput().

Here is the caller graph for this function:

◆ hasNonWaiting()

bool MSTransportableControl::hasNonWaiting ( ) const
inherited

checks whether any transportable is still engaged in walking / stopping

Definition at line 294 of file MSTransportableControl.cpp.

References MSTransportableControl::myHaveNewWaiting, MSTransportableControl::myRunningNumber, MSTransportableControl::myWaiting4Departure, and MSTransportableControl::myWaitingForVehicleNumber.

Referenced by MSNet::simulationState().

Here is the caller graph for this function:

◆ hasTransportables()

bool MSTransportableControl::hasTransportables ( ) const
inherited

checks whether any transportable waits to finish her plan

Definition at line 288 of file MSTransportableControl.cpp.

References MSTransportableControl::myTransportables.

Referenced by MSNet::simulationStep().

Here is the caller graph for this function:

◆ insertIDs()

void GUITransportableControl::insertIDs ( std::vector< GUIGlID > &  into)

Returns the list of all known persons by gl-id.

Parameters
[fill]into The list to fill with vehicle ids
Todo:
Well, what about concurrent modifications?

Definition at line 60 of file GUITransportableControl.cpp.

References GUIGlObject::getGlID(), myIsPerson, MSTransportableControl::myTransportables, and WAITING_FOR_DEPART.

◆ loadAnyWaiting()

bool MSTransportableControl::loadAnyWaiting ( MSEdge edge,
SUMOVehicle vehicle,
const SUMOVehicleParameter::Stop stop,
SUMOTime timeToLoadNextContainer,
SUMOTime stopDuration 
)
inherited

load any applicable containers Loads any container that is waiting on that edge for the given vehicle and removes them from myWaiting

Parameters
[in]theedge on which the loading should take place
[in]thevehicle which is taking on containers
Returns
Whether any containers have been loaded

Definition at line 237 of file MSTransportableControl.cpp.

References SUMOVehicle::addTransportable(), DELTA_T, SUMOVehicleParameter::Stop::endPos, MSVehicleType::getContainerCapacity(), SUMOVehicle::getContainerNumber(), MSNet::getCurrentTimeStep(), MSNet::getInstance(), MSVehicleType::getLoadingDuration(), MSStageDriving::getOriginStop(), SUMOTrafficObject::getVehicleType(), MAX2(), MSTransportableControl::myWaiting4Vehicle, MSTransportableControl::myWaitingForVehicleNumber, MSEdge::removeContainer(), MSStoppingPlace::removeTransportable(), and SUMOVehicleParameter::Stop::startPos.

Referenced by MSVehicle::boardTransportables(), and MEVehicle::processStop().

Here is the caller graph for this function:

◆ loadedBegin()

constVehIt MSTransportableControl::loadedBegin ( ) const
inlineinherited

Returns the begin of the internal transportables map.

Returns
The begin of the internal transportables map

Definition at line 151 of file MSTransportableControl.h.

References MSTransportableControl::myTransportables.

Referenced by MSDevice_Tripinfo::generateOutputForUnfinished(), and MSDevice_Vehroutes::generateOutputForUnfinished().

Here is the caller graph for this function:

◆ loadedEnd()

constVehIt MSTransportableControl::loadedEnd ( ) const
inlineinherited

Returns the end of the internal transportables map.

Returns
The end of the internal transportables map

Definition at line 159 of file MSTransportableControl.h.

References MSTransportableControl::myTransportables.

Referenced by MSDevice_Tripinfo::generateOutputForUnfinished(), and MSDevice_Vehroutes::generateOutputForUnfinished().

Here is the caller graph for this function:

◆ loadState()

void MSTransportableControl::loadState ( const std::string &  state)
inherited

◆ registerJammed()

void MSTransportableControl::registerJammed ( )
inlineinherited

register a jammed transportable

Definition at line 172 of file MSTransportableControl.h.

References MSTransportableControl::myJammedNumber.

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

Here is the caller graph for this function:

◆ saveState()

◆ setWaitEnd()

void MSTransportableControl::setWaitEnd ( SUMOTime  time,
MSTransportable transportable 
)
inherited

sets the arrival time for a waiting transportable

Definition at line 134 of file MSTransportableControl.cpp.

References DELTA_T, MSTransportableControl::myWaiting4Departure, MSTransportableControl::myWaitingUntil, and MSTransportableControl::myWaitingUntilNumber.

Referenced by MSStageWaiting::proceed().

Here is the caller graph for this function:

◆ size()

int MSTransportableControl::size ( ) const
inlineinherited

Returns the number of known transportables.

Returns
The number of stored transportables

Definition at line 167 of file MSTransportableControl.h.

References MSTransportableControl::myTransportables.

Field Documentation

◆ myArrivedNumber

int MSTransportableControl::myArrivedNumber
protectedinherited

The number of transportables that arrived at their destination.

Definition at line 312 of file MSTransportableControl.h.

Referenced by MSTransportableControl::addArrived(), MSTransportableControl::getArrivedNumber(), MSTransportableControl::loadState(), and MSTransportableControl::saveState().

◆ myDiscardedNumber

int MSTransportableControl::myDiscardedNumber
protectedinherited

◆ myEndedNumber

int MSTransportableControl::myEndedNumber
protectedinherited

The number of transportables that exited the simulation.

Definition at line 309 of file MSTransportableControl.h.

Referenced by MSTransportableControl::erase(), MSTransportableControl::getEndedNumber(), MSTransportableControl::loadState(), and MSTransportableControl::saveState().

◆ myHaveNewWaiting

bool MSTransportableControl::myHaveNewWaiting
protectedinherited

whether a new transportable waiting for a vehicle has been added in the last step

Definition at line 315 of file MSTransportableControl.h.

Referenced by MSTransportableControl::addWaiting(), MSTransportableControl::checkWaiting(), MSTransportableControl::hasNonWaiting(), MSTransportableControl::loadState(), and MSTransportableControl::saveState().

◆ myIsPerson

const bool GUITransportableControl::myIsPerson
protected

Definition at line 69 of file GUITransportableControl.h.

Referenced by insertIDs().

◆ myJammedNumber

int MSTransportableControl::myJammedNumber
protectedinherited

◆ myLoadedNumber

◆ myMovementModel

◆ myNonInteractingModel

MSPModel* MSTransportableControl::myNonInteractingModel
privateinherited

◆ myRunningNumber

◆ myTransportables

◆ myWaiting4Departure

◆ myWaiting4Vehicle

◆ myWaitingForDepartureNumber

int MSTransportableControl::myWaitingForDepartureNumber
protectedinherited

◆ myWaitingForVehicleNumber

◆ myWaitingUntil

std::map<SUMOTime, TransportableVector> MSTransportableControl::myWaitingUntil
protectedinherited

the lists of walking / stopping transportables

Definition at line 282 of file MSTransportableControl.h.

Referenced by MSTransportableControl::abortWaiting(), MSTransportableControl::checkWaiting(), and MSTransportableControl::setWaitEnd().

◆ myWaitingUntilNumber

int MSTransportableControl::myWaitingUntilNumber
protectedinherited

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