NCBI C++ ToolKit
Public Member Functions | List of all members
CTSE_ScopeUserLocker Class Reference

Search Toolkit Book for CTSE_ScopeUserLocker

#include <objmgr/impl/tse_scope_lock.hpp>

+ Inheritance diagram for CTSE_ScopeUserLocker:
+ Collaboration diagram for CTSE_ScopeUserLocker:

Public Member Functions

void Lock (CTSE_ScopeInfo *tse) const
void Unlock (CTSE_ScopeInfo *tse) const
void Relock (CTSE_ScopeInfo *tse) const
void TransferLock (const CTSE_ScopeInfo *, const CTSE_ScopeUserLocker &) const
- Public Member Functions inherited from CObjectCounterLocker
void Lock (const CObject *object) const
void Relock (const CObject *object) const
void Unlock (const CObject *object) const
void UnlockRelease (const CObject *object) const
void TransferLock (const CObject *object, const CObjectCounterLocker &old_locker) const

Additional Inherited Members

- Static Public Member Functions inherited from CObjectCounterLocker
static void ReportIncompatibleType (const type_info &type)
static void MonitorObjectType (const type_info &type)
 Set monitored object type, e.g. More...
static void StopMonitoring (void)
 Stop lock/unlock monitoring. More...
static void ReportLockedObjects (bool clear=false)
 Print all currently locked objects of monitored type. More...

Detailed Description

Definition at line 62 of file tse_scope_lock.hpp.

Member Function Documentation

◆ Lock()

void CTSE_ScopeUserLocker::Lock ( CTSE_ScopeInfo tse) const

◆ Relock()

void CTSE_ScopeUserLocker::Relock ( CTSE_ScopeInfo tse) const

Definition at line 67 of file tse_scope_lock.hpp.

References Lock().

◆ TransferLock()

void CTSE_ScopeUserLocker::TransferLock ( const CTSE_ScopeInfo ,
const CTSE_ScopeUserLocker  
) const

Definition at line 71 of file tse_scope_lock.hpp.

◆ Unlock()

void CTSE_ScopeUserLocker::Unlock ( CTSE_ScopeInfo tse) const

The documentation for this class was generated from the following files:
Modified on Wed Jun 19 17:00:16 2024 by rev. 669887