SUMO - Simulation of Urban MObility
MEVehicleControl.h
Go to the documentation of this file.
1
/****************************************************************************/
7
// The class responsible for building and deletion of vehicles (meso-version)
8
/****************************************************************************/
9
// SUMO, Simulation of Urban MObility; see http://sumo.dlr.de/
10
// Copyright (C) 2001-2017 DLR (http://www.dlr.de/) and contributors
11
/****************************************************************************/
12
//
13
// This file is part of SUMO.
14
// SUMO is free software: you can redistribute it and/or modify
15
// it under the terms of the GNU General Public License as published by
16
// the Free Software Foundation, either version 3 of the License, or
17
// (at your option) any later version.
18
//
19
/****************************************************************************/
20
#ifndef MEVehicleControl_h
21
#define MEVehicleControl_h
22
23
24
// ===========================================================================
25
// included modules
26
// ===========================================================================
27
#ifdef _MSC_VER
28
#include <
windows_config.h
>
29
#else
30
#include <
config.h
>
31
#endif
32
33
#include <vector>
34
#include <
microsim/MSVehicleControl.h
>
35
36
37
// ===========================================================================
38
// class definitions
39
// ===========================================================================
50
class
MEVehicleControl
:
public
MSVehicleControl
{
51
public
:
53
MEVehicleControl
();
54
55
57
~MEVehicleControl
();
58
59
62
75
virtual
SUMOVehicle
*
buildVehicle
(
SUMOVehicleParameter
* defs,
76
const
MSRoute
* route,
const
MSVehicleType
* type,
77
const
bool
ignoreStopErrors,
const
bool
fromRouteFile =
true
);
79
80
81
private
:
83
MEVehicleControl
(
const
MEVehicleControl
& s);
84
86
MEVehicleControl
&
operator=
(
const
MEVehicleControl
& s);
87
88
89
};
90
91
92
#endif
93
94
/****************************************************************************/
95
MEVehicleControl::buildVehicle
virtual SUMOVehicle * buildVehicle(SUMOVehicleParameter *defs, const MSRoute *route, const MSVehicleType *type, const bool ignoreStopErrors, const bool fromRouteFile=true)
Builds a vehicle, increases the number of built vehicles.
Definition:
MEVehicleControl.cpp:55
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:74
SUMOVehicle
Representation of a vehicle.
Definition:
SUMOVehicle.h:67
MSRoute
Definition:
MSRoute.h:74
MEVehicleControl
The class responsible for building and deletion of vehicles (gui-version)
Definition:
MEVehicleControl.h:50
MEVehicleControl::~MEVehicleControl
~MEVehicleControl()
Destructor.
Definition:
MEVehicleControl.cpp:51
SUMOVehicleParameter
Structure representing possible vehicle parameter.
Definition:
SUMOVehicleParameter.h:284
MEVehicleControl::MEVehicleControl
MEVehicleControl()
Constructor.
Definition:
MEVehicleControl.cpp:47
MSVehicleControl
The class responsible for building and deletion of vehicles.
Definition:
MSVehicleControl.h:74
MSVehicleControl.h
src
mesosim
MEVehicleControl.h
Generated on Sun Dec 17 2017 21:15:31 for SUMO - Simulation of Urban MObility by
1.8.13