Class endstone::MetricsBase¶
ClassList > endstone > MetricsBase
Collects and submits the data behind a Metrics instance.More...
#include <endstone/metrics/base.h>
Public Functions¶
| Type | Name |
|---|---|
| MetricsBase () = default |
|
| MetricsBase (const MetricsBase &) = delete |
|
| virtual void | addCustomChart (std::unique_ptr< CustomChart > chart) = 0 Adds a custom chart. |
| MetricsBase & | operator= (const MetricsBase &) = delete |
| virtual void | shutdown () noexcept = 0 Stops collecting and submitting data. |
| virtual | ~MetricsBase () = default |
Detailed Description¶
Plugins hold a Metrics rather than implementing this interface.
Public Functions Documentation¶
function MetricsBase [½]¶
function MetricsBase [2/2]¶
function addCustomChart¶
Adds a custom chart.
Parameters:
chartthe chart to add
function operator=¶
function shutdown¶
Stops collecting and submitting data.
function ~MetricsBase¶
The documentation for this class was generated from the following file include/endstone/metrics/base.h