vdr  2.2.0
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 443 of file tools.h.

Constructor & Destructor Documentation

cLockFile::cLockFile ( const char *  Directory)

Definition at line 1898 of file tools.c.

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

cLockFile::~cLockFile ( )

Definition at line 1906 of file tools.c.

Member Function Documentation

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

Definition at line 1948 of file tools.c.

Member Data Documentation

int cLockFile::f
private

Definition at line 446 of file tools.h.

char* cLockFile::fileName
private

Definition at line 445 of file tools.h.


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