IDirectoryWatcher

The public interface for the directory watcher singleton.

Windows
MacOS
Linux

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

Name Description

Public function Virtual

~IDirectoryWatcher()

Virtual destructor

Functions

Name Description

Public function

bool

 

RegisterDirectoryChangedCallback_Handle

(
    const FString& Directory,
    const FDirectoryChanged& InDelegat...,
    FDelegateHandle& OutHandle,
    uint32 Flags
)

Register a callback to fire when directories are changed

Public function Virtual

void

 

Tick

(
    float DeltaSeconds
)

Allows for subclasses to be ticked (by editor or other programs that need to tick the singleton)

Public function

bool

 

UnregisterDirectoryChangedCallback_Handle

(
    const FString& Directory,
    FDelegateHandle InHandle
)

Unregisters a callback to fire when directories are changed

Enums

Name

Description

Public enum

WatchOptions

Options for a single watch (can be combined)

Typedefs

Name

Description

FDirectoryChanged

A delegate to report directory changes

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss