9template<
typename F,
typename... Args>
12 auto deferredAction = [funcLocal = std::move( func ), &...argsLocal = args]()
mutable
14 funcLocal( std::forward<Args>( argsLocal )... );
22template<
typename R,
typename... Args>
25 return[fLocal = std::move( f )]( Args&&... args )
mutable
38template<
typename R,
typename T,
typename... Args>
static MRVIEWER_API void runCommandFromGUIThread(CommandFunc func)
Definition MRCameraOrientationPlugin.h:8
auto pythonRunFromGUIThread(std::function< R(Args...)> &&f) -> std::function< void(Args...)>
Definition MRPythonAppendCommand.h:23
void pythonAppendOrRun(F func, Args &&... args)
Definition MRPythonAppendCommand.h:10