TracktionEngine
Public Types | Public Member Functions | Public Attributes | List of all members
tracktion::engine::AudioProxyGenerator::GeneratorJob Struct Referenceabstract
Inheritance diagram for tracktion::engine::AudioProxyGenerator::GeneratorJob:

Public Types

using Ptr = juce::ReferenceCountedObjectPtr< GeneratorJob >
 

Public Member Functions

 GeneratorJob (const AudioFile &proxy)
 
 ~GeneratorJob () override
 
virtual bool render ()=0
 
float getCurrentTaskProgress () override
 
ThreadPoolJob::JobStatus runJob () override
 
- Public Member Functions inherited from tracktion::engine::ThreadPoolJobWithProgress
 ThreadPoolJobWithProgress (const juce::String &name)
 
 ~ThreadPoolJobWithProgress ()
 
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...
 

Public Attributes

AudioFile proxy
 
std::atomic< float > progress { 0.0f }
 

Member Typedef Documentation

◆ Ptr

Constructor & Destructor Documentation

◆ GeneratorJob()

tracktion::engine::AudioProxyGenerator::GeneratorJob::GeneratorJob ( const AudioFile proxy)

◆ ~GeneratorJob()

tracktion::engine::AudioProxyGenerator::GeneratorJob::~GeneratorJob ( )
override

Member Function Documentation

◆ render()

virtual bool tracktion::engine::AudioProxyGenerator::GeneratorJob::render ( )
pure virtual

◆ getCurrentTaskProgress()

float tracktion::engine::AudioProxyGenerator::GeneratorJob::getCurrentTaskProgress ( )
overridevirtual

◆ runJob()

ThreadPoolJob::JobStatus tracktion::engine::AudioProxyGenerator::GeneratorJob::runJob ( )
override

Member Data Documentation

◆ proxy

AudioFile tracktion::engine::AudioProxyGenerator::GeneratorJob::proxy

◆ progress

std::atomic<float> tracktion::engine::AudioProxyGenerator::GeneratorJob::progress { 0.0f }

Referenced by getCurrentTaskProgress().


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