proj home

Files   Classes   Functions   Hierarchy  

Singleton< T > Class Template Reference

Simplest singleton. More...

#include <singleton.h>

Collaboration diagram for Singleton< T >:

List of all members.

Public Member Functions

 Singleton (T *ptr_)

Static Public Attributes

static Tptr = 0


Detailed Description

template<typename T>
class Singleton< T >

Simplest singleton.

Definition at line 11 of file singleton.h.


Constructor & Destructor Documentation

template<typename T >
Singleton< T >::Singleton ( T ptr_  )  [inline]

Definition at line 17 of file singleton.h.

References Singleton< T >::ptr.

00018     { ptr=ptr_; }


Member Data Documentation

template<typename T >
T * Singleton< T >::ptr = 0 [inline, static]


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

Generated on Fri Mar 4 00:50:17 2011 for Chelton Evans Source by  doxygen 1.5.8