13 ,
public TClosure<void, QThread&, QObject*>
37 ,
TClosure<void, QThread&, QObject*>()
42 ,
TClosure<void, QThread&, QObject*>(f)
48 requestInterruption();
60 call(*
this, &threadParent);
Class for creating Qt threads easier.
Definition QtThreadClosure.h:14
~QtThreadClosure() override
Definition QtThreadClosure.h:45
QtThreadClosure(QObject *parent=nullptr)
Standard QT constructor.
Definition QtThreadClosure.h:35
void run() override
Overrides run function and calls the closure assigned one.
Definition QtThreadClosure.h:52
Encapsulates the std::function() template.
Definition TClosure.h:14
std::function< void(Args...)> func_type
Function type of the lambda or function.
Definition TClosure.h:19
void call(Args... args) const
Makes the call to the member function.
bool isAssigned() const
Checks if the closure is valid for calling.
Definition Application.h:10