36 Info(
"TGLLockable::TakeLock",
"'%s' took %s",
41 Error(
"TGLLockable::TakeLock",
"'%s' unable to take %s, already %s",
55 Info(
"TGLLockable::ReleaseLock",
"'%s' released %s",
60 Error(
"TGLLockable::ReleaseLock",
"'%s' unable to release %s, is %s",
70 static const char* names[] =
71 {
"Unlocked",
"DrawLock",
"SelectLock",
"ModifyLock" };
76 return "<unknown-lock>";
bool Bool_t
Boolean (0=false, 1=true) (bool).
Error("WriteTObject","The current directory (%s) is not associated with a file. The object (%s) has not been written.", GetName(), objname)
void Info(const char *location, const char *msgfmt,...)
Use this function for informational messages.
Bool_t TakeLock(ELock lock) const
Lock the object in mode 'lock'.
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.