TDEABC::LockNull Class Reference
#include <locknull.h>
Inheritance diagram for TDEABC::LockNull:

Public Member Functions | |
LockNull (bool allowAccess) | |
bool | lock () |
bool | unlock () |
TQString | error () const |
![]() | |
Lock (const TQString &identifier) | |
~Lock () | |
virtual bool | lock () |
virtual bool | unlock () |
virtual TQString | error () const |
TQString | lockFileName () const |
Additional Inherited Members | |
![]() | |
void | locked () |
void | unlocked () |
![]() | |
static bool | readLockFile (const TQString &filename, int &pid, TQString &app) |
static bool | writeLockFile (const TQString &filename) |
static TQString | locksDir () |
Detailed Description
This class provides a lock without actually locking.
It can be constructed in two ways: One that let all locks succeed and one that let all locks fail.
Definition at line 34 of file locknull.h.
Constructor & Destructor Documentation
◆ LockNull()
LockNull::LockNull | ( | bool | allowAccess | ) |
Definition at line 29 of file locknull.cpp.
◆ ~LockNull()
LockNull::~LockNull | ( | ) |
Definition at line 34 of file locknull.cpp.
Member Function Documentation
◆ error()
|
virtual |
Reimplemented from TDEABC::Lock.
Definition at line 57 of file locknull.cpp.
◆ lock()
|
virtual |
◆ unlock()
|
virtual |
The documentation for this class was generated from the following files: