NCBI C++ ToolKit
|
Search Toolkit Book for CTLibContextRegistry
Public Member Functions | |
void | Add (CTLibContext *ctx) |
void | Remove (CTLibContext *ctx) |
void | ClearAll (void) |
bool | ExitProcessIsPatched (void) const |
Static Public Member Functions | |
static CTLibContextRegistry & | Instance (void) |
static void | StaticClearAll (void) |
Private Member Functions | |
CTLibContextRegistry (void) | |
~CTLibContextRegistry (void) throw () | |
Private Attributes | |
CMutex | m_Mutex |
vector< CTLibContext * > | m_Registry |
bool | m_ExitProcessPatched |
Friends | |
class | CSafeStatic_Allocator< CTLibContextRegistry > |
Definition at line 101 of file context.cpp.
|
private |
Definition at line 129 of file context.cpp.
References NWinHook::COnExitProcess::Add(), NWinHook::COnExitProcess::Instance(), m_ExitProcessPatched, and StaticClearAll().
|
private |
Definition at line 145 of file context.cpp.
References NCBI_CATCH_ALL_X, and NCBI_CURRENT_FUNCTION.
void CTLibContextRegistry::Add | ( | CTLibContext * | ctx | ) |
Definition at line 162 of file context.cpp.
References ctx, m_Mutex, and m_Registry.
Referenced by CTLibContext::x_AddToRegistry().
void CTLibContextRegistry::ClearAll | ( | void | ) |
Definition at line 191 of file context.cpp.
References m_Mutex, m_Registry, and s_CTLCtxLock.
Referenced by StaticClearAll().
|
inline |
Definition at line 111 of file context.cpp.
Referenced by CTLibContext::x_SafeToFinalize().
|
static |
Definition at line 154 of file context.cpp.
References CSafeStatic< T, Callbacks >::Get().
Referenced by CTLibContext::CTLibContext(), and StaticClearAll().
void CTLibContextRegistry::Remove | ( | CTLibContext * | ctx | ) |
Definition at line 175 of file context.cpp.
References ctx, m_Mutex, m_Registry, and NULL.
Referenced by CTLibContext::x_RemoveFromRegistry().
|
static |
Definition at line 206 of file context.cpp.
References ClearAll(), and Instance().
Referenced by CTLibContextRegistry().
|
friend |
Definition at line 122 of file context.cpp.
|
private |
Definition at line 122 of file context.cpp.
Referenced by CTLibContextRegistry().
|
mutableprivate |
Definition at line 120 of file context.cpp.
Referenced by Add(), ClearAll(), and Remove().
|
private |
Definition at line 121 of file context.cpp.
Referenced by Add(), ClearAll(), and Remove().