NCBI C++ ToolKit
Public Types | Public Member Functions | Public Attributes | List of all members
CLocksMonitor::SLocks Struct Reference

Search Toolkit Book for CLocksMonitor::SLocks

+ Collaboration diagram for CLocksMonitor::SLocks:

Public Types

typedef multimap< const CObjectCounterLocker *, AutoPtr< CStackTrace > > TLocks
 
typedef multimap< const CObjectCounterLocker *, AutoPtr< CStackTrace > > TUnlocks
 

Public Member Functions

 SLocks (void)
 
void Dump (void) const
 
int LockCount (void) const
 
void Locked (const CObjectCounterLocker *locker, const CObject *object)
 
bool Unlocked (const CObjectCounterLocker *locker)
 

Public Attributes

const CObjectm_Object
 
TLocks m_Locks
 
TUnlocks m_Unlocks
 

Detailed Description

Definition at line 1045 of file ncbiobj.cpp.

Member Typedef Documentation

◆ TLocks

Definition at line 1047 of file ncbiobj.cpp.

◆ TUnlocks

Definition at line 1048 of file ncbiobj.cpp.

Constructor & Destructor Documentation

◆ SLocks()

CLocksMonitor::SLocks::SLocks ( void  )
inline

Definition at line 1046 of file ncbiobj.cpp.

Member Function Documentation

◆ Dump()

void CLocksMonitor::SLocks::Dump ( void  ) const
inline

Definition at line 1050 of file ncbiobj.cpp.

References ERR_POST, ITERATE, m_Locks, m_Object, m_Unlocks, Note, and sx_MonitorType.

◆ LockCount()

int CLocksMonitor::SLocks::LockCount ( void  ) const
inline

Definition at line 1073 of file ncbiobj.cpp.

References int, m_Locks, m_Unlocks, and multimap_checker< Container >::size().

Referenced by Locked(), and Unlocked().

◆ Locked()

void CLocksMonitor::SLocks::Locked ( const CObjectCounterLocker locker,
const CObject object 
)
inline

◆ Unlocked()

bool CLocksMonitor::SLocks::Unlocked ( const CObjectCounterLocker locker)
inline

Member Data Documentation

◆ m_Locks

TLocks CLocksMonitor::SLocks::m_Locks

Definition at line 1104 of file ncbiobj.cpp.

Referenced by Dump(), LockCount(), Locked(), and Unlocked().

◆ m_Object

const CObject* CLocksMonitor::SLocks::m_Object

Definition at line 1103 of file ncbiobj.cpp.

Referenced by Dump(), and Locked().

◆ m_Unlocks

TUnlocks CLocksMonitor::SLocks::m_Unlocks

Definition at line 1105 of file ncbiobj.cpp.

Referenced by Dump(), LockCount(), and Unlocked().


The documentation for this struct was generated from the following file:
Modified on Mon May 20 05:06:03 2024 by modify_doxy.py rev. 669887