NCBI C++ ToolKit
|
Search Toolkit Book for CTSE_LoadLock
#include <objmgr/impl/tse_loadlock.hpp>
Public Member Functions | |
CTSE_LoadLock (void) | |
~CTSE_LoadLock (void) | |
CTSE_LoadLock (const CTSE_LoadLock &lock) | |
CTSE_LoadLock & | operator= (const CTSE_LoadLock &lock) |
DECLARE_OPERATOR_BOOL_REF (m_Info) | |
CTSE_Info & | operator* (void) |
const CTSE_Info & | operator* (void) const |
CTSE_Info * | operator-> (void) |
const CTSE_Info * | operator-> (void) const |
bool | IsLoaded (void) const |
void | SetLoaded (void) |
void | Reset (void) |
void | ReleaseLoadLock (void) |
Protected Member Functions | |
CTSE_LoadLockGuard & | x_GetGuard () |
Private Attributes | |
CRef< CTSE_Info > | m_Info |
CRef< CDataSource > | m_DataSource |
TThreadSystemID | m_LoadLockOwner |
CRef< CObject > | m_LoadLock |
Friends | |
class | CDataSource |
Definition at line 47 of file tse_loadlock.hpp.
|
inline |
Definition at line 50 of file tse_loadlock.hpp.
|
inline |
Definition at line 53 of file tse_loadlock.hpp.
References Reset().
|
inline |
Definition at line 58 of file tse_loadlock.hpp.
CTSE_LoadLock::DECLARE_OPERATOR_BOOL_REF | ( | m_Info | ) |
bool CTSE_LoadLock::IsLoaded | ( | void | ) | const |
Definition at line 2481 of file data_source.cpp.
References CDataSource::IsLoaded(), and m_DataSource.
Referenced by CAsnCache_DataLoader::GetBlobById(), CBlastDbDataLoader::GetBlobById(), CRemoteBlastDbDataLoader::GetBlobById(), CLDS2_DataLoader::GetBlobById(), CBAMDataLoader::GetBlobById(), CSRADataLoader::GetBlobById(), CSplitDataLoader::GetBlobById(), CBuffer_DataLoader::GetBlobById(), CHugeAsnDataLoader::GetBlobById(), CCSRADataLoader_Impl::GetBlobByIdOnce(), CPSGDataLoader_Impl::GetBlobByIdOnce(), CSNPDataLoader_Impl::GetBlobByIdOnce(), CWGSDataLoader_Impl::GetBlobByIdOnce(), CVDBGraphDataLoader_Impl::GetBlobByIdOnce(), CCDDDataLoader_Impl::GetBlobBySeq_ids(), CLoadLockBlob::GetTSE_LoadLock(), CLoadLockSetter::IsLoaded(), CWGSFileInfo::LoadBlob(), CPSGL_Blob_Processor::ObtainSkippedTSE_Lock(), CPSGL_NA_Processor::ProcessItemSlow(), CPSGL_CDDAnnot_Processor::ProcessReplySlow(), ReleaseLoadLock(), CLoadLockBlob::SelectChunk(), SetLoaded(), CPSGL_Blob_Processor::TSE_ToOM(), CTSE_Lock::x_Assign(), CPSGDataLoader_Impl::x_CheckAnnotCache(), x_CreateEmptyLocalCDDEntry(), x_CreateLocalCDDEntry(), CLoadLockSetter::x_Init(), CLDS2_DataLoader::x_LoadBlobs(), CBuffer_DataLoader::x_LoadData(), CBlastDbDataLoader::x_LoadData(), CLoadLockBlob::x_ObtainTSE_LoadLock(), CLoadLockSetter::x_ObtainTSE_LoadLock(), CDataLoaderPatcher::x_PatchLock(), CPSGDataLoader_Impl::x_ReadCDDChunk(), and CLoadLockSetter::x_SelectChunk().
|
inline |
Definition at line 66 of file tse_loadlock.hpp.
References m_Info.
Definition at line 70 of file tse_loadlock.hpp.
References m_Info.
|
inline |
Definition at line 74 of file tse_loadlock.hpp.
References m_Info.
Definition at line 78 of file tse_loadlock.hpp.
References m_Info.
CTSE_LoadLock & CTSE_LoadLock::operator= | ( | const CTSE_LoadLock & | lock | ) |
Definition at line 2464 of file data_source.cpp.
References CAtomicCounter::Add(), m_DataSource, m_Info, m_LoadLock, m_LoadLockOwner, CTSE_Info::m_LockCounter, Reset(), and TSE_LOCK_TRACE.
void CTSE_LoadLock::ReleaseLoadLock | ( | void | ) |
Definition at line 2514 of file data_source.cpp.
References CThread::GetSystemID(), IsLoaded(), m_Info, m_LoadLock, m_LoadLockOwner, CTSE_LoadLockGuard::Release(), CRef< C, Locker >::Reset(), x_GetGuard(), and CTSE_Info::x_Reset().
Referenced by Reset(), CDataSource::SetLoaded(), and CDataSource::x_SetLoadLock().
void CTSE_LoadLock::Reset | ( | void | ) |
Definition at line 2496 of file data_source.cpp.
References _ASSERT, CAtomicCounter::Add(), m_DataSource, m_Info, CTSE_Info::m_LockCounter, ReleaseLoadLock(), CRef< C, Locker >::Reset(), TSE_LOCK_TRACE, and CDataSource::x_ReleaseLastLoadLock().
Referenced by operator=(), and ~CTSE_LoadLock().
void CTSE_LoadLock::SetLoaded | ( | void | ) |
Definition at line 2487 of file data_source.cpp.
References _ASSERT, IsLoaded(), m_DataSource, m_Info, m_LoadLock, CTSE_Info::m_LoadMutex, and CDataSource::SetLoaded().
Referenced by CAsnCache_DataLoader::GetBlobById(), CBAMDataLoader::GetBlobById(), CSRADataLoader::GetBlobById(), CBuffer_DataLoader::GetBlobById(), CHugeAsnDataLoader::GetBlobById(), CCSRADataLoader_Impl::GetBlobByIdOnce(), CSNPDataLoader_Impl::GetBlobByIdOnce(), CWGSDataLoader_Impl::GetBlobByIdOnce(), CVDBGraphDataLoader_Impl::GetBlobByIdOnce(), CCDDDataLoader_Impl::GetBlobBySeq_ids(), CPSGL_NA_Processor::ProcessItemSlow(), CPSGL_CDDAnnot_Processor::ProcessReplySlow(), CLoadLockSetter::SetLoaded(), CPSGL_Blob_Processor::TSE_ToOM(), CPSGDataLoader_Impl::x_CheckAnnotCache(), x_CreateLocalCDDEntry(), CBlastDbDataLoader::x_LoadData(), CSplitDataLoader::x_LoadData(), CLDS2_DataLoader::x_LoadTSE(), and CDataLoaderPatcher::x_PatchLock().
|
inlineprotected |
Definition at line 92 of file tse_loadlock.hpp.
References CRef< C, Locker >::GetPointer(), and m_LoadLock.
Referenced by CDataSource::GetLoadedTSE_Lock(), and ReleaseLoadLock().
|
friend |
Definition at line 90 of file tse_loadlock.hpp.
|
mutableprivate |
Definition at line 99 of file tse_loadlock.hpp.
Referenced by CDataSource::GetTSE_LoadLockIfLoaded(), IsLoaded(), operator=(), Reset(), SetLoaded(), CDataSource::x_ReleaseLastLoadLock(), and CDataSource::x_SetLoadLock().
Definition at line 98 of file tse_loadlock.hpp.
Referenced by CDataSource::GetTSE_LoadLockIfLoaded(), operator*(), operator->(), operator=(), ReleaseLoadLock(), Reset(), CDataSource::SetLoaded(), SetLoaded(), CDataSource::x_ReleaseLastLoadLock(), and CDataSource::x_SetLoadLock().
Definition at line 101 of file tse_loadlock.hpp.
Referenced by operator=(), ReleaseLoadLock(), CDataSource::SetLoaded(), SetLoaded(), x_GetGuard(), and CDataSource::x_SetLoadLock().
|
private |
Definition at line 100 of file tse_loadlock.hpp.
Referenced by operator=(), ReleaseLoadLock(), and CDataSource::x_SetLoadLock().