Vulkan Schnee 0.0.1 (22840dc8)
High-performance rendering engine
Loading...
Searching...
No Matches
Engine::Subsystems Class Reference

Subsystems is a singleton which distributed the pointers to most engine systems to the codebase. More...

#include <Subsystems.h>

Collaboration diagram for Engine::Subsystems:

Public Member Functions

 Subsystems ()=default
Core::AudioEngine * audioEngine () const
Core::TimerManager * timerManager () const
Core::PhysicsEngine * physicsEngine () const
Core::AssetManager * assetManager () const
Core::AssetRegistry * assetRegistry () const
Core::SceneManager * sceneManager () const

Static Public Member Functions

static Subsystems & get ()

Private Member Functions

void bindAudioEngine (Core::AudioEngine *audioEngine)
void bindTimerManager (Core::TimerManager *timerManager)
void bindPhysicsEngine (Core::PhysicsEngine *physicsEngine)
void bindAssetManger (Core::AssetManager *assetManager)
void bindAssetRegistry (Core::AssetRegistry *assetRegistry)
void bindSceneManager (Core::SceneManager *sceneManager)

Private Attributes

friend EngineKern
Core::AudioEngine * audioEngine_ = nullptr
Core::TimerManager * timerManager_ = nullptr
Core::PhysicsEngine * physicsEngine_ = nullptr
Core::AssetManager * assetManager_ = nullptr
Core::AssetRegistry * assetRegistry_ = nullptr
Core::SceneManager * sceneManager_ = nullptr

Detailed Description

Subsystems is a singleton which distributed the pointers to most engine systems to the codebase.

Definition at line 26 of file Subsystems.h.

Constructor & Destructor Documentation

◆ Subsystems()

Engine::Subsystems::Subsystems ( )
default

Referenced by get().

Here is the caller graph for this function:

Member Function Documentation

◆ assetManager()

Core::AssetManager * Engine::Subsystems::assetManager ( ) const
nodiscard

Referenced by bindAssetManger().

Here is the caller graph for this function:

◆ assetRegistry()

Core::AssetRegistry * Engine::Subsystems::assetRegistry ( ) const
nodiscard

Referenced by bindAssetRegistry().

Here is the caller graph for this function:

◆ audioEngine()

Core::AudioEngine * Engine::Subsystems::audioEngine ( ) const
nodiscard

Referenced by bindAudioEngine().

Here is the caller graph for this function:

◆ bindAssetManger()

void Engine::Subsystems::bindAssetManger ( Core::AssetManager * assetManager)
private

References assetManager().

Here is the call graph for this function:

◆ bindAssetRegistry()

void Engine::Subsystems::bindAssetRegistry ( Core::AssetRegistry * assetRegistry)
private

References assetRegistry().

Here is the call graph for this function:

◆ bindAudioEngine()

void Engine::Subsystems::bindAudioEngine ( Core::AudioEngine * audioEngine)
private

References audioEngine().

Here is the call graph for this function:

◆ bindPhysicsEngine()

void Engine::Subsystems::bindPhysicsEngine ( Core::PhysicsEngine * physicsEngine)
private

References physicsEngine().

Here is the call graph for this function:

◆ bindSceneManager()

void Engine::Subsystems::bindSceneManager ( Core::SceneManager * sceneManager)
private

References sceneManager().

Here is the call graph for this function:

◆ bindTimerManager()

void Engine::Subsystems::bindTimerManager ( Core::TimerManager * timerManager)
private

References timerManager().

Here is the call graph for this function:

◆ get()

Subsystems & Engine::Subsystems::get ( )
static

References Subsystems().

Here is the call graph for this function:

◆ physicsEngine()

Core::PhysicsEngine * Engine::Subsystems::physicsEngine ( ) const
nodiscard

Referenced by bindPhysicsEngine().

Here is the caller graph for this function:

◆ sceneManager()

Core::SceneManager * Engine::Subsystems::sceneManager ( ) const
nodiscard

Referenced by bindSceneManager().

Here is the caller graph for this function:

◆ timerManager()

Core::TimerManager * Engine::Subsystems::timerManager ( ) const
nodiscard

Referenced by bindTimerManager().

Here is the caller graph for this function:

Member Data Documentation

◆ assetManager_

Core::AssetManager* Engine::Subsystems::assetManager_ = nullptr
private

Definition at line 50 of file Subsystems.h.

◆ assetRegistry_

Core::AssetRegistry* Engine::Subsystems::assetRegistry_ = nullptr
private

Definition at line 53 of file Subsystems.h.

◆ audioEngine_

Core::AudioEngine* Engine::Subsystems::audioEngine_ = nullptr
private

Definition at line 41 of file Subsystems.h.

◆ EngineKern

friend Engine::Subsystems::EngineKern
private

Definition at line 27 of file Subsystems.h.

◆ physicsEngine_

Core::PhysicsEngine* Engine::Subsystems::physicsEngine_ = nullptr
private

Definition at line 47 of file Subsystems.h.

◆ sceneManager_

Core::SceneManager* Engine::Subsystems::sceneManager_ = nullptr
private

Definition at line 56 of file Subsystems.h.

◆ timerManager_

Core::TimerManager* Engine::Subsystems::timerManager_ = nullptr
private

Definition at line 44 of file Subsystems.h.


The documentation for this class was generated from the following file:
  • /workspace/magerbeton/gl3-vulkan/code/Engine/include/Engine/Subsystems/Subsystems.h