SUMO - Simulation of Urban MObility
MEVehicleControl.h
Go to the documentation of this file.
1
/****************************************************************************/
2
// Eclipse SUMO, Simulation of Urban MObility; see https://eclipse.org/sumo
3
// Copyright (C) 2001-2017 German Aerospace Center (DLR) and others.
4
/****************************************************************************/
5
//
6
// This program and the accompanying materials
7
// are made available under the terms of the Eclipse Public License v2.0
8
// which accompanies this distribution, and is available at
9
// http://www.eclipse.org/legal/epl-v20.html
10
//
11
/****************************************************************************/
17
// The class responsible for building and deletion of vehicles (meso-version)
18
/****************************************************************************/
19
#ifndef MEVehicleControl_h
20
#define MEVehicleControl_h
21
22
23
// ===========================================================================
24
// included modules
25
// ===========================================================================
26
#ifdef _MSC_VER
27
#include <
windows_config.h
>
28
#else
29
#include <
config.h
>
30
#endif
31
32
#include <vector>
33
#include <
microsim/MSVehicleControl.h
>
34
35
36
// ===========================================================================
37
// class definitions
38
// ===========================================================================
49
class
MEVehicleControl
:
public
MSVehicleControl
{
50
public
:
52
MEVehicleControl
();
53
54
56
~MEVehicleControl
();
57
58
61
74
virtual
SUMOVehicle
*
buildVehicle
(
SUMOVehicleParameter
* defs,
75
const
MSRoute
* route,
MSVehicleType
* type,
76
const
bool
ignoreStopErrors,
const
bool
fromRouteFile =
true
);
78
79
80
private
:
82
MEVehicleControl
(
const
MEVehicleControl
& s);
83
85
MEVehicleControl
&
operator=
(
const
MEVehicleControl
& s);
86
87
88
};
89
90
91
#endif
92
93
/****************************************************************************/
94
windows_config.h
MEVehicleControl::operator=
MEVehicleControl & operator=(const MEVehicleControl &s)
invalidated assignment operator
config.h
MSVehicleType
The car-following model and parameter.
Definition:
MSVehicleType.h:72
SUMOVehicle
Representation of a vehicle.
Definition:
SUMOVehicle.h:66
MSRoute
Definition:
MSRoute.h:73
MEVehicleControl
The class responsible for building and deletion of vehicles (gui-version)
Definition:
MEVehicleControl.h:49
MEVehicleControl::~MEVehicleControl
~MEVehicleControl()
Destructor.
Definition:
MEVehicleControl.cpp:50
SUMOVehicleParameter
Structure representing possible vehicle parameter.
Definition:
SUMOVehicleParameter.h:284
MEVehicleControl::buildVehicle
virtual SUMOVehicle * buildVehicle(SUMOVehicleParameter *defs, const MSRoute *route, MSVehicleType *type, const bool ignoreStopErrors, const bool fromRouteFile=true)
Builds a vehicle, increases the number of built vehicles.
Definition:
MEVehicleControl.cpp:54
MEVehicleControl::MEVehicleControl
MEVehicleControl()
Constructor.
Definition:
MEVehicleControl.cpp:46
MSVehicleControl
The class responsible for building and deletion of vehicles.
Definition:
MSVehicleControl.h:74
MSVehicleControl.h
src
mesosim
MEVehicleControl.h
Generated on Fri May 25 2018 08:54:34 for SUMO - Simulation of Urban MObility by
1.8.13