UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
MassExternalSubsystemTraits.h
Go to the documentation of this file.
1// Copyright Epic Games, Inc. All Rights Reserved.
2
3#pragma once
4
5#if UE_ENABLE_INCLUDE_ORDER_DEPRECATED_IN_5_6
6#include "Engine/World.h"
8#endif // UE_ENABLE_INCLUDE_ORDER_DEPRECATED_IN_5_6
9
25template <typename T>
27{
28 enum
29 {
30 // Unless configured otherwise each subsystem will be treated as "game-thread only".
32
33 // If set to true all RW and RO operations will be viewed as RO when calculating processor dependencies
35 };
36};
37
42template <typename T>
44{
45 enum
46 {
49 };
50};
51
56template <typename T>
58{
59 enum
60 {
61 // Fragment types are best kept trivially copyable for performance reasons.
62 // To enforce that we test this trait when checking if a given type is a valid fragment type.
63 // This test can be skipped by specifically opting out, which also documents that
64 // making the given type non-trivially-copyable was a deliberate decision.
66 };
67};
Definition MassExternalSubsystemTraits.h:27
@ ThreadSafeWrite
Definition MassExternalSubsystemTraits.h:34
@ GameThreadOnly
Definition MassExternalSubsystemTraits.h:31
Definition MassExternalSubsystemTraits.h:58
@ AuthorAcceptsItsNotTriviallyCopyable
Definition MassExternalSubsystemTraits.h:65
Definition MassExternalSubsystemTraits.h:44
@ GameThreadOnly
Definition MassExternalSubsystemTraits.h:47
@ ThreadSafeWrite
Definition MassExternalSubsystemTraits.h:48