38 #ifdef CHECK_MEMORY_LEAKS 40 #endif // CHECK_MEMORY_LEAKS 49 myInAdvanceStepNo(inAdvanceStepNo),
51 myLoadAll(inAdvanceStepNo <= 0),
57 for (std::vector<SUMORouteLoader*>::iterator i =
myRouteLoaders.begin();
83 bool furtherAvailable =
false;
86 if ((*i)->getFirstDepart() != -1) {
89 furtherAvailable |= (*i)->moreAvailable();
void loadNext(SUMOTime step)
loads the next routes up to and including the given time step
std::vector< SUMORouteLoader * > myRouteLoaders
the list of route loaders
SUMOTime myInAdvanceStepNo
the number of routes to read in forward
void add(SUMORouteLoader *loader)
add another loader
SUMOTime myFirstLoadTime
the first time step for which vehicles were loaded
SUMORouteLoaderControl(SUMOTime inAdvanceStepNo)
constructor
SUMOTime myCurrentLoadTime
the time step up to which vehicles were loaded
~SUMORouteLoaderControl()
destructor