![]() |
UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
|
#include <GenericPlatformManualResetEvent.h>
Public Member Functions | |
| FGenericPlatformManualResetEvent ()=default | |
| FGenericPlatformManualResetEvent (const FGenericPlatformManualResetEvent &)=delete | |
| FGenericPlatformManualResetEvent & | operator= (const FGenericPlatformManualResetEvent &)=delete |
| void | Reset () |
| bool | Poll () |
| void | Wait () |
| bool | WaitFor (FMonotonicTimeSpan WaitTime) |
| bool | WaitUntil (FMonotonicTimePoint WaitTime) |
| void | Notify () |
A manual reset event that supports only one thread waiting and one thread notifying at a time.
Only one waiting thread may call Reset() or the Wait() functions. Only one notifying thread may call Notify() once until the event is reset.
|
default |
|
delete |
|
inline |
Notifies the waiting thread.
Notify() may be called prior to one of the wait functions, and the eventual wait call will return immediately when that occurs.
|
delete |
|
inline |
Polls whether the event is in the notified state.
|
inline |
Resets the event to permit another Wait/Notify cycle.
Must only be called by the waiting thread, and only when there is no possibility of waking occurring concurrently with the reset.
|
inline |
|
inline |
Waits for the wait time for Notify() to be called.
Notify() may be called prior to WaitFor(), and this will return immediately in that case.
| WaitTime | Relative time after which waiting is canceled and the thread wakes. |
|
inline |
Waits until the wait time for Notify() to be called.
Notify() may be called prior to WaitUntil(), and this will return immediately in that case.
| WaitTime | Absolute time after which waiting is canceled and the thread wakes. |