45 myInAdvanceStepNo(inAdvanceStepNo),
47 myLoadAll(inAdvanceStepNo <= 0),
53 for (std::vector<SUMORouteLoader*>::iterator i =
myRouteLoaders.begin();
79 bool furtherAvailable =
false;
82 if ((*i)->getFirstDepart() != -1) {
85 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