Navigation
API > API/Runtime > API/Runtime/Core
This class extends the inherited context (see private members for what the inherited context is) to cover async execution. Is intended to be used as a base class, if the inherited context is compiled out it takes 0 space
| Name | FInheritedContextBase |
| Type | class |
| Header File | /Engine/Source/Runtime/Core/Public/Async/InheritedContext.h |
| Include Path | #include "Async/InheritedContext.h" |
Syntax
class FInheritedContextBase
Derived Classes
FInheritedContextBase derived class hierarchy
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
| Async/InheritedContext.h | |||
FInheritedContextBase
(
const FInheritedContextBase& |
Async/InheritedContext.h | ||
FInheritedContextBase
(
FInheritedContextBase&& Other |
Async/InheritedContext.h |
Destructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
~FInheritedContextBase() |
Async/InheritedContext.h |
Variables
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| AppTime | TSharedPtr< const FAppTime > | Async/InheritedContext.h | ||
| ExtensionData | FInheritedContextExtensionData * | Async/InheritedContext.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void CaptureInheritedContext() |
Must be called in the inherited context, e.g. on launching an async task | Async/InheritedContext.h | |
FInheritedContextScope RestoreInheritedContext() |
Must be called where the inherited context should be restored, e.g. at the start of an async task execution | Async/InheritedContext.h |
Operators
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FInheritedContextBase & operator=
(
const FInheritedContextBase& |
Async/InheritedContext.h | ||
FInheritedContextBase & operator=
(
FInheritedContextBase&& Other |
Async/InheritedContext.h |