SUMO - Simulation of Urban MObility
SUMORouteLoader.h
Go to the documentation of this file.
1 /****************************************************************************/
8 // A class that performs the loading of routes
9 /****************************************************************************/
10 // SUMO, Simulation of Urban MObility; see http://sumo.dlr.de/
11 // Copyright (C) 2002-2015 DLR (http://www.dlr.de/) and contributors
12 /****************************************************************************/
13 //
14 // This file is part of SUMO.
15 // SUMO is free software: you can redistribute it and/or modify
16 // it under the terms of the GNU General Public License as published by
17 // the Free Software Foundation, either version 3 of the License, or
18 // (at your option) any later version.
19 //
20 /****************************************************************************/
21 #ifndef SUMORouteLoader_h
22 #define SUMORouteLoader_h
23 
24 
25 // ===========================================================================
26 // included modules
27 // ===========================================================================
28 #ifdef _MSC_VER
29 #include <windows_config.h>
30 #else
31 #include <config.h>
32 #endif
33 
34 #include <utils/common/SUMOTime.h>
35 
36 
37 // ===========================================================================
38 // class declarations
39 // ===========================================================================
40 class SUMORouteHandler;
41 class SUMOSAXReader;
42 
43 
44 // ===========================================================================
45 // class definitions
46 // ===========================================================================
51 public:
54 
57 
61 
63  bool moreAvailable() const;
64 
66  SUMOTime getFirstDepart() const;
67 
68 private:
71 
74 
77 
78 };
79 
80 
81 #endif
82 
83 /****************************************************************************/
84 
bool myMoreAvailable
information whether more vehicles should be available
SAX-reader encapsulation containing binary reader.
Definition: SUMOSAXReader.h:58
~SUMORouteLoader()
destructor
SUMOTime loadUntil(SUMOTime time)
bool moreAvailable() const
returns the information whether new data is available
SUMORouteHandler * myHandler
the used Handler
SUMOTime getFirstDepart() const
returns the first departure time that was ever read
Parser for routes during their loading.
int SUMOTime
Definition: SUMOTime.h:43
SUMOSAXReader * myParser
the used SAXReader
SUMORouteLoader(SUMORouteHandler *handler)
constructor