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
MSRouteLoaderControl.h
Go to the documentation of this file.
1
/****************************************************************************/
9
// Class responsible for loading of routes from some files
10
/****************************************************************************/
11
// SUMO, Simulation of Urban MObility; see http://sumo.sourceforge.net/
12
// Copyright (C) 2001-2012 DLR (http://www.dlr.de/) and contributors
13
/****************************************************************************/
14
//
15
// This file is part of SUMO.
16
// SUMO is free software: you can redistribute it and/or modify
17
// it under the terms of the GNU General Public License as published by
18
// the Free Software Foundation, either version 3 of the License, or
19
// (at your option) any later version.
20
//
21
/****************************************************************************/
22
#ifndef MSRouteLoaderControl_h
23
#define MSRouteLoaderControl_h
24
25
26
// ===========================================================================
27
// included modules
28
// ===========================================================================
29
#ifdef _MSC_VER
30
#include <
windows_config.h
>
31
#else
32
#include <
config.h
>
33
#endif
34
35
#include <vector>
36
#include "
MSVehicleContainer.h
"
37
#include "
MSNet.h
"
38
39
40
// ===========================================================================
41
// class declarations
42
// ===========================================================================
43
class
MSRouteLoader
;
44
45
46
// ===========================================================================
47
// class definitions
48
// ===========================================================================
58
class
MSRouteLoaderControl
{
59
public
:
61
typedef
std::vector<MSRouteLoader*>
LoaderVector
;
62
63
public
:
65
MSRouteLoaderControl
(
MSNet
& net,
SUMOTime
inAdvanceStepNo,
66
LoaderVector
loader);
67
69
~MSRouteLoaderControl
();
70
72
void
loadNext
(
SUMOTime
step);
73
74
private
:
76
SUMOTime
myLastLoadTime
;
77
79
SUMOTime
myInAdvanceStepNo
;
80
82
LoaderVector
myRouteLoaders
;
83
86
bool
myLoadAll
,
myAllLoaded
;
87
};
88
89
90
#endif
91
92
/****************************************************************************/
93
build
buildd
sumo-0.15.0~dfsg
src
microsim
MSRouteLoaderControl.h
Generated on Wed Jul 18 2012 22:58:33 for SUMO - Simulation of Urban MObility by
1.8.1.1