SUMO - Simulation of Urban MObility
SUMORouteLoader.h
Go to the documentation of this file.
1 /****************************************************************************/
2 // Eclipse SUMO, Simulation of Urban MObility; see https://eclipse.org/sumo
3 // Copyright (C) 2002-2017 German Aerospace Center (DLR) and others.
4 /****************************************************************************/
5 //
6 // This program and the accompanying materials
7 // are made available under the terms of the Eclipse Public License v2.0
8 // which accompanies this distribution, and is available at
9 // http://www.eclipse.org/legal/epl-v20.html
10 //
11 /****************************************************************************/
18 // A class that performs the loading of routes
19 /****************************************************************************/
20 #ifndef SUMORouteLoader_h
21 #define SUMORouteLoader_h
22 
23 
24 // ===========================================================================
25 // included modules
26 // ===========================================================================
27 #ifdef _MSC_VER
28 #include <windows_config.h>
29 #else
30 #include <config.h>
31 #endif
32 
33 #include <utils/common/SUMOTime.h>
34 
35 
36 // ===========================================================================
37 // class declarations
38 // ===========================================================================
39 class SUMORouteHandler;
40 class SUMOSAXReader;
41 
42 
43 // ===========================================================================
44 // class definitions
45 // ===========================================================================
50 public:
53 
56 
60 
62  bool moreAvailable() const;
63 
65  SUMOTime getFirstDepart() const;
66 
67 private:
70 
73 
76 
77 };
78 
79 
80 #endif
81 
82 /****************************************************************************/
83 
bool myMoreAvailable
information whether more vehicles should be available
SAX-reader encapsulation containing binary reader.
Definition: SUMOSAXReader.h:57
~SUMORouteLoader()
destructor
bool moreAvailable() const
returns the information whether new data is available
SUMOTime loadUntil(SUMOTime time)
SUMOTime getFirstDepart() const
returns the first departure time that was ever read
SUMORouteHandler * myHandler
the used Handler
Parser for routes during their loading.
SUMOSAXReader * myParser
the used SAXReader
long long int SUMOTime
Definition: TraCIDefs.h:51
SUMORouteLoader(SUMORouteHandler *handler)
constructor