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

Search Toolkit Book for CTSE_LoadLock

#include <objmgr/impl/tse_loadlock.hpp>

+ Collaboration diagram for CTSE_LoadLock:

Public Member Functions

 CTSE_LoadLock (void)
 
 ~CTSE_LoadLock (void)
 
 CTSE_LoadLock (const CTSE_LoadLock &lock)
 
CTSE_LoadLockoperator= (const CTSE_LoadLock &lock)
 
 DECLARE_OPERATOR_BOOL_REF (m_Info)
 
CTSE_Infooperator* (void)
 
const CTSE_Infooperator* (void) const
 
CTSE_Infooperator-> (void)
 
const CTSE_Infooperator-> (void) const
 
bool IsLoaded (void) const
 
void SetLoaded (void)
 
void Reset (void)
 
void ReleaseLoadLock (void)
 

Protected Member Functions

CTSE_LoadLockGuardx_GetGuard ()
 

Private Attributes

CRef< CTSE_Infom_Info
 
CRef< CDataSourcem_DataSource
 
TThreadSystemID m_LoadLockOwner
 
CRef< CObjectm_LoadLock
 

Friends

class CDataSource
 

Detailed Description

Definition at line 47 of file tse_loadlock.hpp.

Constructor & Destructor Documentation

◆ CTSE_LoadLock() [1/2]

CTSE_LoadLock::CTSE_LoadLock ( void  )
inline

Definition at line 50 of file tse_loadlock.hpp.

◆ ~CTSE_LoadLock()

CTSE_LoadLock::~CTSE_LoadLock ( void  )
inline

Definition at line 53 of file tse_loadlock.hpp.

References Reset().

◆ CTSE_LoadLock() [2/2]

CTSE_LoadLock::CTSE_LoadLock ( const CTSE_LoadLock lock)
inline

Definition at line 58 of file tse_loadlock.hpp.

Member Function Documentation

◆ DECLARE_OPERATOR_BOOL_REF()

CTSE_LoadLock::DECLARE_OPERATOR_BOOL_REF ( m_Info  )

◆ IsLoaded()

bool CTSE_LoadLock::IsLoaded ( void  ) const

◆ operator*() [1/2]

CTSE_Info& CTSE_LoadLock::operator* ( void  )
inline

Definition at line 66 of file tse_loadlock.hpp.

References m_Info.

◆ operator*() [2/2]

const CTSE_Info& CTSE_LoadLock::operator* ( void  ) const
inline

Definition at line 70 of file tse_loadlock.hpp.

References m_Info.

◆ operator->() [1/2]

CTSE_Info* CTSE_LoadLock::operator-> ( void  )
inline

Definition at line 74 of file tse_loadlock.hpp.

References m_Info.

◆ operator->() [2/2]

const CTSE_Info* CTSE_LoadLock::operator-> ( void  ) const
inline

Definition at line 78 of file tse_loadlock.hpp.

References m_Info.

◆ operator=()

CTSE_LoadLock & CTSE_LoadLock::operator= ( const CTSE_LoadLock lock)

◆ ReleaseLoadLock()

void CTSE_LoadLock::ReleaseLoadLock ( void  )

◆ Reset()

void CTSE_LoadLock::Reset ( void  )

◆ SetLoaded()

void CTSE_LoadLock::SetLoaded ( void  )

◆ x_GetGuard()

CTSE_LoadLockGuard& CTSE_LoadLock::x_GetGuard ( )
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().

Friends And Related Function Documentation

◆ CDataSource

friend class CDataSource
friend

Definition at line 90 of file tse_loadlock.hpp.

Member Data Documentation

◆ m_DataSource

CRef<CDataSource> CTSE_LoadLock::m_DataSource
mutableprivate

◆ m_Info

CRef<CTSE_Info> CTSE_LoadLock::m_Info
private

◆ m_LoadLock

CRef<CObject> CTSE_LoadLock::m_LoadLock
private

◆ m_LoadLockOwner

TThreadSystemID CTSE_LoadLock::m_LoadLockOwner
private

Definition at line 100 of file tse_loadlock.hpp.

Referenced by operator=(), ReleaseLoadLock(), and CDataSource::x_SetLoadLock().


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