|
UnrealModFramework
Mod framework API
|
Nonblocking watch for direct children of one physical directory. More...
#include <ModDirectoryWatcher.h>
Public Member Functions | |
| FDirectoryWatcher () | |
| Constructs an inactive watch on the calling thread. | |
| ~FDirectoryWatcher () | |
| Releases the native watch and any pending notifications. | |
| bool | Start (const FString &Directory) |
| Starts a watch, replacing any previous registration. | |
| void | Stop () |
| Releases the active registration. | |
| FDirectoryChanges | ReadChanges () |
| Takes the available notifications without waiting. | |
| bool | IsActive () const |
| Checks whether the native registration is active. | |
Nonblocking watch for direct children of one physical directory.
| bool Mod::IO::FDirectoryWatcher::IsActive | ( | ) | const |
Checks whether the native registration is active.
| FDirectoryChanges Mod::IO::FDirectoryWatcher::ReadChanges | ( | ) |
Takes the available notifications without waiting.
| bool Mod::IO::FDirectoryWatcher::Start | ( | const FString & | Directory | ) |
Starts a watch, replacing any previous registration.
| Directory | Absolute path of an existing directory. |
Start, read, and stop from the same thread.