IRequest

Interface to an asynchronous request that can be prioritized or canceled.

Unreal Engine C++ API Reference > Developer > DerivedDataCache

Inheritance Hierarchy

  • IRequest

References

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

Syntax

class IRequest  

Remarks

Interface to an asynchronous request that can be prioritized or canceled.

Use IRequestOwner, typically FRequestOwner, to reference requests between its Begin and End.

Requests typically invoke a callback on completion, and must not return from Cancel or Wait on any thread until any associated callbacks have finished executing. This property is crucial to allowing requests to be chained or nested by creating new requests from within callbacks.

Destructors

Type Name Description
  ~IRequest ()  

Functions

Type Name Description
void AddRef () Add a reference to the request.
void Cancel () Cancel the request and invoke any associated callback.
void Release () Release a reference. The request is deleted when the last reference is released.
void SetPriority ( EPriority Priority ) Set the priority of the request.
void Wait () Block the calling thread until the request is complete.

See Also

FRequestBase

FRequestOwner

IRequestOwner


Ask questions and help your peers Developer Forums

Write your own tutorials or read those from others Learning Library