21 #ifndef MSMeanData_HBEFA_h
22 #define MSMeanData_HBEFA_h
74 const std::set<std::string>*
const vTypes = 0,
83 void reset(
bool afterWrite =
false);
101 const int numVehicles = -1)
const;
156 const bool useLanes,
const bool withEmpty,
157 const bool printDefaults,
const bool withInternal,
158 const bool trackVehicles,
160 const std::set<std::string> vTypes);
Data collector for edges/lanes.
virtual ~MSMeanData_HBEFA()
Destructor.
void reset(bool afterWrite=false)
Resets values so they may be used for the next interval.
virtual ~MSLaneMeanDataValues()
Destructor.
void addTo(MSMeanData::MeanDataValues &val) const
Add the values of this to the given one and store them there.
Representation of a vehicle.
Data structure for mean (aggregated) edge/lane values.
SUMOReal HC
Sum of HC emissions in mg.
MSMeanData_HBEFA & operator=(const MSMeanData_HBEFA &)
Invalidated assignment operator.
void notifyMoveInternal(SUMOVehicle &veh, SUMOReal timeOnLane, SUMOReal speed)
Internal notification about the vehicle moves.
SUMOReal fuel
Sum of consumed fuel in ml.
SUMOReal PMx
Sum of PMx emissions in mg.
MSMeanData_HBEFA(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 SUMOReal minSamples, const SUMOReal maxTravelTime, const std::set< std::string > vTypes)
Constructor.
Data structure for mean (aggregated) edge/lane values.
MSMeanData::MeanDataValues * createValues(MSLane *const lane, const SUMOReal length, const bool doAdd) const
Create an instance of MeanDataValues.
Static storage of an output device and its base (abstract) implementation.
const MSMeanData_HBEFA * myParent
The meandata parent.
MSLaneMeanDataValues(MSLane *const lane, const SUMOReal length, const bool doAdd, const std::set< std::string > *const vTypes=0, const MSMeanData_HBEFA *parent=0)
Constructor.
SUMOReal CO
Sum of CO emissions in mg.
Representation of a lane in the micro simulation.
Emission data collector for edges/lanes.
SUMOReal NOx
Sum of NOx emissions in mg.
void write(OutputDevice &dev, const SUMOTime period, const SUMOReal numLanes, const SUMOReal defaultTravelTime, const int numVehicles=-1) const
Writes output values into the given stream.