Back to Adaptive Vision Library website

You are here: Start » Function Reference » Configuration » ChargeImageMemoryPools

ChargeImageMemoryPools


Header:AVL.h
Namespace:avl

Preallocates memory buffers for images.

Syntax

C++
C#
 
void avl::ChargeImageMemoryPools
(
	const atl::Array<int>& inRequestedPoolSizes,
	bool inTouch
)

Parameters

Name Type Default Description
inRequestedPoolSizes const Array<int>& Copy a value from InspectImageMemoryPools.outPoolSizes
inTouch bool Forces getting the new memory pools to the cache memory

Errors

List of possible exceptions:

Error type Description
DomainError Incorrect size of 'inRequestedPoolSizes' array.