#include <Directory.h>
Listener for directory change
commore::DirectoryListener::DirectoryListener |
( |
const Directory & |
dir, |
|
|
bool |
all = false |
|
) |
| |
Create a listener on a directory
- Parameters
-
dir | directory pah |
all | event (not implemented) |
void commore::DirectoryListener::abort |
( |
| ) |
|
Abort any waiting statement
bool commore::DirectoryListener::is_ok |
( |
| ) |
|
- Returns
- true if listener is ready
bool commore::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 file: