Inviwo  0.9.10.1
Inviwo documentation
inviwo::Singleton< T > Class Template Reference

#include <singleton.h>

+ Inheritance diagram for inviwo::Singleton< T >:

Public Member Functions

 Singleton (Singleton< T > const &)=delete
 
void operator= (Singleton< T > const &)=delete
 

Static Public Member Functions

static void init ()
 
static void init (T *instance)
 
static T * getPtr ()
 
static void deleteInstance ()
 
static bool isInitialized ()
 

Detailed Description

template<class T>
class inviwo::Singleton< T >

T must have a static T* instance_ member variable.


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