Search Toolkit Book for CDiagContextThreadData
Thread local context data stored in TLS. More...
Thread local context data stored in TLS.
Definition at line 483 of file ncbidiag.cpp.
◆ TCollectGuards ◆ TCount ◆ TDiagCollection ◆ TTID ◆ CDiagContextThreadData() [1/2] CDiagContextThreadData::CDiagContextThreadData ( void ) ◆ ~CDiagContextThreadData() CDiagContextThreadData::~CDiagContextThreadData ( void )Definition at line 1070 of file ncbidiag.cpp.
◆ CDiagContextThreadData() [2/2] ◆ AddCollectGuard() ◆ CollectDiagMessage() ◆ GetCollectGuard() ◆ GetDiagBuffer() CDiagBuffer& CDiagContextThreadData::GetDiagBuffer ( void ) inline ◆ GetOrCreateStopWatch() CStopWatch* CDiagContextThreadData::GetOrCreateStopWatch ( void ) inlineGet request timer, create if not exist yet.
Definition at line 503 of file ncbidiag.cpp.
References NULL.
◆ GetRequestContext() ◆ GetRequestId() ◆ GetStopWatch() CStopWatch* CDiagContextThreadData::GetStopWatch ( void ) inline ◆ GetThreadData()Get diag context data for the current thread.
Definition at line 1079 of file ncbidiag.cpp.
References Abort(), data, and CSafeStaticLifeSpan::eLifeSpan_Long.
Referenced by GetDiagBuffer(), CDiagContext::GetRequestContext(), CDiagContext::GetThreadPostNumber(), CDiagContext::GetTID(), CDiagCollectGuard::Release(), SDiagMessage::SDiagMessage(), CDiagContext::SetRequestContext(), CDiagContext::x_GetNextHitID(), CDiagCollectGuard::x_Init(), and CNcbiDiag::x_Put().
◆ GetThreadPostNumber() ◆ GetTID() TTID CDiagContextThreadData::GetTID ( void ) const inline ◆ IncRequestId() void CDiagContextThreadData::IncRequestId ( void ) ◆ operator=() ◆ RemoveCollectGuard()Definition at line 1196 of file ncbidiag.cpp.
References AdjustApplogPrintableSeverity(), CompareDiagPostLevel(), eDiag_Trace, eDPF_IsConsole, CDiagCollectGuard::ePrint, CDiagCollectGuard::ePrintCapped, CDiagLock::eRead, ERR_POST_X, CDiagCollectGuard::GetAction(), CDiagCollectGuard::GetCollectSeverity(), GetDiagHandler(), CDiagCollectGuard::GetSeverityCap(), CDiagCollectGuard::GetStartingPoint(), ITERATE, m_CollectGuards, m_DiagCollection, m_DiagCollectionSize, NON_CONST_ITERATE, and Warning().
Referenced by CDiagCollectGuard::Release().
◆ ResetStopWatch() void CDiagContextThreadData::ResetStopWatch ( void ) inline ◆ SetRequestContext()Set request context.
If NULL, switches the current thread to its default request context.
Definition at line 1145 of file ncbidiag.cpp.
References _TROUBLE, ctx, ERR_POST_X_ONCE, CRef< C, Locker >::GetPointer(), CRequestContext::GetReadOnly(), kOwnerTID_None, m_DefaultRequestCtx, CRequestContext::m_OwnerTID, m_RequestCtx, and m_TID.
Referenced by CDiagContext::SetRequestContext().
◆ SetRequestId() void CDiagContextThreadData::SetRequestId ( TCount id ) ◆ m_CollectGuards ◆ m_DefaultRequestCtx ◆ m_DiagBuffer unique_ptr<CDiagBuffer> CDiagContextThreadData::m_DiagBuffer private ◆ m_DiagCollection ◆ m_DiagCollectionSize size_t CDiagContextThreadData::m_DiagCollectionSize private ◆ m_RequestCtx ◆ m_ThreadPostNumber TCount CDiagContextThreadData::m_ThreadPostNumber private ◆ m_TID TTID CDiagContextThreadData::m_TID privateThe documentation for this class was generated from the following file:
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4