LibCT 2.0

Include/GlobalVars.h

Go to the documentation of this file.
00001 // ------------------------------------------------------------------
00012 #ifndef _LIBCT_GLOBALVARS_H
00013 #define _LIBCT_GLOBALVARS_H
00014 
00015 #include "VariableContainer.h"
00016 
00017 namespace LibCT
00018 {
00020         class GlobalVars : public VariableContainer
00021         {
00022         public:
00025                 static GlobalVars* GetInstance()
00026                 {
00027                         static GlobalVars instance;
00028                         return &instance;
00029                 }
00030 
00031         private:
00033                 GlobalVars() {}
00034 
00036                 ~GlobalVars() {}
00037 
00039                 GlobalVars(const GlobalVars&);
00040 
00042                 GlobalVars& operator=(const GlobalVars&);
00043         };
00044 }
00045 
00046 #endif // _LIBCT_GLOBALVARS_H