digiKam
Digikam::FaceDbAccessUnlock Class Reference

Public Member Functions

 FaceDbAccessUnlock ()
 
 FaceDbAccessUnlock (FaceDbAccess *const access)
 
 ~FaceDbAccessUnlock ()
 

Constructor & Destructor Documentation

◆ FaceDbAccessUnlock() [1/2]

Digikam::FaceDbAccessUnlock::FaceDbAccessUnlock ( )

Acquire an object of this class if you want to assure that the FaceDbAccess 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 FaceDbAccess.

◆ FaceDbAccessUnlock() [2/2]

Digikam::FaceDbAccessUnlock::FaceDbAccessUnlock ( FaceDbAccess *const  access)
explicit

◆ ~FaceDbAccessUnlock()

Digikam::FaceDbAccessUnlock::~FaceDbAccessUnlock ( )

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