Main Page | Class Hierarchy | Class List | File List | Class Members | File Members

OW32::CDirectoryWatchCallback Class Reference

Called when something interesting happens to a directory watch. More...

#include <DirectoryWatchCallback.h>

List of all members.

Public Member Functions

virtual void onChange (CDirectoryWatch &watch, FILE_NOTIFY_INFORMATION *changeInfo)
 Called for each change notification that is received.
virtual void onFailure (CDirectoryWatch &watch, DWORD error)
 Called when the directory watch fails (e.g.
virtual void onDeleted (CDirectoryWatch &watch)
 Called when a directory watch finishes (i.e.


Detailed Description

Called when something interesting happens to a directory watch.


Member Function Documentation

virtual void OW32::CDirectoryWatchCallback::onChange CDirectoryWatch watch,
FILE_NOTIFY_INFORMATION *  changeInfo
[inline, virtual]
 

Called for each change notification that is received.

Parameters:
watch The watch object that made the notification
changeInfo Information pertaining to the change

virtual void OW32::CDirectoryWatchCallback::onDeleted CDirectoryWatch watch  )  [inline, virtual]
 

Called when a directory watch finishes (i.e.

it will make no more notifications to the callback

virtual void OW32::CDirectoryWatchCallback::onFailure CDirectoryWatch watch,
DWORD  error
[inline, virtual]
 

Called when the directory watch fails (e.g.

due to the directory being deleted). This is _not_ called if the watch fails due to cancel() being called.

Parameters:
watch The watch object that made the notification
error The error code


The documentation for this class was generated from the following file:
Generated on Sun Jun 5 01:29:24 2005 for OW32 by  doxygen 1.3.9.1