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
MSInternalLane.h
Go to the documentation of this file.
1
/****************************************************************************/
9
// Representation of a lane over a junction
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 MSInternalLane_h
23
#define MSInternalLane_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 "
MSLogicJunction.h
"
36
#include "
MSEdge.h
"
37
#include "
MSLane.h
"
38
#include "
MSEdgeControl.h
"
39
#include <bitset>
40
#include <deque>
41
#include <vector>
42
#include <utility>
43
#include <map>
44
#include <string>
45
#include <iostream>
46
#include "
MSNet.h
"
47
48
49
// ===========================================================================
50
// class declarations
51
// ===========================================================================
52
class
MSLink
;
53
class
MSMoveReminder
;
54
class
GUILaneWrapper
;
55
class
GUIGlObjectStorage
;
56
57
58
59
// ===========================================================================
60
// class definitions
61
// ===========================================================================
78
class
MSInternalLane
:
public
MSLane
{
79
public
:
93
MSInternalLane
(
const
std::string&
id
,
SUMOReal
maxSpeed,
SUMOReal
length,
MSEdge
*
const
edge,
94
unsigned
int
numericalID,
const
PositionVector
& shape,
SUMOReal
width,
95
SVCPermissions
permissions);
96
97
99
virtual
~MSInternalLane
() ;
100
101
104
114
void
setParentJunctionInformation
(
MSLogicJunction::InnerState
*
const
foescont,
115
unsigned
int
foesIdx) ;
116
117
121
void
setPassPosition
(
SUMOReal
passPos) ;
123
124
125
128
129
virtual
bool
moveCritical
(
SUMOTime
t);
131
132
133
134
private
:
136
MSLogicJunction::InnerState
*
myFoesCont
;
137
139
int
myFoesIndex
;
140
144
SUMOReal
myPassPosition
;
145
146
147
private
:
149
MSInternalLane
(
const
MSInternalLane
& s);
150
152
MSInternalLane
&
operator=
(
const
MSInternalLane
& s);
153
154
155
};
156
157
158
#endif
159
160
/****************************************************************************/
161
build
buildd
sumo-0.15.0~dfsg
src
microsim
MSInternalLane.h
Generated on Wed Jul 18 2012 22:58:33 for SUMO - Simulation of Urban MObility by
1.8.1.1