EPICS ARCHIVER V4
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Groups
Public Member Functions | List of all members
Lockfile Class Reference

Lock file. More...

#include <Lockfile.h>

Public Member Functions

 Lockfile (const char *filename, const char *program)
 Try to generate lock file. More...
 
 ~Lockfile ()
 Remove lockfile.
 

Detailed Description

Lock file.

Generate a lock file containing the generation time. Meant as a portable way to prevent multiple instances of a program to run, also gives evidence of a non-graceful exit.

Constructor & Destructor Documentation

Lockfile::Lockfile ( const char *  filename,
const char *  program 
)

Try to generate lock file.

Exceptions
GenericException

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