ardour
Classes | Public Types | Public Member Functions | Public Attributes | Private Member Functions | Private Attributes | List of all members
ARDOUR::ExportFormatManager Class Reference

#include <export_format_manager.h>

Inheritance diagram for ARDOUR::ExportFormatManager:
PBD::ScopedConnectionList

Classes

class  QualityState
 
class  SampleRateState
 

Public Types

typedef std::list
< ExportFormatCompatibilityPtr
CompatList
 
typedef std::list
< ExportFormatPtr
FormatList
 
typedef
HasSampleFormat::SampleFormatPtr 
SampleFormatPtr
 
typedef
HasSampleFormat::SampleFormatList 
SampleFormatList
 
typedef
HasSampleFormat::WeakSampleFormatPtr 
WeakSampleFormatPtr
 
typedef
HasSampleFormat::DitherTypePtr 
DitherTypePtr
 
typedef
HasSampleFormat::WeakDitherTypePtr 
WeakDitherTypePtr
 
typedef boost::shared_ptr
< QualityState
QualityPtr
 
typedef boost::weak_ptr
< QualityState
WeakQualityPtr
 
typedef std::list< QualityPtrQualityList
 
typedef boost::shared_ptr
< SampleRateState
SampleRatePtr
 
typedef boost::weak_ptr
< SampleRateState
WeakSampleRatePtr
 
typedef std::list< SampleRatePtrSampleRateList
 

Public Member Functions

 ExportFormatManager (ExportFormatSpecPtr specification)
 
 ~ExportFormatManager ()
 
CompatList const & get_compatibilities ()
 
QualityList const & get_qualities ()
 
FormatList const & get_formats ()
 
SampleRateList const & get_sample_rates ()
 
void set_name (std::string name)
 
void select_with_cue (bool)
 
void select_with_toc (bool)
 
void select_with_mp4chaps (bool)
 
void select_upload (bool)
 
void set_command (std::string)
 
void select_src_quality (ExportFormatBase::SRCQuality value)
 
void select_trim_beginning (bool value)
 
void select_silence_beginning (AnyTime const &time)
 
void select_trim_end (bool value)
 
void select_silence_end (AnyTime const &time)
 
void select_normalize (bool value)
 
void select_normalize_target (float value)
 
void select_tagging (bool tag)
 
- Public Member Functions inherited from PBD::ScopedConnectionList
 ScopedConnectionList ()
 
virtual ~ScopedConnectionList ()
 
void add_connection (const UnscopedConnection &c)
 
void drop_connections ()
 

Public Attributes

PBD::Signal1< void, bool > CompleteChanged
 
PBD::Signal0< void > DescriptionChanged
 

Private Member Functions

void init_compatibilities ()
 
void init_qualities ()
 
void init_formats ()
 
void init_sample_rates ()
 
void add_compatibility (ExportFormatCompatibilityPtr ptr)
 
void add_quality (QualityPtr ptr)
 
void add_format (ExportFormatPtr ptr)
 
void add_sample_rate (SampleRatePtr ptr)
 
void change_compatibility_selection (bool select, WeakExportFormatCompatibilityPtr const &compat)
 
void change_quality_selection (bool select, WeakQualityPtr const &quality)
 
void change_format_selection (bool select, WeakExportFormatPtr const &format)
 
void change_sample_rate_selection (bool select, WeakSampleRatePtr const &rate)
 
void change_sample_format_selection (bool select, WeakSampleFormatPtr const &format)
 
void change_dither_type_selection (bool select, WeakDitherTypePtr const &type)
 
void select_compatibility (WeakExportFormatCompatibilityPtr const &compat)
 
void select_quality (QualityPtr const &quality)
 
void select_format (ExportFormatPtr const &format)
 
void select_sample_rate (SampleRatePtr const &rate)
 
void select_sample_format (SampleFormatPtr const &format)
 
void select_dither_type (DitherTypePtr const &type)
 
void selection_changed ()
 
void check_for_description_change ()
 
QualityPtr get_selected_quality ()
 
ExportFormatPtr get_selected_format ()
 
SampleRatePtr get_selected_sample_rate ()
 
SampleFormatPtr get_selected_sample_format ()
 
ExportFormatBasePtr get_compatibility_intersection ()
 

Private Attributes

bool pending_selection_change
 
ExportFormatBasePtr universal_set
 
ExportFormatSpecPtr current_selection
 
CompatList compatibilities
 
QualityList qualities
 
FormatList formats
 
SampleRateList sample_rates
 
std::string prev_description
 

Detailed Description

Definition at line 42 of file export_format_manager.h.

Member Typedef Documentation

Definition at line 46 of file export_format_manager.h.

Definition at line 53 of file export_format_manager.h.

Definition at line 47 of file export_format_manager.h.

Definition at line 66 of file export_format_manager.h.

Definition at line 64 of file export_format_manager.h.

Definition at line 50 of file export_format_manager.h.

Definition at line 49 of file export_format_manager.h.

Definition at line 78 of file export_format_manager.h.

Definition at line 76 of file export_format_manager.h.

Definition at line 54 of file export_format_manager.h.

Definition at line 65 of file export_format_manager.h.

Definition at line 51 of file export_format_manager.h.

Definition at line 77 of file export_format_manager.h.

Constructor & Destructor Documentation

ARDOUR::ExportFormatManager::ExportFormatManager ( ExportFormatSpecPtr  specification)
explicit

Definition at line 33 of file export_format_manager.cc.

ARDOUR::ExportFormatManager::~ExportFormatManager ( )

Definition at line 47 of file export_format_manager.cc.

Member Function Documentation

void ARDOUR::ExportFormatManager::add_compatibility ( ExportFormatCompatibilityPtr  ptr)
private

Definition at line 229 of file export_format_manager.cc.

void ARDOUR::ExportFormatManager::add_format ( ExportFormatPtr  ptr)
private

Definition at line 245 of file export_format_manager.cc.

void ARDOUR::ExportFormatManager::add_quality ( QualityPtr  ptr)
private

Definition at line 238 of file export_format_manager.cc.

void ARDOUR::ExportFormatManager::add_sample_rate ( SampleRatePtr  ptr)
private

Definition at line 262 of file export_format_manager.cc.

void ARDOUR::ExportFormatManager::change_compatibility_selection ( bool  select,
WeakExportFormatCompatibilityPtr const &  compat 
)
private

Definition at line 360 of file export_format_manager.cc.

void ARDOUR::ExportFormatManager::change_dither_type_selection ( bool  select,
WeakDitherTypePtr const &  type 
)
private

Definition at line 447 of file export_format_manager.cc.

void ARDOUR::ExportFormatManager::change_format_selection ( bool  select,
WeakExportFormatPtr const &  format 
)
private

Definition at line 396 of file export_format_manager.cc.

void ARDOUR::ExportFormatManager::change_quality_selection ( bool  select,
WeakQualityPtr const &  quality 
)
private

Definition at line 379 of file export_format_manager.cc.

void ARDOUR::ExportFormatManager::change_sample_format_selection ( bool  select,
WeakSampleFormatPtr const &  format 
)
private

Definition at line 430 of file export_format_manager.cc.

void ARDOUR::ExportFormatManager::change_sample_rate_selection ( bool  select,
WeakSampleRatePtr const &  rate 
)
private

Definition at line 413 of file export_format_manager.cc.

void ARDOUR::ExportFormatManager::check_for_description_change ( )
private

Definition at line 747 of file export_format_manager.cc.

CompatList const& ARDOUR::ExportFormatManager::get_compatibilities ( )
inline

Definition at line 92 of file export_format_manager.h.

ExportFormatBasePtr ARDOUR::ExportFormatManager::get_compatibility_intersection ( )
private

Definition at line 808 of file export_format_manager.cc.

FormatList const& ARDOUR::ExportFormatManager::get_formats ( )
inline

Definition at line 94 of file export_format_manager.h.

QualityList const& ARDOUR::ExportFormatManager::get_qualities ( )
inline

Definition at line 93 of file export_format_manager.h.

SampleRateList const& ARDOUR::ExportFormatManager::get_sample_rates ( )
inline

Definition at line 95 of file export_format_manager.h.

ExportFormatPtr ARDOUR::ExportFormatManager::get_selected_format ( )
private

Definition at line 769 of file export_format_manager.cc.

ExportFormatManager::QualityPtr ARDOUR::ExportFormatManager::get_selected_quality ( )
private

Definition at line 757 of file export_format_manager.cc.

ExportFormatManager::SampleFormatPtr ARDOUR::ExportFormatManager::get_selected_sample_format ( )
private

Definition at line 795 of file export_format_manager.cc.

ExportFormatManager::SampleRatePtr ARDOUR::ExportFormatManager::get_selected_sample_rate ( )
private

Definition at line 783 of file export_format_manager.cc.

void ARDOUR::ExportFormatManager::init_compatibilities ( )
private

Definition at line 53 of file export_format_manager.cc.

void ARDOUR::ExportFormatManager::init_formats ( )
private

Definition at line 117 of file export_format_manager.cc.

void ARDOUR::ExportFormatManager::init_qualities ( )
private

Definition at line 108 of file export_format_manager.cc.

void ARDOUR::ExportFormatManager::init_sample_rates ( )
private

Definition at line 216 of file export_format_manager.cc.

void ARDOUR::ExportFormatManager::select_compatibility ( WeakExportFormatCompatibilityPtr const &  compat)
private

Definition at line 464 of file export_format_manager.cc.

void ARDOUR::ExportFormatManager::select_dither_type ( DitherTypePtr const &  type)
private

Definition at line 642 of file export_format_manager.cc.

void ARDOUR::ExportFormatManager::select_format ( ExportFormatPtr const &  format)
private

Definition at line 534 of file export_format_manager.cc.

void ARDOUR::ExportFormatManager::select_normalize ( bool  value)

Definition at line 339 of file export_format_manager.cc.

void ARDOUR::ExportFormatManager::select_normalize_target ( float  value)

Definition at line 346 of file export_format_manager.cc.

void ARDOUR::ExportFormatManager::select_quality ( QualityPtr const &  quality)
private

Definition at line 496 of file export_format_manager.cc.

void ARDOUR::ExportFormatManager::select_sample_format ( SampleFormatPtr const &  format)
private

Definition at line 617 of file export_format_manager.cc.

void ARDOUR::ExportFormatManager::select_sample_rate ( SampleRatePtr const &  rate)
private

Definition at line 592 of file export_format_manager.cc.

void ARDOUR::ExportFormatManager::select_silence_beginning ( AnyTime const &  time)

Definition at line 318 of file export_format_manager.cc.

void ARDOUR::ExportFormatManager::select_silence_end ( AnyTime const &  time)

Definition at line 332 of file export_format_manager.cc.

void ARDOUR::ExportFormatManager::select_src_quality ( ExportFormatBase::SRCQuality  value)

Definition at line 276 of file export_format_manager.cc.

void ARDOUR::ExportFormatManager::select_tagging ( bool  tag)

Definition at line 353 of file export_format_manager.cc.

void ARDOUR::ExportFormatManager::select_trim_beginning ( bool  value)

Definition at line 311 of file export_format_manager.cc.

void ARDOUR::ExportFormatManager::select_trim_end ( bool  value)

Definition at line 325 of file export_format_manager.cc.

void ARDOUR::ExportFormatManager::select_upload ( bool  )
void ARDOUR::ExportFormatManager::select_with_cue ( bool  value)

Definition at line 283 of file export_format_manager.cc.

void ARDOUR::ExportFormatManager::select_with_mp4chaps ( bool  value)

Definition at line 297 of file export_format_manager.cc.

void ARDOUR::ExportFormatManager::select_with_toc ( bool  value)

Definition at line 290 of file export_format_manager.cc.

void ARDOUR::ExportFormatManager::selection_changed ( )
private

Definition at line 662 of file export_format_manager.cc.

void ARDOUR::ExportFormatManager::set_command ( std::string  command)

Definition at line 304 of file export_format_manager.cc.

void ARDOUR::ExportFormatManager::set_name ( std::string  name)

Definition at line 269 of file export_format_manager.cc.

Member Data Documentation

CompatList ARDOUR::ExportFormatManager::compatibilities
private

Definition at line 164 of file export_format_manager.h.

PBD::Signal1<void,bool> ARDOUR::ExportFormatManager::CompleteChanged

Definition at line 87 of file export_format_manager.h.

ExportFormatSpecPtr ARDOUR::ExportFormatManager::current_selection
private

Definition at line 162 of file export_format_manager.h.

PBD::Signal0<void> ARDOUR::ExportFormatManager::DescriptionChanged

Definition at line 88 of file export_format_manager.h.

FormatList ARDOUR::ExportFormatManager::formats
private

Definition at line 166 of file export_format_manager.h.

bool ARDOUR::ExportFormatManager::pending_selection_change
private

Definition at line 147 of file export_format_manager.h.

std::string ARDOUR::ExportFormatManager::prev_description
private

Definition at line 169 of file export_format_manager.h.

QualityList ARDOUR::ExportFormatManager::qualities
private

Definition at line 165 of file export_format_manager.h.

SampleRateList ARDOUR::ExportFormatManager::sample_rates
private

Definition at line 167 of file export_format_manager.h.

ExportFormatBasePtr ARDOUR::ExportFormatManager::universal_set
private

Definition at line 161 of file export_format_manager.h.


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