Navigation
API > API/Developer > API/Developer/DirectoryWatcher
References
| Module | DirectoryWatcher |
| Header | /Engine/Source/Developer/DirectoryWatcher/Public/IDirectoryWatcher.h |
| Include | #include "IDirectoryWatcher.h" |
Syntax
class IDirectoryWatcher
Remarks
The public interface for the directory watcher singleton.
Destructors
| Type | Name | Description | |
|---|---|---|---|
| Virtual destructor |
Functions
| Type | Name | Description | |
|---|---|---|---|
| bool | DumpStats () |
Allows for subclasses to dump notify statistics (returns true if implemented) | |
| bool | RegisterDirectoryChangedCallback_Handle
(
const FString& Directory, |
Register a callback to fire when directories are changed | |
| void | Tick
(
float DeltaSeconds |
Allows for subclasses to be ticked (by editor or other programs that need to tick the singleton) | |
| bool | UnregisterDirectoryChangedCallback_Handle
(
const FString& Directory, |
Unregisters a callback to fire when directories are changed |
Enums
| Type | Name | Description | |
|---|---|---|---|
| WatchOptions | Options for a single watch (can be combined) |
Typedefs
| Name | Description |
|---|---|
| FDirectoryChanged | A delegate to report directory changes |