Navigation
API > API/Runtime > API/Runtime/Core
Fake event object used when running with only one thread.
| Name | FSingleThreadEvent |
| Type | class |
| Header File | /Engine/Source/Runtime/Core/Public/Misc/SingleThreadEvent.h |
| Include Path | #include "Misc/SingleThreadEvent.h" |
Syntax
class FSingleThreadEvent : public FEvent
Inheritance Hierarchy
- FEvent → FSingleThreadEvent
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FSingleThreadEvent() |
Default constructor. | Misc/SingleThreadEvent.h |
Variables
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| bManualReset | bool | Should this event reset automatically or not. | Misc/SingleThreadEvent.h | |
| bTriggered | bool | Flag to know whether this event has been triggered. | Misc/SingleThreadEvent.h |
Functions
Public
Overridden from FEvent
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual bool Create
(
bool bIsManualReset |
Creates the event. | Misc/SingleThreadEvent.h | |
virtual bool IsManualReset () |
Whether the signaled state of this event needs to be reset manually. | Misc/SingleThreadEvent.h | |
virtual void Reset () |
Resets the event to an untriggered (waitable) state. | Misc/SingleThreadEvent.h | |
virtual void Trigger () |
Triggers the event so any waiting threads are activated. | Misc/SingleThreadEvent.h | |
virtual bool Wait
(
uint32 WaitTime, |
Waits the specified amount of time for the event to be triggered. | Misc/SingleThreadEvent.h |