Navigation
API > API/Runtime > API/Runtime/Core > API/Runtime/Core/Containers
Inheritance Hierarchy
- FTSTicker
- FTSBackgroundableTicker
References
| Module | Core |
| Header | /Engine/Source/Runtime/Core/Public/Containers/Ticker.h |
| Include | #include "Containers/Ticker.h" |
Syntax
class FTSTicker
Remarks
Thread-safe ticker class. Fires delegates after a delay.
Functions
| Type | Name | Description | |
|---|---|---|---|
| FDelegateHandle | AddTicker
(
const FTickerDelegate& InDelegate, |
Add a new ticker with a given delay / interval | |
| FDelegateHandle | Add a new ticker with a given delay / interval.Can be called concurrently. | ||
| FTSTicker & | Singleton used for the ticker in Core / Launch. | ||
| void | RemoveTicker
(
FDelegateHandle Handle |
Removes a previously added ticker delegate. | |
| void | Reset () |
Resets the instance to its default state. Must be called from the ticking thread. | |
| void | Tick
(
float DeltaTime |
Fire all tickers who have passed their delay and reschedule the ones that return true |
Typedefs
| Name | Description |
|---|---|
| FDelegateHandle | |
| FElementPtr |