knowL: Knowledge Libraries
Loading...
Searching...
No Matches
knowCore::AsynchronousFunction< _Args_ > Class Template Reference

#include <AsynchronousFunction.h>

Public Member Functions

 AsynchronousFunction (const std::function< void(_Args_...)> &_function, QThread *_thread)
 
void operator() (_Args_... _args)
 

Detailed Description

template<typename... _Args_>
class knowCore::AsynchronousFunction< _Args_ >

Execute a std::function inside a QThread using a QueuedConnection slot

Member Function Documentation

◆ operator()()

template<typename... _Args_>
void knowCore::AsynchronousFunction< _Args_ >::operator() ( _Args_... _args)
inline

Call the function asynchronously


The documentation for this class was generated from the following file: