Eclipse SUMO - Simulation of Urban MObility
NIVissimVehicleClass.cpp
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
// -------------------
15
/****************************************************************************/
16
17
18
// ===========================================================================
19
// included modules
20
// ===========================================================================
21
#include <
config.h
>
22
23
24
#include "
NIVissimVehicleClass.h
"
25
26
NIVissimVehicleClass::NIVissimVehicleClass
(
int
vwish)
27
: myVWish(vwish) {}
28
29
30
NIVissimVehicleClass::~NIVissimVehicleClass
() {}
31
32
33
int
34
NIVissimVehicleClass::getSpeed
()
const
{
35
return
myVWish
;
36
}
37
38
39
40
/****************************************************************************/
41
NIVissimVehicleClass::getSpeed
int getSpeed() const
Definition:
NIVissimVehicleClass.cpp:34
NIVissimVehicleClass::~NIVissimVehicleClass
~NIVissimVehicleClass()
Definition:
NIVissimVehicleClass.cpp:30
NIVissimVehicleClass.h
NIVissimVehicleClass::myVWish
int myVWish
Definition:
NIVissimVehicleClass.h:38
config.h
NIVissimVehicleClass::NIVissimVehicleClass
NIVissimVehicleClass(int vwish)
Definition:
NIVissimVehicleClass.cpp:26
src
netimport
vissim
tempstructs
NIVissimVehicleClass.cpp
Generated on Sun Jun 21 2020 23:18:41 for Eclipse SUMO - Simulation of Urban MObility by
1.8.17