NCBI C++ ToolKit
|
Search Toolkit Book for CWeakInterfaceLocker
CWeakInterfaceLocker –. More...
#include <corelib/ncbiobj.hpp>
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 | |
TPtrProxyType * | GetPtrProxy (Interface *ptr) const |
Get proxy storage for pointer to object. More... | |
CIRef< Interface, TThisType > | GetLockedObject (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... | |
Default locker class for CWeakIRef template
Definition at line 2583 of file ncbiobj.hpp.