Commit 2cd01b83 authored by Jean-Baptiste Mouret's avatar Jean-Baptiste Mouret
Browse files

documentat stat_base

parent 5204aebe
......@@ -336,6 +336,9 @@ Template
}
};
.. doxygenstruct:: limbo::stat::StatBase
Available statistics
^^^^^^^^^^^^^^^^^^^^
.. doxygengroup:: stat
......
......@@ -8,10 +8,24 @@
namespace limbo {
namespace stat {
/**
Base class for statistics
The only method provided is protected :
\rst
.. code-block:: cpp
template <typename BO>
void _create_log_file(const BO& bo, const std::string& name)
\endrst
*/
template <typename Params>
struct StatBase {
StatBase() {}
/// main method (to be written in derived classes)
template <typename BO>
void operator()(const BO& bo, bool blacklisted)
{
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment