LeechCraft  0.6.70-6645-gcd10d7e
Modular cross-platform feature rich live environment.
LeechCraft::Util::WorkerThreadBase Class Referenceabstract

#include "workerthreadbase.h"

+ Inheritance diagram for LeechCraft::Util::WorkerThreadBase:
+ Collaboration diagram for LeechCraft::Util::WorkerThreadBase:

Signals

void rotateFuncs ()
 

Protected Member Functions

void run () override
 
virtual void Initialize ()=0
 
virtual void Cleanup ()=0
 
template<typename F >
QFuture< ResultOf_t< F()> > ScheduleImpl (const F &func)
 

Detailed Description

Definition at line 46 of file workerthreadbase.h.

Member Function Documentation

virtual void LeechCraft::Util::WorkerThreadBase::Cleanup ( )
protectedpure virtual

Referenced by run().

+ Here is the caller graph for this function:

virtual void LeechCraft::Util::WorkerThreadBase::Initialize ( )
protectedpure virtual

Referenced by run().

+ Here is the caller graph for this function:

void LeechCraft::Util::WorkerThreadBase::rotateFuncs ( )
signal

Referenced by run().

+ Here is the caller graph for this function:

void LeechCraft::Util::WorkerThreadBase::run ( )
overrideprotected

Definition at line 37 of file workerthreadbase.cpp.

References Cleanup(), Initialize(), rotateFuncs(), and LeechCraft::Util::swap().

+ Here is the call graph for this function:

template<typename F >
QFuture<ResultOf_t<F ()> > LeechCraft::Util::WorkerThreadBase::ScheduleImpl ( const F &  func)
inlineprotected

Definition at line 61 of file workerthreadbase.h.

References LeechCraft::Util::ReportFutureResult().

+ Here is the call graph for this function:


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