| FEvent
|
Module |
|
Header |
/Engine/Source/Runtime/Core/Public/HAL/Event.h |
Include |
#include "HAL/Event.h" |
class FEvent
Interface for waitable events.
This interface has platform-specific implementations that are used to wait for another thread to signal that it is ready for the waiting thread to do some work. It can also be used for telling groups of threads to exit.
Name | Description | ||
---|---|---|---|
|
EventId |
An unique id of this event. |
|
|
EventStartCycles |
Greater than 0, if the event called wait. |
Name | Description | |
---|---|---|
|
FEvent() |
Default constructor. |
Name | Description | |
---|---|---|
|
~FEvent() |
Virtual destructor. |
Name | Description | ||
---|---|---|---|
|
AdvanceStats() |
Advances stats associated with this event. Used to monitor wait->trigger history. |
|
|
Create ( |
Creates the event. |
|
|
IsManualReset() |
Whether the signaled state of this event needs to be reset manually. |
|
|
Reset() |
Resets the event to an untriggered (waitable) state. |
|
|
ResetForStats() |
Resets start cycles to 0. |
|
|
Trigger() |
Triggers the event so any waiting threads are activated. |
|
|
TriggerForStats() |
Send to the stats a special message which encodes a trigger for the event. |
|
|
Wait() |
Waits an infinite amount of time for the event to be triggered. |
|
|
Wait |
Waits the specified amount of time for the event to be triggered. |
|
|
Wait |
Waits the specified amount of time for the event to be triggered. |
|
|
WaitForStats() |
Sends to the stats a special messages which encodes a wait for the event. |
Name |
Description |
---|---|
EventUniqueId |
Counter used to generate an unique id for the events. |