Navigation
API > API/Runtime > API/Runtime/Core > API/Runtime/Core/Misc
References
| Module | Core |
| Header | /Engine/Source/Runtime/Core/Public/Misc/ScopeLock.h |
| Include | #include "Misc/ScopeLock.h" |
Syntax
template<typename MutexType>
class TScopeLock
Remarks
RAII-style scope locking of a synchronisation primitive MutexType_ is required to implement Lock_ and `Unlock_ methods Example: { TScopeLock
Constructors
| Type | Name | Description | |
|---|---|---|---|
TScopeLock
(
TScopeLock&& |
|||
TScopeLock
(
const TScopeLock& |
|||
TScopeLock
(
MutexType& InMutex |
Destructors
| Type | Name | Description | |
|---|---|---|---|
~TScopeLock () |
Functions
| Type | Name | Description | |
|---|---|---|---|
| void | Unlock () |
Operators
| Type | Name | Description | |
|---|---|---|---|
| TScopeLock & | operator=
(
const TScopeLock& |
||
| TScopeLock & | operator=
(
TScopeLock&& |