UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
InterchangeAnalyticsHelper.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"
7
8namespace UE::Interchange
9{
11 {
12 public:
14
15 // Remove all the event attributes if the identifier matches.
17
18 //Make sure it is safe to call this directly.
19 INTERCHANGEENGINE_API void Add(const FString& Identifier, const FAnalyticsEventAttribute& Entry);
20
21 //It is suggest to use the AppendThreadSafe, if more than one Entry is added as it will Scope Lock for every entry.
22 // (where append will Scope Lock only per append)
24
26
27 private:
28 //Analytics Attributes to share with the Translators. (to be sent when Import is finished)
30 FCriticalSection CriticalSection;
31 };
32};
UE_FORCEINLINE_HINT TSharedRef< CastToType, Mode > StaticCastSharedRef(TSharedRef< CastFromType, Mode > const &InSharedRef)
Definition SharedPointer.h:127
UE::FPlatformRecursiveMutex FCriticalSection
Definition CriticalSection.h:53
Definition Array.h:670
Definition UnrealString.h.inl:34
Definition InterchangeHelper.cpp:9
Definition AnalyticsEventAttribute.h:48
Definition InterchangeAnalyticsHelper.h:11
INTERCHANGEENGINE_API void AppendThreadSafe(const FString &Identifier, const TArray< FAnalyticsEventAttribute > &ToAdd)
Definition InterchangeAnalyticsHelper.cpp:9
INTERCHANGEENGINE_API void ClearAnalyticsEventData(const FString &Identifier)
Definition InterchangeAnalyticsHelper.cpp:16
INTERCHANGEENGINE_API void AddThreadSafe(const FString &Identifier, const FAnalyticsEventAttribute &Entry)
Definition InterchangeAnalyticsHelper.cpp:29
INTERCHANGEENGINE_API void SendAnalytics()
Definition InterchangeAnalyticsHelper.cpp:36