UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
ScopedEvent.h
Go to the documentation of this file.
1// Copyright Epic Games, Inc. All Rights Reserved.
2
3#pragma once
4
5#include "CoreTypes.h"
6#include "HAL/Event.h"
7
19{
20public:
21
24
27
29 void Trigger()
30 {
31 Event->Trigger();
32 }
33
40 CORE_API bool IsReady();
41
48 {
49 return Event;
50 }
51
52private:
53
55 FEvent* Event;
56};
UE_FORCEINLINE_HINT TSharedRef< CastToType, Mode > StaticCastSharedRef(TSharedRef< CastFromType, Mode > const &InSharedRef)
Definition SharedPointer.h:127
Definition Event.h:21
virtual void Trigger()=0
Definition ScopedEvent.h:19
CORE_API bool IsReady()
Definition ThreadingBase.cpp:772
CORE_API ~FScopedEvent()
Definition ThreadingBase.cpp:783
void Trigger()
Definition ScopedEvent.h:29
FEvent * Get()
Definition ScopedEvent.h:47
CORE_API FScopedEvent()
Definition ThreadingBase.cpp:768