ULIS  dev4.0.7
Utility Library for Imaging Systems
Public Member Functions | Static Public Attributes | List of all members
FMemoryPoolPolicy Class Reference

The FMemoryPoolPolicy class provides a way to control how a memory pool handles its memory usage strategy. More...

Public Member Functions

 FMemoryPoolPolicy (bool iAllocPageIfOutOfSpace=true)
 
bool AllocPageIfOutOfSpace () const
 
void SetAllocPageIfOutOfSpace (bool iValue)
 

Static Public Attributes

static const FMemoryPoolPolicy PermissiveGrowth
 

Detailed Description

The FMemoryPoolPolicy specifies wether a memory pool should allocate more than the target cap if necessary, or fail when requesting memory that isn't available, and the way it should handle defragmentation and page allocation behaviours.

Constructor & Destructor Documentation

◆ FMemoryPoolPolicy()

FMemoryPoolPolicy::FMemoryPoolPolicy ( bool  iAllocPageIfOutOfSpace = true)

Member Function Documentation

◆ AllocPageIfOutOfSpace()

bool FMemoryPoolPolicy::AllocPageIfOutOfSpace ( ) const

◆ SetAllocPageIfOutOfSpace()

void FMemoryPoolPolicy::SetAllocPageIfOutOfSpace ( bool  iValue)

Member Data Documentation

◆ PermissiveGrowth

const FMemoryPoolPolicy FMemoryPoolPolicy::PermissiveGrowth
static