Job base class With main thread we really just mean the thread the Module that the JobThread we are pushed to is running on.
More...
#include <JobThread.h>
Job base class With main thread we really just mean the thread the Module that the JobThread we are pushed to is running on.
| trippingcyril::thread::Job::Job |
( |
| ) |
|
|
inline |
| virtual trippingcyril::thread::Job::~Job |
( |
| ) |
|
|
inlinevirtual |
| virtual void trippingcyril::thread::Job::execute |
( |
| ) |
|
|
pure virtual |
| virtual void trippingcyril::thread::Job::postExecuteMain |
( |
| ) |
|
|
pure virtual |
This method will run on the 'main' thread after execution of execute()
| virtual bool trippingcyril::thread::Job::preExecuteMain |
( |
| ) |
|
|
pure virtual |
This method will be executed on the 'main' thread before execution
- Returns
- True if it should actually run
| bool trippingcyril::thread::Job::runPostHook |
Set this to false if you don't want postExecuteMain() to run, true by default
- Note
- This can in theory improve performance as you won't cause unnecessary activity on the main thread.
The documentation for this class was generated from the following file: