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
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-sim.org/
12
// Copyright (C) 2001-2013 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
>
38
#include <
utils/common/VectorHelper.h
>
39
#include <
utils/geom/PositionVector.h
>
40
#include <
microsim/trigger/MSBusStop.h
>
41
#include <
utils/gui/globjects/GUIGlObject.h
>
42
#include <
utils/gui/globjects/GUIGlObject_AbstractAdd.h
>
43
#include <
utils/gui/globjects/GUIGLObjectPopupMenu.h
>
44
#include <
utils/geom/Position.h
>
45
#include <
gui/GUIManipulator.h
>
46
#include <
utils/foxtools/FXRealSpinDial.h
>
47
48
49
// ===========================================================================
50
// class declarations
51
// ===========================================================================
52
class
MSNet
;
53
class
MSLane
;
54
class
GUIManipulator
;
55
56
57
// ===========================================================================
58
// class definitions
59
// ===========================================================================
71
class
GUIBusStop
:
public
MSBusStop
,
public
GUIGlObject_AbstractAdd
{
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
101
GUIGLObjectPopupMenu
*
getPopUpMenu
(
GUIMainWindow
& app,
102
GUISUMOAbstractView
& parent);
103
104
114
GUIParameterTableWindow
*
getParameterWindow
(
GUIMainWindow
& app,
115
GUISUMOAbstractView
& parent);
116
117
123
Boundary
getCenteringBoundary
()
const
;
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
142
PositionVector
myFGShape
;
143
145
Position
myFGSignPos
;
146
148
SUMOReal
myFGSignRot
;
149
150
151
};
152
153
154
#endif
155
156
/****************************************************************************/
157
build
buildd
sumo-0.18~dfsg
src
guisim
GUIBusStop.h
Generated on Wed Oct 23 2013 01:15:08 for SUMO - Simulation of Urban MObility by
1.8.4