12 #ifndef ROOT_TGLLockable_H
13 #define ROOT_TGLLockable_H
56 virtual const char*
LockIdStr()
const {
return "<unknown>"; }
TGLLockable & operator=(const TGLLockable &)
const TGLLockable * fLockable
ELock CurrentLock() const
TUnlocker(const TGLLockable *l)
TUnlocker & operator=(const TUnlocker &)
static Bool_t LockValid(ELock lock)
Test if lock is a valid type to take/release.
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.
Bool_t IsDrawOrSelectLock() const
Bool_t TakeLock(ELock lock) const
Lock the object in mode 'lock'.
virtual const char * LockIdStr() const
TUnlocker(const TUnlocker &)
Simple locking interface used by viewer and scene.