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

The is a subcomponent of FTilePool that manages uncompressed tile memory.

Public Member Functions

 FUncompressedMemoryPool (const FUncompressedMemoryPool &)=delete
 
 FUncompressedMemoryPool (const uint8 *iBackground, byte_t iTileSize, uint64 iNumCellPerArena, byte_t iTargetMemoryUsage, ufloat iDefragThreshold=1/3.f, double iRelaxTime=0.0, uint32 iDeallocBatchSize=1, uint32 iAllocBatchSize=1)
 
 ~FUncompressedMemoryPool ()
 
FUncompressedMemoryPooloperator= (const FUncompressedMemoryPool &)=delete
 
void PurgeAllNow ()
 
tClient QueryOne ()
 
void Release (const std::list< tClient > iList)
 
void Release (tClient iClient)
 
void SanitizeNow ()
 
void SetBackground (const uint8 *iBackground)
 

Constructor & Destructor Documentation

◆ ~FUncompressedMemoryPool()

FUncompressedMemoryPool::~FUncompressedMemoryPool ( )

Destructor.

◆ FUncompressedMemoryPool() [1/2]

FUncompressedMemoryPool::FUncompressedMemoryPool ( const uint8 iBackground,
byte_t  iTileSize,
uint64  iNumCellPerArena,
byte_t  iTargetMemoryUsage,
ufloat  iDefragThreshold = 1/3.f,
double  iRelaxTime = 0.0,
uint32  iDeallocBatchSize = 1,
uint32  iAllocBatchSize = 1 
)

Constructor.

◆ FUncompressedMemoryPool() [2/2]

FUncompressedMemoryPool::FUncompressedMemoryPool ( const FUncompressedMemoryPool )
delete

Explicitely deleted copy constructor

Member Function Documentation

◆ operator=()

FUncompressedMemoryPool& FUncompressedMemoryPool::operator= ( const FUncompressedMemoryPool )
delete

Explicitely deleted copy assignment operator

◆ PurgeAllNow()

void FUncompressedMemoryPool::PurgeAllNow ( )

◆ QueryOne()

tClient FUncompressedMemoryPool::QueryOne ( )

◆ Release() [1/2]

void FUncompressedMemoryPool::Release ( const std::list< tClient iList)

◆ Release() [2/2]

void FUncompressedMemoryPool::Release ( tClient  iClient)

◆ SanitizeNow()

void FUncompressedMemoryPool::SanitizeNow ( )

◆ SetBackground()

void FUncompressedMemoryPool::SetBackground ( const uint8 iBackground)