SUMO - Simulation of Urban MObility
 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-2014 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 
35 #include <utils/geom/Position.h>
36 #include "GUIDetectorWrapper.h"
37 
38 
39 // ===========================================================================
40 // class definitions
41 // ===========================================================================
47 public:
55  GUIInstantInductLoop(const std::string& id, OutputDevice& od,
56  MSLane* const lane, SUMOReal positionInMeters);
57 
58 
61 
62 
63 
68 
69 
70 public:
75  class MyWrapper : public GUIDetectorWrapper {
76  public:
78  MyWrapper(GUIInstantInductLoop& detector, SUMOReal pos);
79 
81  ~MyWrapper();
82 
83 
85 
86 
95  GUIMainWindow& app, GUISUMOAbstractView& parent);
96 
97 
104 
105 
110  void drawGL(const GUIVisualizationSettings& s) const;
112 
113 
116 
117 
118  private:
121 
124 
127 
130 
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