Isis Developer Reference
UniqueIOCachingAlgorithm.h
Go to the documentation of this file.
1#ifndef UniqueIOCachingAlgorithm_h
2#define UniqueIOCachingAlgorithm_h
8/* SPDX-License-Identifier: CC0-1.0 */
9
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.
Definition CubeCachingAlgorithm.h:45
This is the parent of the caching algorithms.
Definition CubeCachingAlgorithm.h:31
This algorithm is designed for applications that jump around between a couple of spots in the cube wi...
Definition UniqueIOCachingAlgorithm.h:30
virtual CacheResult recommendChunksToFree(QList< RawCubeChunk * > allocated, QList< RawCubeChunk * > justUsed, const Buffer &justRequested)
Please see the class description for how this algorithm works.
Definition UniqueIOCachingAlgorithm.cpp:65
UniqueIOCachingAlgorithm(int numUniqueIOs)
Construct a new UniqueIOCachingAlgorithm.
Definition UniqueIOCachingAlgorithm.cpp:29
virtual ~UniqueIOCachingAlgorithm()
Frees the memory allocated by this caching algorithm.
Definition UniqueIOCachingAlgorithm.cpp:47
This is free and unencumbered software released into the public domain.
Definition BoxcarCachingAlgorithm.h:13
This is free and unencumbered software released into the public domain.
Definition BoxcarCachingAlgorithm.h:14
This is free and unencumbered software released into the public domain.
Definition Apollo.h:16