Singleton< T > Class Template Reference

Implementation of a generic singleton. More...

#include <Singleton.h>

List of all members.

Static Public Member Functions

static T & Instance ()
 Returns instance of the holding object.

Private Member Functions

 Singleton ()
 ~Singleton ()
 Singleton (const Singleton &)
Singletonoperator= (const Singleton &)


Detailed Description

template<typename T>
class Singleton< T >

Implementation of a generic singleton.


Constructor & Destructor Documentation

template<typename T>
Singleton< T >::Singleton (  )  [private]

template<typename T>
Singleton< T >::~Singleton (  )  [private]

template<typename T>
Singleton< T >::Singleton ( const Singleton< T > &   )  [private]


Member Function Documentation

template<typename T>
static T& Singleton< T >::Instance (  )  [inline, static]

Returns instance of the holding object.

template<typename T>
Singleton& Singleton< T >::operator= ( const Singleton< T > &   )  [private]


The documentation for this class was generated from the following file:
Generated on Sun Apr 29 11:46:11 2007 for IPP/ICP2007 by  doxygen 1.4.7