![]() |
UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
|
#include <SingleThreadEvent.h>
Inheritance diagram for FSingleThreadEvent:Public Member Functions | |
| FSingleThreadEvent () | |
| virtual bool | Create (bool bIsManualReset=false) override |
| virtual bool | IsManualReset () override |
| virtual void | Trigger () override |
| virtual void | Reset () override |
| virtual bool | Wait (uint32 WaitTime, const bool bIgnoreThreadIdleStats=false) override |
Public Member Functions inherited from FEvent | |
| bool | Wait () |
| bool | Wait (const FTimespan &WaitTime, const bool bIgnoreThreadIdleStats=false) |
| FEvent () | |
| virtual | ~FEvent () |
| CORE_API void | AdvanceStats () |
Additional Inherited Members | |
Protected Member Functions inherited from FEvent | |
| CORE_API void | WaitForStats () |
| CORE_API void | TriggerForStats () |
| CORE_API void | ResetForStats () |
Protected Attributes inherited from FEvent | |
| uint32 | EventId |
| TAtomic< uint32 > | EventStartCycles |
Static Protected Attributes inherited from FEvent | |
| static CORE_API TAtomic< uint32 > | EventUniqueId |
Fake event object used when running with only one thread.
|
inline |
Default constructor.
Creates the event.
Manually reset events stay triggered until reset. Named events share the same underlying event.
| bIsManualReset | Whether the event requires manual reseting or not. |
Implements FEvent.
Resets the event to an untriggered (waitable) state.
Implements FEvent.
Triggers the event so any waiting threads are activated.
Implements FEvent.
|
inlineoverridevirtual |
Waits the specified amount of time for the event to be triggered.
A wait time of MAX_uint32 is treated as infinite wait.
| WaitTime | The time to wait (in milliseconds). |
| bIgnoreThreadIdleStats | If true, ignores ThreadIdleStats |
Implements FEvent.