|
Zrythm v2.0.0-DEV
a highly automated and intuitive digital audio workstation
|
Template class for real-time safe property updates between threads. More...
#include <src/gui/backend/realtime_property.h>


Public Member Functions | |
| RealtimeProperty (T initial=T{}) | |
| void | setRT (const T &newValue) |
| T | getRT () const |
| T | get () const |
| void | set (const T &newValue) |
| bool | processUpdates () override |
| Process pending updates from real-time thread. | |
Template class for real-time safe property updates between threads.
Provides atomic updates with separate main thread and real-time thread values.
Definition at line 29 of file realtime_property.h.
|
inline |
Definition at line 32 of file realtime_property.h.
|
inline |
Definition at line 45 of file realtime_property.h.
|
inline |
Definition at line 42 of file realtime_property.h.
|
inlineoverridevirtual |
Process pending updates from real-time thread.
Implements IRealtimeProperty.
Definition at line 55 of file realtime_property.h.
|
inline |
Definition at line 48 of file realtime_property.h.
|
inline |
Definition at line 35 of file realtime_property.h.