UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
InterchangeTaskTranslator.h
Go to the documentation of this file.
1// Copyright Epic Games, Inc. All Rights Reserved.
2
3#pragma once
4
5#include "CoreMinimal.h"
8#include "Stats/Stats.h"
10
11namespace UE
12{
13 namespace Interchange
14 {
16 {
17 private:
18 int32 SourceIndex = INDEX_NONE;
20
21 public:
27
28 virtual EInterchangeTaskThread GetTaskThread() const override
29 {
30 TSharedPtr<FImportAsyncHelper, ESPMode::ThreadSafe> AsyncHelper = WeakAsyncHelper.Pin();
31 if (AsyncHelper.IsValid() && AsyncHelper->bRunSynchronous)
32 {
34 }
35
37 }
38
39 virtual void Execute();
40 };
41 } //ns Interchange
42} //ns UE
@ INDEX_NONE
Definition CoreMiscDefines.h:150
FPlatformTypes::int32 int32
A 32-bit signed integer.
Definition Platform.h:1125
UE_FORCEINLINE_HINT TSharedRef< CastToType, Mode > StaticCastSharedRef(TSharedRef< CastFromType, Mode > const &InSharedRef)
Definition SharedPointer.h:127
Definition SharedPointer.h:692
UE_FORCEINLINE_HINT const bool IsValid() const
Definition SharedPointer.h:1085
Definition SharedPointer.h:1295
UE_FORCEINLINE_HINT TSharedPtr< ObjectType, Mode > Pin() const &
Definition SharedPointer.h:1512
Definition InterchangeTaskSystem.h:35
Definition InterchangeTaskTranslator.h:16
virtual void Execute()
Definition InterchangeTaskTranslator.cpp:16
FTaskTranslator(int32 InSourceIndex, TWeakPtr< FImportAsyncHelper, ESPMode::ThreadSafe > InAsyncHelper)
Definition InterchangeTaskTranslator.h:22
virtual EInterchangeTaskThread GetTaskThread() const override
Definition InterchangeTaskTranslator.h:28
EInterchangeTaskThread
Definition InterchangeTaskSystem.h:29
Definition AdvancedWidgetsModule.cpp:13