Ardour  9.0-pre0-582-g084a23a80d
ARDOUR::ExportStatus Class Reference

#include <export_status.h>

Public Types

enum  Progress {
  Exporting , Normalizing , Encoding , Tagging ,
  Uploading , Command
}
 

Public Member Functions

 ExportStatus ()
 
void init ()
 
void abort (bool error_occurred=false)
 
bool aborted () const
 
bool errors () const
 
bool running () const
 
void set_running (bool r)
 
Glib::Threads::Mutex & lock ()
 
void finish (TransportRequestSource)
 
void cleanup ()
 

Public Attributes

volatile bool stop
 
PBD::Signal< void(TransportRequestSource)> Finished
 
enum ARDOUR::ExportStatus::Progress active_job
 
volatile uint32_t total_timespans
 
volatile uint32_t timespan
 
std::string timespan_name
 
volatile samplecnt_t total_samples
 
volatile samplecnt_t processed_samples
 
volatile samplecnt_t total_samples_current_timespan
 
volatile samplecnt_t processed_samples_current_timespan
 
volatile uint32_t total_postprocessing_cycles
 
volatile uint32_t current_postprocessing_cycle
 
AnalysisResults result_map
 

Private Attributes

volatile bool _aborted
 
volatile bool _errors
 
volatile bool _running
 
Glib::Threads::Mutex _run_lock
 

Detailed Description

Definition at line 36 of file export_status.h.

Member Enumeration Documentation

◆ Progress

Enumerator
Exporting 
Normalizing 
Encoding 
Tagging 
Uploading 
Command 

Definition at line 63 of file export_status.h.

Constructor & Destructor Documentation

◆ ExportStatus()

ARDOUR::ExportStatus::ExportStatus ( )

Member Function Documentation

◆ abort()

void ARDOUR::ExportStatus::abort ( bool  error_occurred = false)

◆ aborted()

bool ARDOUR::ExportStatus::aborted ( ) const
inline

Definition at line 46 of file export_status.h.

◆ cleanup()

void ARDOUR::ExportStatus::cleanup ( )

◆ errors()

bool ARDOUR::ExportStatus::errors ( ) const
inline

Definition at line 47 of file export_status.h.

◆ finish()

void ARDOUR::ExportStatus::finish ( TransportRequestSource  )

◆ init()

void ARDOUR::ExportStatus::init ( )

◆ lock()

Glib::Threads::Mutex& ARDOUR::ExportStatus::lock ( )
inline

Definition at line 54 of file export_status.h.

◆ running()

bool ARDOUR::ExportStatus::running ( ) const
inline

Definition at line 48 of file export_status.h.

◆ set_running()

void ARDOUR::ExportStatus::set_running ( bool  r)
inline

Definition at line 50 of file export_status.h.

Member Data Documentation

◆ _aborted

volatile bool ARDOUR::ExportStatus::_aborted
private

Definition at line 88 of file export_status.h.

◆ _errors

volatile bool ARDOUR::ExportStatus::_errors
private

Definition at line 89 of file export_status.h.

◆ _run_lock

Glib::Threads::Mutex ARDOUR::ExportStatus::_run_lock
private

Definition at line 92 of file export_status.h.

◆ _running

volatile bool ARDOUR::ExportStatus::_running
private

Definition at line 90 of file export_status.h.

◆ active_job

enum ARDOUR::ExportStatus::Progress ARDOUR::ExportStatus::active_job

◆ current_postprocessing_cycle

volatile uint32_t ARDOUR::ExportStatus::current_postprocessing_cycle

Definition at line 83 of file export_status.h.

◆ Finished

PBD::Signal<void(TransportRequestSource)> ARDOUR::ExportStatus::Finished

Definition at line 56 of file export_status.h.

◆ processed_samples

volatile samplecnt_t ARDOUR::ExportStatus::processed_samples

Definition at line 77 of file export_status.h.

◆ processed_samples_current_timespan

volatile samplecnt_t ARDOUR::ExportStatus::processed_samples_current_timespan

Definition at line 80 of file export_status.h.

◆ result_map

AnalysisResults ARDOUR::ExportStatus::result_map

Definition at line 85 of file export_status.h.

◆ stop

volatile bool ARDOUR::ExportStatus::stop

Definition at line 43 of file export_status.h.

◆ timespan

volatile uint32_t ARDOUR::ExportStatus::timespan

Definition at line 73 of file export_status.h.

◆ timespan_name

std::string ARDOUR::ExportStatus::timespan_name

Definition at line 74 of file export_status.h.

◆ total_postprocessing_cycles

volatile uint32_t ARDOUR::ExportStatus::total_postprocessing_cycles

Definition at line 82 of file export_status.h.

◆ total_samples

volatile samplecnt_t ARDOUR::ExportStatus::total_samples

Definition at line 76 of file export_status.h.

◆ total_samples_current_timespan

volatile samplecnt_t ARDOUR::ExportStatus::total_samples_current_timespan

Definition at line 79 of file export_status.h.

◆ total_timespans

volatile uint32_t ARDOUR::ExportStatus::total_timespans

Definition at line 72 of file export_status.h.


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