Isis 3 Programmer Reference
FilterCachingAlgorithm.h
1
6/* SPDX-License-Identifier: CC0-1.0 */
7
8#ifndef RegionalCachingAlgorithm_h
9#define RegionalCachingAlgorithm_h
10
11#include "CubeCachingAlgorithm.h"
12
13namespace Isis {
24 public:
25 FilterCachingAlgorithm(int numParallelIOs);
27
29 QList<RawCubeChunk *> allocated, QList<RawCubeChunk *> justUsed,
30 const Buffer &justRequested);
31
32 private:
37 QList< QList< RawCubeChunk * > > * m_chunksToKeep;
38
43 };
44}
45
46#endif
Buffer for reading and writing cube data.
Definition Buffer.h:53
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.
Definition Apollo.h:16