36 myInAdvanceStepNo(inAdvanceStepNo),
38 myLoadAll(inAdvanceStepNo <= 0),
44 for (std::vector<SUMORouteLoader*>::iterator i =
myRouteLoaders.begin();
70 bool furtherAvailable =
false;
73 if (loader->getFirstDepart() != -1) {
76 furtherAvailable |= loader->moreAvailable();
SUMOTime myCurrentLoadTime
the time step up to which vehicles were loaded
bool myLoadAll
information whether all routes shall be loaded and whether they were loaded
std::vector< SUMORouteLoader * > myRouteLoaders
the list of route loaders
const SUMOTime myInAdvanceStepNo
the number of routes to read in forward
SUMOTime myFirstLoadTime
the first time step for which vehicles were loaded
void loadNext(SUMOTime step)
loads the next routes up to and including the given time step
void add(SUMORouteLoader *loader)
add another loader
~SUMORouteLoaderControl()
destructor
SUMORouteLoaderControl(SUMOTime inAdvanceStepNo)
constructor