| FTicker
|
Module |
|
Header |
/Engine/Source/Runtime/Core/Public/Containers/Ticker.h |
Include |
#include "Containers/Ticker.h" |
class FTicker
Ticker class. Fires delegates after a delay.
Note: Do not try to add the same delegate instance twice, as there is no way to remove only a single instance (see member RemoveTicker).
Name | Description | ||
---|---|---|---|
|
bCurrentElementRemoved |
State to track whether the CurrentElement removed itself during its own delegate execution. |
|
|
bInTick |
State to track whether CurrentElement is valid. |
|
|
CurrentElement |
Current element being ticked (only valid during tick). |
|
|
double |
CurrentTime |
Current time of the ticker |
|
Elements |
Future delegates to fire |
|
|
TickedElements |
List of delegates that have been considered during Tick. |
Name | Description | |
---|---|---|
|
FTicker() |
Name | Description | |
---|---|---|
|
~FTicker() |
Name | Description | ||
---|---|---|---|
|
FDelegateHan... |
AddTicker ( |
Add a new ticker with a given delay / interval |
|
FDelegateHan... |
AddTicker |
Add a new ticker with a given delay / interval. |
|
FTicker & |
GetCoreTicker() |
Singleton used for the ticker in Core / Launch. |
|
RemoveTicker ( |
Removes a previously added ticker delegate. |
|
|
TearDownCoreTicker() |
||
|
Tick ( |
Fire all tickers who have passed their delay and reschedule the ones that return true |
Name |
Description |
|
---|---|---|
|
FElement |
Element of the priority queue |