12 #ifndef ROOT_TGLLockable_H 13 #define ROOT_TGLLockable_H 56 virtual const char*
LockIdStr()
const {
return "<unknown>"; }
TGLLockable & operator=(const TGLLockable &)
Bool_t ReleaseLock(ELock lock) const
Release current lock, make sure it the same as the 'lock' argument.
const TGLLockable * fLockable
TUnlocker(const TGLLockable *l)
TUnlocker & operator=(const TUnlocker &)
static Bool_t LockValid(ELock lock)
Test if lock is a valid type to take/release.
#define ClassDef(name, id)
virtual const char * LockIdStr() const
Bool_t IsDrawOrSelectLock() const
ELock CurrentLock() const
static const char * LockName(ELock lock)
Return name-string for given lock-type.
TUnlocker(const TUnlocker &)
Bool_t TakeLock(ELock lock) const
Lock the object in mode 'lock'.
Simple locking interface used by viewer and scene.