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