Silicon
A realtime platform for creating interactive media.
Event.hpp File Reference
#include <algorithm>
#include <cstdint>
#include <functional>
#include "SDL_events.h"
#include "Types.hpp"
Include dependency graph for Event.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  Si::Event::AppQuit
 Published when the Engine begins it's shutdown procedures. More...
 
struct  Si::Event::WindowResize
 
class  Si::Sub< T >
 The Subscriber class allows you to listen in on published events of type T. More...
 

Namespaces

namespace  Si
 
namespace  Si::Event
 

Functions

void Si::Event::Process ()
 
template<typename T >
void Si::Pub (const T &data)
 Publishes an event of type T to all subscribers immediately. More...