vdr  2.0.6
Public Member Functions | Private Attributes | List of all members
cLockFile Class Reference

#include <tools.h>

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

Constructor & Destructor Documentation

cLockFile::cLockFile ( const char *  Directory)

Definition at line 1829 of file tools.c.

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

cLockFile::~cLockFile ( )

Definition at line 1837 of file tools.c.

References fileName, and Unlock().

Member Function Documentation

bool cLockFile::Lock ( int  WaitSeconds = 0)
void cLockFile::Unlock ( void  )

Definition at line 1879 of file tools.c.

References f, and fileName.

Referenced by ~cLockFile().

Member Data Documentation

int cLockFile::f
private

Definition at line 436 of file tools.h.

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

char* cLockFile::fileName
private

Definition at line 435 of file tools.h.

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


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