UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
EventNode.h
Go to the documentation of this file.
1// Copyright Epic Games, Inc. All Rights Reserved.
2
3#pragma once
4
5#include "HAL/Platform.h"
6#include "Trace/Config.h"
7
8#if TRACE_PRIVATE_MINIMAL_ENABLED
9
10#include "Field.h"
11
12namespace UE {
13namespace Trace {
14namespace Private {
15
17struct FEventInfo
18{
19 enum
20 {
21 Flag_None = 0,
22 Flag_Important = 1 << 0,
23 Flag_MaybeHasAux = 1 << 1,
24 Flag_NoSync = 1 << 2,
25 Flag_Definition8 = 1 << 3,
26 Flag_Definition16 = 1 << 4,
27 Flag_Definition32 = 1 << 5,
28 Flag_Definition64 = 1 << 6,
29
31 };
32
34 FLiteralName EventName;
35 const FFieldDesc* Fields;
36 uint16 FieldCount;
38};
39
41class FEventNode
42{
43public:
44 struct FIter
45 {
46 const FEventNode* GetNext();
47 void* Inner;
48 };
49
50 static FIter Read();
51 static FIter ReadNew();
52 static void OnConnect();
53 TRACELOG_API uint32 Initialize(const FEventInfo* InInfo);
54 void Describe() const;
55 uint32 GetUid() const { return Uid; }
56
57private:
59 const FEventInfo* Info;
60 uint32 Uid;
61};
62
63} // namespace Private
64} // namespace Trace
65} // namespace UE
66
67#else
68
69// Since we use this type in macros we need
70// provide an empty definition when trace is
71// not enabled.
72namespace UE::Trace::Private { struct FEventInfo {}; }
73
74#endif // TRACE_PRIVATE_MINIMAL_ENABLED
UE_FORCEINLINE_HINT TSharedRef< CastToType, Mode > StaticCastSharedRef(TSharedRef< CastFromType, Mode > const &InSharedRef)
Definition SharedPointer.h:127
uint16_t uint16
Definition binka_ue_file_header.h:7
uint32_t uint32
Definition binka_ue_file_header.h:6
@ Trace
Definition NetTraceConfig.h:23
Definition OverriddenPropertySet.cpp:45
uint32 GetNext(uint32 Index, const IndexType *NextIndexData, const uint32 NextIndexCount)
Definition CompactHashTable.h:116
Definition Codec.cpp:29
Definition AdvancedWidgetsModule.cpp:13
Definition EventNode.h:72