Public Types | |
typedef void * | Handle |
Public Member Functions | |
CDirectoryChangeMonitor () | |
CDirectoryChangeMonitor (const CDirectoryChangeMonitor &rhs) | |
~CDirectoryChangeMonitor () override | |
CDirectoryChangeMonitor & | operator= (const CDirectoryChangeMonitor &rhs) |
void | SetThreadName (const Core::_tstring &threadName) const |
Sets the name of the worker thread as displayed in the Visual Studio debugger to the supplied name. By default the constructor sets the name of the thread to "DirectoryChangeMonitor". | |
Handle | AddWatch (const Core::_tstring &directoryName, DWORD notifyFilter, Callback &callback, DWORD userData) |
void | RemoveWatch (Handle handle) |
void | BeginShutdown () |
void | WaitForShutdownToComplete () |
Static Public Attributes | |
static JETBYTE_CONSTEXPR Handle | InvalidHandleValue = nullptr |
Classes | |
class | Callback |
typedef void* Handle |
CDirectoryChangeMonitor | ( | const CDirectoryChangeMonitor & | rhs | ) |
~CDirectoryChangeMonitor | ( | ) | [override] |
CDirectoryChangeMonitor& operator= | ( | const CDirectoryChangeMonitor & | rhs | ) |
void SetThreadName | ( | const Core::_tstring & | threadName | ) | const |
Sets the name of the worker thread as displayed in the Visual Studio debugger to the supplied name. By default the constructor sets the name of the thread to "DirectoryChangeMonitor".
Handle AddWatch | ( | const Core::_tstring & | directoryName, | |
DWORD | notifyFilter, | |||
Callback & | callback, | |||
DWORD | userData | |||
) |
void RemoveWatch | ( | Handle | handle | ) |
void BeginShutdown | ( | ) |
void WaitForShutdownToComplete | ( | ) |
JETBYTE_CONSTEXPR Handle InvalidHandleValue = nullptr [static] |