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
20#ifdef LL_PLAT_S
21#else // LL_PLAT_C
22public:
23 // prevent constructor by default
24 ScopedMemoryTrackingTag();
25
26#endif
27public:
28 // member functions
29 // NOLINTBEGIN
30#ifdef LL_PLAT_C
31 MCAPI explicit ScopedMemoryTrackingTag(::Memory::MemoryCategory category);
32
33 MCAPI ~ScopedMemoryTrackingTag();
34#endif
35 // NOLINTEND
36
37public:
38 // constructor thunks
39 // NOLINTBEGIN
40#ifdef LL_PLAT_C
41 MCAPI void* $ctor(::Memory::MemoryCategory category);
42#endif
43 // NOLINTEND
44
45public:
46 // destructor thunk
47 // NOLINTBEGIN
48#ifdef LL_PLAT_C
49 MCAPI void $dtor();
50#endif
51 // NOLINTEND
52};
53
54} // namespace Memory