TracktionEngine
Loading...
Searching...
No Matches
engine::ThreadPoolJobWithProgress Class Referenceabstract

#include <tracktion_BackgroundJobs.h>

Inheritance diagram for engine::ThreadPoolJobWithProgress:

Public Member Functions

 ThreadPoolJobWithProgress (const juce::String &name)
 ~ThreadPoolJobWithProgress ()
virtual float getCurrentTaskProgress ()=0
virtual bool canCancel () const
void setManager (BackgroundJobManager &)
void setName (const juce::String &newName)
 Sets the job's name but also updates the manager so the list will reflect it.
void prepareForJobDeletion ()
 Call this in your sub-class destructor to to remvoe it from the manager queue before this class's destructor is called which can result in a pure virtual call.

Constructor & Destructor Documentation

◆ ThreadPoolJobWithProgress()

engine::ThreadPoolJobWithProgress::ThreadPoolJobWithProgress ( const juce::String & name)

◆ ~ThreadPoolJobWithProgress()

engine::ThreadPoolJobWithProgress::~ThreadPoolJobWithProgress ( )

Member Function Documentation

◆ getCurrentTaskProgress()

virtual float engine::ThreadPoolJobWithProgress::getCurrentTaskProgress ( )
pure virtual

◆ canCancel()

virtual bool engine::ThreadPoolJobWithProgress::canCancel ( ) const
virtual

Reimplemented in engine::ArchiveJob.

◆ setManager()

void engine::ThreadPoolJobWithProgress::setManager ( BackgroundJobManager & m)

◆ setName()

void engine::ThreadPoolJobWithProgress::setName ( const juce::String & newName)

Sets the job's name but also updates the manager so the list will reflect it.

References setName().

Referenced by setName().

◆ prepareForJobDeletion()

void engine::ThreadPoolJobWithProgress::prepareForJobDeletion ( )

Call this in your sub-class destructor to to remvoe it from the manager queue before this class's destructor is called which can result in a pure virtual call.

References prepareForJobDeletion().

Referenced by prepareForJobDeletion().


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