28 #ifndef TABLES_TABLELOCK_H
29 #define TABLES_TABLELOCK_H
static Bool lockingDisabled()
Is table locking disabled (because AIPS_TABLE_NOLOCKING was set)?
The same as above, but the table constructor waits until the lock gets available. ...
LockOption
Define the possible table locking options.
The table is permanently locked.
Bool readLocking() const
Is read locking needed?
LockOption option() const
Get the locking option.
TableLock & operator=(const TableLock &that)
Assignment.
double interval() const
Get the inspection interval.
The user is taking care of locking the table by means of the Table functions lock and unlock...
The system takes care of acquiring/releasing locks.
bool Bool
Define the standard types used by Casacore.
void init()
Set itsOption and itsReadLocking when needed.
Class to hold table lock options.
This is the default locking option.
uInt maxWait() const
Get the maximum wait period in AutoLocking mode.
void merge(const TableLock &that)
Merge that TableLock with this TableLock object by taking the maximum option and minimum inspection i...
The system takes care of acquiring/releasing locks.
Do not do any locking at all.
The user is taking care of locking the table by means of the Table functions lock and unlock...
Bool isPermanent() const
Is permanent locking used?
TableLock(LockOption option=DefaultLocking)
Construct with given option and interval.
Bool itsIsDefaultInterval
#define casacore
<X11/Intrinsic.h> #defines true, false, casacore::Bool, and String.