Navigation
API > API/Runtime > API/Runtime/Core
RAII-style scope locking of a synchronization primitive. Same as TScopeLock except taking the lock is conditional.
| Name | TConditionalScopeLock |
| Type | class |
| Header File | /Engine/Source/Runtime/Core/Public/Misc/ScopeLock.h |
| Include Path | #include "Misc/ScopeLock.h" |
Syntax
template<typename MutexType>
class TConditionalScopeLock
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
| Misc/ScopeLock.h | |||
TConditionalScopeLock
(
const TConditionalScopeLock& |
Misc/ScopeLock.h | ||
TConditionalScopeLock
(
MutexType& InMutex, |
Misc/ScopeLock.h |
Destructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
~TConditionalScopeLock() |
Misc/ScopeLock.h |
Variables
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| Mutex | MutexType * | Misc/ScopeLock.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void Unlock() |
Misc/ScopeLock.h |
Operators
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
TConditionalScopeLock & operator=
(
const TConditionalScopeLock& |
Misc/ScopeLock.h | ||
| Misc/ScopeLock.h |