SUMO - Simulation of Urban MObility
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
GUIBusStop.h
Go to the documentation of this file.
1 /****************************************************************************/
9 // A lane area vehicles can halt at (gui-version)
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 GUIBusStop_h
23 #define GUIBusStop_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 <vector>
36 #include <string>
37 #include <utils/common/Command.h>
44 #include <utils/geom/Position.h>
45 #include <gui/GUIManipulator.h>
47 
48 
49 // ===========================================================================
50 // class declarations
51 // ===========================================================================
52 class MSNet;
53 class MSLane;
54 class GUIManipulator;
55 
56 
57 // ===========================================================================
58 // class definitions
59 // ===========================================================================
72 public:
81  GUIBusStop(const std::string& id,
82  const std::vector<std::string>& lines, MSLane& lane,
83  SUMOReal frompos, SUMOReal topos);
84 
85 
87  ~GUIBusStop();
88 
89 
90 
92 
93 
102  GUISUMOAbstractView& parent);
103 
104 
115  GUISUMOAbstractView& parent);
116 
117 
124 
125 
130  void drawGL(const GUIVisualizationSettings& s) const;
132 
133 
134 private:
136  std::vector<SUMOReal> myFGShapeRotations;
137 
139  std::vector<SUMOReal> myFGShapeLengths;
140 
143 
146 
149 
150 
151 };
152 
153 
154 #endif
155 
156 /****************************************************************************/
157