EventManager struct
#include <gui/backend/event_manager.h>
Event manager for the UI.
Contents
- Reference
This API is responsible for collecting and processing UI events on the GTK thread.
Public variables
- MPMCQueue* mqueue
- Event queue, mainly for GUI events.
- ObjectPool* obj_pool
- Object pool of event structs to avoid real time allocation.
- guint process_source_id
- ID of the event processing source func.
- bool pending_soft_recalc
- A soft recalculation of the routing graph is pending.
- GPtrArray* events_arr
- Events array to use during processing.
Variable documentation
guint EventManager:: process_source_id
ID of the event processing source func.
Will be zero when stopped and non-zero when active.