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 358 of file tools.h.


Constructor & Destructor Documentation

cLockFile::cLockFile ( const char *  Directory  ) 

Definition at line 1638 of file tools.c.

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

Here is the call graph for this function:

cLockFile::~cLockFile (  ) 

Definition at line 1646 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  ) 

void cLockFile::Unlock ( void   ) 

Definition at line 1688 of file tools.c.

References f, and fileName.

Referenced by ~cLockFile().


Member Data Documentation

char* cLockFile::fileName [private]

Definition at line 360 of file tools.h.

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

int cLockFile::f [private]

Definition at line 361 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 4 19:59:20 2008 for VDR by  doxygen 1.5.6