21 #ifndef MSMeanData_Harmonoise_h 22 #define MSMeanData_Harmonoise_h 73 const std::set<std::string>*
const vTypes = 0,
82 void reset(
bool afterWrite =
false);
125 const int numVehicles = -1)
const;
176 const bool useLanes,
const bool withEmpty,
177 const bool printDefaults,
const bool withInternal,
178 const bool trackVehicles,
180 const std::set<std::string> vTypes);
const MSMeanData_Harmonoise * myParent
The meandata parent.
Data collector for edges/lanes.
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.
MSMeanData_Harmonoise(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.
SUMOReal currentTimeN
Sum of produced noise at this time step(pow(10, (<NOISE>/10.)))
void reset(bool afterWrite=false)
Resets values so they may be used for the next interval.
void notifyMoveInternal(SUMOVehicle &veh, SUMOReal timeOnLane, SUMOReal speed)
Internal notification about the vehicle moves.
SUMOReal meanNTemp
Sum of produced noise over time (pow(10, (<NOISE>/10.)))
Notification
Definition of a vehicle state.
bool notifyEnter(SUMOVehicle &veh, MSMoveReminder::Notification reason)
Computes current emission values and adds them to their sums.
virtual ~MSMeanData_Harmonoise()
Destructor.
Noise data collector for edges/lanes.
MSLaneMeanDataValues(MSLane *const lane, const SUMOReal length, const bool doAdd, const std::set< std::string > *const vTypes=0, const MSMeanData_Harmonoise *parent=0)
Constructor.
void update()
Computes the noise in the last time step.
Representation of a vehicle.
Data structure for mean (aggregated) edge/lane values.
Data structure for mean (aggregated) edge/lane values.
virtual void detectorUpdate(const SUMOTime step)
Updates the detector.
void addTo(MSMeanData::MeanDataValues &val) const
Add the values to this meanData.
virtual ~MSLaneMeanDataValues()
Destructor.
MSMeanData::MeanDataValues * createValues(MSLane *const lane, const SUMOReal length, const bool doAdd) const
Create an instance of MeanDataValues.
MSMoveReminder & operator=(const MSMoveReminder &)
Static storage of an output device and its base (abstract) implementation.
Representation of a lane in the micro simulation.