TracktionEngine
Public Member Functions | List of all members
tracktion::engine::ThreadPoolJobWithProgress Class Referenceabstract
Inheritance diagram for tracktion::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. More...
 
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. More...
 

Constructor & Destructor Documentation

◆ ThreadPoolJobWithProgress()

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

◆ ~ThreadPoolJobWithProgress()

tracktion::engine::ThreadPoolJobWithProgress::~ThreadPoolJobWithProgress ( )

Member Function Documentation

◆ getCurrentTaskProgress()

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

◆ canCancel()

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

◆ setManager()

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

◆ setName()

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

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

◆ prepareForJobDeletion()

void tracktion::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.


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