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