Eclipse 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-2019 German Aerospace Center (DLR) and others.
4
// This program and the accompanying materials
5
// are made available under the terms of the Eclipse Public License v2.0
6
// which accompanies this distribution, and is available at
7
// http://www.eclipse.org/legal/epl-v20.html
8
// SPDX-License-Identifier: EPL-2.0
9
/****************************************************************************/
15
// The class responsible for building and deletion of vehicles (meso-version)
16
/****************************************************************************/
17
#ifndef MEVehicleControl_h
18
#define MEVehicleControl_h
19
20
21
// ===========================================================================
22
// included modules
23
// ===========================================================================
24
#include <
config.h
>
25
26
#include <vector>
27
#include <
microsim/MSVehicleControl.h
>
28
29
30
// ===========================================================================
31
// class definitions
32
// ===========================================================================
43
class
MEVehicleControl
:
public
MSVehicleControl
{
44
public
:
46
MEVehicleControl
();
47
48
50
~MEVehicleControl
();
51
52
55
68
virtual
SUMOVehicle
*
buildVehicle
(
SUMOVehicleParameter
* defs,
69
const
MSRoute
* route,
MSVehicleType
* type,
70
const
bool
ignoreStopErrors,
const
bool
fromRouteFile =
true
);
72
73
74
private
:
76
MEVehicleControl
(
const
MEVehicleControl
& s);
77
79
MEVehicleControl
&
operator=
(
const
MEVehicleControl
& s);
80
81
82
};
83
84
85
#endif
86
87
/****************************************************************************/
88
MEVehicleControl::operator=
MEVehicleControl & operator=(const MEVehicleControl &s)
invalidated assignment operator
config.h
MSVehicleType
The car-following model and parameter.
Definition:
MSVehicleType.h:66
SUMOVehicle
Representation of a vehicle.
Definition:
SUMOVehicle.h:61
MSRoute
Definition:
MSRoute.h:67
MEVehicleControl
The class responsible for building and deletion of vehicles (gui-version)
Definition:
MEVehicleControl.h:43
MEVehicleControl::~MEVehicleControl
~MEVehicleControl()
Destructor.
Definition:
MEVehicleControl.cpp:44
SUMOVehicleParameter
Structure representing possible vehicle parameter.
Definition:
SUMOVehicleParameter.h:291
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:48
MEVehicleControl::MEVehicleControl
MEVehicleControl()
Constructor.
Definition:
MEVehicleControl.cpp:40
MSVehicleControl
The class responsible for building and deletion of vehicles.
Definition:
MSVehicleControl.h:72
MSVehicleControl.h
src
mesosim
MEVehicleControl.h
Generated on Wed Jan 15 2020 15:04:13 for Eclipse SUMO - Simulation of Urban MObility by
1.8.13