Navigation
API > API/Runtime > API/Runtime/CoreUObject
| Name | FUObjectThreadContext |
| Type | class |
| Header File | /Engine/Source/Runtime/CoreUObject/Public/UObject/UObjectThreadContext.h |
| Include Path | #include "UObject/UObjectThreadContext.h" |
Syntax
class FUObjectThreadContext : public TThreadSingleton< FUObjectThreadContext >
Inheritance Hierarchy
- FTlsAutoCleanup → TThreadSingleton → FUObjectThreadContext
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
| UObject/UObjectThreadContext.h | |||
FUObjectThreadContext
(
const FUObjectThreadContext& Other |
Remove declaration of manual constructors after removing deprecated PackagesMarkedEditorOnlyByOtherPackage. | UObject/UObjectThreadContext.h | |
FUObjectThreadContext
(
FUObjectThreadContext&& Other |
UObject/UObjectThreadContext.h |
Destructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual ~FUObjectThreadContext() |
UObject/UObjectThreadContext.h |
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| AsyncPackage | void * | Async Package currently processing objects | UObject/UObjectThreadContext.h | |
| AsyncPackageLoader | IAsyncPackageLoader * | Async package loader currently processing objects | UObject/UObjectThreadContext.h | |
| AsyncVisibilityFilter | EInternalObjectFlags | Async loading visibility filter | UObject/UObjectThreadContext.h | |
| ConstructedObject | UObject * | Object that is currently being constructed with ObjectInitializer | UObject/UObjectThreadContext.h | |
| CurrentlyPostLoadedObjectByALT | UObject * | The object we are routing PostLoad from the Async Loading code for | UObject/UObjectThreadContext.h | |
| DebugPostLoad | TArray< UObject *, TInlineAllocator< 16 > > | Used to verify that the Super::PostLoad chain is intact. | UObject/UObjectThreadContext.h | |
| IsDeletingLinkers | bool | True when FLinkerManager deletes linkers | UObject/UObjectThreadContext.h | |
| IsInConstructor | int32 | Global flag so that FObjectFinders know if they are called from inside the UObject constructors or not. | UObject/UObjectThreadContext.h | |
| IsRoutingPostLoad | bool | True when we are routing ConditionalPostLoad/PostLoad to objects | UObject/UObjectThreadContext.h | |
| PackagesMarkedEditorOnlyByOtherPackage | TMap< FName, TSet< FName > > | UObject/UObjectThreadContext.h | ||
| PostInitPropertiesCheck | TArray< UObject *, TInlineAllocator< 16 > > | Stack to ensure that PostInitProperties is routed through Super:: calls. | UObject/UObjectThreadContext.h | |
| SyncLoadUsingAsyncLoaderCount | int32 | Global int to track how many nested loads we're doing by triggering an async load and immediately flushing that request. | UObject/UObjectThreadContext.h |
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| InitializerStack | TArray< FObjectInitializer * > | Stack of currently used FObjectInitializers for this thread | UObject/UObjectThreadContext.h | |
| SerializeContext | TRefCountPtr< FUObjectSerializeContext > | Current serialization context | UObject/UObjectThreadContext.h | |
| TThreadSingleton< FUObjectThreadContext > | friend | UObject/UObjectThreadContext.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FUObjectSerializeContext * GetSerializeContext() |
Gets the current serialization context | UObject/UObjectThreadContext.h | |
void PopInitializer() |
Remove top element from the stack. | UObject/UObjectThreadContext.h | |
void PushInitializer
(
FObjectInitializer* Initializer |
Push new FObjectInitializer on stack. | UObject/UObjectThreadContext.h | |
FObjectInitializer * TopInitializer() |
Retrieve current FObjectInitializer for current thread. | UObject/UObjectThreadContext.h | |
| Retrieves current FObjectInitializer for current thread. | UObject/UObjectThreadContext.h |