74 void reset(
bool afterWrite =
false);
93 const int numLanes,
const double speedLimit,
const double defaultTravelTime,
94 const int numVehicles = -1)
const;
101 void notifyMoveInternal(
const SUMOTrafficObject& veh,
const double ,
const double timeOnLane,
const double ,
const double meanSpeedVehicleOnLane,
const double travelledDistanceFrontOnLane,
const double travelledDistanceVehicleOnLane,
const double );
138 const bool useLanes,
const bool withEmpty,
139 const bool printDefaults,
const bool withInternal,
140 const bool trackVehicles,
141 const double minSamples,
const double maxTravelTime,
142 const std::string& vTypes,
143 const std::string& writeAttributes,
144 const std::vector<MSEdge*>& edges,
virtual void reset()
Resets collected values.
Representation of a lane in the micro simulation.
Data structure for mean (aggregated) edge/lane values.
Data structure for mean (aggregated) edge/lane values.
bool notifyIdle(SUMOTrafficObject &veh)
Computes idling emission values and adds them to the aggregate emission sums.
PollutantsInterface::Emissions myEmissions
Collected values.
virtual ~MSLaneMeanDataValues()
Destructor.
void addTo(MSMeanData::MeanDataValues &val) const
Add the values of this to the given one and store them there.
void write(OutputDevice &dev, long long int attributeMask, const SUMOTime period, const int numLanes, const double speedLimit, const double defaultTravelTime, const int numVehicles=-1) const
Writes output values into the given stream.
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.
Emission data collector for edges/lanes.
MSMeanData::MeanDataValues * createValues(MSLane *const lane, const double length, const bool doAdd) const
Create an instance of MeanDataValues.
virtual ~MSMeanData_Emissions()
Destructor.
MSMeanData_Emissions & operator=(const MSMeanData_Emissions &)
Invalidated assignment operator.
MSMeanData_Emissions(const MSMeanData_Emissions &)
Invalidated copy constructor.
Data collector for edges/lanes.
Static storage of an output device and its base (abstract) implementation.
Representation of a vehicle, person, or container.
Storage for collected values of all emission types.