digiKam Developer Documentation
Professional Photo Management with the Power of Open Source
Loading...
Searching...
No Matches
Digikam::FaceDbAccessUnlock Class Reference

Public Member Functions

 FaceDbAccessUnlock ()
 Acquire an object of this class if you want to assure that the FaceDbAccess is not held during the lifetime of the object.
 
 FaceDbAccessUnlock (FaceDbAccess *const access)
 

Constructor & Destructor Documentation

◆ FaceDbAccessUnlock()

Digikam::FaceDbAccessUnlock::FaceDbAccessUnlock ( )

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 FaceDbAccess.