#include <itkSingleton.h>
Implementation detail.
Definition at line 44 of file itkSingleton.h.
|
template<typename T > |
T * | GetGlobalInstance (const char *globalName) |
|
template<typename T > |
bool | SetGlobalInstance (const char *globalName, T *global, std::function< void(void *)> func, std::function< void(void)> deleteFunc) |
|
itk::SingletonIndex::~SingletonIndex |
( |
| ) |
|
Set/Get the pointer to GlobalSingleton. Note that SetGlobalSingleton is not concurrent thread safe.
template<typename T >
T* itk::SingletonIndex::GetGlobalInstance |
( |
const char * |
globalName | ) |
|
|
inline |
void* itk::SingletonIndex::GetGlobalInstancePrivate |
( |
const char * |
globalName | ) |
|
|
private |
static Self* itk::SingletonIndex::GetInstance |
( |
| ) |
|
|
static |
Set/Get the pointer to GlobalSingleton. Note that SetGlobalSingleton is not concurrent thread safe.
Referenced by itk::Singleton().
template<typename T >
bool itk::SingletonIndex::SetGlobalInstance |
( |
const char * |
globalName, |
|
|
T * |
global, |
|
|
std::function< void(void *)> |
func, |
|
|
std::function< void(void)> |
deleteFunc |
|
) |
| |
|
inline |
bool itk::SingletonIndex::SetGlobalInstancePrivate |
( |
const char * |
globalName, |
|
|
void * |
global, |
|
|
std::function< void(void *)> |
func, |
|
|
std::function< void(void)> |
deleteFunc |
|
) |
| |
|
private |
static void itk::SingletonIndex::SetInstance |
( |
Self * |
SingletonIndex | ) |
|
|
static |
Set/Get the pointer to GlobalSingleton. Note that SetGlobalSingleton is not concurrent thread safe.
The static GlobalSingleton. This is initialized to nullptr as the first stage of static initialization. It is then populated on the first call to itk::Singleton::Modified() but it can be overridden with SetGlobalSingleton().
Definition at line 90 of file itkSingleton.h.
Self* itk::SingletonIndex::m_Instance |
|
staticprivate |
The documentation for this class was generated from the following file: