All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties 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>

Static Public Member Functions

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

Protected Member Functions

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

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

Get an instance of the singleton.


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