 |
Eclipse SUMO - Simulation of Urban MObility
|
Go to the documentation of this file.
18 #ifndef MSDevice_Emissions_h
19 #define MSDevice_Emissions_h
static void insertOptions()
Inserts MSDevice_Emissions-options.
Representation of a vehicle or person.
Representation of a lane in the micro simulation.
~MSDevice_Emissions()
Destructor.
Representation of a vehicle.
bool notifyMove(SUMOTrafficObject &veh, double oldPos, double newPos, double newSpeed)
Computes current emission values and adds them to their sums.
MSDevice_Emissions(SUMOVehicle &holder, const std::string &id)
Constructor.
const std::string deviceName() const
return the name for this type of device
Storage for collected values of all emission types.
A device which collects vehicular emissions.
static void buildVehicleDevices(SUMOVehicle &v, std::vector< MSVehicleDevice * > &into)
Build devices for the given vehicle, if needed.
MSDevice_Emissions & operator=(const MSDevice_Emissions &)
Invalidated assignment operator.
PollutantsInterface::Emissions myEmissions
Internal storages for pollutant/fuel sum in mg or ml.
void generateOutput() const
Called on writing tripinfo output.
Abstract in-vehicle device.