Navigation
Unreal Engine C++ API Reference > Runtime > Core > Misc
References
Module | Core |
Header | /Engine/Source/Runtime/Core/Public/Misc/ScopedEvent.h |
Include | #include "Misc/ScopedEvent.h" |
Syntax
class FScopedEvent
Remarks
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. }
Constructors
Type | Name | Description | |
---|---|---|---|
![]() |
FScopedEvent () |
Default constructor. |
Destructors
Type | Name | Description | |
---|---|---|---|
![]() |
Destructor. |