Ardour  9.0-pre0-822-g12e3bc5c20
ExportDialog Class Reference

#include <export_dialog.h>

Inheritance diagram for ExportDialog:
[legend]

Public Types

enum  Responses { RESPONSE_RT , RESPONSE_FAST , RESPONSE_ANALYZE , RESPONSE_CANCEL }
 

Public Member Functions

 ExportDialog (PublicEditor &editor, std::string title, ARDOUR::ExportProfileManager::ExportType type)
 
 ~ExportDialog ()
 
void set_session (ARDOUR::Session *s)
 
- Public Member Functions inherited from ArdourDialog
 ArdourDialog (const std::string &title, bool modal=false, bool use_separator=false)
 
 ArdourDialog (Gtk::Window &parent, const std::string &title, bool modal=false, bool use_separator=false)
 
 ~ArdourDialog ()
 
bool on_focus_in_event (GdkEventFocus *)
 
bool on_focus_out_event (GdkEventFocus *)
 
bool on_delete_event (GdkEventAny *)
 
void on_unmap ()
 
void on_show ()
 
void set_ui_sensitive (bool)
 
void disallow_idle ()
 
- Public Member Functions inherited from ARDOUR::SessionHandlePtr
 SessionHandlePtr (ARDOUR::Session *s)
 
 SessionHandlePtr ()
 
virtual ~SessionHandlePtr ()
 
virtual ARDOUR::Sessionsession () const
 
- Public Member Functions inherited from PBD::ScopedConnectionList
 ScopedConnectionList ()
 
 ScopedConnectionList (const ScopedConnectionList &)=delete
 
ScopedConnectionListoperator= (const ScopedConnectionList &)=delete
 
virtual ~ScopedConnectionList ()
 
void add_connection (const UnscopedConnection &c)
 
void drop_connections ()
 

Protected Types

typedef std::shared_ptr< ARDOUR::ExportHandlerHandlerPtr
 
typedef std::shared_ptr< ARDOUR::ExportProfileManagerManagerPtr
 

Protected Member Functions

void on_response (int response_id)
 
virtual void init_gui ()
 
virtual void init_components ()
 
- Protected Member Functions inherited from ArdourDialog
void pop_splash ()
 
void close_self ()
 
- Protected Member Functions inherited from ARDOUR::SessionHandlePtr
virtual void session_going_away ()
 

Protected Attributes

ARDOUR::ExportProfileManager::ExportType type
 
HandlerPtr handler
 
ManagerPtr profile_manager
 
std::unique_ptr< ExportPresetSelectorpreset_selector
 
std::unique_ptr< ExportTimespanSelectortimespan_selector
 
std::unique_ptr< ExportChannelSelectorchannel_selector
 
std::unique_ptr< ExportFileNotebookfile_notebook
 
std::shared_ptr< SoundcloudExportSelectorsoundcloud_selector
 
Gtk::VBox warning_widget
 
Gtk::VBox progress_widget
 
Gtk::Notebook export_notebook
 
- Protected Attributes inherited from ArdourDialog
bool _sensitive
 
- Protected Attributes inherited from ARDOUR::SessionHandlePtr
ARDOUR::Session_session
 
PBD::ScopedConnectionList _session_connections
 

Private Types

typedef std::shared_ptr< ARDOUR::ExportStatusStatusPtr
 
typedef std::map< samplepos_t, std::vector< std::string > > ReImportMap
 

Private Member Functions

void init ()
 
void notify_errors (bool force=false)
 
void close_dialog ()
 
void sync_with_manager ()
 
void update_warnings_and_example_filename ()
 
void show_conflicting_files ()
 
void do_export (bool analysis_only)
 
void maybe_set_session_dirty ()
 
void update_realtime_selection ()
 
void parameter_changed (std::string const &)
 
void show_progress ()
 
gint progress_timeout ()
 
void add_error (std::string const &text)
 
void add_warning (std::string const &text)
 
void soundcloud_upload_progress (double total, double now, std::string title)
 

Private Attributes

PublicEditoreditor
 
StatusPtr status
 
ReImportMap _files_to_reimport
 
Gtk::HBox warn_hbox
 
Gtk::Label warn_label
 
std::string warn_string
 
Gtk::HBox list_files_hbox
 
Gtk::Label list_files_label
 
Gtk::Button list_files_button
 
std::string list_files_string
 
Gtk::ProgressBar progress_bar
 
sigc::connection progress_connection
 
float previous_progress
 
bool _initialized
 
bool _analysis_only
 
Gtk::Button * cancel_button
 
Gtk::Button * export_button
 
Gtk::Button * analyze_button
 

Detailed Description

Definition at line 52 of file export_dialog.h.

Member Typedef Documentation

◆ HandlerPtr

typedef std::shared_ptr<ARDOUR::ExportHandler> ExportDialog::HandlerPtr
protected

Definition at line 76 of file export_dialog.h.

◆ ManagerPtr

typedef std::shared_ptr<ARDOUR::ExportProfileManager> ExportDialog::ManagerPtr
protected

Definition at line 77 of file export_dialog.h.

◆ ReImportMap

typedef std::map<samplepos_t, std::vector<std::string> > ExportDialog::ReImportMap
private

Definition at line 128 of file export_dialog.h.

◆ StatusPtr

typedef std::shared_ptr<ARDOUR::ExportStatus> ExportDialog::StatusPtr
private

Definition at line 123 of file export_dialog.h.

Member Enumeration Documentation

◆ Responses

Enumerator
RESPONSE_RT 
RESPONSE_FAST 
RESPONSE_ANALYZE 
RESPONSE_CANCEL 

Definition at line 63 of file export_dialog.h.

Constructor & Destructor Documentation

◆ ExportDialog()

ExportDialog::ExportDialog ( PublicEditor editor,
std::string  title,
ARDOUR::ExportProfileManager::ExportType  type 
)

◆ ~ExportDialog()

ExportDialog::~ExportDialog ( )

Member Function Documentation

◆ add_error()

void ExportDialog::add_error ( std::string const &  text)
private

◆ add_warning()

void ExportDialog::add_warning ( std::string const &  text)
private

◆ close_dialog()

void ExportDialog::close_dialog ( )
private

◆ do_export()

void ExportDialog::do_export ( bool  analysis_only)
private

◆ init()

void ExportDialog::init ( )
private

◆ init_components()

virtual void ExportDialog::init_components ( )
protectedvirtual

◆ init_gui()

virtual void ExportDialog::init_gui ( )
protectedvirtual

Reimplemented in ExportRegionDialog.

◆ maybe_set_session_dirty()

void ExportDialog::maybe_set_session_dirty ( )
private

◆ notify_errors()

void ExportDialog::notify_errors ( bool  force = false)
private

◆ on_response()

void ExportDialog::on_response ( int  response_id)
inlineprotectedvirtual

Reimplemented from ArdourDialog.

Definition at line 72 of file export_dialog.h.

◆ parameter_changed()

void ExportDialog::parameter_changed ( std::string const &  )
private

◆ progress_timeout()

gint ExportDialog::progress_timeout ( )
private

◆ set_session()

void ExportDialog::set_session ( ARDOUR::Session s)
virtual

Reimplemented from ARDOUR::SessionHandlePtr.

◆ show_conflicting_files()

void ExportDialog::show_conflicting_files ( )
private

◆ show_progress()

void ExportDialog::show_progress ( )
private

◆ soundcloud_upload_progress()

void ExportDialog::soundcloud_upload_progress ( double  total,
double  now,
std::string  title 
)
private

◆ sync_with_manager()

void ExportDialog::sync_with_manager ( )
private

◆ update_realtime_selection()

void ExportDialog::update_realtime_selection ( )
private

◆ update_warnings_and_example_filename()

void ExportDialog::update_warnings_and_example_filename ( )
private

Member Data Documentation

◆ _analysis_only

bool ExportDialog::_analysis_only
private

Definition at line 153 of file export_dialog.h.

◆ _files_to_reimport

ReImportMap ExportDialog::_files_to_reimport
private

Definition at line 129 of file export_dialog.h.

◆ _initialized

bool ExportDialog::_initialized
private

Definition at line 152 of file export_dialog.h.

◆ analyze_button

Gtk::Button* ExportDialog::analyze_button
private

Definition at line 161 of file export_dialog.h.

◆ cancel_button

Gtk::Button* ExportDialog::cancel_button
private

Definition at line 159 of file export_dialog.h.

◆ channel_selector

std::unique_ptr<ExportChannelSelector> ExportDialog::channel_selector
protected

Definition at line 91 of file export_dialog.h.

◆ editor

PublicEditor& ExportDialog::editor
private

Definition at line 125 of file export_dialog.h.

◆ export_button

Gtk::Button* ExportDialog::export_button
private

Definition at line 160 of file export_dialog.h.

◆ export_notebook

Gtk::Notebook ExportDialog::export_notebook
protected

Definition at line 100 of file export_dialog.h.

◆ file_notebook

std::unique_ptr<ExportFileNotebook> ExportDialog::file_notebook
protected

Definition at line 92 of file export_dialog.h.

◆ handler

HandlerPtr ExportDialog::handler
protected

Definition at line 80 of file export_dialog.h.

◆ list_files_button

Gtk::Button ExportDialog::list_files_button
private

Definition at line 139 of file export_dialog.h.

◆ list_files_hbox

Gtk::HBox ExportDialog::list_files_hbox
private

Definition at line 137 of file export_dialog.h.

◆ list_files_label

Gtk::Label ExportDialog::list_files_label
private

Definition at line 138 of file export_dialog.h.

◆ list_files_string

std::string ExportDialog::list_files_string
private

Definition at line 140 of file export_dialog.h.

◆ preset_selector

std::unique_ptr<ExportPresetSelector> ExportDialog::preset_selector
protected

Definition at line 89 of file export_dialog.h.

◆ previous_progress

float ExportDialog::previous_progress
private

Definition at line 150 of file export_dialog.h.

◆ profile_manager

ManagerPtr ExportDialog::profile_manager
protected

Definition at line 81 of file export_dialog.h.

◆ progress_bar

Gtk::ProgressBar ExportDialog::progress_bar
private

Definition at line 147 of file export_dialog.h.

◆ progress_connection

sigc::connection ExportDialog::progress_connection
private

Definition at line 148 of file export_dialog.h.

◆ progress_widget

Gtk::VBox ExportDialog::progress_widget
protected

Definition at line 97 of file export_dialog.h.

◆ soundcloud_selector

std::shared_ptr<SoundcloudExportSelector> ExportDialog::soundcloud_selector
protected

Definition at line 94 of file export_dialog.h.

◆ status

StatusPtr ExportDialog::status
private

Definition at line 126 of file export_dialog.h.

◆ timespan_selector

std::unique_ptr<ExportTimespanSelector> ExportDialog::timespan_selector
protected

Definition at line 90 of file export_dialog.h.

◆ type

ARDOUR::ExportProfileManager::ExportType ExportDialog::type
protected

Definition at line 79 of file export_dialog.h.

◆ warn_hbox

Gtk::HBox ExportDialog::warn_hbox
private

Definition at line 133 of file export_dialog.h.

◆ warn_label

Gtk::Label ExportDialog::warn_label
private

Definition at line 134 of file export_dialog.h.

◆ warn_string

std::string ExportDialog::warn_string
private

Definition at line 135 of file export_dialog.h.

◆ warning_widget

Gtk::VBox ExportDialog::warning_widget
protected

Definition at line 96 of file export_dialog.h.


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