#include <itkSingleton.h>
Implementation detail.
Definition at line 48 of file itkSingleton.h.
|
template<typename T > |
T * | GetGlobalInstance (const char *globalName) |
|
template<typename T > |
void | SetGlobalInstance (const char *globalName, T *global, std::function< void()> deleteFunc) |
|
◆ Self
◆ ~SingletonIndex()
itk::SingletonIndex::~SingletonIndex |
( |
| ) |
|
Set/Get the pointer to GlobalSingleton. Note that SetGlobalSingleton is not concurrent thread safe.
◆ GetGlobalInstance()
template<typename T >
T* itk::SingletonIndex::GetGlobalInstance |
( |
const char * |
globalName | ) |
|
|
inline |
◆ GetGlobalInstancePrivate()
void* itk::SingletonIndex::GetGlobalInstancePrivate |
( |
const char * |
globalName | ) |
|
|
private |
◆ GetInstance()
static Self* itk::SingletonIndex::GetInstance |
( |
| ) |
|
|
static |
Set/Get the pointer to GlobalSingleton. Note that SetGlobalSingleton is not concurrent thread safe.
Referenced by itk::Singleton().
◆ SetGlobalInstance()
template<typename T >
void itk::SingletonIndex::SetGlobalInstance |
( |
const char * |
globalName, |
|
|
T * |
global, |
|
|
std::function< void()> |
deleteFunc |
|
) |
| |
|
inline |
◆ SetGlobalInstancePrivate()
void itk::SingletonIndex::SetGlobalInstancePrivate |
( |
const char * |
globalName, |
|
|
GlobalObject |
globalObject |
|
) |
| |
|
private |
◆ SetInstance()
static void itk::SingletonIndex::SetInstance |
( |
Self * |
instance | ) |
|
|
static |
Set/Get the pointer to GlobalSingleton. Note that SetGlobalSingleton is not concurrent thread safe.
◆ m_GlobalObjects
std::map<std::string, GlobalObject> itk::SingletonIndex::m_GlobalObjects |
|
private |
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 128 of file itkSingleton.h.
◆ m_Instance
Self* itk::SingletonIndex::m_Instance |
|
staticprivate |
The documentation for this class was generated from the following file: