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
18
class
FScopedEvent
19
{
20
public
:
21
23
CORE_API
FScopedEvent
();
24
26
CORE_API
~FScopedEvent
();
27
29
void
Trigger
()
30
{
31
Event->
Trigger
();
32
}
33
40
CORE_API
bool
IsReady
();
41
47
FEvent
*
Get
()
48
{
49
return
Event;
50
}
51
52
private
:
53
55
FEvent
* Event;
56
};
CoreTypes.h
Event.h
StaticCastSharedRef
UE_FORCEINLINE_HINT TSharedRef< CastToType, Mode > StaticCastSharedRef(TSharedRef< CastFromType, Mode > const &InSharedRef)
Definition
SharedPointer.h:127
FEvent
Definition
Event.h:21
FEvent::Trigger
virtual void Trigger()=0
FScopedEvent
Definition
ScopedEvent.h:19
FScopedEvent::IsReady
CORE_API bool IsReady()
Definition
ThreadingBase.cpp:772
FScopedEvent::~FScopedEvent
CORE_API ~FScopedEvent()
Definition
ThreadingBase.cpp:783
FScopedEvent::Trigger
void Trigger()
Definition
ScopedEvent.h:29
FScopedEvent::Get
FEvent * Get()
Definition
ScopedEvent.h:47
FScopedEvent::FScopedEvent
CORE_API FScopedEvent()
Definition
ThreadingBase.cpp:768
Engine
Source
Runtime
Core
Public
Misc
ScopedEvent.h
Generated by
1.9.8