![]() |
ULIS
dev4.0.7
Utility Library for Imaging Systems
|
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 |
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.
FMemoryPoolPolicy::FMemoryPoolPolicy | ( | bool | iAllocPageIfOutOfSpace = true | ) |
bool FMemoryPoolPolicy::AllocPageIfOutOfSpace | ( | ) | const |
void FMemoryPoolPolicy::SetAllocPageIfOutOfSpace | ( | bool | iValue | ) |
|
static |