Isis 3 Programmer Reference
UniqueIOCachingAlgorithm.h
1#ifndef UniqueIOCachingAlgorithm_h
2#define UniqueIOCachingAlgorithm_h
8/* SPDX-License-Identifier: CC0-1.0 */
9
10#include "CubeCachingAlgorithm.h"
11
12template <typename A> class QList;
13template <typename A> class QQueue;
14
15namespace Isis {
31 public:
32 UniqueIOCachingAlgorithm(int numUniqueIOs);
34
36 QList <RawCubeChunk *> allocated, QList <RawCubeChunk *> justUsed,
37 const Buffer &justRequested);
38
39 private:
44 QQueue < QList <RawCubeChunk *> > * m_uniqueIOs;
45 };
46}
47
48#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 jump around between a couple of spots in the cube wi...
virtual CacheResult recommendChunksToFree(QList< RawCubeChunk * > allocated, QList< RawCubeChunk * > justUsed, const Buffer &justRequested)
Please see the class description for how this algorithm works.
UniqueIOCachingAlgorithm(int numUniqueIOs)
Construct a new UniqueIOCachingAlgorithm.
virtual ~UniqueIOCachingAlgorithm()
Frees the memory allocated by this caching algorithm.
QQueue< QList< RawCubeChunk * > > * m_uniqueIOs
This is the set of past unique IOs.
This is free and unencumbered software released into the public domain.
This is free and unencumbered software released into the public domain.
This is free and unencumbered software released into the public domain.
Definition Apollo.h:16