vdr  1.7.31
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)
 cLockFile (const char *Directory)
 ~cLockFile ()
bool Lock (int WaitSeconds=0)
void Unlock (void)

Private Attributes

char * fileName
int f

Detailed Description

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

Constructor & Destructor Documentation

cLockFile::cLockFile ( const char *  Directory)

Definition at line 1794 of file tools.c.

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

cLockFile::~cLockFile ( )

Definition at line 1802 of file tools.c.

References fileName, and Unlock().

cLockFile::cLockFile ( const char *  Directory)
cLockFile::~cLockFile ( )

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 1844 of file tools.c.

References f, and fileName.

Referenced by ~cLockFile().

Member Data Documentation

int cLockFile::f
private

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

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

char * cLockFile::fileName
private

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

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


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