56#include "sml/events/event_dispatching.h"
57#include "sml/events/listener_notifier.h"
58#include "sml/events/system_events.h"
69 void attachFilter(
const std::initializer_list<Sml::EventType>& types, Sml::Listener* filter);
70 void detachFilter(Sml::Listener* filter);
71 void attachHandler(
const std::initializer_list<Sml::EventType>& types, Sml::Listener* handler);
72 void detachHandler(Sml::Listener* handler);
75 virtual Sml::Event* dispatchEvent(Sml::Event* event, Sml::EventDispatchChain* chain)
override;
78 Sml::Notifier m_FiltersNotifier;
79 Sml::Notifier m_HandlersNotifier;
81 virtual Sml::Event* dispatchCapturingEvent(Sml::Event* event);
82 virtual Sml::Event* dispatchBubblingEvent(Sml::Event* event);
95 virtual Sml::Event* sendThroughChain(Sml::Event* event)
override;
98 std::vector<GuiEventDispatcher*> m_Dispatchers;
99 uint32_t m_ActiveCount;
virtual void prependDispatcher(Sml::EventDispatcher *dispatcher) override
Sml::Event * fireEvent(Sml::Event *event)
Fire the event from the specified.