tracktion-engine 3.0-10-g034fdde4aa5
Tracktion Engine — High level data model for audio applications

« « « Anklang Documentation
Loading...
Searching...
No Matches
Public Types | Public Member Functions | Public Attributes | List of all members
tracktion::engine::AudioProxyGenerator::GeneratorJob Struct Referenceabstract
Inheritance diagram for tracktion::engine::AudioProxyGenerator::GeneratorJob:
tracktion::engine::ThreadPoolJobWithProgress juce::ThreadPoolJob tracktion::engine::CompGeneratorJob tracktion::engine::ProxyGeneratorJob

Public Types

using Ptr = juce::ReferenceCountedObjectPtr< GeneratorJob >
 
- Public Types inherited from juce::ThreadPoolJob
enum  JobStatus
 

Public Member Functions

 GeneratorJob (const AudioFile &proxy)
 
virtual bool render ()=0
 
float getCurrentTaskProgress () override
 
ThreadPoolJob::JobStatus runJob () override
 
- Public Member Functions inherited from tracktion::engine::ThreadPoolJobWithProgress
 ThreadPoolJobWithProgress (const juce::String &name)
 
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 Member Functions inherited from juce::ThreadPoolJob
 ThreadPoolJob (const String &name)
 
String getJobName () const
 
void setJobName (const String &newName)
 
bool isRunning () const noexcept
 
bool shouldExit () const noexcept
 
void signalJobShouldExit ()
 
void addListener (Thread::Listener *)
 
void removeListener (Thread::Listener *)
 

Public Attributes

AudioFile proxy
 
std::atomic< floatprogress
 
- Public Attributes inherited from juce::ThreadPoolJob
 jobHasFinished
 
 jobNeedsRunningAgain
 

Additional Inherited Members

- Static Public Member Functions inherited from juce::ThreadPoolJob
static ThreadPoolJobgetCurrentThreadPoolJob ()
 

Detailed Description

Definition at line 26 of file tracktion_AudioProxyGenerator.h.

Member Typedef Documentation

◆ Ptr

Definition at line 37 of file tracktion_AudioProxyGenerator.h.

Constructor & Destructor Documentation

◆ GeneratorJob()

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

Definition at line 224 of file tracktion_AudioFile.cpp.

◆ ~GeneratorJob()

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

Definition at line 229 of file tracktion_AudioFile.cpp.

Member Function Documentation

◆ getCurrentTaskProgress()

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

◆ runJob()

juce::ThreadPoolJob::JobStatus tracktion::engine::AudioProxyGenerator::GeneratorJob::runJob ( )
overridevirtual

Implements juce::ThreadPoolJob.

Definition at line 235 of file tracktion_AudioFile.cpp.

Member Data Documentation

◆ progress

std::atomic<float> tracktion::engine::AudioProxyGenerator::GeneratorJob::progress

Definition at line 40 of file tracktion_AudioProxyGenerator.h.

◆ proxy

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

Definition at line 39 of file tracktion_AudioProxyGenerator.h.


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