Check every now and then that a certain file has not changed.
More...
#include <filewatchdog.h>
|
| static long | DEFAULT_DELAY |
| | The default delay between every file modification check, set to 60 seconds. More...
|
| |
Check every now and then that a certain file has not changed.
If it has, then call the doOnChange method.
◆ ~FileWatchdog()
| virtual log4cxx::helpers::FileWatchdog::~FileWatchdog |
( |
| ) |
|
|
virtual |
◆ FileWatchdog()
| log4cxx::helpers::FileWatchdog::FileWatchdog |
( |
const File & |
filename | ) |
|
|
protected |
◆ checkAndConfigure()
| void log4cxx::helpers::FileWatchdog::checkAndConfigure |
( |
| ) |
|
|
protected |
◆ doOnChange()
| virtual void log4cxx::helpers::FileWatchdog::doOnChange |
( |
| ) |
|
|
protectedpure virtual |
◆ setDelay()
| void log4cxx::helpers::FileWatchdog::setDelay |
( |
long |
delay1 | ) |
|
|
inline |
Set the delay to observe between each check of the file changes.
◆ start()
| void log4cxx::helpers::FileWatchdog::start |
( |
| ) |
|
◆ DEFAULT_DELAY
| long log4cxx::helpers::FileWatchdog::DEFAULT_DELAY |
|
static |
The default delay between every file modification check, set to 60 seconds.
◆ delay
| long log4cxx::helpers::FileWatchdog::delay |
|
protected |
The delay to observe between every check.
By default set DEFAULT_DELAY.
◆ file
| File log4cxx::helpers::FileWatchdog::file |
|
protected |
The name of the file to observe for changes.
◆ interrupted
| volatile int log4cxx::helpers::FileWatchdog::interrupted |
|
protected |
◆ lastModif
| log4cxx_time_t log4cxx::helpers::FileWatchdog::lastModif |
|
protected |
◆ warnedAlready
| bool log4cxx::helpers::FileWatchdog::warnedAlready |
|
protected |
The documentation for this class was generated from the following file: