|
|
FORCEINLINE void | ClearAllTimersForObject (void const *Object) |
| | Clears all timers that are bound to functions on the given object.
|
| |
| FORCEINLINE void | ClearTimer (FTimerHandle &InHandle) |
| | Clears a previously set timer, identical to calling SetTimer() with a <= 0.f rate. 更多...
|
| |
|
FTimerHandle | GenerateHandle (int32 Index) |
| | Generates a handle for a timer at a given index
|
| |
| FORCEINLINE float | GetTimerElapsed (FTimerHandle InHandle) const |
| | Gets the current elapsed time for the specified timer. 更多...
|
| |
| FORCEINLINE float | GetTimerRate (FTimerHandle InHandle) const |
| | Gets the current rate (time between activations) for the specified timer. 更多...
|
| |
| FORCEINLINE float | GetTimerRemaining (FTimerHandle InHandle) const |
| | Gets the time remaining before the specified timer is called 更多...
|
| |
| FORCEINLINE bool | IsTimerActive (FTimerHandle InHandle) const |
| | Returns true if the specified timer exists and is not paused 更多...
|
| |
| FORCEINLINE bool | IsTimerPaused (FTimerHandle InHandle) const |
| | Returns true if the specified timer exists and is paused 更多...
|
| |
| FORCEINLINE bool | IsTimerPending (FTimerHandle InHandle) const |
| | Returns true if the specified timer exists and is pending 更多...
|
| |
| FTimerHandle | K2_FindDynamicTimerHandle (FTimerDynamicDelegate InDynamicDelegate) const |
| | Finds a handle to a timer bound to a particular dynamic delegate. 更多...
|
| |
|
void | ListTimers () const |
| | Debug command to output info on all timers currently set to the log.
|
| |
|
virtual void | OnCrash () |
| | Called from crash handler to provide more debug information.
|
| |
| void | PauseTimer (FTimerHandle InHandle) |
| | Pauses a previously set timer. 更多...
|
| |
|
FORCEINLINE void | SetTimer (FTimerHandle &InOutHandle, FTimerDelegate const &InDelegate, float InRate, bool InbLoop, float InFirstDelay=-1.f) |
| | Version that takes any generic delegate.
|
| |
| FORCEINLINE void | SetTimer (FTimerHandle &InOutHandle, FTimerDynamicDelegate const &InDynDelegate, float InRate, bool InbLoop, float InFirstDelay=-1.f) |
| | Version that takes a dynamic delegate (e.g. 更多...
|
| |
|
FORCEINLINE void | SetTimer (FTimerHandle &InOutHandle, TFunction< void(void)> &&Callback, float InRate, bool InbLoop, float InFirstDelay=-1.f) |
| | Version that takes a TFunction
|
| |
| template<class UserClass > |
| FORCEINLINE void | SetTimer (FTimerHandle &InOutHandle, UserClass *InObj, typename FTimerDelegate::TUObjectMethodDelegate< UserClass >::FMethodPtr InTimerMethod, float InRate, bool InbLoop=false, float InFirstDelay=-1.f) |
| | Sets a timer to call the given native function at a set interval. 更多...
|
| |
|
FORCEINLINE FTimerHandle | SetTimerForNextTick (FTimerDelegate const &InDelegate) |
| | Version that takes any generic delegate.
|
| |
| FORCEINLINE FTimerHandle | SetTimerForNextTick (FTimerDynamicDelegate const &InDynDelegate) |
| | Version that takes a dynamic delegate (e.g. 更多...
|
| |
|
FORCEINLINE FTimerHandle | SetTimerForNextTick (TFunction< void(void)> &&Callback) |
| | Version that takes a TFunction
|
| |
| template<class UserClass > |
| FORCEINLINE FTimerHandle | SetTimerForNextTick (UserClass *inObj, typename FTimerDelegate::TUObjectMethodDelegate< UserClass >::FMethodPtr inTimerMethod) |
| | Sets a timer to call the given native function on the next tick. 更多...
|
| |
| FORCEINLINE bool | TimerExists (FTimerHandle InHandle) const |
| | Returns true if the specified timer exists 更多...
|
| |
| void | UnPauseTimer (FTimerHandle InHandle) |
| | Unpauses a previously set timer 更多...
|
| |
Class to globally manage timers.