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()
◆ FileWatchdog()
◆ checkAndConfigure()
void checkAndConfigure |
( |
| ) |
|
|
protected |
◆ doOnChange()
virtual void doOnChange |
( |
| ) |
|
|
protectedpure virtual |
◆ setDelay()
void setDelay |
( |
long |
delay1 | ) |
|
|
inline |
Set the delay to observe between each check of the file changes.
◆ start()
◆ DEFAULT_DELAY
The default delay between every file modification check, set to 60 seconds.
◆ delay
The delay to observe between every check.
By default set DEFAULT_DELAY.
◆ file
The name of the file to observe for changes.
◆ interrupted
volatile unsigned int interrupted |
|
protected |
◆ lastModif
◆ warnedAlready
The documentation for this class was generated from the following file: