UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
UE::EventLoop::FIOManagerMock Class Referencefinal
+ Inheritance diagram for UE::EventLoop::FIOManagerMock:

Classes

struct  FParams
 

Public Types

using FIOAccess = FIOAccessMock
 

Public Member Functions

 FIOManagerMock (IEventLoop &, FParams &&)
 
virtual ~FIOManagerMock ()=default
 
virtual bool Init () override
 
virtual void Shutdown () override
 
virtual void Notify () override
 
virtual void Poll (FTimespan WaitTime) override
 
FIOAccessGetIOAccess ()
 
- Public Member Functions inherited from UE::EventLoop::IIOManager
virtual ~IIOManager ()=default
 

Static Public Member Functions

static void ResetTestConditions ()
 

Public Attributes

FIOAccess IOAccess
 

Static Public Attributes

static bool bHasInitialized = false
 
static bool bInitReturnValue = true
 
static bool bHasNotified = false
 
static bool bExpectedNotify = false
 
static bool bHasShutdown = false
 
static FTimespan ExpectedWaitTime = FTimespan::Zero()
 

Additional Inherited Members

- Protected Member Functions inherited from FNoncopyable
 FNoncopyable ()
 
 ~FNoncopyable ()
 

Member Typedef Documentation

◆ FIOAccess

Constructor & Destructor Documentation

◆ FIOManagerMock()

UE::EventLoop::FIOManagerMock::FIOManagerMock ( IEventLoop ,
FParams &&   
)
inline

◆ ~FIOManagerMock()

virtual UE::EventLoop::FIOManagerMock::~FIOManagerMock ( )
virtualdefault

Member Function Documentation

◆ GetIOAccess()

FIOAccess & UE::EventLoop::FIOManagerMock::GetIOAccess ( )
inline

◆ Init()

virtual bool UE::EventLoop::FIOManagerMock::Init ( )
inlineoverridevirtual

Initialize the IO manager. Called from within IEventLoop::Init.

Returns
true if successfully initialized.

Implements UE::EventLoop::IIOManager.

◆ Notify()

virtual void UE::EventLoop::FIOManagerMock::Notify ( )
inlineoverridevirtual

Notify the IO manager to interrupt a waiting call to Poll. Used to wake the request manager when activity is required.

Thread safe.

Implements UE::EventLoop::IIOManager.

◆ Poll()

virtual void UE::EventLoop::FIOManagerMock::Poll ( FTimespan  WaitTime)
inlineoverridevirtual

Poll the request manager for activity.

Parameters
WaitTimeThe maximum amount of time to wait for request activity.

Implements UE::EventLoop::IIOManager.

◆ ResetTestConditions()

static void UE::EventLoop::FIOManagerMock::ResetTestConditions ( )
inlinestatic

◆ Shutdown()

virtual void UE::EventLoop::FIOManagerMock::Shutdown ( )
inlineoverridevirtual

Cleanup any resources and prepare for shutdown. Called from IEventLoop::RunOnce when the event loop has received a shutdown request.

Implements UE::EventLoop::IIOManager.

Member Data Documentation

◆ bExpectedNotify

bool UE::EventLoop::FIOManagerMock::bExpectedNotify = false
static

◆ bHasInitialized

bool UE::EventLoop::FIOManagerMock::bHasInitialized = false
static

◆ bHasNotified

bool UE::EventLoop::FIOManagerMock::bHasNotified = false
static

◆ bHasShutdown

bool UE::EventLoop::FIOManagerMock::bHasShutdown = false
static

◆ bInitReturnValue

bool UE::EventLoop::FIOManagerMock::bInitReturnValue = true
static

◆ ExpectedWaitTime

FTimespan UE::EventLoop::FIOManagerMock::ExpectedWaitTime = FTimespan::Zero()
static

◆ IOAccess

FIOAccess UE::EventLoop::FIOManagerMock::IOAccess

The documentation for this class was generated from the following file: