44 myInAdvanceStepNo(inAdvanceStepNo),
46 myLoadAll(inAdvanceStepNo <= 0),
52 for (std::vector<SUMORouteLoader*>::iterator i =
myRouteLoaders.begin();
78 bool furtherAvailable =
false;
81 if ((*i)->getFirstDepart() != -1) {
84 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
void add(SUMORouteLoader *loader)
add another loader
const SUMOTime myInAdvanceStepNo
the number of routes to read in forward
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