|
Isis 3 Programmer Reference
|
8 #ifndef CubeCachingAlgorithm_h
9 #define CubeCachingAlgorithm_h
11 template <
typename T>
class QList;
78 const Buffer &justRequested) = 0;
QList< RawCubeChunk * > getChunksToFree() const
This is free and unencumbered software released into the public domain.
virtual ~CacheResult()
Free allocated memory.
This stores the results of the caching algorithm.
virtual CacheResult recommendChunksToFree(QList< RawCubeChunk * > allocated, QList< RawCubeChunk * > justUsed, const Buffer &justRequested)=0
Call this to determine which chunks should be freed from memory.
Buffer for reading and writing cube data.
virtual ~CubeCachingAlgorithm()
Cleans up after a caching algorithm.
CubeCachingAlgorithm()
Construct a caching algorithm.
QList< RawCubeChunk * > * m_chunksToFree
If NULL, the algorithm did not succeed.
This is the parent of the caching algorithms.
CacheResult & operator=(const CacheResult &other)
Assign one cache result to another.
bool algorithmUnderstoodData() const
If this is true, then the results (be them empty or not) should be considered valid.
CacheResult()
Construct a cache algorithm result with the idea that the algorithm did not understand/was unable to ...
This is free and unencumbered software released into the public domain.