TracktionEngine
Loading...
Searching...
No Matches
engine::legacy::ExportJob Class Reference

#include <tracktion_ExportJob.h>

Inheritance diagram for engine::legacy::ExportJob:

Public Types

enum class  CompressionLevel {
  lossless = 0 , highQuality , mediumQuality , lowestQuality ,
  uncompressed
}

Public Member Functions

 ExportJob (Edit *, const juce::File &destDir, const Project::Ptr &newProject, const Project::Ptr &srcProject, TracktionArchiveFile *, double handleSize_, bool keepEntireFiles, TracktionArchiveFile::CompressionType, juce::Array< juce::File > &filesForDeletion, juce::StringArray &failedFiles, bool includeLibraryFiles, bool includeClips)
 ~ExportJob () override
JobStatus runJob () override
float getCurrentTaskProgress () 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.

Member Enumeration Documentation

◆ CompressionLevel

Enumerator
lossless 
highQuality 
mediumQuality 
lowestQuality 
uncompressed 

Constructor & Destructor Documentation

◆ ExportJob()

engine::legacy::ExportJob::ExportJob ( Edit * ,
const juce::File & destDir,
const Project::Ptr & newProject,
const Project::Ptr & srcProject,
TracktionArchiveFile * ,
double handleSize_,
bool keepEntireFiles,
TracktionArchiveFile::CompressionType ,
juce::Array< juce::File > & filesForDeletion,
juce::StringArray & failedFiles,
bool includeLibraryFiles,
bool includeClips )

Referenced by getCurrentTaskProgress().

◆ ~ExportJob()

engine::legacy::ExportJob::~ExportJob ( )
override

Member Function Documentation

◆ runJob()

JobStatus engine::legacy::ExportJob::runJob ( )
override

◆ getCurrentTaskProgress()

float engine::legacy::ExportJob::getCurrentTaskProgress ( )
overridevirtual

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