|
| enum | Action { ADDED = 1,
MODIFIED = 2,
DELETED = 4,
EXISTING = 8
} |
| |
|
|
| DirectoryWatch (const std::string &dir, bool recurse=false) |
| |
|
void | addMonitor (DirectoryWatchMonitor *monitor) |
| |
|
std::map< std::string, struct stat > | getAllEntries () |
| |
|
void | removeMonitor (DirectoryWatchMonitor *monitor) |
| |
|
void | reportAsDeleted () |
| |
|
void | setLogger (Logger logger) |
| |
|
void | updateEntries (bool reportAsExisting=false) |
| |
|
|
| DirectoryWatch (const std::string &dir, const std::string &relDir) |
| |
|
|
std::string | _dir |
| |
|
std::map< std::string, DirectoryWatch * > | _knownDirs |
| |
|
std::map< std::string, struct stat > | _knownEntries |
| |
|
time_t | _lastChecked |
| |
|
Logger | _logger |
| |
|
std::set< DirectoryWatchMonitor * > | _monitors |
| |
|
bool | _recurse |
| |
|
std::string | _relDir |
| |
The documentation for this class was generated from the following files: