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
GUIVehicleControl.h
Go to the documentation of this file.
1
/****************************************************************************/
8
// The class responsible for building and deletion of vehicles (gui-version)
9
/****************************************************************************/
10
// SUMO, Simulation of Urban MObility; see http://sumo.sourceforge.net/
11
// Copyright (C) 2001-2012 DLR (http://www.dlr.de/) and contributors
12
/****************************************************************************/
13
//
14
// This file is part of SUMO.
15
// SUMO is free software: you can redistribute it and/or modify
16
// it under the terms of the GNU General Public License as published by
17
// the Free Software Foundation, either version 3 of the License, or
18
// (at your option) any later version.
19
//
20
/****************************************************************************/
21
#ifndef GUIVehicleControl_h
22
#define GUIVehicleControl_h
23
24
25
// ===========================================================================
26
// included modules
27
// ===========================================================================
28
#ifdef _MSC_VER
29
#include <
windows_config.h
>
30
#else
31
#include <
config.h
>
32
#endif
33
34
#include <vector>
35
#include <
microsim/MSVehicleControl.h
>
36
#include <
utils/gui/globjects/GUIGlObject.h
>
37
38
39
// ===========================================================================
40
// class declarations
41
// ===========================================================================
42
class
MFXMutex
;
43
44
45
// ===========================================================================
46
// class definitions
47
// ===========================================================================
58
class
GUIVehicleControl
:
public
MSVehicleControl
{
59
public
:
61
GUIVehicleControl
() ;
62
63
65
~GUIVehicleControl
() ;
66
67
70
84
SUMOVehicle
*
buildVehicle
(
SUMOVehicleParameter
* defs,
85
const
MSRoute
* route,
const
MSVehicleType
* type) ;
87
88
97
bool
addVehicle
(
const
std::string&
id
,
SUMOVehicle
* v) ;
98
99
107
void
deleteVehicle
(
SUMOVehicle
* v,
bool
discard=
false
);
108
109
114
void
insertVehicleIDs
(std::vector<GUIGlID> &into) ;
115
116
117
private
:
119
mutable
MFXMutex
myLock
;
120
121
122
private
:
124
GUIVehicleControl
(
const
GUIVehicleControl
& s);
125
127
GUIVehicleControl
&
operator=
(
const
GUIVehicleControl
& s);
128
129
130
};
131
132
133
#endif
134
135
/****************************************************************************/
136
tmp
buildd
sumo-0.15.0~dfsg
src
guisim
GUIVehicleControl.h
Generated on Sun May 27 2012 14:52:05 for SUMO - Simulation of Urban MObility by
1.8.1