Check every now and then that a certain file has not changed.
More...
List of all members.
Public Member Functions |
virtual | ~FileWatchdog () |
void | setDelay (long delay1) |
| Set the delay to observe between each check of the file changes.
|
void | start () |
Static Public Attributes |
static long | DEFAULT_DELAY |
| The default delay between every file modification check, set to 60 seconds.
|
Detailed Description
Check every now and then that a certain file has not changed.
If it has, then call the doOnChange method.
Constructor & Destructor Documentation
Member Function Documentation
void checkAndConfigure |
( |
| ) |
|
|
protected |
virtual void doOnChange |
( |
| ) |
|
|
protectedpure virtual |
void setDelay |
( |
long |
delay1 | ) |
|
|
inline |
Set the delay to observe between each check of the file changes.
Member Data Documentation
The default delay between every file modification check, set to 60 seconds.
The delay to observe between every check.
By default set DEFAULT_DELAY.
The name of the file to observe for changes.
volatile unsigned int interrupted |
|
protected |
The documentation for this class was generated from the following file: