CheeseEngine
A 2D Game Engine
Loading...
Searching...
No Matches
Public Member Functions | List of all members
IEventQueue Class Referenceabstract

Abstract event queue interface for type erasure. More...

#include <EventBus.hpp>

Inheritance diagram for IEventQueue:
[legend]

Public Member Functions

virtual ~IEventQueue ()=default
 
virtual void Dispatch ()=0
 Calls all subscribers and clears the current queue.
 
virtual void RemoveHandler (HandlerId id)=0
 Removes a handler by its unique ID.
 

Detailed Description

Abstract event queue interface for type erasure.

Constructor & Destructor Documentation

◆ ~IEventQueue()

virtual IEventQueue::~IEventQueue ( )
virtualdefault

Member Function Documentation

◆ Dispatch()

virtual void IEventQueue::Dispatch ( )
pure virtual

Calls all subscribers and clears the current queue.

Parameters
None
Return values
None

Implemented in EventQueue< T >.

◆ RemoveHandler()

virtual void IEventQueue::RemoveHandler ( HandlerId  id)
pure virtual

Removes a handler by its unique ID.

Parameters
id: The unique identifier of the handler to remove
Return values
None

Implemented in EventQueue< T >.


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