|
Audacity
3.0.3
|
Go to the documentation of this file.
19 #ifndef __AUDACITY_ODComputeSummaryTask__
20 #define __AUDACITY_ODComputeSummaryTask__
24 #include "../Internat.h"
39 std::unique_ptr<ODTask>
Clone()
const override;
45 const char*
GetTaskName()
override {
return "ODComputeSummaryTask"; }
48 {
return XO(
"Import complete. Calculating waveform"); }
69 (std::vector< std::weak_ptr< ODPCMAliasBlockFile > > &unorderedBlocks);
77 std::vector< std::weak_ptr< ODPCMAliasBlockFile > >
mBlockFiles;
Holds a msgid for the translation catalog; may also bind format arguments.
An AliasBlockFile that references uncompressed data in an existing file.
A class representing a modular task to be used with the On-Demand structures.
void OrderBlockFiles(std::vector< std::weak_ptr< ODPCMAliasBlockFile > > &unorderedBlocks)
Orders the input as either On-Demand or default layered order.
A Track that contains audio waveform data.
TranslatableString GetTip() override
std::unique_ptr< ODTask > Clone() const override
unsigned int GetODType() override
Subclasses should override to return respective type.
std::vector< std::weak_ptr< ODPCMAliasBlockFile > > mBlockFiles
virtual ~ODComputeSummaryTask()
bool UsesCustomWorkUntilPercentage() override
void CalculatePercentComplete() override
recalculates the percentage complete.
ODComputeSummaryTask()
Constructs an ODTask.
float ComputeNextWorkUntilPercentageComplete() override
A class representing a modular task to be used with the On-Demand structures.
void Terminate() override
releases memory that the ODTask owns. Subclasses should override.
void MarkUpdateRan()
tells us whether or not Update has been run at least once.
const char * GetTaskName() override
Return the task name.
void DoSomeInternal() override
Computes and writes the data for one BlockFile if it still has a refcount.
ODLock mHasUpdateRanMutex