UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
UE::EventLoop Namespace Reference

Classes

class  EventLoopTestGlobalSetup
 
struct  FCount1HandleTraits
 
struct  FCount2HandleTraits
 
struct  FEventLoopDefaultTraits
 
struct  FEventLoopMockTraits
 
class  FEventLoopModule
 
struct  FEventLoopTimerManagerMockTraits
 
struct  FEventLoopTraitsBase
 
class  FIOAccessMock
 
class  FIOAccessNull
 
class  FIOManagerMock
 
class  FIOManagerNull
 
struct  FIORequestHandleTraits
 
struct  FManagedStorageDefaultExternalHandleTraits
 
struct  FManagedStorageDefaultTraits
 
struct  FManagedStorageTraitsBase
 
struct  FMockEventLoopManagedStorageTraits
 
struct  FMockManagedStorageHandleTraits
 
struct  FMockTimerHandleTraits
 
struct  FTestHandleTraits
 
struct  FTimerData
 
struct  FTimerHandleTraits
 
struct  FTimerManagerDefaultTraits
 
struct  FTimerManagerTraitsBase
 
class  IEventLoop
 
class  IIOManager
 
class  TEventLoop
 
class  TManagedStorage
 
struct  TResourceHandle
 
class  TTimerManager
 

Typedefs

using FManagedStorageOnRemoveComplete = TUniqueFunction< void()>
 
using FTimerCallback = TUniqueFunction< void()>
 
using FOnTimerCleared = FManagedStorageOnRemoveComplete
 
using FTimerHandle = TResourceHandle< FTimerHandleTraits >
 
using FAsyncTask = TUniqueFunction< void()>
 
using FOnShutdownComplete = TUniqueFunction< void()>
 
using FIORequestHandle = TResourceHandle< FIORequestHandleTraits >
 

Enumerations

enum class  ETimerStatus : uint8 {
  Pending , Active , PendingRemoval , PendingReschedule ,
  Executing
}
 
enum class  EEventLoopStatus : uint8 { Unintialized , Running , Terminated }
 
enum class  EIOFlags : uint32 { None = 0 , Read = 1 << 0 , Write = 1 << 1 }
 

Functions

 DEFINE_LOG_CATEGORY (LogEventLoop)
 
 DECLARE_LOG_CATEGORY_EXTERN (LogEventLoop, Log, All)
 
 ENUM_CLASS_FLAGS (EIOFlags)
 
 TEST_CASE ("EventLoop::EventLoopHandle::Invalid Handle", "[Online][EventLoop][Smoke]")
 
 TEST_CASE ("EventLoop::EventLoopHandle::Valid Handle", "[Online][EventLoop][Smoke]")
 
 TEST_CASE ("EventLoop::EventLoopHandle::Counting", "[Online][EventLoop][Smoke]")
 
TArray< FString > GetRequiredModules ()
 
void InitializeEventLoopTests ()
 
void CleanupEventLoopTests ()
 
 TEST_CASE ("EventLoop::EventLoopManagedStorage", "[Online][EventLoop][Smoke]")
 
 TEST_CASE ("EventLoop::EventLoopManagedStorage::MoveOnlyType", "[Online][EventLoop][Smoke]")
 
 TEST_CASE ("EventLoop", "[Online][EventLoop][Smoke]")
 
 TEST_CASE ("EventLoop::Timer", "[Online][EventLoop][Smoke]")
 

Variables

class UE::EventLoop::EventLoopTestGlobalSetup GEventLoopTestGlobalSetup
 

Typedef Documentation

◆ FAsyncTask

◆ FIORequestHandle

◆ FManagedStorageOnRemoveComplete

◆ FOnShutdownComplete

◆ FOnTimerCleared

◆ FTimerCallback

◆ FTimerHandle

Enumeration Type Documentation

◆ EEventLoopStatus

Enumerator
Unintialized 
Running 
Terminated 

◆ EIOFlags

Enumerator
None 
Read 
Write 

◆ ETimerStatus

Enumerator
Pending 

Timer has been queued, but has not started running yet. Timer will become active the next time the timer manager is ticked.

Active 

Timer is active and will be triggered once its expiration elapses in Tick.

PendingRemoval 

Timer will be removed during the next tick.

PendingReschedule 

Timer will be rescheduled during the next tick.

Executing 

The timer has elapsed and its callback is executing.

Function Documentation

◆ CleanupEventLoopTests()

void UE::EventLoop::CleanupEventLoopTests ( )

◆ DECLARE_LOG_CATEGORY_EXTERN()

UE::EventLoop::DECLARE_LOG_CATEGORY_EXTERN ( LogEventLoop  ,
Log  ,
All   
)

◆ DEFINE_LOG_CATEGORY()

UE::EventLoop::DEFINE_LOG_CATEGORY ( LogEventLoop  )

◆ ENUM_CLASS_FLAGS()

UE::EventLoop::ENUM_CLASS_FLAGS ( EIOFlags  )

◆ GetRequiredModules()

TArray< FString > UE::EventLoop::GetRequiredModules ( )

◆ InitializeEventLoopTests()

void UE::EventLoop::InitializeEventLoopTests ( )

◆ TEST_CASE() [1/7]

UE::EventLoop::TEST_CASE ( "EventLoop"  ,
""  [Online][EventLoop][Smoke] 
)

◆ TEST_CASE() [2/7]

UE::EventLoop::TEST_CASE ( "EventLoop::EventLoopHandle::Counting"  ,
""  [Online][EventLoop][Smoke] 
)

◆ TEST_CASE() [3/7]

UE::EventLoop::TEST_CASE ( "EventLoop::EventLoopHandle::Invalid Handle"  ,
""  [Online][EventLoop][Smoke] 
)

◆ TEST_CASE() [4/7]

UE::EventLoop::TEST_CASE ( "EventLoop::EventLoopHandle::Valid Handle"  ,
""  [Online][EventLoop][Smoke] 
)

◆ TEST_CASE() [5/7]

UE::EventLoop::TEST_CASE ( "EventLoop::EventLoopManagedStorage"  ,
""  [Online][EventLoop][Smoke] 
)

◆ TEST_CASE() [6/7]

UE::EventLoop::TEST_CASE ( "EventLoop::EventLoopManagedStorage::MoveOnlyType"  ,
""  [Online][EventLoop][Smoke] 
)

◆ TEST_CASE() [7/7]

UE::EventLoop::TEST_CASE ( "EventLoop::Timer"  ,
""  [Online][EventLoop][Smoke] 
)

Variable Documentation

◆ GEventLoopTestGlobalSetup

class UE::EventLoop::EventLoopTestGlobalSetup UE::EventLoop::GEventLoopTestGlobalSetup