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::Rendererrenderer
 
ResourceManagerresourceManager
 The resource manager instance. More...
 
InputManagerinputManager
 The input manager instance. More...
 
RenderManagerrenderManager
 The render manager instance. More...
 
PhysicsManagerphysicsManager
 The physics manager instance. More...
 
SoundManagersoundManager
 The sound manager instance. More...
 
ScriptManagerscriptManager
 The script manager instance. More...
 
DebugDrawingManagerdebugDrawingManager
 The debug drawing manager instance. More...
 
ProfilingManagerprofilingManager
 The profiling manager instance. More...
 
TriggerManagertriggerManager
 The trigger manager instance. More...
 

Friends

HubManagers ()
 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: