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 ()=default
 

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

◆ value_type

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

Definition at line 8 of file Singleton.h.

Constructor & Destructor Documentation

◆ ~Singleton()

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

◆ Singleton() [1/2]

template<class I>
DDI::Singleton< I >::Singleton ( void  )
delete

◆ Singleton() [2/2]

template<class I>
DDI::Singleton< I >::Singleton ( const Singleton< I > &  )
delete

Member Function Documentation

◆ instance()

template<class I>
static value_type& DDI::Singleton< I >::instance ( )
static

◆ operator=()

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