NCBI C++ ToolKit
Public Member Functions | List of all members
CNetComponentCounterLocker< S > Class Template Reference

Search Toolkit Book for CNetComponentCounterLocker

#include <connect/services/netcomponent.hpp>

+ Inheritance diagram for CNetComponentCounterLocker< S >:
+ Collaboration diagram for CNetComponentCounterLocker< S >:

Public Member Functions

void Lock (const S *object) const
 
void Relock (const S *object) const
 
void Unlock (const S *object) const
 
void UnlockRelease (const S *object) const
 
void TransferLock (const S *object, const CNetComponentCounterLocker &old_locker) 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

template<class S>
class CNetComponentCounterLocker< S >

Definition at line 51 of file netcomponent.hpp.

Member Function Documentation

◆ Lock()

template<class S >
void CNetComponentCounterLocker< S >::Lock ( const S object) const
inline

Definition at line 54 of file netcomponent.hpp.

References CObjectCounterLocker::Lock().

◆ Relock()

template<class S >
void CNetComponentCounterLocker< S >::Relock ( const S object) const
inline

Definition at line 59 of file netcomponent.hpp.

References CObjectCounterLocker::Relock().

◆ TransferLock()

template<class S >
void CNetComponentCounterLocker< S >::TransferLock ( const S object,
const CNetComponentCounterLocker< S > &  old_locker 
) const
inline

Definition at line 75 of file netcomponent.hpp.

References CObjectCounterLocker::TransferLock().

◆ Unlock()

template<class S >
void CNetComponentCounterLocker< S >::Unlock ( const S object) const
inline

Definition at line 64 of file netcomponent.hpp.

References CObjectCounterLocker::Unlock().

◆ UnlockRelease()

template<class S >
void CNetComponentCounterLocker< S >::UnlockRelease ( const S object) const
inline

Definition at line 69 of file netcomponent.hpp.

References CObjectCounterLocker::UnlockRelease().


The documentation for this class was generated from the following file:
Modified on Mon Apr 22 04:05:25 2024 by modify_doxy.py rev. 669887