Navigation
API > API/Runtime > API/Runtime/Core
RAII-style scope unlocking of a synchronization primitive. MutexType_ is required to implement Lock_ and `Unlock_ methods. Example: { TScopeLock
| Name | TScopeUnlock |
| Type | class |
| Header File | /Engine/Source/Runtime/Core/Public/Misc/ScopeLock.h |
| Include Path | #include "Misc/ScopeLock.h" |
Syntax
template<typename MutexType>
class TScopeUnlock
Derived Classes
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
TScopeUnlock
(
TScopeUnlock&& |
Misc/ScopeLock.h | ||
TScopeUnlock
(
const TScopeUnlock& |
Misc/ScopeLock.h | ||
TScopeUnlock
(
MutexType* InMutex |
Misc/ScopeLock.h |
Destructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
~TScopeUnlock() |
Misc/ScopeLock.h |
Variables
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| Mutex | MutexType * | Misc/ScopeLock.h |
Functions
Public
Operators
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
TScopeUnlock & operator=
(
const TScopeUnlock& |
Misc/ScopeLock.h | ||
TScopeUnlock & operator=
(
TScopeUnlock&& |
Misc/ScopeLock.h |