CommonLibSSE NG
|
#include <IMemoryPagePolicy.h>
Public Types | |
enum class | AllocationStatus { kSuccess , kFailed , kOutOfMemory } |
enum class | NewPageStrategy { kNormal , kIgnoreMemoryLimit } |
Public Member Functions | |
virtual | ~IMemoryPagePolicy () |
virtual std::uint32_t | MaximumPageSize ()=0 |
virtual AllocationStatus | AllocatePage (std::uint32_t a_pageSize, NewPageStrategy a_stategy, BSTAutoPointer< MemoryPage > &a_newPage)=0 |
virtual AllocationStatus | GetLargestAvailablePage (BSTAutoPointer< MemoryPage > &a_newPage)=0 |
virtual void | DisposePage (BSTAutoPointer< MemoryPage > &a_oldPage)=0 |
Static Public Attributes | |
static constexpr auto | RTTI = RTTI_BSScript__IMemoryPagePolicy |
|
strong |
|
virtual |
|
pure virtual |
Implemented in RE::BSScript::SimpleAllocMemoryPagePolicy.
|
pure virtual |
Implemented in RE::BSScript::SimpleAllocMemoryPagePolicy.
|
pure virtual |
Implemented in RE::BSScript::SimpleAllocMemoryPagePolicy.
|
pure virtual |
Implemented in RE::BSScript::SimpleAllocMemoryPagePolicy.
|
inlinestaticconstexpr |