removed needless Boost.Iostreams dependency
[senf.git] / senf / Utils / Statistics.hh
index 3093b1c..7f2672b 100644 (file)
 #include <boost/utility.hpp>
 #include <boost/ptr_container/ptr_vector.hpp>
 #include <boost/signals.hpp>
-#include "Exception.hh"
 #include <senf/Utils/Logger/Logger.hh>
-#include <senf/Utils/Console/Console.hh>
+#include <senf/Utils/Console/ScopedDirectory.hh>
 #include "StatisticAccumulator.hh"
+#include "Exception.hh"
 
 //#include "Statistics.mpp"
 //-/////////////////////////////////////////////////////////////////////////////////////////////////
@@ -465,6 +465,10 @@ namespace senf {
                                         ///< Same as operator() with \a min == \a avg == \a max
                                         /**< Provided so a Statistics instance can be directly used
                                              as a signal target. */
+        void operator()(StatisticsData const & data);
+                                        ///< Same as operator(), but imports statistics data from a StatisticsData object
+                                        /**< Provided so a Statistics instance can be directly used
+                                             as a signal target. */
         template <class Value>
         void operator()(unsigned n, StatisticAccumulator<Value> & sa);
                                         ///< Same as operator() gathers values from StatisticAccumulator