Include accumulators on statistics engine in order to centralize and ease asXML....
[anna.git] / include / anna / statistics / Engine.hpp
index 8f59a2e..61a9fe6 100644 (file)
@@ -142,9 +142,11 @@ public:
   * easily. Anyway, you could allocate this class objects without using this. Then, this is a helper to create accumulators
   * and centralize their reports.
   *
+  * @param name Accumulator name
+  *
   * @return New allocated accumulator, to be used by the client
   */
-  Accumulator *createAccumulator() throw();
+  Accumulator *createAccumulator(const std::string &name) throw();
 
   /**
   * Class string representation