FTimeLimit

A time limit that counts down from the time of construction, until it hits a given delay

Unreal Engine C++ API Reference > Developer > DirectoryWatcher

References

   
Module DirectoryWatcher
Header /Engine/Source/Developer/DirectoryWatcher/Public/FileCacheUtilities.h
Include #include "FileCacheUtilities.h"

Syntax

struct FTimeLimit  

Remarks

A time limit that counts down from the time of construction, until it hits a given delay

Constructors

Type Name Description
  FTimeLimit () Constructor specifying that we should never bail out early
  FTimeLimit ( float NumSeconds ) Constructor specifying not to run over the specified number of seconds

Functions

Type Name Description
bool Exceeded () Check whether we have exceeded the time limit
bool IsValid () Return true if this time limit has been set up, false otherwise
void Reset () Reset the time limit to start timing again from the current time

Ask questions and help your peers Developer Forums

Write your own tutorials or read those from others Learning Library