Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/Subsystems
Inheritance Hierarchy
- FSubsystemCollectionBase
- FObjectSubsystemCollection
- FSubsystemCollection
- FAudioSubsystemCollection
References
| Module | Engine |
| Header | /Engine/Source/Runtime/Engine/Public/Subsystems/SubsystemCollection.h |
| Include | #include "Subsystems/SubsystemCollection.h" |
Syntax
class FSubsystemCollectionBase
Constructors
| Type | Name | Description | |
|---|---|---|---|
| Protected constructor - Use the FSubsystemCollection |
|||
FSubsystemCollectionBase
(
UClass* InBaseType |
Protected constructor - for use by the template only(FSubsystemCollection |
Destructors
| Type | Name | Description | |
|---|---|---|---|
| Destructor will be called from virtual ~FGCObject in GC cleanup |
Functions
| Type | Name | Description | |
|---|---|---|---|
| void | ActivateExternalSubsystem
(
UClass* SubsystemClass |
Registers and adds instances of the specified Subsystem class to all existing SubsystemCollections of the correct type. | |
| void | AddReferencedObjects
(
UObject* Referencer, |
Collect references held by this collection | |
| void | DeactivateExternalSubsystem
(
UClass* SubsystemClass |
Unregisters and removed instances of the specified Subsystem class from all existing SubsystemCollections of the correct type. | |
| void | Deinitialize () |
Clears the collection, while deinitializing the systems | |
| const UClass * | GetBaseType () |
Get the collection BaseType | |
| const TArray< USubsystem * > & | GetSubsystemArrayInternal
(
UClass* SubsystemClass |
Get a list of Subsystems by type | |
| USubsystem * | GetSubsystemInternal
(
UClass* SubsystemClass |
Get a Subsystem by type | |
| void | Initialize
(
UObject* NewOuter |
Initialize the collection of systems, systems will be created and initialized | |
| TSubsystemClass * | Only call from Initialize() of Systems to ensure initialization order Note: Dependencies only work within a collection | ||
| USubsystem * | InitializeDependency
(
TSubclassOf< USubsystem > SubsystemClass |
Only call from Initialize() of Systems to ensure initialization order Note: Dependencies only work within a collection | |
| bool | Returns true if collection was already initialized |