userver
C++ Async Framework (beta)
Loading...
Searching...
No Matches
userver
utils
statistics
entry.hpp
Go to the documentation of this file.
1
#pragma once
2
6
7
#include <
userver/formats/json_fwd.hpp
>
8
#include <
userver/utils/fast_pimpl.hpp
>
9
#include <
userver/utils/statistics/fwd.hpp
>
10
11
USERVER_NAMESPACE_BEGIN
12
13
namespace
utils::statistics {
14
19
class
[[nodiscard]]
Entry
final {
20
public
:
21
Entry
();
22
23
Entry
(
const
Entry
& other) =
delete
;
24
Entry
& operator=(
const
Entry
& other) =
delete
;
25
Entry
(
Entry
&& other)
noexcept
;
26
Entry
& operator=(
Entry
&& other)
noexcept
;
27
~Entry
();
28
29
void
Unregister()
noexcept
;
30
31
private
:
32
struct
Impl;
33
34
friend
class
Storage
;
// in RegisterExtender()
35
36
explicit
Entry
(
const
Impl& impl)
noexcept
;
37
38
utils::FastPimpl<Impl, 16, 8>
impl_;
39
};
40
41
}
// namespace utils::statistics
42
43
USERVER_NAMESPACE_END
Generated on Tue Mar 14 2023 16:21:23 for userver by
Doxygen
1.9.6