NCBI C++ ToolKit
Public Types | Public Member Functions | Protected Member Functions | Private Types | Private Member Functions | Private Attributes | Friends | List of all members
CLoadLockBlob Class Reference

Search Toolkit Book for CLoadLockBlob

#include <objtools/data_loaders/genbank/impl/request_result.hpp>

+ Inheritance diagram for CLoadLockBlob:
+ Collaboration diagram for CLoadLockBlob:

Public Types

typedef CGBInfoManager::TChunkId TChunkId
 
typedef CGBInfoManager::TBlobVersion TBlobVersion
 

Public Member Functions

 CLoadLockBlob (CReaderRequestResult &src, const CBlob_id &blob_id, TChunkId chunk_id=kMain_ChunkId)
 
 ~CLoadLockBlob (void)
 
bool IsLoadedBlob (void) const
 
void SelectChunk (TChunkId chunk_id)
 
TChunkId GetSelectedChunkId (void) const
 
bool IsLoadedChunk (void) const
 
bool IsLoadedChunk (TChunkId chunk_id) const
 
CTSE_LoadLockGetTSE_LoadLock (void)
 
const CTSE_Chunk_InfoGetTSE_Chunk_Info (void)
 
TBlobVersion GetKnownBlobVersion (void) const
 
const CTSE_Split_InfoGetSplitInfo (void) const
 
bool NeedsDelayedMainChunk (void) const
 

Protected Member Functions

void x_ObtainTSE_LoadLock (CReaderRequestResult &result)
 

Private Types

typedef CGBInfoManager::TCacheBlob::TInfoLock TParent
 

Private Member Functions

void IsLoaded (void)
 
void SetLoaded (void)
 

Private Attributes

CBlob_id m_Blob_id
 
CTSE_LoadLock m_TSE_LoadLock
 
CConstRef< CTSE_Chunk_Infom_Chunk
 

Friends

class CLoadLockSetter
 

Detailed Description

Definition at line 896 of file request_result.hpp.

Member Typedef Documentation

◆ TBlobVersion

Definition at line 902 of file request_result.hpp.

◆ TChunkId

Definition at line 901 of file request_result.hpp.

◆ TParent

typedef CGBInfoManager::TCacheBlob::TInfoLock CLoadLockBlob::TParent
private

Definition at line 899 of file request_result.hpp.

Constructor & Destructor Documentation

◆ CLoadLockBlob()

CLoadLockBlob::CLoadLockBlob ( CReaderRequestResult src,
const CBlob_id blob_id,
TChunkId  chunk_id = kMain_ChunkId 
)

Definition at line 392 of file request_result.cpp.

References kMain_ChunkId, result, SelectChunk(), and x_ObtainTSE_LoadLock().

◆ ~CLoadLockBlob()

CLoadLockBlob::~CLoadLockBlob ( void  )

Definition at line 405 of file request_result.cpp.

Member Function Documentation

◆ GetKnownBlobVersion()

CLoadLockBlob::TBlobVersion CLoadLockBlob::GetKnownBlobVersion ( void  ) const

◆ GetSelectedChunkId()

TChunkId CLoadLockBlob::GetSelectedChunkId ( void  ) const

◆ GetSplitInfo()

const CTSE_Split_Info & CLoadLockBlob::GetSplitInfo ( void  ) const

◆ GetTSE_Chunk_Info()

const CTSE_Chunk_Info& CLoadLockBlob::GetTSE_Chunk_Info ( void  )
inline

Definition at line 921 of file request_result.hpp.

References m_Chunk.

◆ GetTSE_LoadLock()

CTSE_LoadLock & CLoadLockBlob::GetTSE_LoadLock ( void  )

◆ IsLoaded()

void CLoadLockBlob::IsLoaded ( void  )
private

◆ IsLoadedBlob()

bool CLoadLockBlob::IsLoadedBlob ( void  ) const
inline

◆ IsLoadedChunk() [1/2]

bool CLoadLockBlob::IsLoadedChunk ( TChunkId  chunk_id) const

◆ IsLoadedChunk() [2/2]

bool CLoadLockBlob::IsLoadedChunk ( void  ) const

◆ NeedsDelayedMainChunk()

bool CLoadLockBlob::NeedsDelayedMainChunk ( void  ) const

◆ SelectChunk()

void CLoadLockBlob::SelectChunk ( TChunkId  chunk_id)

◆ SetLoaded()

void CLoadLockBlob::SetLoaded ( void  )
private

◆ x_ObtainTSE_LoadLock()

void CLoadLockBlob::x_ObtainTSE_LoadLock ( CReaderRequestResult result)
protected

Friends And Related Function Documentation

◆ CLoadLockSetter

friend class CLoadLockSetter
friend

Definition at line 932 of file request_result.hpp.

Member Data Documentation

◆ m_Blob_id

CBlob_id CLoadLockBlob::m_Blob_id
private

Definition at line 942 of file request_result.hpp.

Referenced by CLoadLockSetter::x_Init(), and x_ObtainTSE_LoadLock().

◆ m_Chunk

CConstRef<CTSE_Chunk_Info> CLoadLockBlob::m_Chunk
private

◆ m_TSE_LoadLock

CTSE_LoadLock CLoadLockBlob::m_TSE_LoadLock
private

The documentation for this class was generated from the following files:
Modified on Fri Sep 20 14:57:13 2024 by modify_doxy.py rev. 669887