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


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

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  )

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  )

◆ IsLoadedBlob()

bool CLoadLockBlob::IsLoadedBlob ( void  ) const

◆ 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  )

◆ x_ObtainTSE_LoadLock()

void CLoadLockBlob::x_ObtainTSE_LoadLock ( CReaderRequestResult result)

Friends And Related Function Documentation

◆ CLoadLockSetter

friend class CLoadLockSetter

Definition at line 932 of file request_result.hpp.

Member Data Documentation

◆ m_Blob_id

CBlob_id CLoadLockBlob::m_Blob_id

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

◆ m_TSE_LoadLock

CTSE_LoadLock CLoadLockBlob::m_TSE_LoadLock

The documentation for this class was generated from the following files:
Modified on Thu May 23 12:26:23 2024 by rev. 669887