66 #ifndef STAGE_CTRL_UI_DISPATCHER_H 67 #define STAGE_CTRL_UI_DISPATCHER_H 88 static _Fmt messageTemplate{
"asynchronous UI response failed: %s (error flag was: %s)"};
90 WARN (
stage,
"%s", response.c_str());
106 Glib::Dispatcher dispatcher_;
108 using Operation = lib::CallQueue::Operation;
120 catch (std::exception& problem)
141 queue_.feed (move(op));
string generateErrorResponse(const char *problem="unexpected problem")
void event(Operation &&op)
move the given operation into our private dispatcher queue and then schedule dequeuing and invocation...
A threadsafe queue for bound void(void) functors.
Any copy and copy construction prohibited.
Helper to dispatch code blocks into the UI event thread for execution.
A front-end for using printf-style formatting.
Mix-Ins to allow or prohibit various degrees of copying and cloning.
A Queue for function invocations, allowing them to be dispatched on demand.
Lumiera GTK UI implementation root.
lumiera_err lumiera_error(void)
Get and clear current error state.
A set of basic GTK includes for the UI.