FRequestOwner

A concrete request owner that also presents as a request.

Unreal Engine C++ API Reference > Developer > DerivedDataCache

References

   
Module DerivedDataCache
Header /Engine/Source/Developer/DerivedDataCache/Public/DerivedDataRequestOwner.h
Include #include "DerivedDataRequestOwner.h"

Syntax

class FRequestOwner  

Remarks

A concrete request owner that also presents as a request.

Request owners may be moved but not copied, and cancel any outstanding requests on destruction unless KeepAlive has been called.

Constructors

Type Name Description
  FRequestOwner ( EPriority Priority ) Construct a request owner with the given priority.
  FRequestOwner ( FRequestOwner&& )  
  FRequestOwner ( const FRequestOwner& )  

Functions

Type Name Description
void Cancel () Cancel any active and future requests in the owner.
EPriority GetPriority () Returns the priority that new requests are expected to inherit.
bool IsCanceled () Returns whether the owner has been canceled, which new requests are expected to check.
void KeepAlive () Keep requests in the owner alive until complete, even after destruction of the owner.
void LaunchTask ( const TCHAR* DebugName, TUniqueFunction< void()>&& TaskBod... ) Launches a task that executes the task body when scheduled.
bool Poll () Poll whether the owner has any active requests or barriers.
void SetPriority ( EPriority Priority ) Set the priority of active and future requests in the owner.
void Wait () Wait for any active and future requests or barriers in the owner.

Operators

Type Name Description
  operator IRequest * () Access as a request.
  operator IRequestOwner & () Access as a request owner.
FRequestOwne... operator= ( FRequestOwner&& )  
FRequestOwne... operator= ( const FRequestOwner& )  

See Also

IRequestOwner


Ask questions and help your peers Developer Forums

Write your own tutorials or read those from others Learning Library