78       static Cube *
Open(
const QString &cubeFileName) {
    83         return p_instance->OpenCube(cubeFileName);
    99         if (numCubes > p_maxOpenFiles) {
   100           p_currentLimit = p_maxOpenFiles;
   102         p_currentLimit = numCubes;
   114       static void CleanUp(
const QString &cubeFileName) {
   115         p_instance->CleanCubes(cubeFileName);
   129       void CleanCubes(
const QString &cubeFileName);
   131       Cube *OpenCube(
const QString &cubeFileName);
 QQueue< QString > p_opened
This keeps track of cubes that have been opened. 
Definition: CubeManager.h:142
 
static void CleanUp(const QString &cubeFileName)
This method calls CleanCubes(const QString &cubeFileName) on the static instance. ...
Definition: CubeManager.h:114
 
unsigned int p_currentLimit
The current limit regarding number of open files allowed. 
Definition: CubeManager.h:145
 
Namespace for the standard library. 
 
void SetNumOpenCubes(unsigned int numCubes)
This sets the maximum number of opened cubes for this instance of CubeManager. 
Definition: CubeManager.h:96
 
QMap< QString, Cube * > p_cubes
This keeps track of the open cubes. 
Definition: CubeManager.h:139
 
static Cube * Open(const QString &cubeFileName)
This method calls the method OpenCube() on the static instance. 
Definition: CubeManager.h:78
 
Class for quick re-accessing of cubes based on file name. 
Definition: CubeManager.h:64
 
Namespace for ISIS/Bullet specific routines. 
Definition: Apollo.h:31
 
static CubeManager * p_instance
There is always at least one instance of CubeManager around. 
Definition: CubeManager.h:136
 
unsigned int p_maxOpenFiles
60% of the maximum number of open files allowed by system resources 
Definition: CubeManager.h:148
 
Definition: CubeIoHandler.h:38
 
static void CleanUp()
This method calls CleanCubes() on the static instance. 
Definition: CubeManager.h:124
 
IO Handler for Isis Cubes. 
Definition: Cube.h:170