Class · aurore

aurore::Event

On this page
aurore/core/event.hpp
#include <aurore/core/event.hpp>

template <typename... Ts>
class aurore::Event

Types 3

typedef std::function< void(Ts...)> Callback
typedef std::list< Callback > CallbacksList
typedef CallbacksList::iterator Subscription

Constructors 2

Event() =default
Event(const Event &other)

Functions 5

Event & operator=(const Event &other)
Subscription subscribe(Callback cb)
void unsubscribe(Subscription subscription)
void clear()
bool fire(Ts... args)

Read from Aurore's headers by Doxygen at each build · library/include