EMANE
1.2.1
|
#include <statisticregistrarproxy.h>
Public Member Functions | |
StatisticRegistrarProxy (StatisticService &service, BuildId buildId) | |
template<typename T > | |
StatisticNumeric< T > * | registerNumeric (const std::string &sName, const StatisticProperties &properties=StatisticProperties::NONE, const std::string &sDescription="") |
template<typename T > | |
EMANE::StatisticNumeric< T > * | registerNumeric (const std::string &sName, const StatisticProperties &properties, const std::string &sDescription) |
template<typename T > | |
StatisticNonNumeric< T > * | registerNonNumeric (const std::string &sName, const StatisticProperties &properties=StatisticProperties::NONE, const std::string &sDescription="") |
template<typename T > | |
EMANE::StatisticNonNumeric< T > * | registerNonNumeric (const std::string &sName, const StatisticProperties &properties, const std::string &sDescription) |
template<typename Key , typename Compare = std::less<EMANE::Any>, std::size_t scolumn = 0> | |
StatisticTable< Key, Compare, scolumn > * | registerTable (const std::string &sName, const StatisticTableLabels &labels, const StatisticProperties &properties=StatisticProperties::NONE, const std::string &sDescription="") |
template<typename Key , typename Function , typename Compare = std::less<EMANE::Any>, std::size_t scolumn = 0> | |
StatisticTable< Key, Compare, scolumn > * | registerTable (const std::string &sName, const StatisticTableLabels &labels, Function clearFunc, const std::string &sDescription="") |
template<typename Key , typename Compare , std::size_t scolumn> | |
EMANE::StatisticTable< Key, Compare, scolumn > * | registerTable (const std::string &sName, const StatisticTableLabels &labels, const StatisticProperties &properties, const std::string &sDescription) |
template<typename Key , typename Function , typename Compare , std::size_t scolumn> | |
EMANE::StatisticTable< Key, Compare, scolumn > * | registerTable (const std::string &sName, const StatisticTableLabels &labels, Function clearFunc, const std::string &sDescription) |
Protected Member Functions | |
virtual void | registerTablePublisher (const std::string &sName, const StatisticProperties &properties, const std::string &sDescription, StatisticTablePublisher *pStatiticTablePublisher, std::function< void(StatisticTablePublisher *p)> clearFunc)=0 |
Definition at line 41 of file statisticregistrarproxy.h.
EMANE::StatisticRegistrarProxy::StatisticRegistrarProxy | ( | StatisticService & | service, |
BuildId | buildId | ||
) |
Definition at line 35 of file statisticregistrarproxy.cc.
|
inherited |
Definition at line 58 of file statisticregistrar.inl.
|
inherited |
Register a non-numeric statistic. The registered statistic is owned by the StatisticRegistrar.
sName | Name of the statistic |
properties | Statistic properties |
sDescription | Statistic description |
RegistrarException | when a error occurs during registration. |
|
inherited |
Definition at line 37 of file statisticregistrar.inl.
|
inherited |
Register a numeric statistic. The registered statistic is owned by the StatisticRegistrar.
sName | Name of the statistic |
properties | Statistic properties |
sDescription | Statistic description |
RegistrarException | when a error occurs during registration. |
|
inherited |
Definition at line 77 of file statisticregistrar.inl.
|
inherited |
Definition at line 100 of file statisticregistrar.inl.
|
inherited |
Register a statistic table. The registered statistic table is owned by the StatisticRegistrar.
Key | Type of the keys. Each row in the table is uniquely identified by its key value |
Compare | A binary predicate that takes two element keys as arguments and returns a bool |
scolumn | The column used when sorting the table using Compare |
sName | Name of the statistic table |
labels | Table column labels |
properties | Table properties |
sDescription | Statistic table description |
RegistrarException | when a error occurs during registration. |
|
inherited |
Register a statistic table. The registered statistic table is owned by the StatisticRegistrar.
Key | Type of the keys. Each row in the table is uniquely identified by its key value |
Function | A function that takes a pointer to the statistic table and that is called when the table is cleared |
Compare | A binary predicate that takes two element keys as arguments and returns a bool |
scolumn | The column used when sorting the table using Compare |
sName | Name of the statistic table |
labels | Table column labels |
clearFunc | Function called when table clear is requested |
sDescription | Statistic table description |
RegistrarException | when a error occurs during registration. |
|
protectedpure virtualinherited |
Register a statistic table publisher and take ownership
sName | Name of the statistic table |
properties | Table properties |
sDescription | Statistic table description |
pStatiticTablePublisher | Pointer to the statistic table publisher |
clearFunc | Function called when table clear is requested |
RegistrarException | when a error occurs during registration. |