Navigation
API > API/Runtime > API/Runtime/Core
A type of event that remains notified until manually reset.
| Name | FManualResetEvent |
| Type | class |
| Header File | /Engine/Source/Runtime/Core/Public/Async/ManualResetEvent.h |
| Include Path | #include "Async/ManualResetEvent.h" |
Syntax
class FManualResetEvent
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
constexpr FManualResetEvent () |
Async/ManualResetEvent.h | ||
FManualResetEvent
(
const FManualResetEvent& |
Async/ManualResetEvent.h |
Constants
| Name | Type | Remarks | Include Path |
|---|---|---|---|
| IsNotifiedFlag | uint8 | Async/ManualResetEvent.h | |
| MaybeWaitingFlag | uint8 | Async/ManualResetEvent.h |
Variables
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| State | std::atomic< uint8 > | Async/ManualResetEvent.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
bool IsNotified() |
Returns true if the event is notified, otherwise false. | Async/ManualResetEvent.h | |
void Notify() |
Notifies all waiting threads and leaves the event notified until the next call to Reset(). | Async/ManualResetEvent.h | |
void Reset() |
Resets the event to a non-notified state. | Async/ManualResetEvent.h | |
void Wait() |
Wait until the event is notified. | Async/ManualResetEvent.h | |
bool WaitFor
(
FMonotonicTimeSpan WaitTime |
Wait until the event is notified. | Async/ManualResetEvent.h | |
bool WaitUntil
(
FMonotonicTimePoint WaitTime |
Wait until the event is notified. | Async/ManualResetEvent.h |
Operators
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FManualResetEvent & operator=
(
const FManualResetEvent& |
Async/ManualResetEvent.h |