VOX
A little voxel engine
Loading...
Searching...
No Matches
Event::Manager Class Reference

#include <EventManager.hpp>

Collaboration diagram for Event::Manager:
Collaboration graph

Public Member Functions

 Manager ()=default
 
virtual ~Manager ()=default
 
template<typename EventType >
void subscribe (const Handler< EventType > &handler)
 
template<typename EventType >
void unsubscribe (const Handler< EventType > &handler)
 
void triggerEvent (const AbstractEvent &e)
 

Constructor & Destructor Documentation

◆ Manager()

Event::Manager::Manager ( )
default

◆ ~Manager()

virtual Event::Manager::~Manager ( )
virtualdefault

Member Function Documentation

◆ subscribe()

template<typename EventType >
void Event::Manager::subscribe ( const Handler< EventType > &  handler)
inline

◆ triggerEvent()

void Event::Manager::triggerEvent ( const AbstractEvent e)
inline

◆ unsubscribe()

template<typename EventType >
void Event::Manager::unsubscribe ( const Handler< EventType > &  handler)
inline

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