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-sim.org/
11
// Copyright (C) 2001-2013 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
:
68
static
void
insertOptions
(
OptionsCont
& oc);
69
70
83
static
void
buildVehicleDevices
(
SUMOVehicle
& v, std::vector<MSDevice*>& into);
84
85
86
public
:
88
~MSDevice_HBEFA
();
89
90
91
94
109
bool
notifyMove
(
SUMOVehicle
& veh,
SUMOReal
oldPos,
SUMOReal
newPos,
SUMOReal
newSpeed);
111
112
113
120
void
generateOutput
()
const
;
121
122
123
private
:
129
MSDevice_HBEFA
(
SUMOVehicle
& holder,
const
std::string&
id
);
130
131
132
private
:
135
136
SUMOReal
myCO2
,
myCO
,
myHC
,
myPMx
,
myNOx
,
myFuel
;
138
139
140
private
:
142
MSDevice_HBEFA
(
const
MSDevice_HBEFA
&);
143
145
MSDevice_HBEFA
&
operator=
(
const
MSDevice_HBEFA
&);
146
147
148
};
149
150
151
#endif
152
153
/****************************************************************************/
154
build
buildd
sumo-0.18~dfsg
src
microsim
devices
MSDevice_HBEFA.h
Generated on Wed Oct 23 2013 01:15:09 for SUMO - Simulation of Urban MObility by
1.8.4