84 static Cube *
Open(
const QString &cubeFileName) {
120 static void CleanUp(
const QString &cubeFileName) {
IO Handler for Isis Cubes.
Definition: Cube.h:168
Class for quick re-accessing of cubes based on file name.
Definition: CubeManager.h:70
static void CleanUp(const QString &cubeFileName)
This method calls CleanCubes(const QString &cubeFileName) on the static instance.
Definition: CubeManager.h:120
unsigned int p_maxOpenFiles
60% of the maximum number of open files allowed by system resources
Definition: CubeManager.h:154
static CubeManager * p_instance
There is always at least one instance of CubeManager around.
Definition: CubeManager.h:142
QMap< QString, Cube * > p_cubes
This keeps track of the open cubes.
Definition: CubeManager.h:145
Cube * OpenCube(const QString &cubeFileName)
This method opens a cube.
Definition: CubeManager.cpp:95
void CleanCubes()
This method removes all cubes from memory.
Definition: CubeManager.cpp:167
QQueue< QString > p_opened
This keeps track of cubes that have been opened.
Definition: CubeManager.h:148
CubeManager()
This initializes a CubeManager object.
Definition: CubeManager.cpp:28
void SetNumOpenCubes(unsigned int numCubes)
This sets the maximum number of opened cubes for this instance of CubeManager.
Definition: CubeManager.h:102
static void CleanUp()
This method calls CleanCubes() on the static instance.
Definition: CubeManager.h:130
unsigned int p_currentLimit
The current limit regarding number of open files allowed.
Definition: CubeManager.h:151
~CubeManager()
This is the CubeManager destructor.
Definition: CubeManager.cpp:72
static Cube * Open(const QString &cubeFileName)
This method calls the method OpenCube() on the static instance.
Definition: CubeManager.h:84
void CleanCubes(const QString &cubeFileName)
This method removes a cube from memory, if it exists.
Definition: CubeManager.cpp:148
This is free and unencumbered software released into the public domain.
Definition: CubeIoHandler.h:22
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
Namespace for the standard library.