FSubsystemCollectionBase

Choose your operating system:

Windows

macOS

Linux

Inheritance Hierarchy

References

Module

Engine

Header

/Engine/Source/Runtime/Engine/Public/Subsystems/SubsystemCollection.h

Include

#include "Subsystems/SubsystemCollection.h"

Syntax

class FSubsystemCollectionBase : public FGCObject

Constructors

Name Description

Protected function

FSubsystemCollectionBase()

Protected constructor - Use the FSubsystemCollection class

Protected function

FSubsystemCollectionBase

(
    UClass* InBaseType
)

Protected constructor - for use by the template only(FSubsystemCollection)

Destructors

Name Description

Protected function Virtual

~FSubsystemCollectionBase()

Destructor will be called from virtual ~FGCObject in GC cleanup

Functions

Name Description

Public function Static

void

 

ActivateExternalSubsystem

(
    UClass* SubsystemClass
)

Registers and adds instances of the specified Subsystem class to all existing SubsystemCollections of the correct type.

Public function Static

void

 

DeactivateExternalSubsystem

(
    UClass* SubsystemClass
)

Unregisters and removed instances of the specified Subsystem class from all existing SubsystemCollections of the correct type.

Public function

void

 

Deinitialize()

Clears the collection, while deinitializing the systems

Protected function Const

const UClass...

 

GetBaseType()

Get the collection BaseType

Protected function Const

const TArray...

 

GetSubsystemArrayInternal

(
    UClass* SubsystemClass
)

Get a list of Subsystems by type

Protected function Const

USubsystem &...

 

GetSubsystemInternal

(
    UClass* SubsystemClass
)

Get a Subsystem by type

Public function

void

 

Initialize

(
    UObject* NewOuter
)

Initialize the collection of systems, systems will be created and initialized

Public function

TSubsystemCl...

 

InitializeDependency()

Only call from Initialize() of Systems to ensure initialization order

Public function

USubsystem &...

 

InitializeDependency

(
    TSubclassOf< USubsystem > Subsystem...
)

Only call from Initialize() of Systems to ensure initialization order

Overridden from FGCObject

Name Description

Public function Virtual

void

 

AddReferencedObjects

(
    FReferenceCollector& Collector
)

FGCObject Interface

Public function Virtual Const

FString

 

GetReferencerName()

Use this method to report a name for your referencer.