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