21 #ifndef MSMeanData_Emissions_h 22 #define MSMeanData_Emissions_h 84 void reset(
bool afterWrite =
false);
103 const double numLanes,
const double defaultTravelTime,
104 const int numVehicles = -1)
const;
111 void notifyMoveInternal(
const SUMOVehicle& veh,
const double ,
const double timeOnLane,
const double ,
const double meanSpeedVehicleOnLane,
const double travelledDistanceFrontOnLane,
const double travelledDistanceVehicleOnLane);
137 const bool useLanes,
const bool withEmpty,
138 const bool printDefaults,
const bool withInternal,
139 const bool trackVehicles,
140 const double minSamples,
const double maxTravelTime,
141 const std::string& vTypes);
Data collector for edges/lanes.
MSMeanData_Emissions(const std::string &id, const SUMOTime dumpBegin, const SUMOTime dumpEnd, const bool useLanes, const bool withEmpty, const bool printDefaults, const bool withInternal, const bool trackVehicles, const double minSamples, const double maxTravelTime, const std::string &vTypes)
Constructor.
void reset(bool afterWrite=false)
Resets values so they may be used for the next interval.
Storage for collected values of all emission types.
PollutantsInterface::Emissions myEmissions
Collected values.
MSLaneMeanDataValues(MSLane *const lane, const double length, const bool doAdd, const MSMeanData_Emissions *parent)
Constructor.
Representation of a vehicle.
Data structure for mean (aggregated) edge/lane values.
void addTo(MSMeanData::MeanDataValues &val) const
Add the values of this to the given one and store them there.
void write(OutputDevice &dev, const SUMOTime period, const double numLanes, const double defaultTravelTime, const int numVehicles=-1) const
Writes output values into the given stream.
Emission data collector for edges/lanes.
MSMeanData::MeanDataValues * createValues(MSLane *const lane, const double length, const bool doAdd) const
Create an instance of MeanDataValues.
void notifyMoveInternal(const SUMOVehicle &veh, const double, const double timeOnLane, const double, const double meanSpeedVehicleOnLane, const double travelledDistanceFrontOnLane, const double travelledDistanceVehicleOnLane)
Internal notification about the vehicle moves.
virtual ~MSMeanData_Emissions()
Destructor.
MSMoveReminder & operator=(const MSMoveReminder &)
Static storage of an output device and its base (abstract) implementation.
virtual ~MSLaneMeanDataValues()
Destructor.
Representation of a lane in the micro simulation.
Data structure for mean (aggregated) edge/lane values.