TGLLockable Simple locking interface used by viewer and scene.
TGLLockable() | |
virtual | ~TGLLockable() |
static TClass* | Class() |
TGLLockable::ELock | CurrentLock() const |
virtual TClass* | IsA() const |
Bool_t | IsDrawOrSelectLock() const |
Bool_t | IsLocked() const |
virtual const char* | LockIdStr() const |
static const char* | LockName(TGLLockable::ELock lock) |
static Bool_t | LockValid(TGLLockable::ELock lock) |
Bool_t | ReleaseLock(TGLLockable::ELock lock) const |
virtual void | ShowMembers(TMemberInspector& insp) |
virtual void | Streamer(TBuffer& b) |
void | StreamerNVirtual(TBuffer& b) |
Bool_t | TakeLock(TGLLockable::ELock lock) const |
TGLLockable(const TGLLockable&) | |
TGLLockable& | operator=(const TGLLockable&) |
TGLLockable::ELock | fLock | Lock state. |
Lock the object in mode 'lock'. Return TRUE if successful, FALSE if the object is already locked.
Release current lock, make sure it the same as the 'lock' argument. Returns TRUE on success, FALSE on failure.
Test if lock is a valid type to take/release. kUnlocked is never valid in these cases.