SUMO - Simulation of Urban MObility
Main Page
Related Pages
Modules
Data Structures
Files
File List
Globals
All
Data Structures
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Groups
Pages
SUMORouteLoaderControl.h
Go to the documentation of this file.
1
/****************************************************************************/
10
// Class responsible for loading of routes from some files
11
/****************************************************************************/
12
// SUMO, Simulation of Urban MObility; see http://sumo-sim.org/
13
// Copyright (C) 2002-2014 DLR (http://www.dlr.de/) and contributors
14
/****************************************************************************/
15
//
16
// This file is part of SUMO.
17
// SUMO is free software: you can redistribute it and/or modify
18
// it under the terms of the GNU General Public License as published by
19
// the Free Software Foundation, either version 3 of the License, or
20
// (at your option) any later version.
21
//
22
/****************************************************************************/
23
#ifndef SUMORouteLoaderControl_h
24
#define SUMORouteLoaderControl_h
25
26
27
// ===========================================================================
28
// included modules
29
// ===========================================================================
30
#ifdef _MSC_VER
31
#include <
windows_config.h
>
32
#else
33
#include <
config.h
>
34
#endif
35
36
#include <vector>
37
38
39
// ===========================================================================
40
// class declarations
41
// ===========================================================================
42
class
SUMORouteLoader
;
43
44
45
// ===========================================================================
46
// class definitions
47
// ===========================================================================
57
class
SUMORouteLoaderControl
{
58
public
:
60
SUMORouteLoaderControl
(
SUMOTime
inAdvanceStepNo);
61
63
~SUMORouteLoaderControl
();
64
66
void
add
(
SUMORouteLoader
* loader);
67
69
void
loadNext
(
SUMOTime
step);
70
72
SUMOTime
getFirstLoadTime
()
const
{
73
return
myFirstLoadTime
;
74
}
75
76
private
:
78
SUMOTime
myFirstLoadTime
;
79
81
SUMOTime
myInAdvanceStepNo
;
82
84
std::vector<SUMORouteLoader*>
myRouteLoaders
;
85
88
bool
myLoadAll
,
myAllLoaded
;
89
};
90
91
92
#endif
93
94
/****************************************************************************/
95
tmp
buildd
sumo-0.21.0+dfsg
src
utils
xml
SUMORouteLoaderControl.h
Generated on Thu Nov 20 2014 19:49:59 for SUMO - Simulation of Urban MObility by
1.8.1.2