All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Static Public Member Functions | Protected Member Functions | List of all members
SingletonT< T > Class Template Reference

Singleton template class. More...

#include <common/common.hh>

Inheritance diagram for SingletonT< T >:
Inheritance graph
[legend]

Static Public Member Functions

static T * Instance ()
 Get an instance of the singleton.
 

Protected Member Functions

 SingletonT ()
 Constructor.
 
virtual ~SingletonT ()
 Destructor.
 

Detailed Description

template<class T>
class SingletonT< T >

Singleton template class.

Constructor & Destructor Documentation

template<class T>
SingletonT< T >::SingletonT ( )
inlineprotected

Constructor.

template<class T>
virtual SingletonT< T >::~SingletonT ( )
inlineprotectedvirtual

Destructor.

Member Function Documentation

template<class T>
static T* SingletonT< T >::Instance ( )
inlinestatic

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