LockRootGuard Struct Reference

#include <RootLock.h>

Collaboration diagram for LockRootGuard:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 LockRootGuard ()
 ~LockRootGuard ()
void Unlock ()

Public Attributes

bool fLocked

Detailed Description

Definition at line 17 of file RootLock.h.


Constructor & Destructor Documentation

LockRootGuard::LockRootGuard (  ) 

Definition at line 40 of file RootLock.cxx.

References fLocked, and LockRoot().

00041 {
00042   fLocked = true;
00043   LockRoot();
00044 }

Here is the call graph for this function:

LockRootGuard::~LockRootGuard (  ) 

Definition at line 46 of file RootLock.cxx.

References fLocked, and Unlock().

00047 {
00048   if (fLocked)
00049     Unlock();
00050 }

Here is the call graph for this function:


Member Function Documentation

void LockRootGuard::Unlock (  ) 

Definition at line 52 of file RootLock.cxx.

References fLocked, and UnlockRoot().

Referenced by root_server_thread(), and ~LockRootGuard().

00053 {
00054   UnlockRoot();
00055   fLocked = false;
00056 }

Here is the call graph for this function:

Here is the caller graph for this function:


Member Data Documentation

Definition at line 19 of file RootLock.h.

Referenced by LockRootGuard(), Unlock(), and ~LockRootGuard().


The documentation for this struct was generated from the following files:

Generated on 12 Feb 2016 for ROOT Analyzer by  doxygen 1.6.1