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-sim.org/
10
// Copyright (C) 2001-2013 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 definitions
41
// ===========================================================================
46
class
GUIInstantInductLoop
:
public
MSInstantInductLoop
{
47
public
:
55
GUIInstantInductLoop
(
const
std::string&
id
,
OutputDevice
& od,
56
MSLane
*
const
lane,
SUMOReal
positionInMeters);
57
58
60
~GUIInstantInductLoop
();
61
62
63
67
virtual
GUIDetectorWrapper
*
buildDetectorGUIRepresentation
();
68
69
70
public
:
75
class
MyWrapper
:
public
GUIDetectorWrapper
{
76
public
:
78
MyWrapper
(
GUIInstantInductLoop
& detector,
SUMOReal
pos);
79
81
~MyWrapper
();
82
83
85
86
94
GUIParameterTableWindow
*
getParameterWindow
(
95
GUIMainWindow
& app,
GUISUMOAbstractView
& parent);
96
97
103
Boundary
getCenteringBoundary
()
const
;
104
105
110
void
drawGL
(
const
GUIVisualizationSettings
& s)
const
;
112
113
115
GUIInstantInductLoop
&
getLoop
();
116
117
118
private
:
120
GUIInstantInductLoop
&
myDetector
;
121
123
Boundary
myBoundary
;
124
126
Position
myFGPosition
;
127
129
SUMOReal
myFGRotation
;
130
132
SUMOReal
myPosition
;
133
134
private
:
136
MyWrapper
(
const
MyWrapper
&);
137
139
MyWrapper
&
operator=
(
const
MyWrapper
&);
140
141
};
142
143
145
mutable
MFXMutex
myLock
;
146
147
};
148
149
150
#endif
151
152
/****************************************************************************/
153
build
buildd
sumo-0.18~dfsg
src
guisim
GUIInstantInductLoop.h
Generated on Wed Oct 23 2013 01:15:08 for SUMO - Simulation of Urban MObility by
1.8.4