TracktionEngine
Loading...
Searching...
No Matches
engine::AudioProxyGenerator::GeneratorJob Struct Referenceabstract

#include <tracktion_AudioProxyGenerator.h>

Inheritance diagram for 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 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.
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.

Public Attributes

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

Member Typedef Documentation

◆ Ptr

using engine::AudioProxyGenerator::GeneratorJob::Ptr = juce::ReferenceCountedObjectPtr<GeneratorJob>

Constructor & Destructor Documentation

◆ GeneratorJob()

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

References proxy.

◆ ~GeneratorJob()

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

Member Function Documentation

◆ render()

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

◆ getCurrentTaskProgress()

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

◆ runJob()

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

Member Data Documentation

◆ proxy

AudioFile engine::AudioProxyGenerator::GeneratorJob::proxy

Referenced by GeneratorJob().

◆ progress

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

Referenced by getCurrentTaskProgress().


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