#include <singelton.h>
Static Public Member Functions | |
T & | getInstance () |
Protected Member Functions | |
CSingleton () | |
no public ctor to be sure that the user can't create an object | |
Static Protected Attributes | |
T * | Instance = 0 |
|
no public ctor to be sure that the user can't create an object
Definition at line 74 of file singelton.h.
00075 { 00076 } |
|
returns a reference and not a pointer to be sure that the user doesn't have to test the return value and can directly access the class Definition at line 61 of file singelton.h. References nlassert.
|
|
Definition at line 82 of file singelton.h. |