UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
UE::AssetRegistry::Impl::FInterruptionContext Struct Reference

#include <AssetRegistryImpl.h>

Public Types

typedef TFunction< bool(void)> ShouldExitEarlyCallbackType
 

Public Member Functions

 FInterruptionContext ()=default
 
 FInterruptionContext (double InTickStartTime, double InMaxRunningTime)
 
 FInterruptionContext (double InTickStartTime, double InMaxRunningTime, ShouldExitEarlyCallbackType &Callback)
 
void SetEarlyExitCallback (const ShouldExitEarlyCallbackType &InCallback)
 
void SetUnlimitedTickTime ()
 
void SetLimitedTickTime (double InTickStartTime, double InMaxRunningTime)
 
double GetTickStartTime () const
 
bool IsTimeSlicingEnabled () const
 
bool WasInterrupted () const
 
bool ShouldExitEarly ()
 
void RequestEarlyExit ()
 

Detailed Description

Provides handling for time slicing during TickGatherer

Member Typedef Documentation

◆ ShouldExitEarlyCallbackType

Constructor & Destructor Documentation

◆ FInterruptionContext() [1/3]

UE::AssetRegistry::Impl::FInterruptionContext::FInterruptionContext ( )
default

◆ FInterruptionContext() [2/3]

UE::AssetRegistry::Impl::FInterruptionContext::FInterruptionContext ( double  InTickStartTime,
double  InMaxRunningTime 
)
inlineexplicit

◆ FInterruptionContext() [3/3]

UE::AssetRegistry::Impl::FInterruptionContext::FInterruptionContext ( double  InTickStartTime,
double  InMaxRunningTime,
ShouldExitEarlyCallbackType Callback 
)
inline

Member Function Documentation

◆ GetTickStartTime()

double UE::AssetRegistry::Impl::FInterruptionContext::GetTickStartTime ( ) const
inline

◆ IsTimeSlicingEnabled()

bool UE::AssetRegistry::Impl::FInterruptionContext::IsTimeSlicingEnabled ( ) const
inline

◆ RequestEarlyExit()

void UE::AssetRegistry::Impl::FInterruptionContext::RequestEarlyExit ( )
inline

◆ SetEarlyExitCallback()

void UE::AssetRegistry::Impl::FInterruptionContext::SetEarlyExitCallback ( const ShouldExitEarlyCallbackType InCallback)
inline

◆ SetLimitedTickTime()

void UE::AssetRegistry::Impl::FInterruptionContext::SetLimitedTickTime ( double  InTickStartTime,
double  InMaxRunningTime 
)
inline

◆ SetUnlimitedTickTime()

void UE::AssetRegistry::Impl::FInterruptionContext::SetUnlimitedTickTime ( )
inline

◆ ShouldExitEarly()

bool UE::AssetRegistry::Impl::FInterruptionContext::ShouldExitEarly ( )

◆ WasInterrupted()

bool UE::AssetRegistry::Impl::FInterruptionContext::WasInterrupted ( ) const
inline

The documentation for this struct was generated from the following files: