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
GUIDetectorBuilder.h
Go to the documentation of this file.
1
/****************************************************************************/
8
// Builds detectors for guisim
9
/****************************************************************************/
10
// SUMO, Simulation of Urban MObility; see http://sumo.sourceforge.net/
11
// Copyright (C) 2001-2013 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 GUIDetectorBuilder_h
22
#define GUIDetectorBuilder_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 <string>
35
#include <
netload/NLDetectorBuilder.h
>
36
37
38
// ===========================================================================
39
// class declarations
40
// ===========================================================================
41
class
MSNet
;
42
43
44
// ===========================================================================
45
// class definitions
46
// ===========================================================================
56
class
GUIDetectorBuilder
:
public
NLDetectorBuilder
{
57
public
:
62
GUIDetectorBuilder
(
MSNet
& net);
63
64
66
~GUIDetectorBuilder
();
67
68
73
83
virtual
MSDetectorFileOutput
*
createInductLoop
(
const
std::string&
id
,
84
MSLane
* lane,
SUMOReal
pos,
bool
splitByType);
85
86
96
virtual
MSDetectorFileOutput
*
createInstantInductLoop
(
const
std::string&
id
,
97
MSLane
* lane,
SUMOReal
pos,
const
std::string& od);
98
99
100
#ifdef HAVE_INTERNAL
101
110
virtual
MEInductLoop* createMEInductLoop(
const
std::string&
id
,
111
MESegment* s,
SUMOReal
pos);
112
#endif
113
114
127
virtual
MSDetectorFileOutput
*
createSingleLaneE2Detector
(
const
std::string&
id
,
128
DetectorUsage
usage,
MSLane
* lane,
SUMOReal
pos,
SUMOReal
length,
129
SUMOTime
haltingTimeThreshold,
130
SUMOReal
haltingSpeedThreshold,
131
SUMOReal
jamDistThreshold);
132
133
147
virtual
MSDetectorFileOutput
*
createMultiLaneE2Detector
(
148
const
std::string&
id
,
DetectorUsage
usage,
MSLane
* lane,
SUMOReal
pos,
149
SUMOTime
haltingTimeThreshold,
150
SUMOReal
haltingSpeedThreshold,
151
SUMOReal
jamDistThreshold);
152
153
164
virtual
MSDetectorFileOutput
*
createE3Detector
(
const
std::string&
id
,
165
const
CrossSectionVector
& entries,
166
const
CrossSectionVector
& exits,
167
SUMOReal
haltingSpeedThreshold,
168
SUMOTime
haltingTimeThreshold);
170
171
172
};
173
174
175
#endif
176
177
/****************************************************************************/
178
build
buildd
sumo-0.17.1~dfsg
src
guinetload
GUIDetectorBuilder.h
Generated on Sun Jun 16 2013 17:30:15 for SUMO - Simulation of Urban MObility by
1.8.3.1