28 #ifndef TABLES_TABLELOCKER_H
29 #define TABLES_TABLELOCKER_H
TableLocker(Table &table, FileLocker::LockType=FileLocker::Write, uInt nattempts=0)
The constructor acquires a read or write lock on a table which is released by the destructor...
Main interface class to a read/write table.
~TableLocker()
If locked, the destructor releases the lock and flushes the data.
TableLocker & operator=(const TableLocker &)
bool Bool
Define the standard types used by Casacore.
Bool hasLock(FileLocker::LockType=FileLocker::Write) const
Has this process the read or write lock, thus can the table be read or written safely?
LockType
Define the possible lock types.
Class to hold a (user) lock on a table.
Bool hasLock(FileLocker::LockType=FileLocker::Write) const
Has this process the read or write lock, thus can the table be read or written safely?