26#ifndef LATTICES_LATTICELOCKER_H
27#define LATTICES_LATTICELOCKER_H
30#include <casacore/casa/aips.h>
31#include <casacore/lattices/Lattices/LatticeBase.h>
32#include <casacore/tables/Tables/TableLock.h>
LockType
Define the possible lock types.
~LatticeLocker()
If the constructor acquired the lock, the destructor releases the lock and flushes the data if change...
LatticeLocker(LatticeBase &lattice, FileLocker::LockType, uInt nattempts=0)
The constructor acquires a read or write lock on a lattice.
LatticeLocker & operator=(const LatticeLocker &)
LatticeLocker(const LatticeLocker &)
The copy constructor and assignment are not possible.
LatticeBase * itsLatticePtr
Bool hasLock(FileLocker::LockType) const
Has this process the read or write lock, thus can the table be read or written safely?
For temporary backward namespace compatibility, use casa as alias for casacore.
bool Bool
Define the standard types used by Casacore.