TheAtlasEngine
 
Loading...
Searching...
No Matches
atlas::event::event_bus Class Reference

Event bus that holds the responsibility to reroute events to the subscribers of those particular event. More...

#include <event_bus.hpp>

Public Member Functions

template<typename UEvent >
void create_listener ()
 
template<typename UEvent , typename UObject , typename UCallback >
void subscribe (UObject *p_instance, const UCallback &p_callback)
 
template<typename UEvent >
void publish (UEvent &p_event)
 

Detailed Description

Event bus that holds the responsibility to reroute events to the subscribers of those particular event.


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