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

Search Toolkit Book for CScopeInfoLocker

#include <objmgr/tse_handle.hpp>

+ Inheritance diagram for CScopeInfoLocker:
+ Collaboration diagram for CScopeInfoLocker:

Public Member Functions

void Lock (CScopeInfo_Base *info) const
 
void Relock (CScopeInfo_Base *info) const
 
void Unlock (CScopeInfo_Base *info) 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 598 of file tse_handle.hpp.

Member Function Documentation

◆ Lock()

void CScopeInfoLocker::Lock ( CScopeInfo_Base info) const
inline

Definition at line 601 of file tse_handle.hpp.

References info, and CObjectCounterLocker::Lock().

Referenced by Relock().

◆ Relock()

void CScopeInfoLocker::Relock ( CScopeInfo_Base info) const
inline

Definition at line 606 of file tse_handle.hpp.

References info, and Lock().

◆ Unlock()

void CScopeInfoLocker::Unlock ( CScopeInfo_Base info) const
inline

Definition at line 610 of file tse_handle.hpp.

References info, and CObjectCounterLocker::Unlock().


The documentation for this class was generated from the following file:
Modified on Wed Dec 06 07:12:54 2023 by modify_doxy.py rev. 669887