File failed to load: https://isis.astrogeology.usgs.gov/6.0.0/Object/assets/jax/output/NativeMML/config.js
 |
Isis 3 Programmer Reference
|
10 #include "IException.h"
84 static Cube *
Open(
const QString &cubeFileName) {
89 return p_instance->OpenCube(cubeFileName);
105 if (numCubes > p_maxOpenFiles) {
106 p_currentLimit = p_maxOpenFiles;
108 p_currentLimit = numCubes;
120 static void CleanUp(
const QString &cubeFileName) {
121 p_instance->CleanCubes(cubeFileName);
135 void CleanCubes(
const QString &cubeFileName);
137 Cube *OpenCube(
const QString &cubeFileName);
QMap< QString, Cube * > p_cubes
This keeps track of the open cubes.
static CubeManager * p_instance
There is always at least one instance of CubeManager around.
unsigned int p_maxOpenFiles
60% of the maximum number of open files allowed by system resources
static Cube * Open(const QString &cubeFileName)
This method calls the method OpenCube() on the static instance.
static void CleanUp()
This method calls CleanCubes() on the static instance.
Class for quick re-accessing of cubes based on file name.
static void CleanUp(const QString &cubeFileName)
This method calls CleanCubes(const QString &cubeFileName) on the static instance.
unsigned int p_currentLimit
The current limit regarding number of open files allowed.
QQueue< QString > p_opened
This keeps track of cubes that have been opened.
IO Handler for Isis Cubes.
Namespace for the standard library.
This is free and unencumbered software released into the public domain.
void SetNumOpenCubes(unsigned int numCubes)
This sets the maximum number of opened cubes for this instance of CubeManager.
This is free and unencumbered software released into the public domain.