knowL: Knowledge Libraries
|
#include <AsynchronousFunction.h>
Public Member Functions | |
AsynchronousFunction (const std::function< _TRet_(_Args_...)> &_function, QThread *_thread, const std::function< void(const _TRet_ &)> &_ret_handler) | |
void | operator() (_Args_... _args) |
Execute a std::function inside a QThread using a QueuedConnection slot
|
inline |
Call the function asynchronously