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
RODFDetFlowLoader.h
Go to the documentation of this file.
1
/****************************************************************************/
9
// A loader for detector flows
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 RODFDetFlowLoader_h
23
#define RODFDetFlowLoader_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 <string>
36
#include <vector>
37
#include <
utils/importio/NamedColumnsParser.h
>
38
#include <
utils/common/UtilExceptions.h
>
39
#include "
RODFDetector.h
"
40
#include "
RODFDetectorFlow.h
"
41
42
43
// ===========================================================================
44
// class definitions
45
// ===========================================================================
50
class
RODFDetFlowLoader
{
51
public
:
60
RODFDetFlowLoader
(
const
RODFDetectorCon
& dets,
RODFDetectorFlows
& into,
61
SUMOTime
startTime,
SUMOTime
endTime,
62
SUMOTime
timeOffset,
int
timeScale) ;
63
64
66
~RODFDetFlowLoader
() ;
67
68
83
void
read
(
const
std::string& file)
throw
(
IOError
,
ProcessError
);
84
85
86
private
:
88
RODFDetectorFlows
&
myStorage
;
89
91
const
SUMOTime
myTimeOffset
;
92
94
const
SUMOTime
myTimeScale
;
95
97
const
SUMOTime
myStartTime
,
myEndTime
;
98
100
NamedColumnsParser
myLineHandler
;
101
103
const
RODFDetectorCon
&
myDetectorContainer
;
104
106
bool
myHaveWarnedAboutOverridingBoundaries
;
107
109
bool
myHaveWarnedAboutPartialDefs
;
110
111
112
private
:
114
RODFDetFlowLoader
(
const
RODFDetFlowLoader
& src);
115
117
RODFDetFlowLoader
&
operator=
(
const
RODFDetFlowLoader
& src);
118
119
};
120
121
122
#endif
123
124
/****************************************************************************/
125
tmp
buildd
sumo-0.15.0~dfsg
src
dfrouter
RODFDetFlowLoader.h
Generated on Sun May 27 2012 14:52:10 for SUMO - Simulation of Urban MObility by
1.8.1