Navigation
API > API/Runtime > API/Runtime/MassEntity
Increments a change-tracking atomic variable when leaving a scope. Used with FChangeListener for efficient synchronization of workers waiting for resources.
| Name | FChangeScope |
| Type | struct |
| Header File | /Engine/Source/Runtime/MassEntity/Public/MassProcessingQueueTypes.h |
| Include Path | #include "MassProcessingQueueTypes.h" |
Syntax
template<typename T>
struct FChangeScope
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FChangeScope
(
std::atomic< T >& InTrackingValue |
MassProcessingQueueTypes.h | ||
FChangeScope
(
const FChangeScope& |
MassProcessingQueueTypes.h | ||
FChangeScope
(
FChangeScope&& Other |
MassProcessingQueueTypes.h |
Destructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
~FChangeScope() |
MassProcessingQueueTypes.h |
Variables
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| Tracker | std::atomic< T > & | MassProcessingQueueTypes.h |
Functions
Public
Operators
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FChangeScope & operator=
(
const FChangeScope& |
MassProcessingQueueTypes.h |