UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
StringsTrace.h
Go to the documentation of this file.
1// Copyright Epic Games, Inc. All Rights Reserved.
2
3#pragma once
4
5#include "CoreFwd.h"
6#include "Trace/Trace.h"
7#include "Trace/Trace.inl"
8
13
15 UE_TRACE_EVENT_FIELD(UE::Trace::WideString, DisplayWide)
16 UE_TRACE_EVENT_FIELD(UE::Trace::AnsiString, DisplayAnsi)
18
19#if !UE_TRACE_ENABLED
20#define UE_API FORCEINLINE
21#else
22#define UE_API CORE_API
23#endif
24
45{
46
47public:
54
63
72
76 static void OnConnection();
77};
78
79#if !UE_TRACE_ENABLED
84#endif
85
86#undef UE_API
FPlatformTypes::TCHAR TCHAR
Either ANSICHAR or WIDECHAR, depending on whether the platform supports wide characters or the requir...
Definition Platform.h:1135
#define UE_FORCEINLINE_HINT
Definition Platform.h:723
FPlatformTypes::ANSICHAR ANSICHAR
An ANSI character. Normally a signed type.
Definition Platform.h:1131
UE_FORCEINLINE_HINT TSharedRef< CastToType, Mode > StaticCastSharedRef(TSharedRef< CastFromType, Mode > const &InSharedRef)
Definition SharedPointer.h:127
#define UE_API
Definition StringsTrace.h:20
#define UE_TRACE_EVENT_BEGIN_EXTERN(LoggerName, EventName,...)
Definition Trace.h:435
#define UE_TRACE_EVENT_END()
Definition Trace.h:438
#define UE_TRACE_EVENT_FIELD(FieldType, FieldName)
Definition Trace.h:436
Definition NameTypes.h:617
Definition StringsTrace.h:45
static UE_API UE::Trace::FEventRef32 GetNameRef(const FName &Name)
Definition StringsTrace.h:80
static UE_API UE::Trace::FEventRef64 GetStaticStringRef(const TCHAR *String)
Definition StringsTrace.h:81
static void OnConnection()
Definition StringsTrace.h:83
TEventRef< uint32 > FEventRef32
Definition Trace.h:88
TEventRef< uint64 > FEventRef64
Definition Trace.h:89
AnsiString
Definition Trace.h:52
WideString
Definition Trace.h:53
Definition AdvancedWidgetsModule.cpp:13
Definition Trace.h:58