LeviLamina
Loading...
Searching...
No Matches
ScopedMemoryTrackingTag.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/deps/core/memory/MemoryCategory.h"
7
8namespace Memory {
9
10class ScopedMemoryTrackingTag {
11public:
12// member variables
13// NOLINTBEGIN
14#ifdef LL_PLAT_C
15 ::ll::TypedStorage<4, 4, ::std::thread::id const> mCreator;
16 ::ll::TypedStorage<1, 1, ::Memory::MemoryCategory> mOldCategory;
17#endif
18 // NOLINTEND
19
20public:
21 // prevent constructor by default
22 ScopedMemoryTrackingTag();
23
24public:
25 // member functions
26 // NOLINTBEGIN
27 MCAPI explicit ScopedMemoryTrackingTag(::Memory::MemoryCategory category);
28
29 MCAPI ~ScopedMemoryTrackingTag();
30 // NOLINTEND
31
32public:
33 // constructor thunks
34 // NOLINTBEGIN
35 MCAPI void* $ctor(::Memory::MemoryCategory category);
36 // NOLINTEND
37
38public:
39 // destructor thunk
40 // NOLINTBEGIN
41 MCAPI void $dtor();
42 // NOLINTEND
43};
44
45} // namespace Memory