10template <
typename Traits>
44 return ID ==
Other.ID;
49 return ID !=
Other.ID;
59 return IsValid() ? FString::Printf(
TEXT(
"%s:%llu"), Traits::Name, ID) : FString::Printf(
TEXT(
"%s:<invalid>"), Traits::Name);
73 static uint64 GenerateNewID()
93template <
typename Traits>
UE_FORCEINLINE_HINT TSharedRef< CastToType, Mode > StaticCastSharedRef(TSharedRef< CastFromType, Mode > const &InSharedRef)
Definition SharedPointer.h:127
Definition EventLoopLog.cpp:5
Definition EventLoopHandle.h:12
static const TCHAR * GetTypeName()
Definition EventLoopHandle.h:62
bool operator!=(const TResourceHandle &Other) const
Definition EventLoopHandle.h:47
void Invalidate()
Definition EventLoopHandle.h:37
bool IsValid() const
Definition EventLoopHandle.h:31
EGenerateNewHandleType
Definition EventLoopHandle.h:14
@ GenerateNewHandle
Definition EventLoopHandle.h:15
TResourceHandle()
Definition EventLoopHandle.h:19
TResourceHandle(EGenerateNewHandleType)
Definition EventLoopHandle.h:25
FString ToString() const
Definition EventLoopHandle.h:57
bool operator==(const TResourceHandle &Other) const
Definition EventLoopHandle.h:42
friend uint32 GetTypeHash(const TResourceHandle &InHandle)
Definition EventLoopHandle.h:52