#include <Directory.h>
Listener for directory change
DirectoryListener::DirectoryListener |
( |
const Directory & |
dir, |
|
|
bool |
all = false |
|
) |
| |
Create a listener on a directory
- Parameters
-
dir | directory pah |
all | event (not implemented) |
DirectoryListener::~DirectoryListener |
( |
| ) |
|
void DirectoryListener::abort |
( |
| ) |
|
Abort any waiting statement
bool DirectoryListener::is_ok |
( |
| ) |
|
- Returns
- true if listener is ready
bool DirectoryListener::wait |
( |
TimePeriod |
timeout | ) |
|
Wait until something happens in the directory
- Parameters
-
- Returns
- false on timeout
The documentation for this class was generated from the following files: