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