Hymn to Beauty
C++ 3D Engine
Hub Class Reference

Singleton class that holds all subsystems. More...

#include <Managers.hpp>

Public Member Functions

void StartUp (Video::Renderer::GraphicsAPI graphicsAPI, Utility::Window *window)
 Initialize all subsystems. More...
 
void ShutDown ()
 Deinitialize all subsystems. More...
 
void ClearKilledComponents ()
 Clears the killed components of all managers. More...
 

Public Attributes

Video::Renderer * renderer
 
ResourceManager * resourceManager
 The resource manager instance. More...
 
InputManager * inputManager
 The input manager instance. More...
 
RenderManager * renderManager
 The render manager instance. More...
 
PhysicsManager * physicsManager
 The physics manager instance. More...
 
SoundManager * soundManager
 The sound manager instance. More...
 
ScriptManager * scriptManager
 The script manager instance. More...
 
DebugDrawingManager * debugDrawingManager
 The debug drawing manager instance. More...
 
ProfilingManager * profilingManager
 The profiling manager instance. More...
 
TriggerManager * triggerManager
 The trigger manager instance. More...
 

Friends

Hub & Managers ()
 Get a hub containing all the subsystems. More...
 

Detailed Description

Singleton class that holds all subsystems.

Member Function Documentation

◆ ClearKilledComponents()

void Hub::ClearKilledComponents ( )

Clears the killed components of all managers.

◆ ShutDown()

void Hub::ShutDown ( )

Deinitialize all subsystems.

◆ StartUp()

void Hub::StartUp ( Video::Renderer::GraphicsAPI  graphicsAPI,
Utility::Window *  window 
)

Initialize all subsystems.

Parameters
graphicsAPIWhich graphics API to use for rendering. @parma window The window to display in.

Friends And Related Function Documentation

◆ Managers

Hub & Managers ( )
friend

Get a hub containing all the subsystems.

Returns
A hub containing all the subsystems.

Member Data Documentation

◆ debugDrawingManager

DebugDrawingManager* Hub::debugDrawingManager

The debug drawing manager instance.

◆ inputManager

InputManager* Hub::inputManager

The input manager instance.

◆ physicsManager

PhysicsManager* Hub::physicsManager

The physics manager instance.

◆ profilingManager

ProfilingManager* Hub::profilingManager

The profiling manager instance.

◆ renderer

Video::Renderer* Hub::renderer

◆ renderManager

RenderManager* Hub::renderManager

The render manager instance.

◆ resourceManager

ResourceManager* Hub::resourceManager

The resource manager instance.

◆ scriptManager

ScriptManager* Hub::scriptManager

The script manager instance.

◆ soundManager

SoundManager* Hub::soundManager

The sound manager instance.

◆ triggerManager

TriggerManager* Hub::triggerManager

The trigger manager instance.


The documentation for this class was generated from the following files: