Inviwo 0.9.12-pre
Inviwo documentation
Loading...
Searching...
No Matches
inviwo::Singleton< T > Class Template Reference

#include <singleton.h>

Public Member Functions

 Singleton (const Singleton &)=delete
void operator= (const Singleton &)=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:
  • singleton.h