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
/****************************************************************************/
14
// The class responsible for building and deletion of vehicles (meso-version)
15
/****************************************************************************/
16
#ifndef MEVehicleControl_h
17
#define MEVehicleControl_h
18
19
20
// ===========================================================================
21
// included modules
22
// ===========================================================================
23
#include <
config.h
>
24
25
#include <vector>
26
#include <
microsim/MSVehicleControl.h
>
27
28
29
// ===========================================================================
30
// class definitions
31
// ===========================================================================
42
class
MEVehicleControl
:
public
MSVehicleControl
{
43
public
:
45
MEVehicleControl
();
46
47
49
~MEVehicleControl
();
50
51
54
67
virtual
SUMOVehicle
*
buildVehicle
(
SUMOVehicleParameter
* defs,
68
const
MSRoute
* route,
MSVehicleType
* type,
69
const
bool
ignoreStopErrors,
const
bool
fromRouteFile =
true
);
71
72
73
private
:
75
MEVehicleControl
(
const
MEVehicleControl
& s);
76
78
MEVehicleControl
&
operator=
(
const
MEVehicleControl
& s);
79
80
81
};
82
83
84
#endif
85
86
/****************************************************************************/
87
MSVehicleType
The car-following model and parameter.
Definition:
MSVehicleType.h:65
MEVehicleControl::MEVehicleControl
MEVehicleControl(const MEVehicleControl &s)
invalidated copy constructor
SUMOVehicle
Representation of a vehicle.
Definition:
SUMOVehicle.h:60
MEVehicleControl::MEVehicleControl
MEVehicleControl()
Constructor.
Definition:
MEVehicleControl.cpp:39
SUMOVehicleParameter
Structure representing possible vehicle parameter.
Definition:
SUMOVehicleParameter.h:297
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:47
MSRoute
Definition:
MSRoute.h:66
MEVehicleControl::operator=
MEVehicleControl & operator=(const MEVehicleControl &s)
invalidated assignment operator
MEVehicleControl
The class responsible for building and deletion of vehicles (gui-version)
Definition:
MEVehicleControl.h:42
config.h
MSVehicleControl
The class responsible for building and deletion of vehicles.
Definition:
MSVehicleControl.h:71
MSVehicleControl.h
MEVehicleControl::~MEVehicleControl
~MEVehicleControl()
Destructor.
Definition:
MEVehicleControl.cpp:43
src
mesosim
MEVehicleControl.h
Generated on Sun Dec 13 2020 08:44:58 for Eclipse SUMO - Simulation of Urban MObility by
1.8.20