LeviLamina
Loading...
Searching...
No Matches
CountTracker.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5namespace Bedrock::Threading {
6
7class CountTracker {
8public:
9 // member variables
10 // NOLINTBEGIN
11 ::ll::TypedStorage<8, 16, ::std::shared_ptr<void*>> mCountReference;
12 // NOLINTEND
13
14public:
15 // member functions
16 // NOLINTBEGIN
17 MCAPI CountTracker();
18
19 MCFOLD ::std::shared_ptr<void*> acquire();
20
21 MCAPI void clear();
22
23 MCAPI uint get() const;
24
25 MCAPI ~CountTracker();
26 // NOLINTEND
27
28public:
29 // constructor thunks
30 // NOLINTBEGIN
31 MCAPI void* $ctor();
32 // NOLINTEND
33
34public:
35 // destructor thunk
36 // NOLINTBEGIN
37 MCFOLD void $dtor();
38 // NOLINTEND
39};
40
41} // namespace Bedrock::Threading