SUMO - Simulation of Urban MObility
Main Page
Related Pages
Modules
Data Structures
Files
File List
Globals
All
Data Structures
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Groups
Pages
MSDevice_HBEFA.h
Go to the documentation of this file.
1
/****************************************************************************/
8
// A device which collects vehicular emissions (using HBEFA-reformulation)
9
/****************************************************************************/
10
// SUMO, Simulation of Urban MObility; see http://sumo.sourceforge.net/
11
// Copyright (C) 2001-2012 DLR (http://www.dlr.de/) and contributors
12
/****************************************************************************/
13
//
14
// This file is part of SUMO.
15
// SUMO is free software: you can redistribute it and/or modify
16
// it under the terms of the GNU General Public License as published by
17
// the Free Software Foundation, either version 3 of the License, or
18
// (at your option) any later version.
19
//
20
/****************************************************************************/
21
#ifndef MSDevice_HBEFA_h
22
#define MSDevice_HBEFA_h
23
24
25
// ===========================================================================
26
// included modules
27
// ===========================================================================
28
#ifdef _MSC_VER
29
#include <
windows_config.h
>
30
#else
31
#include <
config.h
>
32
#endif
33
34
#include <set>
35
#include <vector>
36
#include <map>
37
#include "
MSDevice.h
"
38
#include <
utils/common/SUMOTime.h
>
39
#include <
microsim/MSVehicle.h
>
40
#include <
utils/common/WrappingCommand.h
>
41
42
43
// ===========================================================================
44
// class declarations
45
// ===========================================================================
46
class
MSLane
;
47
48
49
// ===========================================================================
50
// class definitions
51
// ===========================================================================
63
class
MSDevice_HBEFA
:
public
MSDevice
{
64
public
:
67
static
void
insertOptions
() ;
68
69
82
static
void
buildVehicleDevices
(
SUMOVehicle
& v, std::vector<MSDevice*> &into) ;
83
84
85
public
:
88
103
bool
notifyMove
(
SUMOVehicle
& veh,
SUMOReal
oldPos,
SUMOReal
newPos,
SUMOReal
newSpeed) ;
105
106
113
void
generateOutput
()
const
;
114
115
117
~MSDevice_HBEFA
() ;
118
119
120
private
:
126
MSDevice_HBEFA
(
SUMOVehicle
& holder,
const
std::string&
id
) ;
127
128
129
private
:
132
133
SUMOReal
myCO2
,
myCO
,
myHC
,
myPMx
,
myNOx
,
myFuel
;
134
136
137
138
private
:
140
MSDevice_HBEFA
(
const
MSDevice_HBEFA
&);
141
143
MSDevice_HBEFA
&
operator=
(
const
MSDevice_HBEFA
&);
144
145
146
};
147
148
149
#endif
150
151
/****************************************************************************/
152
tmp
buildd
sumo-0.15.0~dfsg
src
microsim
devices
MSDevice_HBEFA.h
Generated on Sun May 27 2012 14:52:06 for SUMO - Simulation of Urban MObility by
1.8.1