CSingleton< T > Class Template Reference
Singleton pattern template class.  
More...
#include <singleton.h>
List of all members.
 | 
 Static Public Member Functions | 
| 
static T *  | Instance () | 
|   | Get pointer to object. 
  | 
| 
static  | Destroy () | 
|   | Destroy object. This may seem unnecessary, but it makes runtime error checking happy. 
  | 
Detailed Description
template<typename T>
 class CSingleton< T >
Singleton pattern template class. 
- Note:
 - Usage:
 
class CSth : public CSingleton<CSth> { friend CSingleton<CSth>; private: CSth(); ~CSth(); ... } 
The documentation for this class was generated from the following file: