Initialization class for the global Burger::FileManager structure. More...
#include <fmfile.h>
Public Member Functions | |
| FileManagerSimple () | |
| Initializes the global Burger::FileManager structure. | |
| ~FileManagerSimple () | |
| Shuts down the global Burger::FileManager structure. | |
Initialization class for the global Burger::FileManager structure.
By default, the Burger::FileManager structure does not automatically initialize. The application determines the best time to start up and shut down the global singleton. To make this process easier, create an instance of this class in your main() function or use one of the application class templates which will do this task for you.
There should be only one instance of this class in existance in the application.
int main(int argc,char **argv) { // Initialize the memory manager Burger::MemoryManagerGlobalANSI MyMemory; // Initialize the file system Burger::FileManagerSimple MyFiles; DoStuff(); return 0; }
| Burger::FileManagerSimple::FileManagerSimple | ( | ) | [inline] |
Initializes the global Burger::FileManager structure.
| Burger::FileManagerSimple::~FileManagerSimple | ( | ) | [inline] |
Shuts down the global Burger::FileManager structure.
1.7.1