![]() |
UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
|
#include <IEventLoop.h>
Inheritance diagram for UE::EventLoop::IEventLoop:Additional Inherited Members | |
Protected Member Functions inherited from TSharedFromThis< IEventLoop, ESPMode::ThreadSafe > | |
| TSharedFromThis () | |
| TSharedFromThis (TSharedFromThis const &) | |
| UE_FORCEINLINE_HINT TSharedFromThis & | operator= (TSharedFromThis const &) |
| ~TSharedFromThis () | |
Static Protected Member Functions inherited from TSharedFromThis< IEventLoop, ESPMode::ThreadSafe > | |
| static UE_FORCEINLINE_HINT TSharedRef< OtherType, Mode > | SharedThis (OtherType *ThisPtr) |
| static UE_FORCEINLINE_HINT TSharedRef< OtherType const, Mode > | SharedThis (const OtherType *ThisPtr) |
|
virtualdefault |
|
pure virtual |
Clears a previously set timer.
Thread safe.
| InHandle | The handle of the timer to clear. |
| OnTimerCleared | Callback to be fired when the timer has been removed. The callback will be fired from within the event loops RunOnce method. |
Implemented in UE::EventLoop::TEventLoop< IOManagerType, Traits >, and UE::EventLoop::TEventLoop< FAppleHTTPIOManager >.
Initialize the event loop.
NOT thread safe.
Implemented in UE::EventLoop::TEventLoop< IOManagerType, Traits >, and UE::EventLoop::TEventLoop< FAppleHTTPIOManager >.
|
pure virtual |
Post a task to be run by the event loop. Queues the task to be run and signals the event loop to wake.
Thread safe.
| Task | The task to be run. |
Implemented in UE::EventLoop::TEventLoop< IOManagerType, Traits >, and UE::EventLoop::TEventLoop< FAppleHTTPIOManager >.
|
pure virtual |
Signals a shutdown request to the event loop. May be signaled from any thread. Once Shutdown has been called, continue calling Poll until Invalidates the timer handle as it should no longer be used.
Thread safe.
Implemented in UE::EventLoop::TEventLoop< IOManagerType, Traits >, and UE::EventLoop::TEventLoop< FAppleHTTPIOManager >.
|
pure virtual |
Set a new timer. The timer callback will be triggered from within the call to RunOnce, which may occur on a different thread from the one which set the timer.
Thread safe.
| Callback | Callback to call when timer fires. |
| InRate | The amount of time between set and firing. |
| InbRepeat | true to keep firing at Rate intervals, false to fire only once. |
| InFirstDelay | The time for the first iteration of a looping timer. |
Implemented in UE::EventLoop::TEventLoop< IOManagerType, Traits >, and UE::EventLoop::TEventLoop< FAppleHTTPIOManager >.