NCBI C++ ToolKit
Public Types | Public Member Functions | Static Public Member Functions | Private Attributes | List of all members
CUnlockedTSEsGuard Class Reference

Search Toolkit Book for CUnlockedTSEsGuard

#include <objmgr/impl/scope_info.hpp>

Public Types

typedef vector< CConstRef< CTSE_Info > > TUnlockedTSEsLock
 
typedef vector< CTSE_ScopeInternalLockTUnlockedTSEsInternal
 

Public Member Functions

 CUnlockedTSEsGuard (void)
 
 ~CUnlockedTSEsGuard (void)
 

Static Public Member Functions

static void SaveLock (const CTSE_Lock &lock)
 
static void SaveInternal (const CTSE_ScopeInternalLock &lock)
 
static void SaveInternal (const TUnlockedTSEsInternal &locks)
 

Private Attributes

TUnlockedTSEsLock m_UnlockedTSEsLock
 
TUnlockedTSEsInternal m_UnlockedTSEsInternal
 

Detailed Description

Definition at line 330 of file scope_info.hpp.

Member Typedef Documentation

◆ TUnlockedTSEsInternal

Definition at line 333 of file scope_info.hpp.

◆ TUnlockedTSEsLock

Definition at line 332 of file scope_info.hpp.

Constructor & Destructor Documentation

◆ CUnlockedTSEsGuard()

CUnlockedTSEsGuard::CUnlockedTSEsGuard ( void  )

Definition at line 197 of file scope_info.cpp.

◆ ~CUnlockedTSEsGuard()

CUnlockedTSEsGuard::~CUnlockedTSEsGuard ( void  )

Definition at line 205 of file scope_info.cpp.

References m_UnlockedTSEsInternal, m_UnlockedTSEsLock, and swap().

Member Function Documentation

◆ SaveInternal() [1/2]

void CUnlockedTSEsGuard::SaveInternal ( const CTSE_ScopeInternalLock lock)
static

◆ SaveInternal() [2/2]

void CUnlockedTSEsGuard::SaveInternal ( const TUnlockedTSEsInternal locks)
static

Definition at line 245 of file scope_info.cpp.

References _ASSERT, and s_GetScopePostponeDelete().

◆ SaveLock()

void CUnlockedTSEsGuard::SaveLock ( const CTSE_Lock lock)
static

Definition at line 221 of file scope_info.cpp.

References _ASSERT, ConstRef(), and s_GetScopePostponeDelete().

Referenced by CDataSource_ScopeInfo::RemoveTSE_Lock().

Member Data Documentation

◆ m_UnlockedTSEsInternal

TUnlockedTSEsInternal CUnlockedTSEsGuard::m_UnlockedTSEsInternal
private

Definition at line 343 of file scope_info.hpp.

Referenced by ~CUnlockedTSEsGuard().

◆ m_UnlockedTSEsLock

TUnlockedTSEsLock CUnlockedTSEsGuard::m_UnlockedTSEsLock
private

Definition at line 342 of file scope_info.hpp.

Referenced by ~CUnlockedTSEsGuard().


The documentation for this class was generated from the following files:
Modified on Mon Mar 04 05:10:37 2024 by modify_doxy.py rev. 669887