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
GUIEdgeControlBuilder.h
Go to the documentation of this file.
1
/****************************************************************************/
10
// Derivation of NLEdgeControlBuilder which builds gui-edges
11
/****************************************************************************/
12
// SUMO, Simulation of Urban MObility; see http://sumo-sim.org/
13
// Copyright (C) 2001-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 GUIEdgeControlBuilder_h
24
#define GUIEdgeControlBuilder_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 <vector>
38
#include <
netload/NLEdgeControlBuilder.h
>
39
#include <
utils/geom/PositionVector.h
>
40
#include <
guisim/GUIEdge.h
>
41
42
43
// ===========================================================================
44
// class declarations
45
// ===========================================================================
46
class
MSJunction
;
47
48
49
// ===========================================================================
50
// class definitions
51
// ===========================================================================
60
class
GUIEdgeControlBuilder
:
public
NLEdgeControlBuilder
{
61
public
:
66
GUIEdgeControlBuilder
();
67
68
70
~GUIEdgeControlBuilder
();
71
72
83
virtual
MSLane
*
addLane
(
const
std::string&
id
,
84
SUMOReal
maxSpeed,
SUMOReal
length,
85
const
PositionVector
& shape,
SUMOReal
width,
86
SVCPermissions
permissions);
87
88
89
90
99
MSEdge
*
buildEdge
(
const
std::string&
id
,
const
MSEdge::EdgeBasicFunction
function
,
const
std::string& streetName,
const
std::string& edgeType);
100
101
102
private
:
104
GUIEdgeControlBuilder
(
const
GUIEdgeControlBuilder
& s);
105
107
GUIEdgeControlBuilder
&
operator=
(
const
GUIEdgeControlBuilder
& s);
108
109
};
110
111
112
#endif
113
114
/****************************************************************************/
115
tmp
buildd
sumo-0.21.0+dfsg
src
guinetload
GUIEdgeControlBuilder.h
Generated on Thu Nov 20 2014 19:49:53 for SUMO - Simulation of Urban MObility by
1.8.1.2