UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
ActiveTimerHandle.h
Go to the documentation of this file.
1// Copyright Epic Games, Inc. All Rights Reserved.
2
3#pragma once
4
5#include "CoreMinimal.h"
7
9
12{
13public:
16
18 bool IsPendingExecution() const;
19
24 bool UpdateExecutionPendingState( double CurrentTime );
25
31 EActiveTimerReturnType ExecuteIfPending( double CurrentTime, float DeltaTime );
32
33private:
35 bool IsReady( double CurrentTime ) const;
36
37private:
39 float ExecutionPeriod;
40
42 FWidgetActiveTimerDelegate TimerFunction;
43
45 double NextExecutionTime;
46
48 bool bExecutionPending;
49};
50
51
UE_FORCEINLINE_HINT TSharedRef< CastToType, Mode > StaticCastSharedRef(TSharedRef< CastFromType, Mode > const &InSharedRef)
Definition SharedPointer.h:127
EActiveTimerReturnType
Definition SlateEnums.h:329
uint8_t uint8
Definition binka_ue_file_header.h:8
Definition ActiveTimerHandle.h:12
EActiveTimerReturnType ExecuteIfPending(double CurrentTime, float DeltaTime)
Definition ActiveTimerHandle.cpp:26
bool UpdateExecutionPendingState(double CurrentTime)
Definition ActiveTimerHandle.cpp:20
bool IsPendingExecution() const
Definition ActiveTimerHandle.cpp:15