12template<
typename F,
typename... Args>
15 auto deferredAction = [funcLocal = std::move( func ), &...argsLocal = args]()
mutable
17 funcLocal( std::forward<Args>( argsLocal )... );
25template<
typename R,
typename... Args>
28 return[fLocal = std::move( f )]( Args&&... args )
mutable
41template<
typename R,
typename T,
typename... Args>
auto pythonRunFromGUIThread(std::function< R(Args...)> &&f) -> std::function< void(Args...)>
Definition MRPythonAppendCommand.h:26
static MRVIEWER_API void runCommandFromGUIThread(CommandFunc func)
void pythonAppendOrRun(F func, Args &&... args)
Definition MRPythonAppendCommand.h:13
only for bindings generation
Definition MRCameraOrientationPlugin.h:8