#include <FileSystemWatcher.h>
List of all members.
Detailed Description
This class watches a file system and generates call backs. The call backs are posted using a communication pipe
Constructor & Destructor Documentation
| TFileSystemWatcher::TFileSystemWatcher |
( |
const IString & |
rPath, |
|
|
bool |
bIncludeSubTree = true |
|
) |
| |
Creates a file system watcher
- Parameters:
-
| rPath | : Name of the directory |
| bIncludeSubTree | : flag if the watcher also watches the sub structure |
| TFileSystemWatcher::~TFileSystemWatcher |
( |
) |
[protected, virtual] |
Destroys the file system watcher
Member Function Documentation
| virtual void MQUALIFIER zeus::TFileSystemWatcher::addRef |
( |
) |
const [virtual] |
| virtual Retval MQUALIFIER zeus::TFileSystemWatcher::askForInterface |
( |
const InterfaceID & |
rInterfaceID, |
|
|
IZUnknown *& |
rpIface |
|
) |
| [virtual] |
| Retval MQUALIFIER TFileSystemWatcher::attach |
( |
IObserver & |
rObserver ) |
[virtual] |
| Retval MQUALIFIER TFileSystemWatcher::detach |
( |
IObserver & |
rObserver ) |
[virtual] |
| void MQUALIFIER TFileSystemWatcher::execute |
( |
) |
[protected, virtual] |
| TString zeus::TFileSystemWatcher::getWatchedPath |
( |
) |
const [inline] |
Returns the path of the file system watcher
| bool zeus::TFileSystemWatcher::isStarted |
( |
) |
const [inline] |
Checks if the watcher has been started
| void TFileSystemWatcher::onFileChanged |
( |
const IString & |
rFileName ) |
[protected, virtual] |
Callback if a file has been changed
- Parameters:
-
| rFileName | : Name of the file |
| void TFileSystemWatcher::onFileCreated |
( |
const IString & |
rFileName ) |
[protected, virtual] |
Callback if a file has been created
- Parameters:
-
| rFileName | : Name of the file |
| void TFileSystemWatcher::onFileRemoved |
( |
const IString & |
rFileName ) |
[protected, virtual] |
Callback if a file has been deleted
- Parameters:
-
| rFileName | : Name of the file |
| void TFileSystemWatcher::onFileRenamed |
( |
const IString & |
rOldFileName, |
|
|
const IString & |
rNewFileName |
|
) |
| [protected, virtual] |
Callback if a file has been renamed
- Parameters:
-
| rOldFileName | : old file name |
| rNewFileName | : new file name |
| void TFileSystemWatcher::onUnknownAction |
( |
const IString & |
rFileName ) |
[protected, virtual] |
Unknown action on file
- Parameters:
-
| rFileName | : Name of the file |
| virtual void MQUALIFIER zeus::TFileSystemWatcher::release |
( |
) |
const [virtual] |
| void TFileSystemWatcher::reset |
( |
) |
|
Resets the file system watcher. All files are posted to the observers
| void TFileSystemWatcher::start |
( |
) |
|
Starts the file watching process
| void TFileSystemWatcher::stop |
( |
) |
|
Stopps the file watching process
The documentation for this class was generated from the following files: