mirror of
https://github.com/XRPLF/rippled.git
synced 2026-04-29 15:37:57 +00:00
This change replaces all include guards in the `src/` and `include/` directories by `#pragma once`.
24 lines
440 B
C++
24 lines
440 B
C++
#pragma once
|
|
|
|
#include <xrpl/beast/insight/Collector.h>
|
|
|
|
#include <memory>
|
|
#include <string>
|
|
|
|
namespace beast {
|
|
namespace insight {
|
|
|
|
/** A collector front-end that manages a group of metrics. */
|
|
class Group : public Collector
|
|
{
|
|
public:
|
|
using ptr = std::shared_ptr<Group>;
|
|
|
|
/** Returns the name of this group, for diagnostics. */
|
|
virtual std::string const&
|
|
name() const = 0;
|
|
};
|
|
|
|
} // namespace insight
|
|
} // namespace beast
|