![]() |
SUMO - Simulation of Urban MObility
|
Storage for collected values of all emission types. More...
#include <PollutantsInterface.h>
Public Member Functions | |
void | addScaled (const Emissions &a, const SUMOReal scale=1.) |
Add the values of the other struct to this one, scaling the values if needed. More... | |
Emissions (SUMOReal co2=0, SUMOReal co=0, SUMOReal hc=0, SUMOReal f=0, SUMOReal nox=0, SUMOReal pmx=0, SUMOReal elec=0) | |
Constructor, intializes all members. More... | |
Data Fields | |
SUMOReal | CO |
SUMOReal | CO2 |
SUMOReal | electricity |
SUMOReal | fuel |
SUMOReal | HC |
SUMOReal | NOx |
SUMOReal | PMx |
Storage for collected values of all emission types.
Definition at line 69 of file PollutantsInterface.h.
|
inline |
Constructor, intializes all members.
[in] | co2 | initial value for CO2, defaults to 0 |
[in] | co | initial value for CO, defaults to 0 |
[in] | hc | initial value for HC, defaults to 0 |
[in] | f | initial value for fuel, defaults to 0 |
[in] | nox | initial value for NOx, defaults to 0 |
[in] | pmx | initial value for PMx, defaults to 0 |
[in] | elec | initial value for electricity, defaults to 0 |
Definition at line 87 of file PollutantsInterface.h.
|
inline |
Add the values of the other struct to this one, scaling the values if needed.
[in] | a | the other emission valuess |
[in] | scale | scaling factor, defaulting to 1 (no scaling) |
Definition at line 95 of file PollutantsInterface.h.
References CO, CO2, electricity, fuel, HC, NOx, and PMx.
Referenced by MSMeanData_Emissions::MSLaneMeanDataValues::addTo(), MSDevice_Emissions::notifyMove(), and MSMeanData_Emissions::MSLaneMeanDataValues::notifyMoveInternal().
SUMOReal PollutantsInterface::Emissions::CO |
Definition at line 71 of file PollutantsInterface.h.
Referenced by addScaled(), MSDevice_Emissions::generateOutput(), single(), MSEmissionExport::write(), MSMeanData_Emissions::MSLaneMeanDataValues::write(), TrajectoriesHandler::writeEmissions(), MSFullExport::writeVehicles(), and TrajectoriesHandler::writeXMLEmissions().
SUMOReal PollutantsInterface::Emissions::CO2 |
Definition at line 70 of file PollutantsInterface.h.
Referenced by addScaled(), MSDevice_Emissions::generateOutput(), single(), MSEmissionExport::write(), MSMeanData_Emissions::MSLaneMeanDataValues::write(), TrajectoriesHandler::writeEmissions(), MSFullExport::writeVehicles(), and TrajectoriesHandler::writeXMLEmissions().
SUMOReal PollutantsInterface::Emissions::electricity |
Definition at line 76 of file PollutantsInterface.h.
Referenced by addScaled(), single(), MSEmissionExport::write(), MSMeanData_Emissions::MSLaneMeanDataValues::write(), TrajectoriesHandler::writeEmissions(), MSFullExport::writeVehicles(), and TrajectoriesHandler::writeXMLEmissions().
SUMOReal PollutantsInterface::Emissions::fuel |
Definition at line 73 of file PollutantsInterface.h.
Referenced by addScaled(), MSDevice_Emissions::generateOutput(), single(), MSEmissionExport::write(), MSMeanData_Emissions::MSLaneMeanDataValues::write(), TrajectoriesHandler::writeEmissions(), MSFullExport::writeVehicles(), and TrajectoriesHandler::writeXMLEmissions().
SUMOReal PollutantsInterface::Emissions::HC |
Definition at line 72 of file PollutantsInterface.h.
Referenced by addScaled(), MSDevice_Emissions::generateOutput(), single(), MSEmissionExport::write(), MSMeanData_Emissions::MSLaneMeanDataValues::write(), TrajectoriesHandler::writeEmissions(), MSFullExport::writeVehicles(), and TrajectoriesHandler::writeXMLEmissions().
SUMOReal PollutantsInterface::Emissions::NOx |
Definition at line 74 of file PollutantsInterface.h.
Referenced by addScaled(), MSDevice_Emissions::generateOutput(), single(), MSEmissionExport::write(), MSMeanData_Emissions::MSLaneMeanDataValues::write(), TrajectoriesHandler::writeEmissions(), MSFullExport::writeVehicles(), and TrajectoriesHandler::writeXMLEmissions().
SUMOReal PollutantsInterface::Emissions::PMx |
Definition at line 75 of file PollutantsInterface.h.
Referenced by addScaled(), MSDevice_Emissions::generateOutput(), single(), MSEmissionExport::write(), MSMeanData_Emissions::MSLaneMeanDataValues::write(), TrajectoriesHandler::writeEmissions(), MSFullExport::writeVehicles(), and TrajectoriesHandler::writeXMLEmissions().