#include <TGLLockable.h>
Inheritance diagram for TGLLockable:
Public Types | |
enum | ELock |
enum | ELock |
Public Member Functions | |
TGLLockable () | |
virtual | ~TGLLockable () |
virtual const char * | LockIdStr () const |
Bool_t | TakeLock (ELock lock) const |
Bool_t | ReleaseLock (ELock lock) const |
Bool_t | IsLocked () const |
ELock | CurrentLock () const |
Bool_t | IsDrawOrSelectLock () const |
ClassDef (TGLLockable, 0) | |
TGLLockable () | |
virtual | ~TGLLockable () |
virtual const char * | LockIdStr () const |
Bool_t | TakeLock (ELock lock) const |
Bool_t | ReleaseLock (ELock lock) const |
Bool_t | IsLocked () const |
ELock | CurrentLock () const |
Bool_t | IsDrawOrSelectLock () const |
ClassDef (TGLLockable, 0) | |
Static Public Member Functions | |
static const char * | LockName (ELock lock) |
static Bool_t | LockValid (ELock lock) |
static const char * | LockName (ELock lock) |
static Bool_t | LockValid (ELock lock) |
Protected Attributes | |
ELock | fLock |
Private Member Functions | |
TGLLockable (const TGLLockable &) | |
TGLLockable & | operator= (const TGLLockable &) |
TGLLockable (const TGLLockable &) | |
TGLLockable & | operator= (const TGLLockable &) |
Classes | |
class | TUnlocker |
Definition at line 17 of file TGLLockable.h.
enum TGLLockable::ELock |
Definition at line 20 of file TGLLockable.h.
enum TGLLockable::ELock |
Definition at line 20 of file TGLLockable.h.
TGLLockable::TGLLockable | ( | const TGLLockable & | ) | [private] |
TGLLockable::TGLLockable | ( | ) |
Definition at line 23 of file TGLLockable.cxx.
virtual TGLLockable::~TGLLockable | ( | ) | [inline, virtual] |
Definition at line 54 of file TGLLockable.h.
TGLLockable::TGLLockable | ( | const TGLLockable & | ) | [private] |
TGLLockable::TGLLockable | ( | ) |
virtual TGLLockable::~TGLLockable | ( | ) | [inline, virtual] |
Definition at line 54 of file TGLLockable.h.
TGLLockable& TGLLockable::operator= | ( | const TGLLockable & | ) | [private] |
virtual const char* TGLLockable::LockIdStr | ( | ) | const [inline, virtual] |
Definition at line 30 of file TGLLockable.cxx.
References Error, fLock, gDebug, Info, kFALSE, kTRUE, kUnlocked, LockIdStr(), LockName(), and LockValid().
Referenced by TGLScene::BeginUpdate(), TGLViewer::DoDraw(), TGLViewer::RequestDraw(), TGLViewer::RequestOverlaySelect(), TGLViewer::RequestSecondarySelect(), TGLViewer::RequestSelect(), TGLViewer::SavePictureUsingBB(), TGLViewer::SavePictureUsingFBO(), and TGLScene::~TGLScene().
Definition at line 49 of file TGLLockable.cxx.
References Error, fLock, gDebug, Info, kFALSE, kTRUE, kUnlocked, LockIdStr(), LockName(), and LockValid().
Referenced by TGLViewer::DoDraw(), TGLViewer::DoOverlaySelect(), TGLViewer::DoSecondarySelect(), TGLViewer::DoSelect(), TGLScene::EndUpdate(), TGLScene::~TGLScene(), and TGLLockable::TUnlocker::~TUnlocker().
Bool_t TGLLockable::IsLocked | ( | ) | const [inline] |
Definition at line 60 of file TGLLockable.h.
References fLock, and kUnlocked.
Referenced by TGLEventHandler::HandleButton(), TGLEventHandler::HandleConfigureNotify(), TGLEventHandler::HandleDoubleClick(), TGLEventHandler::HandleExpose(), TGLEventHandler::HandleKey(), TGLEventHandler::HandleMotion(), TGLEventHandler::Repaint(), TGLViewer::SetCurrentCamera(), TGLViewer::SetupCameras(), and TGLLockable::TUnlocker::~TUnlocker().
ELock TGLLockable::CurrentLock | ( | ) | const [inline] |
Definition at line 61 of file TGLLockable.h.
References fLock.
Referenced by TGLScenePad::AddObject(), TGLScenePad::BuildingScene(), TGLViewer::DoDraw(), TGLViewer::DoOverlaySelect(), TGLViewer::DoSecondarySelect(), TGLViewer::DoSelect(), TGLEventHandler::HandleButton(), TGLEventHandler::HandleConfigureNotify(), TGLEventHandler::HandleDoubleClick(), TGLEventHandler::HandleExpose(), TGLEventHandler::HandleKey(), TGLEventHandler::HandleMotion(), TGLEventHandler::Repaint(), TGLViewer::SetCurrentCamera(), TGLViewer::SetupCameras(), TGLViewer::SwapBuffers(), and TGLLockable::TUnlocker::~TUnlocker().
Bool_t TGLLockable::IsDrawOrSelectLock | ( | ) | const [inline] |
Definition at line 63 of file TGLLockable.h.
References fLock, kDrawLock, and kSelectLock.
Referenced by TGLSceneBase::PreDraw(), and TGLViewer::SwapBuffers().
const char * TGLLockable::LockName | ( | ELock | lock | ) | [static] |
Definition at line 68 of file TGLLockable.cxx.
References kModifyLock, and names.
Referenced by TGLViewer::DoDraw(), TGLViewer::DoOverlaySelect(), TGLViewer::DoSecondarySelect(), TGLViewer::DoSelect(), G__G__GL_458_0_10(), G__setup_memfuncTGLLockable(), TGLEventHandler::HandleButton(), TGLEventHandler::HandleConfigureNotify(), TGLEventHandler::HandleDoubleClick(), TGLEventHandler::HandleExpose(), TGLEventHandler::HandleKey(), TGLEventHandler::HandleMotion(), ReleaseLock(), TGLEventHandler::Repaint(), TGLViewer::SetCurrentCamera(), TGLViewer::SetupCameras(), TGLViewer::SwapBuffers(), and TakeLock().
Definition at line 83 of file TGLLockable.cxx.
References kDrawLock, kFALSE, kModifyLock, kSelectLock, and kTRUE.
Referenced by G__G__GL_458_0_11(), G__setup_memfuncTGLLockable(), ReleaseLock(), and TakeLock().
TGLLockable::ClassDef | ( | TGLLockable | , | |
0 | ||||
) |
TGLLockable& TGLLockable::operator= | ( | const TGLLockable & | ) | [private] |
virtual const char* TGLLockable::LockIdStr | ( | ) | const [inline, virtual] |
Definition at line 56 of file TGLLockable.h.
Bool_t TGLLockable::IsLocked | ( | ) | const [inline] |
ELock TGLLockable::CurrentLock | ( | ) | const [inline] |
Bool_t TGLLockable::IsDrawOrSelectLock | ( | ) | const [inline] |
static const char* TGLLockable::LockName | ( | ELock | lock | ) | [static] |
TGLLockable::ClassDef | ( | TGLLockable | , | |
0 | ||||
) |
ELock TGLLockable::fLock [mutable, protected] |
Definition at line 32 of file TGLLockable.h.
Referenced by TGLScene::AdoptLogical(), TGLScene::AdoptPhysical(), CurrentLock(), TGLScene::DestroyLogical(), TGLScene::DestroyLogicals(), TGLScene::DestroyPhysical(), TGLScene::DestroyPhysicals(), IsDrawOrSelectLock(), IsLocked(), ReleaseLock(), TakeLock(), TGLScene::UpdateLogical(), TGLScene::UpdatePhysical(), and TGLScene::UpdatePhysioLogical().