28 #ifndef LATTICES_LATTICELOCKER_H
29 #define LATTICES_LATTICELOCKER_H
Bool hasLock(FileLocker::LockType) const
Has this process the read or write lock, thus can the table be read or written safely?
virtual Bool hasLock(FileLocker::LockType) const
Class to hold a (user) lock on a lattice.
LatticeBase * itsLatticePtr
A non-templated, abstract base class for array-like objects.
LatticeLocker(LatticeBase &lattice, FileLocker::LockType, uInt nattempts=0)
The constructor acquires a read or write lock on a lattice.
~LatticeLocker()
If the constructor acquired the lock, the destructor releases the lock and flushes the data if change...
LatticeLocker & operator=(const LatticeLocker &)
bool Bool
Define the standard types used by Casacore.
LockType
Define the possible lock types.