NCBI C++ ToolKit
Public Types | Public Member Functions | List of all members
CWeakInterfaceLocker< Interface > Class Template Reference

Search Toolkit Book for CWeakInterfaceLocker

CWeakInterfaceLocker –. More...

#include <corelib/ncbiobj.hpp>

+ Inheritance diagram for CWeakInterfaceLocker< Interface >:
+ Collaboration diagram for CWeakInterfaceLocker< Interface >:

Public Types

typedef CPtrToObjectProxy TPtrProxyType
 Type working as proxy storage for pointer to object. More...
 
typedef CWeakInterfaceLocker< Interface > TThisType
 Alias for this type. More...
 

Public Member Functions

TPtrProxyTypeGetPtrProxy (Interface *ptr) const
 Get proxy storage for pointer to object. More...
 
CIRef< Interface, TThisTypeGetLockedObject (TPtrProxyType *proxy) const
 Lock the object and return pointer to it stored in the proxy. More...
 
- Public Member Functions inherited from CInterfaceObjectLocker< Interface >
void Lock (const Interface *object) const
 
void Relock (const Interface *object) const
 
void Unlock (const Interface *object) const
 
void UnlockRelease (const Interface *object) const
 
void TransferLock (const Interface *object, const CInterfaceObjectLocker< Interface > &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 Interface>
class CWeakInterfaceLocker< Interface >

CWeakInterfaceLocker –.

Default locker class for CWeakIRef template

Definition at line 2583 of file ncbiobj.hpp.


The documentation for this class was generated from the following file:
Modified on Wed Jul 17 13:17:04 2024 by modify_doxy.py rev. 669887