CommonLibSSE (powerof3)
|
#include <SimpleAllocMemoryPagePolicy.h>
Public Member Functions | |
~SimpleAllocMemoryPagePolicy () override | |
std::uint32_t | MaximumPageSize () override |
AllocationStatus | AllocatePage (std::uint32_t a_pageSize, NewPageStrategy a_stategy, BSTAutoPointer< MemoryPage > &a_newPage) override |
AllocationStatus | GetLargestAvailablePage (BSTAutoPointer< MemoryPage > &a_newPage) override |
void | DisposePage (BSTAutoPointer< MemoryPage > &a_newPage) override |
Public Member Functions inherited from RE::BSScript::IMemoryPagePolicy | |
virtual | ~IMemoryPagePolicy () |
Public Attributes | |
const std::uint32_t | minPageSize { 0 } |
const std::uint32_t | maxPageSize { 0 } |
const std::uint32_t | maxAllocatedMemory { 0 } |
const bool | ignoreMemoryLimit { 0 } |
BSSpinLock | dataLock |
std::uint32_t | currentMemorySize |
std::uint32_t | maxAdditionalAllocations |
Static Public Attributes | |
static constexpr auto | RTTI = RTTI_BSScript__SimpleAllocMemoryPagePolicy |
static constexpr auto | VTABLE = VTABLE_BSScript__SimpleAllocMemoryPagePolicy |
Static Public Attributes inherited from RE::BSScript::IMemoryPagePolicy | |
static constexpr auto | RTTI = RTTI_BSScript__IMemoryPagePolicy |
static constexpr auto | VTABLE = VTABLE_BSScript__IMemoryPagePolicy |
Additional Inherited Members | |
Public Types inherited from RE::BSScript::IMemoryPagePolicy | |
enum class | AllocationStatus { kSuccess , kFailed , kOutOfMemory } |
enum class | NewPageStrategy { kNormal , kIgnoreMemoryLimit } |
|
override |
|
overridevirtual |
Implements RE::BSScript::IMemoryPagePolicy.
|
overridevirtual |
Implements RE::BSScript::IMemoryPagePolicy.
|
overridevirtual |
Implements RE::BSScript::IMemoryPagePolicy.
|
overridevirtual |
Implements RE::BSScript::IMemoryPagePolicy.
std::uint32_t RE::BSScript::SimpleAllocMemoryPagePolicy::currentMemorySize |
BSSpinLock RE::BSScript::SimpleAllocMemoryPagePolicy::dataLock |
const bool RE::BSScript::SimpleAllocMemoryPagePolicy::ignoreMemoryLimit { 0 } |
std::uint32_t RE::BSScript::SimpleAllocMemoryPagePolicy::maxAdditionalAllocations |
const std::uint32_t RE::BSScript::SimpleAllocMemoryPagePolicy::maxAllocatedMemory { 0 } |
const std::uint32_t RE::BSScript::SimpleAllocMemoryPagePolicy::maxPageSize { 0 } |
const std::uint32_t RE::BSScript::SimpleAllocMemoryPagePolicy::minPageSize { 0 } |
|
inlinestaticconstexpr |
|
inlinestaticconstexpr |