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