Util::Singleton< T > Class Template Reference

Simple singleton class, not thread safe. More...

#include <Singleton.h>

List of all members.

Public Types

typedef T TObjectType

Static Public Member Functions

static T & instance ()
 Instance access for derived class.

Protected Member Functions

 Singleton ()
virtual ~Singleton ()


Detailed Description

template<class T>
class Util::Singleton< T >

Simple singleton class, not thread safe.

This singleton works with dynamic library export; that is to say it can be used both in a dynamic library and in an executable (tested under Win32 only).

Version:
0.2.0

Definition at line 39 of file Singleton.h.


Member Typedef Documentation

template<class T>
typedef T Util::Singleton< T >::TObjectType

Definition at line 45 of file Singleton.h.


Constructor & Destructor Documentation

template<class T>
Util::Singleton< T >::Singleton (  )  [inline, protected]

Definition at line 41 of file Singleton.h.

template<class T>
virtual Util::Singleton< T >::~Singleton (  )  [inline, protected, virtual]

Definition at line 42 of file Singleton.h.


Member Function Documentation

template<class T>
static T& Util::Singleton< T >::instance (  )  [inline, static]

Instance access for derived class.

Definition at line 53 of file Singleton.h.


The documentation for this class was generated from the following file:

Generated on Sun Jan 17 11:39:37 2010 for PVLE (Pro-Vocation Light Engine) by  doxygen 1.5.9