Choose your operating system:
Windows
macOS
Linux
| FNoncopyable
|
Module |
|
Header |
/Engine/Source/Runtime/Engine/Public/TimerManager.h |
Include |
#include "TimerManager.h" |
class FTimerManager : public FNoncopyable
Class to globally manage timers.
Name | Description | |
---|---|---|
|
FTimerManager ( |
Timer API |
Name | Description | |
---|---|---|
|
~FTimerManager() |
Name | Description | ||
---|---|---|---|
|
ClearAllTimersForObject ( |
Clears all timers that are bound to functions on the given object. |
|
|
ClearTimer ( |
Clears a previously set timer, identical to calling SetTimer() with a <= 0.f rate. |
|
|
FTimerData &... |
FindTimer ( |
|
|
FTimerData c... |
FindTimer ( |
These should be private, but need to be protected so IMPLEMENT_GET_PROTECTED_FUNC works for testing. |
|
GenerateHandle ( |
This should be private, but needs to be public for testing. |
|
|
GetStatId() |
||
|
float |
GetTimerElapsed ( |
Gets the current elapsed time for the specified timer. |
|
float |
GetTimerRate ( |
Gets the current rate (time between activations) for the specified timer. |
|
float |
GetTimerRemaining ( |
Gets the time remaining before the specified timer is called |
|
HasBeenTickedThisFrame() |
||
|
IsTimerActive ( |
Returns true if the specified timer exists and is not paused |
|
|
IsTimerPaused ( |
Returns true if the specified timer exists and is paused |
|
|
IsTimerPending ( |
Returns true if the specified timer exists and is pending |
|
|
K2_FindDynamicTimerHandle ( |
Finds a handle to a timer bound to a particular dynamic delegate. |
|
|
ListTimers() |
Debug command to output info on all timers currently set to the log. |
|
|
OnCrash() |
Called from crash handler to provide more debug information. |
|
|
PauseTimer ( |
Pauses a previously set timer. |
|
|
SetTimer ( |
||
|
SetTimer ( |
Version that takes any generic delegate. |
|
|
SetTimer ( |
Version that takes a dynamic delegate (e.g. for UFunctions). |
|
|
SetTimer ( |
Version that takes a TFunction |
|
|
SetTimer ( |
Sets a timer to call the given native function at a set interval. |
|
|
SetTimer ( |
||
|
SetTimerForNextTick ( |
Sets a timer to call the given native function on the next tick. |
|
|
SetTimerForNextTick ( |
Version that takes any generic delegate. |
|
|
SetTimerForNextTick ( |
Version that takes a dynamic delegate (e.g. for UFunctions). |
|
|
SetTimerForNextTick |
Version that takes a TFunction |
|
|
SetTimerForNextTick ( |
||
|
Tick ( |
||
|
TimerExists ( |
Returns true if the specified timer exists |
|
|
UnPauseTimer ( |
Unpauses a previously set timer |
Name |
Description |
---|---|
LastAssignedSerialNumber |
The last serial number we assigned from this timer manager |