IDirectoryWatcher

The public interface for the directory watcher singleton.

Unreal Engine C++ API Reference > 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
  ~IDirectoryWatcher () 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, const FDirectoryChanged& InDelegat..., FDelegateHandle& OutHandle, uint32 Flags ) 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, FDelegateHandle InHandle ) Unregisters a callback to fire when directories are changed

Enums

Type Name Description
Public enum WatchOptions Options for a single watch (can be combined)

Typedefs

Name Description
FDirectoryChanged A delegate to report directory changes

Ask questions and help your peers Developer Forums

Write your own tutorials or read those from others Learning Library