TVecCache Class

Header: Dew.Math/MtxVec.h · Cross-compiler
tObjectTAbstractMtxVecCacheTVecCache

class TVecCache : public TAbstractMtxVecCache;

Properties

NameTypeDescription
CacheElementsintReturns the number of precreated objects inside object cache.
CacheFullboolReturns true, if currently there are no free objects in cache.
CacheInByteslong long
CacheSizeintReturns the number of objects in the object cache.
CacheUsedCountintReturns the number of currently used objects in the object cache.
CacheWasFullboolReturns true, if object cache was too small.
ConditionCheckboolSets ConditionCheck for all items in the list.
MaxCountintRead only property. Maximum number of objects used inside object cache.

Methods

NameDescription
CreateItx
DebugReport
EnterCall Enter to enable thread exclusive access.
FreeIty
GetCacheInBytes
LeaveCall Leave to end thread exclusive access.
LockedCreateItx
LockedFreeIty
SetCacheSizeSets the cache object count to ItemCount and allocates Elements count of data elements per object.
TryEnterCall Enter to enable thread exclusive access.

Fields

NameTypeDescription
CplxDoubleCacheOffsetDewArray<int>
CplxDoubleCachePointersDewArray<DewArray<double>>
CplxSingleCacheOffsetDewArray<int>
CplxSingleCachePointersDewArray<DewArray<float>>
csLockunsigned char
DoubleCacheOffsetDewArray<int>
DoubleCachePointersDewArray<DewArray<double>>
FMaxCountint
PoolIndexint
SingleCacheOffsetDewArray<int>
SingleCachePointersDewArray<DewArray<float>>
ThreadIDlong long