xrpld
Loading...
Searching...
No Matches
include
xrpl
beast
insight
Group.h
1
#pragma once
2
3
#include <xrpl/beast/insight/Collector.h>
4
5
#include <
memory
>
6
#include <
string
>
7
8
namespace
beast::insight
{
9
11
class
Group
:
public
Collector
12
{
13
public
:
14
using
ptr
=
std::shared_ptr<Group>
;
15
17
[[nodiscard]]
virtual
std::string
const
&
18
name
()
const
= 0;
19
};
20
21
}
// namespace beast::insight
std::string
beast::insight::Collector
Interface for a manager that allows collection of metrics.
Definition
Collector.h:24
beast::insight::Group
A collector front-end that manages a group of metrics.
Definition
Group.h:12
beast::insight::Group::ptr
std::shared_ptr< Group > ptr
Definition
Group.h:14
beast::insight::Group::name
virtual std::string const & name() const =0
Returns the name of this group, for diagnostics.
memory
beast::insight
Definition
Collector.h:11
std::shared_ptr
string
Generated by
1.16.1