SUMO - Simulation of Urban MObility
MSRouteLoaderControl Class Reference

#include <MSRouteLoaderControl.h>

Public Types

typedef std::vector
< MSRouteLoader * > 
LoaderVector
 definition of the loader vector

Public Member Functions

void loadNext (SUMOTime step)
 loads the next routes
 MSRouteLoaderControl (MSNet &net, SUMOTime inAdvanceStepNo, LoaderVector loader)
 constructor
 ~MSRouteLoaderControl ()
 destructor

Private Attributes

bool myAllLoaded
SUMOTime myInAdvanceStepNo
 the number of routes to read in forward
SUMOTime myLastLoadTime
 the last time step new routes were loaded
bool myLoadAll
LoaderVector myRouteLoaders
 the list of route loaders

Detailed Description

MSRouteLoaderControl This controls is initialised with the list of route loaders and uses them to load routes step wise. The parameter myInAdvanceStepNo holds the number of time steps to read the routes in forward. If it is 0 (default), all routes will be read at once.

Definition at line 58 of file MSRouteLoaderControl.h.


Member Typedef Documentation

definition of the loader vector

Definition at line 61 of file MSRouteLoaderControl.h.


Constructor & Destructor Documentation

MSRouteLoaderControl::MSRouteLoaderControl ( MSNet net,
SUMOTime  inAdvanceStepNo,
LoaderVector  loader 
)

constructor

Definition at line 44 of file MSRouteLoaderControl.cpp.

References myAllLoaded, myInAdvanceStepNo, myLastLoadTime, myLoadAll, and myRouteLoaders.

destructor

Definition at line 61 of file MSRouteLoaderControl.cpp.

References myRouteLoaders.


Member Function Documentation

loads the next routes

Definition at line 70 of file MSRouteLoaderControl.cpp.

References myAllLoaded, myInAdvanceStepNo, myLoadAll, myRouteLoaders, and SUMOTime_MAX.

Referenced by MSNet::simulationStep().


Field Documentation

Definition at line 86 of file MSRouteLoaderControl.h.

Referenced by loadNext(), and MSRouteLoaderControl().

the number of routes to read in forward

Definition at line 79 of file MSRouteLoaderControl.h.

Referenced by loadNext(), and MSRouteLoaderControl().

the last time step new routes were loaded

Definition at line 76 of file MSRouteLoaderControl.h.

Referenced by MSRouteLoaderControl().

information whether all routes shall be loaded and whether they were loaded

Definition at line 86 of file MSRouteLoaderControl.h.

Referenced by loadNext(), and MSRouteLoaderControl().

the list of route loaders

Definition at line 82 of file MSRouteLoaderControl.h.

Referenced by loadNext(), MSRouteLoaderControl(), and ~MSRouteLoaderControl().


The documentation for this class was generated from the following files:
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Friends Defines