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_Emissions.h
Go to the documentation of this file.
1
/****************************************************************************/
8
// A device which collects vehicular emissions
9
/****************************************************************************/
10
// SUMO, Simulation of Urban MObility; see http://sumo-sim.org/
11
// Copyright (C) 2001-2014 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_Emissions_h
22
#define MSDevice_Emissions_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 <
utils/common/SUMOTime.h
>
38
#include <
utils/common/WrappingCommand.h
>
39
#include <
utils/emissions/PollutantsInterface.h
>
40
#include <
microsim/MSVehicle.h
>
41
#include "
MSDevice.h
"
42
43
44
// ===========================================================================
45
// class declarations
46
// ===========================================================================
47
class
MSLane
;
48
49
50
// ===========================================================================
51
// class definitions
52
// ===========================================================================
65
class
MSDevice_Emissions
:
public
MSDevice
{
66
public
:
69
static
void
insertOptions
();
70
71
84
static
void
buildVehicleDevices
(
SUMOVehicle
& v, std::vector<MSDevice*>& into);
85
86
87
public
:
90
105
bool
notifyMove
(
SUMOVehicle
& veh,
SUMOReal
oldPos,
SUMOReal
newPos,
SUMOReal
newSpeed);
107
108
115
void
generateOutput
()
const
;
116
117
119
~MSDevice_Emissions
();
120
121
122
private
:
128
MSDevice_Emissions
(
SUMOVehicle
& holder,
const
std::string&
id
);
129
130
131
private
:
133
PollutantsInterface::Emissions
myEmissions
;
134
135
136
private
:
138
MSDevice_Emissions
(
const
MSDevice_Emissions
&);
139
141
MSDevice_Emissions
&
operator=
(
const
MSDevice_Emissions
&);
142
143
144
};
145
146
147
#endif
148
149
/****************************************************************************/
150
tmp
buildd
sumo-0.21.0+dfsg
src
microsim
devices
MSDevice_Emissions.h
Generated on Thu Nov 20 2014 19:49:55 for SUMO - Simulation of Urban MObility by
1.8.1.2