Eclipse SUMO - Simulation of Urban MObility
|
#include <SUMORouteLoader.h>
Public Member Functions | |
SUMOTime | getFirstDepart () const |
returns the first departure time that was ever read | |
SUMORouteHandler * | getRouteHandler () |
SUMOTime | loadUntil (SUMOTime time) |
loads vehicles until a vehicle is read that starts after the specified time | |
bool | moreAvailable () const |
returns the information whether new data is available | |
SUMORouteLoader (SUMORouteHandler *handler) | |
constructor | |
~SUMORouteLoader () | |
destructor | |
Private Attributes | |
SUMORouteHandler * | myHandler |
the used Handler | |
bool | myMoreAvailable |
flag with information whether more vehicles should be available | |
SUMOSAXReader * | myParser |
the used SAXReader | |
Definition at line 40 of file SUMORouteLoader.h.
SUMORouteLoader::SUMORouteLoader | ( | SUMORouteHandler * | handler | ) |
constructor
Definition at line 32 of file SUMORouteLoader.cpp.
References GenericSAXHandler::getFileName(), XMLSubSys::getSAXReader(), myHandler, myParser, SUMOSAXReader::parseFirst(), and TLF.
SUMORouteLoader::~SUMORouteLoader | ( | ) |
SUMOTime SUMORouteLoader::getFirstDepart | ( | ) | const |
returns the first departure time that was ever read
Definition at line 75 of file SUMORouteLoader.cpp.
References SUMORouteHandler::getFirstDepart(), and myHandler.
|
inline |
Definition at line 57 of file SUMORouteLoader.h.
References myHandler.
Referenced by ROLoader::getRouteHandler().
loads vehicles until a vehicle is read that starts after the specified time
Definition at line 48 of file SUMORouteLoader.cpp.
References SUMORouteHandler::getLastDepart(), myHandler, myMoreAvailable, myParser, SUMOSAXReader::parseNext(), and SUMOTime_MAX.
bool SUMORouteLoader::moreAvailable | ( | ) | const |
returns the information whether new data is available
Definition at line 69 of file SUMORouteLoader.cpp.
References myMoreAvailable.
|
private |
the used Handler
Definition at line 69 of file SUMORouteLoader.h.
Referenced by getFirstDepart(), getRouteHandler(), loadUntil(), SUMORouteLoader(), and ~SUMORouteLoader().
|
private |
flag with information whether more vehicles should be available
Definition at line 66 of file SUMORouteLoader.h.
Referenced by loadUntil(), and moreAvailable().
|
private |
the used SAXReader
Definition at line 63 of file SUMORouteLoader.h.
Referenced by loadUntil(), SUMORouteLoader(), and ~SUMORouteLoader().