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.sourceforge.net/
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 
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 // ===========================================================================
53 public:
61  GUIInstantInductLoop(const std::string& id, OutputDevice& od,
62  MSLane* const lane, SUMOReal positionInMeters);
63 
64 
67 
68 
69 
74 
75 
76 public:
81  class MyWrapper : public GUIDetectorWrapper {
82  public:
85  GUILaneWrapper& wrapper,
86  SUMOReal pos);
87 
89  ~MyWrapper();
90 
91 
93 
94 
103  GUIMainWindow& app, GUISUMOAbstractView& parent);
104 
105 
112 
113 
118  void drawGL(const GUIVisualizationSettings& s) const;
120 
121 
124 
125 
126  private:
129 
132 
135 
138 
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