CommonLibSSE (Parapets fork)
SimpleAllocMemoryPagePolicy.h
Go to the documentation of this file.
1 #pragma once
2 
3 #include "RE/B/BSAtomic.h"
5 
6 namespace RE
7 {
8  namespace BSScript
9  {
11  {
12  public:
13  inline static constexpr auto RTTI = RTTI_BSScript__SimpleAllocMemoryPagePolicy;
14 
15  ~SimpleAllocMemoryPagePolicy() override; // 00
16 
17  // override (IMemoryPagePolicy)
18  void Unk_01(void) override; // 01 - { return maxPageSize; }
19  void Unk_02(void) override; // 02
20  void Unk_03(void) override; // 03
21  void Unk_04(void) override; // 04
22 
23  // members
24  const std::uint32_t minPageSize; // 08
25  const std::uint32_t maxPageSize; // 0C
26  const std::uint32_t maxAllocatedMemory; // 10
27  const std::uint32_t maxStackDepth; // 14
29  std::uint32_t currentMemorySize; // 20
30  std::uint32_t maxAdditionalAllocations; // 20
31  };
32  static_assert(sizeof(SimpleAllocMemoryPagePolicy) == 0x28);
33  }
34 }
Definition: SimpleAllocMemoryPagePolicy.h:11
const std::uint32_t maxStackDepth
Definition: SimpleAllocMemoryPagePolicy.h:27
const std::uint32_t maxAllocatedMemory
Definition: SimpleAllocMemoryPagePolicy.h:26
static constexpr auto RTTI
Definition: SimpleAllocMemoryPagePolicy.h:13
std::uint32_t maxAdditionalAllocations
Definition: SimpleAllocMemoryPagePolicy.h:30
BSSpinLock dataLock
Definition: SimpleAllocMemoryPagePolicy.h:28
const std::uint32_t maxPageSize
Definition: SimpleAllocMemoryPagePolicy.h:25
std::uint32_t currentMemorySize
Definition: SimpleAllocMemoryPagePolicy.h:29
const std::uint32_t minPageSize
Definition: SimpleAllocMemoryPagePolicy.h:24
Definition: BSAtomic.h:49
Definition: AbsorbEffect.h:6
constexpr REL::ID RTTI_BSScript__SimpleAllocMemoryPagePolicy
Definition: Offsets_RTTI.h:2548
Definition: IMemoryPagePolicy.h:8