75 #ifndef STAGE_CTRL_UI_DISPATCHER_H 76 #define STAGE_CTRL_UI_DISPATCHER_H 97 static _Fmt messageTemplate{
"asynchronous UI response failed: %s (error flag was: %s)"};
99 WARN (
stage,
"%s", response.c_str());
115 Glib::Dispatcher dispatcher_;
117 using Operation = lib::CallQueue::Operation;
129 catch (std::exception& problem)
150 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.