X-Git-Url: http://g0dil.de/git?a=blobdiff_plain;f=senf%2FUtils%2FStatisticAccumulator.hh;h=388ef99c9ce4f1003cee9427c69829413cf116e7;hb=e9816d699770dea77c989c97ef53bf2266ce7b6b;hp=6c08c41097deae6bf0986ba495274bd8084cca7d;hpb=2ed56fbec2aa25bf4a8b13e6a06ec90e9dcc1fec;p=senf.git diff --git a/senf/Utils/StatisticAccumulator.hh b/senf/Utils/StatisticAccumulator.hh index 6c08c41..388ef99 100644 --- a/senf/Utils/StatisticAccumulator.hh +++ b/senf/Utils/StatisticAccumulator.hh @@ -50,13 +50,12 @@ namespace senf { class StatisticAccumulator { public: - StatisticAccumulator( T defaultvalue = 0); + StatisticAccumulator(); // virtual ~StatisticAccumulator(); void clear(); ///< Reset accumulated values. - /**< This member reset all avg/min/max values to the given \a - defaultvalue and the count to zero. */ + /**< This member reset all values. */ void accumulate(T value); ///< Gather value to be accumulated. /**< This method accumulate a value. @@ -83,7 +82,6 @@ namespace senf { /**< This method returns count of accumulated values of the current accumulation.*/ private: - T defaultvalue_; T sum_squared_; T sum_; T min_;