Ardour  8.12
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::Signal1< void, TransportRequestSourceFinished
 
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 37 of file export_status.h.

Member Enumeration Documentation

◆ Progress

Enumerator
Exporting 
Normalizing 
Encoding 
Tagging 
Uploading 
Command 

Definition at line 64 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 47 of file export_status.h.

◆ cleanup()

void ARDOUR::ExportStatus::cleanup ( )

◆ errors()

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

Definition at line 48 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 55 of file export_status.h.

◆ running()

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

Definition at line 49 of file export_status.h.

◆ set_running()

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

Definition at line 51 of file export_status.h.

Member Data Documentation

◆ _aborted

volatile bool ARDOUR::ExportStatus::_aborted
private

Definition at line 89 of file export_status.h.

◆ _errors

volatile bool ARDOUR::ExportStatus::_errors
private

Definition at line 90 of file export_status.h.

◆ _run_lock

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

Definition at line 93 of file export_status.h.

◆ _running

volatile bool ARDOUR::ExportStatus::_running
private

Definition at line 91 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 84 of file export_status.h.

◆ Finished

PBD::Signal1<void,TransportRequestSource> ARDOUR::ExportStatus::Finished

Definition at line 57 of file export_status.h.

◆ processed_samples

volatile samplecnt_t ARDOUR::ExportStatus::processed_samples

Definition at line 78 of file export_status.h.

◆ processed_samples_current_timespan

volatile samplecnt_t ARDOUR::ExportStatus::processed_samples_current_timespan

Definition at line 81 of file export_status.h.

◆ result_map

AnalysisResults ARDOUR::ExportStatus::result_map

Definition at line 86 of file export_status.h.

◆ stop

volatile bool ARDOUR::ExportStatus::stop

Definition at line 44 of file export_status.h.

◆ timespan

volatile uint32_t ARDOUR::ExportStatus::timespan

Definition at line 74 of file export_status.h.

◆ timespan_name

std::string ARDOUR::ExportStatus::timespan_name

Definition at line 75 of file export_status.h.

◆ total_postprocessing_cycles

volatile uint32_t ARDOUR::ExportStatus::total_postprocessing_cycles

Definition at line 83 of file export_status.h.

◆ total_samples

volatile samplecnt_t ARDOUR::ExportStatus::total_samples

Definition at line 77 of file export_status.h.

◆ total_samples_current_timespan

volatile samplecnt_t ARDOUR::ExportStatus::total_samples_current_timespan

Definition at line 80 of file export_status.h.

◆ total_timespans

volatile uint32_t ARDOUR::ExportStatus::total_timespans

Definition at line 73 of file export_status.h.


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