TLockFile Class Reference

#include <TLockFile.h>

Inheritance diagram for TLockFile:

TObject TObject List of all members.

Public Member Functions

 TLockFile (const char *path, Int_t timeLimit=0)
virtual ~TLockFile ()
 TLockFile (const char *path, Int_t timeLimit=0)
virtual ~TLockFile ()

Protected Member Functions

Bool_t Lock (const char *path, Int_t timeLimit)
Bool_t Lock (const char *path, Int_t timeLimit)

Protected Attributes

TString fPath

Private Member Functions

 TLockFile (const TLockFile &)
TLockFileoperator= (const TLockFile &)
 TLockFile (const TLockFile &)
TLockFileoperator= (const TLockFile &)

Detailed Description

Definition at line 39 of file TLockFile.h.


Constructor & Destructor Documentation

TLockFile::TLockFile ( const TLockFile  )  [private]

TLockFile::TLockFile ( const char *  path,
Int_t  timeLimit = 0 
)

TLockFile::~TLockFile (  )  [virtual]

Definition at line 53 of file TLockFile.cxx.

References TString::Data(), fPath, gDebug, gSystem, TObject::Info(), and TSystem::Unlink().

TLockFile::TLockFile ( const TLockFile  )  [private]

TLockFile::TLockFile ( const char *  path,
Int_t  timeLimit = 0 
)

virtual TLockFile::~TLockFile (  )  [virtual]


Member Function Documentation

TLockFile& TLockFile::operator= ( const TLockFile  )  [private]

Bool_t TLockFile::Lock ( const char *  path,
Int_t  timeLimit 
) [protected]

Definition at line 64 of file TLockFile.cxx.

References TSystem::Chmod(), TFile::Close(), gDebug, TSystem::GetPathInfo(), gSystem, TObject::Info(), kFALSE, kTRUE, TFile::Open(), and TSystem::Unlink().

TLockFile& TLockFile::operator= ( const TLockFile  )  [private]

Bool_t TLockFile::Lock ( const char *  path,
Int_t  timeLimit 
) [protected]


Member Data Documentation

TString TLockFile::fPath [protected]

Definition at line 46 of file TLockFile.h.

Referenced by ~TLockFile().


The documentation for this class was generated from the following files:
Generated on Tue Jul 5 16:42:18 2011 for ROOT_528-00b_version by  doxygen 1.5.1