FRequestOwner

A concrete request owner that also presents as a request.

Windows
MacOS
Linux

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

Name Description

Public function

FRequestOwner

(
    EPriority Priority
)

Construct a request owner with the given priority.

Public function

FRequestOwner

(
    FRequestOwner&&
)

Public function

FRequestOwner

(
    const FRequestOwner&
)

Functions

Name Description

Public function

void

 

Cancel()

Cancel any active and future requests in the owner.

Public function Const

EPriority

 

GetPriority()

Returns the priority that new requests are expected to inherit.

Public function

void

 

KeepAlive()

Keep requests in the owner alive until complete, even after destruction of the owner.

Public function Const

bool

 

Poll()

Poll whether the owner has any active requests or barriers.

Public function

void

 

SetPriority

(
    EPriority Priority
)

Set the priority of active and future requests in the owner.

Public function

void

 

Wait()

Wait for any active and future requests or barriers in the owner.

Operators

Name Description

Public function

 

operator IRequest *()

Access as a request.

Public function

 

operator IRequestOwner &()

Access as a request owner.

Public function

FRequestOwne...

 

operator=

(
    FRequestOwner&&
)

Public function

FRequestOwne...

 

operator=

(
    const FRequestOwner&
)

See Also