Navigation
API > API/Developer > API/Developer/DerivedDataCache
References
| Module | DerivedDataCache |
| Header | /Engine/Source/Developer/DerivedDataCache/Public/DerivedDataRequestOwner.h |
| Include | #include "DerivedDataRequestOwner.h" |
Syntax
class IRequestOwner
Remarks
A request owner manages requests throughout their execution.
Requests are expected to call Begin when created, and End when finished, with their completion callback and arguments passed to End when possible. If a request needs to invoke more than one callback, have a request barrier in scope when executing callbacks to ensure that new requests are prioritized properly when the priority is being changed from another thread.
The owner is responsible for keeping itself alive while it has active requests or barriers.
Functions
| Type | Name | Description | |
|---|---|---|---|
| void | Begin tracking for the request. | ||
| UE_INTERNAL void | BeginBarrier
(
const FRequestBarrier& Barrier |
See FRequestBarrier. | |
| TRefCountPtr< IRequest > | End tracking for the request. | ||
| TRefCountPtr< IRequest > | End tracking of the request. | ||
| UE_INTERNAL void | EndBarrier
(
const FRequestBarrier& Barrier |
||
| 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 | LaunchTask
(
const TCHAR* DebugName, |
Launches a task that executes the task body when scheduled. |