1#ifndef UniqueIOCachingAlgorithm_h
2#define UniqueIOCachingAlgorithm_h
10#include "CubeCachingAlgorithm.h"
12template <
typename A>
class QList;
13template <
typename A>
class QQueue;
36 QList <RawCubeChunk *> allocated, QList <RawCubeChunk *> justUsed,
37 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 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.