vdr  1.7.27
Public Member Functions | Private Attributes
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)
 cLockFile (const char *Directory)
 ~cLockFile ()
bool Lock (int WaitSeconds=0)
void Unlock (void)

Private Attributes

char * fileName
int f

Detailed Description

Definition at line 404 of file include/vdr/tools.h.


Constructor & Destructor Documentation

cLockFile::cLockFile ( const char *  Directory)

Definition at line 1757 of file tools.c.

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

Definition at line 1765 of file tools.c.

References fileName, and Unlock().

cLockFile::cLockFile ( const char *  Directory)

Member Function Documentation

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

Definition at line 1807 of file tools.c.

References f, and fileName.

Referenced by ~cLockFile().


Member Data Documentation

int cLockFile::f [private]

Definition at line 407 of file include/vdr/tools.h.

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

char * cLockFile::fileName [private]

Definition at line 406 of file include/vdr/tools.h.

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


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