EMANE
1.2.1
|
The Statistic interface is the base class of all statistics. It provided methods to access and clear the statistic. More...
#include <statistic.h>
Public Member Functions | |
virtual | ~Statistic () |
virtual Any | asAny () const =0 |
virtual void | clear ()=0 |
Protected Member Functions | |
Statistic ()=default | |
The Statistic interface is the base class of all statistics. It provided methods to access and clear the statistic.
Definition at line 48 of file statistic.h.
|
inlinevirtual |
Definition at line 51 of file statistic.h.
|
protecteddefault |
|
pure virtual |
Gets a statistic value as an Any
Implemented in EMANE::StatisticNumeric< T >, EMANE::StatisticNumeric< double >, EMANE::StatisticNumeric< float >, EMANE::StatisticNumeric< Counter >, EMANE::StatisticNumeric< std::uint32_t >, EMANE::StatisticNumeric< std::uint64_t >, EMANE::StatisticNumeric< Average >, and EMANE::StatisticNonNumeric< T >.
|
pure virtual |
Clears a statistic value
Implemented in EMANE::StatisticNumeric< T >, EMANE::StatisticNumeric< double >, EMANE::StatisticNumeric< float >, EMANE::StatisticNumeric< Counter >, EMANE::StatisticNumeric< std::uint32_t >, EMANE::StatisticNumeric< std::uint64_t >, EMANE::StatisticNumeric< Average >, and EMANE::StatisticNonNumeric< T >.