#include <dispatcher_private.hpp>
Static Public Member Functions | |
template<event_category C> | |
static auto & | event_signal (dispatcher &dispatcher, const ui_event event) |
Returns the appropriate signal queue for an event by category. More... | |
static bool | has_handler (dispatcher &dispatcher, const dispatcher::event_queue_type queue_type, ui_event event) |
A helper to test whether dispatcher has an handler for a certain event. More... | |
Definition at line 29 of file dispatcher_private.hpp.
|
inlinestatic |
Returns the appropriate signal queue for an event by category.
C | For example, general. |
dispatcher | The dispatcher whose signal queue is used. |
event | The event to get the signal for. |
Definition at line 41 of file dispatcher_private.hpp.
References gui2::event::dispatcher::get_signal_queue().
|
inlinestatic |
A helper to test whether dispatcher has an handler for a certain event.
dispatcher | The dispatcher whose signal queue is used. |
queue_type | The type of event to look for. |
event | The event to get the signal for. |
Definition at line 55 of file dispatcher_private.hpp.
References gui2::event::general, gui2::event::get_event_category(), gui2::event::keyboard, gui2::event::message, gui2::event::mouse, gui2::event::notification, gui2::event::raw_event, gui2::event::dispatcher::signal_keyboard_queue_, gui2::event::dispatcher::signal_message_queue_, gui2::event::dispatcher::signal_mouse_queue_, gui2::event::dispatcher::signal_notification_queue_, gui2::event::dispatcher::signal_queue_, gui2::event::dispatcher::signal_raw_event_queue_, gui2::event::dispatcher::signal_text_input_queue_, gui2::event::dispatcher::signal_touch_gesture_queue_, gui2::event::dispatcher::signal_touch_motion_queue_, gui2::event::text_input, gui2::event::touch_gesture, and gui2::event::touch_motion.
Referenced by gui2::event::dispatcher::has_event().