Zrythm
a highly automated and intuitive digital audio workstation
Loading...
Searching...
No Matches
EventManager Struct Reference

Event manager for the UI. More...

#include <gui/backend/event_manager.h>

Collaboration diagram for EventManager:

Data Fields

MPMCQueuemqueue
 Event queue, mainly for GUI events.
 
ObjectPoolobj_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.
 

Detailed Description

Event manager for the UI.

This API is responsible for collecting and processing UI events on the GTK thread.

See also
ZEvent.

Definition at line 39 of file event_manager.h.

Field Documentation

◆ events_arr

GPtrArray* EventManager::events_arr

Events array to use during processing.

Definition at line 64 of file event_manager.h.

◆ mqueue

MPMCQueue* EventManager::mqueue

Event queue, mainly for GUI events.

Definition at line 44 of file event_manager.h.

◆ obj_pool

ObjectPool* EventManager::obj_pool

Object pool of event structs to avoid real time allocation.

Definition at line 50 of file event_manager.h.

◆ pending_soft_recalc

bool EventManager::pending_soft_recalc

A soft recalculation of the routing graph is pending.

Definition at line 61 of file event_manager.h.

◆ process_source_id

guint EventManager::process_source_id

ID of the event processing source func.

Will be zero when stopped and non-zero when active.

Definition at line 57 of file event_manager.h.


The documentation for this struct was generated from the following file: