CMS 3D CMS Logo

List of all members | Public Types | Public Member Functions | Static Public Member Functions
DDI::Singleton< I > Class Template Reference

#include <Singleton.h>

Public Types

typedef I value_type
 

Public Member Functions

Singletonoperator= (const Singleton &)=delete
 
 Singleton (void)=delete
 
 Singleton (const Singleton &)=delete
 
virtual ~Singleton ()
 

Static Public Member Functions

static value_typeinstance ()
 

Detailed Description

template<class I>
class DDI::Singleton< I >

Definition at line 6 of file Singleton.h.

Member Typedef Documentation

template<class I>
typedef I DDI::Singleton< I >::value_type

Definition at line 9 of file Singleton.h.

Constructor & Destructor Documentation

template<class I>
virtual DDI::Singleton< I >::~Singleton ( )
inlinevirtual

Definition at line 10 of file Singleton.h.

10 {}
template<class I>
DDI::Singleton< I >::Singleton ( void  )
delete
template<class I>
DDI::Singleton< I >::Singleton ( const Singleton< I > &  )
delete

Member Function Documentation

template<class I>
static value_type& DDI::Singleton< I >::instance ( )
static
template<class I>
Singleton& DDI::Singleton< I >::operator= ( const Singleton< I > &  )
delete