digiKam
Digikam::FileReadWriteLockKey Class Reference

Public Member Functions

 FileReadWriteLockKey (const QString &filePath)
 
void lockForRead ()
 
void lockForWrite ()
 
bool tryLockForRead ()
 
bool tryLockForRead (int timeout)
 
bool tryLockForWrite ()
 
bool tryLockForWrite (int timeout)
 
void unlock ()
 
 ~FileReadWriteLockKey ()
 

Constructor & Destructor Documentation

◆ FileReadWriteLockKey()

Digikam::FileReadWriteLockKey::FileReadWriteLockKey ( const QString &  filePath)
explicit

◆ ~FileReadWriteLockKey()

Digikam::FileReadWriteLockKey::~FileReadWriteLockKey ( )

Member Function Documentation

◆ lockForRead()

void Digikam::FileReadWriteLockKey::lockForRead ( )

◆ lockForWrite()

void Digikam::FileReadWriteLockKey::lockForWrite ( )

◆ tryLockForRead() [1/2]

bool Digikam::FileReadWriteLockKey::tryLockForRead ( )

◆ tryLockForRead() [2/2]

bool Digikam::FileReadWriteLockKey::tryLockForRead ( int  timeout)

◆ tryLockForWrite() [1/2]

bool Digikam::FileReadWriteLockKey::tryLockForWrite ( )

◆ tryLockForWrite() [2/2]

bool Digikam::FileReadWriteLockKey::tryLockForWrite ( int  timeout)

◆ unlock()

void Digikam::FileReadWriteLockKey::unlock ( )

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