28 #ifndef LATTICES_LATTICELOCKER_H
29 #define LATTICES_LATTICELOCKER_H
33 #include <casacore/casa/aips.h>
34 #include <casacore/lattices/Lattices/LatticeBase.h>
35 #include <casacore/tables/Tables/TableLock.h>
LockType
Define the possible lock types.
virtual Bool hasLock(FileLocker::LockType) const
~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(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?
LatticeLocker & operator=(const LatticeLocker &)
this file contains all the compiler specific defines
bool Bool
Define the standard types used by Casacore.