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