 |
Eclipse SUMO - Simulation of Urban MObility
|
Go to the documentation of this file.
18 #ifndef MSMeanData_Emissions_h
19 #define MSMeanData_Emissions_h
77 void reset(
bool afterWrite =
false);
96 const double numLanes,
const double defaultTravelTime,
97 const int numVehicles = -1)
const;
104 void notifyMoveInternal(
const SUMOTrafficObject& veh,
const double ,
const double timeOnLane,
const double ,
const double meanSpeedVehicleOnLane,
const double travelledDistanceFrontOnLane,
const double travelledDistanceVehicleOnLane,
const double );
130 const bool useLanes,
const bool withEmpty,
131 const bool printDefaults,
const bool withInternal,
132 const bool trackVehicles,
133 const double minSamples,
const double maxTravelTime,
134 const std::string& vTypes);
Representation of a vehicle or person.
Representation of a lane in the micro simulation.
Static storage of an output device and its base (abstract) implementation.
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.
virtual ~MSLaneMeanDataValues()
Destructor.
PollutantsInterface::Emissions myEmissions
Collected values.
Data collector for edges/lanes.
Emission data collector for edges/lanes.
void notifyMoveInternal(const SUMOTrafficObject &veh, const double, const double timeOnLane, const double, const double meanSpeedVehicleOnLane, const double travelledDistanceFrontOnLane, const double travelledDistanceVehicleOnLane, const double)
Internal notification about the vehicle moves.
Data structure for mean (aggregated) edge/lane values.
virtual ~MSMeanData_Emissions()
Destructor.
MSLaneMeanDataValues(MSLane *const lane, const double length, const bool doAdd, const MSMeanData_Emissions *parent)
Constructor.
void addTo(MSMeanData::MeanDataValues &val) const
Add the values of this to the given one and store them there.
MSMeanData_Emissions & operator=(const MSMeanData_Emissions &)
Invalidated assignment operator.
Storage for collected values of all emission types.
MSMeanData::MeanDataValues * createValues(MSLane *const lane, const double length, const bool doAdd) const
Create an instance of MeanDataValues.
Data structure for mean (aggregated) edge/lane values.
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.