cLockFile Class Reference

#include <tools.h>

List of all members.

Public Member Functions

 cLockFile (const char *Directory)
 ~cLockFile ()
bool Lock (int WaitSeconds=0)
void Unlock (void)

Private Attributes

char * fileName
int f


Detailed Description

Definition at line 268 of file tools.h.


Constructor & Destructor Documentation

cLockFile::cLockFile ( const char *  Directory  ) 

Definition at line 1252 of file tools.c.

References DirectoryOk(), f, fileName, and LOCKFILENAME.

Here is the call graph for this function:

cLockFile::~cLockFile (  ) 

Definition at line 1260 of file tools.c.

References fileName, and Unlock().

Here is the call graph for this function:


Member Function Documentation

bool cLockFile::Lock ( int  WaitSeconds = 0  ) 

Definition at line 1266 of file tools.c.

References esyslog, f, fileName, LOCKFILESTALETIME, and LOG_ERROR_STR.

Referenced by cRemoveDeletedRecordingsThread::Action(), and AssertFreeDiskSpace().

void cLockFile::Unlock ( void   ) 

Definition at line 1302 of file tools.c.

References f, and fileName.

Referenced by ~cLockFile().


Member Data Documentation

char* cLockFile::fileName [private]

Definition at line 270 of file tools.h.

Referenced by cLockFile(), Lock(), Unlock(), and ~cLockFile().

int cLockFile::f [private]

Definition at line 271 of file tools.h.

Referenced by cLockFile(), Lock(), and Unlock().


The documentation for this class was generated from the following files:
Generated on Tue Nov 6 20:13:32 2007 for VDR by  doxygen 1.5.3-20071008