NCBI C++ ToolKit
|
Search Toolkit Book for CBinaryRangeCacheWithLock::CLock
#include <sra/readers/bam/cache_with_lock.hpp>
Public Member Functions | |
CLock () | |
~CLock () | |
CLock (const CLock &lock) | |
CLock & | operator= (const CLock &lock) |
CLock (CLock &&lock) | |
CLock & | operator= (CLock &&lock) |
DECLARE_OPERATOR_BOOL_REF (m_Slot) | |
void | Reset () |
CFastMutex & | GetValueMutex () |
const range_type & | get_range () const |
mapped_type & | operator* () const |
mapped_type * | operator-> () const |
bool | operator== (CLock a) const |
bool | operator!= (CLock a) const |
Protected Member Functions | |
CLock (CBinaryRangeCacheWithLock *cache, const TMapIterator &iter) | |
Protected Attributes | |
CRef< CBinaryRangeCacheWithLock > | m_Cache |
range_type | m_Range |
CRef< CSlot > | m_Slot |
Friends | |
class | CBinaryRangeCacheWithLock |
Definition at line 263 of file cache_with_lock.hpp.
|
inlineprotected |
Definition at line 270 of file cache_with_lock.hpp.
References _ASSERT, and CBinaryRangeCacheWithLock< Position, Value >::CLock::m_Slot.
|
inline |
Definition at line 280 of file cache_with_lock.hpp.
|
inline |
Definition at line 282 of file cache_with_lock.hpp.
References CBinaryRangeCacheWithLock< Position, Value >::CLock::Reset().
|
inline |
Definition at line 285 of file cache_with_lock.hpp.
References CBinaryRangeCacheWithLock< Position, Value >::CLock::m_Slot.
|
inline |
Definition at line 307 of file cache_with_lock.hpp.
CBinaryRangeCacheWithLock< Position, Value >::CLock::DECLARE_OPERATOR_BOOL_REF | ( | m_Slot | ) |
|
inline |
Definition at line 334 of file cache_with_lock.hpp.
References CBinaryRangeCacheWithLock< Position, Value >::CLock::m_Range.
Referenced by CPagedFile::GetPage().
|
inline |
Definition at line 332 of file cache_with_lock.hpp.
References CBinaryRangeCacheWithLock< Position, Value >::CLock::m_Slot.
Referenced by CPagedFile::GetPage().
|
inline |
Definition at line 341 of file cache_with_lock.hpp.
References a.
|
inline |
Definition at line 335 of file cache_with_lock.hpp.
References CBinaryRangeCacheWithLock< Position, Value >::CLock::m_Slot.
|
inline |
Definition at line 336 of file cache_with_lock.hpp.
References CBinaryRangeCacheWithLock< Position, Value >::CLock::m_Slot.
|
inline |
|
inline |
Definition at line 293 of file cache_with_lock.hpp.
References CBinaryRangeCacheWithLock< Position, Value >::CLock::m_Cache, CBinaryRangeCacheWithLock< Position, Value >::CLock::m_Slot, and CBinaryRangeCacheWithLock< Position, Value >::Unlock().
|
inline |
Definition at line 338 of file cache_with_lock.hpp.
References a, and CBinaryRangeCacheWithLock< Position, Value >::CLock::m_Slot.
|
inline |
Definition at line 324 of file cache_with_lock.hpp.
References CBinaryRangeCacheWithLock< Position, Value >::CLock::m_Cache, CBinaryRangeCacheWithLock< Position, Value >::CLock::m_Slot, and CBinaryRangeCacheWithLock< Position, Value >::Unlock().
Referenced by CBGZFStream::Close(), CBinaryRangeCacheWithLock< Position, Value >::CLock::operator=(), and CBinaryRangeCacheWithLock< Position, Value >::CLock::~CLock().
|
friend |
Definition at line 268 of file cache_with_lock.hpp.
|
protected |
Definition at line 265 of file cache_with_lock.hpp.
Referenced by CBinaryRangeCacheWithLock< Position, Value >::CLock::operator=(), and CBinaryRangeCacheWithLock< Position, Value >::CLock::Reset().
|
protected |
Definition at line 266 of file cache_with_lock.hpp.
Referenced by CBinaryRangeCacheWithLock< Position, Value >::CLock::get_range().
|
protected |
Definition at line 267 of file cache_with_lock.hpp.
Referenced by CBinaryRangeCacheWithLock< Position, Value >::CLock::CLock(), CBinaryRangeCacheWithLock< Position, Value >::CLock::GetValueMutex(), CBinaryRangeCacheWithLock< Position, Value >::CLock::operator*(), CBinaryRangeCacheWithLock< Position, Value >::CLock::operator->(), CBinaryRangeCacheWithLock< Position, Value >::CLock::operator=(), CBinaryRangeCacheWithLock< Position, Value >::CLock::operator==(), and CBinaryRangeCacheWithLock< Position, Value >::CLock::Reset().