Home

Dokumentation

Impressum

Dokumentation VDR
 

Main Page   Class Hierarchy   Alphabetical List   Data Structures   File List   Data Fields   Globals  

cLockFile Class Reference

#include <tools.h>


Detailed Description

File handling (lock).

Definition at line 133 of file tools.h.

Public Methods

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

Private Attributes

char * fileName
int f


Constructor & Destructor Documentation

cLockFile::cLockFile const char *    Directory
 

Definition at line 701 of file tools.c.

References DirectoryOk(), f, and fileName.

cLockFile::~cLockFile  
 

Definition at line 709 of file tools.c.

References Unlock().


Member Function Documentation

bool cLockFile::Lock int    WaitSeconds = 0
 

Definition at line 715 of file tools.c.

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

Referenced by AssertFreeDiskSpace(), and RemoveDeletedRecordings().

void cLockFile::Unlock void   
 

Definition at line 751 of file tools.c.

References f.

Referenced by ~cLockFile().


Field Documentation

int cLockFile::f [private]
 

Definition at line 136 of file tools.h.

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

char* cLockFile::fileName [private]
 

Definition at line 135 of file tools.h.

Referenced by cLockFile(), and Lock().


The documentation for this class was generated from the following files:
Generated on Wed Feb 5 23:31:19 2003 for VDR by doxygen1.3-rc2