Navigation
API > API/Runtime > API/Runtime/Engine
| Name | FSubsystemCollection |
| Type | class |
| Header File | /Engine/Source/Runtime/Engine/Public/Subsystems/SubsystemCollection.h |
| Include Path | #include "Subsystems/SubsystemCollection.h" |
Syntax
template<typename TBaseType>
class FSubsystemCollection :
public FSubsystemCollectionBase ,
public FGCObject
Inheritance Hierarchy
- FSubsystemCollectionBase → FSubsystemCollection
- FGCObject → FSubsystemCollection
Derived Classes
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FSubsystemCollection() |
Construct a FSubsystemCollection, pass in the owning object almost certainly (this). | Subsystems/SubsystemCollection.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void ForEachSubsystem
(
TFunctionRef< void(TBaseType*)> Operation, |
Perform an operation on all subsystems of a given type in the collection | Subsystems/SubsystemCollection.h | |
TSubsystemClass * GetSubsystem
(
const TSubclassOf< TSubsystemClass >& SubsystemClass |
Get a Subsystem by type | Subsystems/SubsystemCollection.h | |
const TArray< TSubsystemClass * > & GetSubsystemArray
(
const TSubclassOf< TSubsystemClass >& SubsystemClass |
Get a list of Subsystems by type | Subsystems/SubsystemCollection.h | |
TArray< TSubsystemClass * > GetSubsystemArrayCopy
(
const TSubclassOf< TSubsystemClass >& SubsystemClass |
Get a list of Subsystems by type | Subsystems/SubsystemCollection.h |
Overridden from FGCObject
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual void AddReferencedObjects
(
FReferenceCollector& Collector |
FGCObject Interface | Subsystems/SubsystemCollection.h | |
virtual FString GetReferencerName() |
Subsystems/SubsystemCollection.h |