digiKam
Digikam::CoreDbAccessUnlock Class Reference

Public Member Functions

 CoreDbAccessUnlock ()
 
 CoreDbAccessUnlock (CoreDbAccess *const access)
 
 ~CoreDbAccessUnlock ()
 

Constructor & Destructor Documentation

◆ CoreDbAccessUnlock() [1/2]

Digikam::CoreDbAccessUnlock::CoreDbAccessUnlock ( )

Acquire an object of this class if you want to assure that the CoreDbAccess is not held during the lifetime of the object. At creation, the lock is obtained shortly, then all locks are released. At destruction, all locks are acquired again. If you need to access any locked structures during lifetime, acquire a new CoreDbAccess.

◆ CoreDbAccessUnlock() [2/2]

Digikam::CoreDbAccessUnlock::CoreDbAccessUnlock ( CoreDbAccess *const  access)
explicit

◆ ~CoreDbAccessUnlock()

Digikam::CoreDbAccessUnlock::~CoreDbAccessUnlock ( )

The documentation for this class was generated from the following files: