LeviLamina
Loading...
Searching...
No Matches
AnnotationToken.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated forward declare list
6// clang-format off
7namespace Bedrock::Profile { class ScopeStackStorage; }
8namespace Bedrock::Profiler::details { struct DynamicProfLabel; }
9namespace Bedrock::Profiler::details { struct StaticProfLabel; }
10namespace Core::Profile { class ProfileGroup; }
11namespace brstd { struct source_location; }
12// clang-format on
13
14namespace Core::Profile {
15
16class AnnotationToken {
17public:
18 // AnnotationToken inner types declare
19 // clang-format off
20 struct AnnotationData;
21 struct CounterImplToken;
22 struct LogImplToken;
23 struct ScopeImplToken;
24 // clang-format on
25
26 // AnnotationToken inner types define
27 struct AnnotationData {
28 public:
29 // member variables
30 // NOLINTBEGIN
35 // NOLINTEND
36
37 public:
38 // prevent constructor by default
39 AnnotationData& operator=(AnnotationData const&);
40 AnnotationData(AnnotationData const&);
41 AnnotationData();
42 };
43
44 struct CounterImplToken {
45 public:
46 // member variables
47 // NOLINTBEGIN
50 // NOLINTEND
51
52 public:
53 // prevent constructor by default
54 CounterImplToken& operator=(CounterImplToken const&);
55 CounterImplToken(CounterImplToken const&);
56 CounterImplToken();
57 };
58
59 struct LogImplToken {
60 public:
61 // member variables
62 // NOLINTBEGIN
65 // NOLINTEND
66
67 public:
68 // prevent constructor by default
69 LogImplToken& operator=(LogImplToken const&);
70 LogImplToken(LogImplToken const&);
71 LogImplToken();
72 };
73
74 struct ScopeImplToken {
75 public:
76 // member variables
77 // NOLINTBEGIN
80 // NOLINTEND
81
82 public:
83 // prevent constructor by default
84 ScopeImplToken& operator=(ScopeImplToken const&);
85 ScopeImplToken(ScopeImplToken const&);
86 ScopeImplToken();
87 };
88
89public:
90 // member variables
91 // NOLINTBEGIN
98 // NOLINTEND
99
100public:
101 // prevent constructor by default
102 AnnotationToken& operator=(AnnotationToken const&);
103 AnnotationToken(AnnotationToken const&);
104 AnnotationToken();
105
106public:
107 // member functions
108 // NOLINTBEGIN
111 uchar flags,
113 uint color,
114 ::brstd::source_location const& location
115 );
116
117#ifdef LL_PLAT_C
118 MCNAPI bool emitCounterValue(int64 value);
119#endif
120
123 ::std::optional<::Bedrock::Profiler::details::DynamicProfLabel> dynamicLabel
124 );
125
127 // NOLINTEND
128
129public:
130 // constructor thunks
131 // NOLINTBEGIN
132 MCNAPI void* $ctor(
134 uchar flags,
136 uint color,
137 ::brstd::source_location const& location
138 );
139 // NOLINTEND
140
141public:
142 // destructor thunk
143 // NOLINTBEGIN
144 MCNAPI void $dtor();
145 // NOLINTEND
146};
147
148} // namespace Core::Profile
Definition ScopeStackStorage.h:7
MCAPI AnnotationToken(::Core::Profile::ProfileGroup const &group, uchar flags, ::Bedrock::Profiler::details::StaticProfLabel label, uint color, ::brstd::source_location const &location)
MCAPI void * $ctor(::Core::Profile::ProfileGroup const &group, uchar flags, ::Bedrock::Profiler::details::StaticProfLabel label, uint color, ::brstd::source_location const &location)
MCAPI bool enterScopeInternal(::Bedrock::Profile::ScopeStackStorage &scope, ::std::optional<::Bedrock::Profiler::details::DynamicProfLabel > dynamicLabel)
Definition ProfileGroup.h:7
Definition DynamicProfLabel.h:7
Definition StaticProfLabel.h:7
Definition AnnotationToken.h:27
Definition AnnotationToken.h:59
Definition AnnotationToken.h:74
Definition source_location.h:7
Definition Alias.h:14