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
GUITriggerBuilder.h
Go to the documentation of this file.
1
/****************************************************************************/
10
// Builds trigger objects for guisim
11
/****************************************************************************/
12
// SUMO, Simulation of Urban MObility; see http://sumo-sim.org/
13
// Copyright (C) 2004-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 GUITriggerBuilder_h
24
#define GUITriggerBuilder_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 <string>
37
#include <
netload/NLTriggerBuilder.h
>
38
39
40
// ===========================================================================
41
// class declarations
42
// ===========================================================================
43
class
MSTrigger
;
44
class
MSNet
;
45
class
MSLaneSpeedTrigger
;
46
class
MSCalibrator
;
47
class
MSTriggerControl;
48
49
50
// ===========================================================================
51
// class definitions
52
// ===========================================================================
57
class
GUITriggerBuilder
:
public
NLTriggerBuilder
{
58
public
:
60
GUITriggerBuilder
();
61
62
64
~GUITriggerBuilder
();
65
66
67
protected
:
72
73
85
virtual
MSLaneSpeedTrigger
*
buildLaneSpeedTrigger
(
MSNet
& net,
86
const
std::string&
id
,
const
std::vector<MSLane*>& destLanes,
87
const
std::string& file);
88
89
100
virtual
MSTriggeredRerouter
*
buildRerouter
(
MSNet
& net,
101
const
std::string&
id
, std::vector<MSEdge*>& edges,
102
SUMOReal
prob,
const
std::string& file,
bool
off);
103
104
117
virtual
void
buildBusStop
(
MSNet
& net,
const
std::string&
id
,
118
const
std::vector<std::string>& lines,
MSLane
* lane,
119
SUMOReal
frompos,
SUMOReal
topos);
120
121
133
virtual
MSCalibrator
*
buildCalibrator
(
MSNet
& net,
134
const
std::string&
id
,
MSEdge
* edge,
SUMOReal
pos,
135
const
std::string& file,
const
std::string& outfile,
136
const
SUMOTime
freq,
const
MSRouteProbe
* probe);
138
139
};
140
141
142
#endif
143
144
/****************************************************************************/
145
tmp
buildd
sumo-0.21.0+dfsg
src
guinetload
GUITriggerBuilder.h
Generated on Thu Nov 20 2014 19:49:54 for SUMO - Simulation of Urban MObility by
1.8.1.2