Module |
|
Header |
/Engine/Source/Runtime/Core/Public/Misc/ScopedEvent.h |
Include |
#include "Misc/ScopedEvent.h" |
class FScopedEvent
This class is allows a simple one-shot scoped event.
Usage: { FScopedEvent MyEvent; SendReferenceOrPointerToSomeOtherThread(&MyEvent); // Other thread calls MyEvent->Trigger(); // MyEvent destructor is here, we wait here. }
Name | Description | |
---|---|---|
|
FScopedEvent() |
Default constructor. |
Name | Description | |
---|---|---|
|
~FScopedEvent() |
Destructor. |