Navigation
API > API/Developer > API/Developer/DirectoryWatcher
A time limit that counts down from the time of construction, until it hits a given delay
| Name | FTimeLimit |
| Type | struct |
| Header File | /Engine/Source/Developer/DirectoryWatcher/Public/FileCacheUtilities.h |
| Include Path | #include "FileCacheUtilities.h" |
Syntax
struct FTimeLimit
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FTimeLimit () |
Constructor specifying that we should never bail out early | FileCacheUtilities.h | |
FTimeLimit
(
float NumSeconds |
Constructor specifying not to run over the specified number of seconds | FileCacheUtilities.h |
Variables
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| Delay | float | The delay specified by the user | FileCacheUtilities.h | |
| StartTime | double | The time we started | FileCacheUtilities.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
bool Exceeded() |
Check whether we have exceeded the time limit | FileCacheUtilities.h | |
bool IsValid() |
Return true if this time limit has been set up, false otherwise | FileCacheUtilities.h | |
void Reset() |
Reset the time limit to start timing again from the current time | FileCacheUtilities.h |