26#ifndef LATTICES_LATTICELOCKER_H
27#define LATTICES_LATTICELOCKER_H
31#include <casacore/casa/aips.h>
32#include <casacore/lattices/Lattices/LatticeBase.h>
33#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 & 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?
this file contains all the compiler specific defines
bool Bool
Define the standard types used by Casacore.