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
GUIInstantInductLoop.h
Go to the documentation of this file.
1
/****************************************************************************/
7
// The gui-version of the MSInstantInductLoop
8
/****************************************************************************/
9
// SUMO, Simulation of Urban MObility; see http://sumo.sourceforge.net/
10
// Copyright (C) 2001-2012 DLR (http://www.dlr.de/) and contributors
11
/****************************************************************************/
12
//
13
// This file is part of SUMO.
14
// SUMO is free software: you can redistribute it and/or modify
15
// it under the terms of the GNU General Public License as published by
16
// the Free Software Foundation, either version 3 of the License, or
17
// (at your option) any later version.
18
//
19
/****************************************************************************/
20
#ifndef GUIInstantInductLoop_h
21
#define GUIInstantInductLoop_h
22
23
24
// ===========================================================================
25
// included modules
26
// ===========================================================================
27
#ifdef _MSC_VER
28
#include <
windows_config.h
>
29
#else
30
#include <
config.h
>
31
#endif
32
33
#include <
utils/foxtools/MFXMutex.h
>
34
#include <
microsim/output/MSInstantInductLoop.h
>
35
#include <
utils/geom/Position.h
>
36
#include "
GUIDetectorWrapper.h
"
37
38
39
// ===========================================================================
40
// class declarations
41
// ===========================================================================
42
class
GUILaneWrapper
;
43
44
45
// ===========================================================================
46
// class definitions
47
// ===========================================================================
52
class
GUIInstantInductLoop
:
public
MSInstantInductLoop
{
53
public
:
61
GUIInstantInductLoop
(
const
std::string&
id
,
OutputDevice
& od,
62
MSLane
*
const
lane,
SUMOReal
positionInMeters) ;
63
64
66
~GUIInstantInductLoop
() ;
67
68
69
73
virtual
GUIDetectorWrapper
*
buildDetectorGUIRepresentation
();
74
75
76
public
:
81
class
MyWrapper
:
public
GUIDetectorWrapper
{
82
public
:
84
MyWrapper
(
GUIInstantInductLoop
& detector,
85
GUILaneWrapper
& wrapper,
86
SUMOReal
pos) ;
87
89
~MyWrapper
() ;
90
91
93
94
102
GUIParameterTableWindow
*
getParameterWindow
(
103
GUIMainWindow
& app,
GUISUMOAbstractView
& parent) ;
104
105
111
Boundary
getCenteringBoundary
()
const
;
112
113
118
void
drawGL
(
const
GUIVisualizationSettings
& s)
const
;
120
121
123
GUIInstantInductLoop
&
getLoop
();
124
125
126
private
:
128
GUIInstantInductLoop
&
myDetector
;
129
131
Boundary
myBoundary
;
132
134
Position
myFGPosition
;
135
137
SUMOReal
myFGRotation
;
138
140
SUMOReal
myPosition
;
141
142
private
:
144
MyWrapper
(
const
MyWrapper
&);
145
147
MyWrapper
&
operator=
(
const
MyWrapper
&);
148
149
};
150
151
153
mutable
MFXMutex
myLock
;
154
155
};
156
157
158
#endif
159
160
/****************************************************************************/
161
var
build
temp
tmp.znCyBrHNjL
4.0-0-0
sumo
sumo-0.15.0~dfsg
src
guisim
GUIInstantInductLoop.h
Generated on Mon Mar 24 2014 09:53:09 for SUMO - Simulation of Urban MObility by
1.8.1.2