#include <singleton.h>
Static Public Member Functions | |
static T * | Get () |
Static method to access the only pointer of this instance. | |
static void | Free () |
Release resources. | |
Protected Member Functions | |
Singleton () | |
Default constructor. | |
virtual | ~Singleton () |
Destructor. |
Written on 08-23-2006 by Eran Ifrah. Many thanks for allowing the free use of this template!
Definition at line 20 of file singleton.h.
T * Singleton< T >::Get | ( | ) | [inline, static] |
Static method to access the only pointer of this instance.
Definition at line 51 of file singleton.h.
void Singleton< T >::Free | ( | ) | [inline, static] |