#include <StringsTrace.h>
Utility class to trace deduplicated strings, FNames and static strings. Each function returning a reference that can be used when tracing events.
A event defined as:
UE_FORCEINLINE_HINT TSharedRef< CastToType, Mode > StaticCastSharedRef(TSharedRef< CastFromType, Mode > const &InSharedRef)
Definition SharedPointer.h:127
#define UE_TRACE_LOG(LoggerName, EventName, ChannelsExpr,...)
Definition Trace.h:439
#define UE_TRACE_EVENT_BEGIN(LoggerName, EventName,...)
Definition Trace.h:434
#define UE_TRACE_EVENT_END()
Definition Trace.h:438
#define UE_TRACE_EVENT_REFERENCE_FIELD(RefLogger, RefEvent, FieldName)
Definition Trace.h:437
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
◆ GetNameRef()
Gets the trace id of a FName.
- Parameters
-
- Returns
- Id that can be used to reference the name.
◆ GetStaticStringRef() [1/2]
Gets the trace id of a static string. Will use the address of the string for deduplication, so it is important to only pass static strings to this function.
- Parameters
-
- Returns
- Id that can be used to reference the string.
◆ GetStaticStringRef() [2/2]
Gets the trace id of a static string. Will use the address of the string for deduplication, so it is important to only pass static strings to this function.
- Parameters
-
- Returns
- Id that can be used to reference the string.
◆ OnConnection()
On a new connection callback.
The documentation for this class was generated from the following file: