Ember
A C++ 20 'game engine' built with SDL3 with wide platform support.
Public Member Functions | Protected Attributes | List of all members
EngineManager Class Referenceabstract

Base class for all engine systems. More...

#include <engine_sys.h>

Inheritance diagram for EngineManager:
AudioManager PhysicsManager ThreadManager

Public Member Functions

virtual ~EngineManager ()=default
 
virtual bool initialize ()=0
 
virtual void update (double delta_time=0)=0
 
virtual void shutdown ()=0
 
const char * get_name () const
 

Protected Attributes

const char * name = "EngineSystem"
 

Detailed Description

Base class for all engine systems.

All engine systems should inherit from this class and implement the virtual methods.

Version
1.1.0

Constructor & Destructor Documentation

◆ ~EngineManager()

virtual EngineManager::~EngineManager ( )
virtualdefault

Member Function Documentation

◆ get_name()

const char* EngineManager::get_name ( ) const
inline

◆ initialize()

virtual bool EngineManager::initialize ( )
pure virtual

Implemented in ThreadManager, PhysicsManager, and AudioManager.

◆ shutdown()

virtual void EngineManager::shutdown ( )
pure virtual

Implemented in ThreadManager, PhysicsManager, and AudioManager.

◆ update()

virtual void EngineManager::update ( double  delta_time = 0)
pure virtual

Implemented in PhysicsManager, ThreadManager, and AudioManager.

Member Data Documentation

◆ name

const char* EngineManager::name = "EngineSystem"
protected

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