Vulkan Schnee 0.0.1
High-performance rendering engine
Loading...
Searching...
No Matches
EngineCore::EngineManager Class Reference

Singleton which stores a pointer to the engine object. More...

#include <Engine.h>

Collaboration diagram for EngineCore::EngineManager:

Public Member Functions

virtual ~EngineManager ()=default
EngineCore::EnginegetEngineModule ()
 gets the pointer to the engine object
void setEngine (Engine *engineInstance)
 set the content pointer for this singleton

Static Public Member Functions

static EngineManagergetInstance ()
 gets a reference to the engine manager

Protected Member Functions

 EngineManager ()=default
 EngineManager (const EngineManager &)=delete
EngineManageroperator= (const EngineManager &)=delete

Protected Attributes

EngineCore::Engineengine = nullptr

Detailed Description

Singleton which stores a pointer to the engine object.

Author
Konstantin Passig
Date
10.12.2025

Definition at line 295 of file Engine.h.

Constructor & Destructor Documentation

◆ ~EngineManager()

virtual EngineCore::EngineManager::~EngineManager ( )
virtualdefault

References EngineManager().

Here is the call graph for this function:

◆ EngineManager() [1/2]

EngineCore::EngineManager::EngineManager ( )
protecteddefault

Referenced by EngineManager(), getInstance(), operator=(), and ~EngineManager().

Here is the caller graph for this function:

◆ EngineManager() [2/2]

EngineCore::EngineManager::EngineManager ( const EngineManager & )
protecteddelete

References EngineManager().

Here is the call graph for this function:

Member Function Documentation

◆ getEngineModule()

EngineCore::Engine * EngineCore::EngineManager::getEngineModule ( )

gets the pointer to the engine object

Returns
engine object pointer

Definition at line 1140 of file Engine.cpp.

References engine.

Referenced by EngineCore::Actor::Actor(), EngineCore::MeshComponent::beginPlay(), EngineCore::PhysicsBodyComponent::getPhysicsEngine(), EngineCore::Scene::Scene(), EngineCore::VulkanBuffer::VulkanBuffer(), EngineCore::Window::Window(), and Input::XrInputHandler::XrInputHandler().

Here is the caller graph for this function:

◆ getInstance()

EngineManager & EngineCore::EngineManager::getInstance ( )
static

gets a reference to the engine manager

Returns
reference to the engine pointer

Definition at line 1135 of file Engine.cpp.

References EngineManager().

Referenced by EngineCore::Actor::Actor(), EngineCore::MeshComponent::beginPlay(), EngineCore::PhysicsBodyComponent::getPhysicsEngine(), main(), EngineCore::Scene::Scene(), EngineCore::VulkanBuffer::VulkanBuffer(), EngineCore::Window::Window(), and Input::XrInputHandler::XrInputHandler().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ operator=()

EngineManager & EngineCore::EngineManager::operator= ( const EngineManager & )
protecteddelete

References EngineManager().

Here is the call graph for this function:

◆ setEngine()

void EngineCore::EngineManager::setEngine ( Engine * engineInstance)

set the content pointer for this singleton

Definition at line 1144 of file Engine.cpp.

References engine.

Referenced by main().

Here is the caller graph for this function:

Member Data Documentation

◆ engine

EngineCore::Engine* EngineCore::EngineManager::engine = nullptr
protected

Definition at line 319 of file Engine.h.

Referenced by getEngineModule(), and setEngine().


The documentation for this class was generated from the following files:
  • /home/magerbeton/Documents/gl3-vulkan/Engine/include/Engine/Core/Engine.h
  • /home/magerbeton/Documents/gl3-vulkan/Engine/src/Engine/Core/Engine.cpp