FSubsystemCollectionBase

Windows
MacOS
Linux

Inheritance Hierarchy

FGCObject

FSubsystemCollectionBase

FSubsystemCollection

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

(
    TSubclassOf< USubsystem > InBaseTyp...
)

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

Functions

Name Description

Public function

void

 

Deinitialize()

Clears the collection, while deinitializing the systems

Protected function Const

const TSubcl...

 

GetBaseType()

Get the collection BaseType

Protected function Const

const TArray...

 

GetSubsystemArrayInternal

(
    TSubclassOf< USubsystem > Subsystem...
)

Get a list of Subsystems by type

Protected function Const

USubsystem &...

 

GetSubsystemInternal

(
    TSubclassOf< USubsystem > Subsystem...
)

Get a Subsystem by type

Public function

void

 

Initialize

(
    UObject* NewOuter
)

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

Public function

bool

 

InitializeDependency

(
    TSubclassOf< USubsystem > Subsystem...
)

Only call from Initialize() of Systems to ensure initialization order Note: Dependencies only work within a collection

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.

Constants

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss