8#ifndef RegionalCachingAlgorithm_h
9#define RegionalCachingAlgorithm_h
11#include "CubeCachingAlgorithm.h"
29 QList<RawCubeChunk *> allocated, QList<RawCubeChunk *> justUsed,
30 const Buffer &justRequested);
Buffer for reading and writing cube data.
This stores the results of the caching algorithm.
This is the parent of the caching algorithms.
This algorithm is designed for applications that use ProcessByQuickFilter or very similar I/O pattern...
int m_currentIo
This keeps track of our position inside of m_chunksToKeep.
QList< QList< RawCubeChunk * > > * m_chunksToKeep
This is stored from parallel read # -> list of chunks for that read.
virtual CacheResult recommendChunksToFree(QList< RawCubeChunk * > allocated, QList< RawCubeChunk * > justUsed, const Buffer &justRequested)
Please see the class description for how this algorithm works.
FilterCachingAlgorithm(int numParallelIOs)
Construct a new FilterCachingAlgorithm.
virtual ~FilterCachingAlgorithm()
Frees the memory allocated by this caching algorithm.
This is free and unencumbered software released into the public domain.