ardour
Public Types | Public Member Functions | Protected Types | Protected Member Functions | Protected Attributes | Private Types | Private Member Functions | Private Attributes | List of all members
ExportDialog Class Reference

#include <export_dialog.h>

Inheritance diagram for ExportDialog:
ArdourDialog PBD::ScopedConnectionList ARDOUR::SessionHandlePtr ExportRangeDialog ExportRegionDialog ExportSelectionDialog StemExportDialog

Public Types

enum  Responses { RESPONSE_RT, RESPONSE_FAST, 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 (std::string title, bool modal=false, bool use_separator=false)
 
 ArdourDialog (Gtk::Window &parent, 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 ()
 
- Public Member Functions inherited from ARDOUR::SessionHandlePtr
 SessionHandlePtr (ARDOUR::Session *s)
 
 SessionHandlePtr ()
 
virtual ~SessionHandlePtr ()
 
- Public Member Functions inherited from PBD::ScopedConnectionList
 ScopedConnectionList ()
 
virtual ~ScopedConnectionList ()
 
void add_connection (const UnscopedConnection &c)
 
void drop_connections ()
 

Protected Types

typedef boost::shared_ptr
< ARDOUR::ExportHandler
HandlerPtr
 
typedef boost::shared_ptr
< ARDOUR::ExportProfileManager
ManagerPtr
 

Protected Member Functions

virtual void init_gui ()
 
virtual void init_components ()
 
- Protected Member Functions inherited from ARDOUR::SessionHandlePtr
virtual void session_going_away ()
 

Protected Attributes

ARDOUR::ExportProfileManager::ExportType type
 
HandlerPtr handler
 
ManagerPtr profile_manager
 
boost::scoped_ptr
< ExportPresetSelector
preset_selector
 
boost::scoped_ptr
< ExportTimespanSelector
timespan_selector
 
boost::scoped_ptr
< ExportChannelSelector
channel_selector
 
boost::scoped_ptr
< ExportFileNotebook
file_notebook
 
boost::shared_ptr
< SoundcloudExportSelector
soundcloud_selector
 
Gtk::VBox warning_widget
 
Gtk::VBox progress_widget
 
Gtk::Notebook export_notebook
 
- Protected Attributes inherited from ARDOUR::SessionHandlePtr
ARDOUR::Session_session
 
PBD::ScopedConnectionList _session_connections
 

Private Types

typedef boost::shared_ptr
< ARDOUR::ExportStatus
StatusPtr
 

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 ()
 
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
 
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
 
Gtk::Button * cancel_button
 
Gtk::Button * export_button
 

Detailed Description

Definition at line 47 of file export_dialog.h.

Member Typedef Documentation

Definition at line 67 of file export_dialog.h.

Definition at line 68 of file export_dialog.h.

Definition at line 109 of file export_dialog.h.

Member Enumeration Documentation

Enumerator
RESPONSE_RT 
RESPONSE_FAST 
RESPONSE_CANCEL 

Definition at line 59 of file export_dialog.h.

Constructor & Destructor Documentation

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

Definition at line 40 of file export_dialog.cc.

ExportDialog::~ExportDialog ( )

Definition at line 50 of file export_dialog.cc.

Member Function Documentation

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

Definition at line 368 of file export_dialog.cc.

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

Definition at line 382 of file export_dialog.cc.

void ExportDialog::close_dialog ( )
private

Definition at line 189 of file export_dialog.cc.

void ExportDialog::do_export ( )
private

Definition at line 272 of file export_dialog.cc.

void ExportDialog::init ( )
private

Definition at line 103 of file export_dialog.cc.

void ExportDialog::init_components ( )
protectedvirtual
void ExportDialog::init_gui ( )
protectedvirtual

Reimplemented in ExportRegionDialog.

Definition at line 146 of file export_dialog.cc.

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

Definition at line 179 of file export_dialog.cc.

gint ExportDialog::progress_timeout ( )
private

Definition at line 341 of file export_dialog.cc.

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

Reimplemented from ARDOUR::SessionHandlePtr.

Definition at line 54 of file export_dialog.cc.

void ExportDialog::show_conflicting_files ( )
private

Definition at line 249 of file export_dialog.cc.

void ExportDialog::show_progress ( )
private

Definition at line 302 of file export_dialog.cc.

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

Definition at line 265 of file export_dialog.cc.

void ExportDialog::sync_with_manager ( )
private

Definition at line 201 of file export_dialog.cc.

void ExportDialog::update_warnings_and_example_filename ( )
private

Definition at line 211 of file export_dialog.cc.

Member Data Documentation

Gtk::Button* ExportDialog::cancel_button
private

Definition at line 141 of file export_dialog.h.

boost::scoped_ptr<ExportChannelSelector> ExportDialog::channel_selector
protected

Definition at line 82 of file export_dialog.h.

PublicEditor& ExportDialog::editor
private

Definition at line 111 of file export_dialog.h.

Gtk::Button* ExportDialog::export_button
private

Definition at line 142 of file export_dialog.h.

Gtk::Notebook ExportDialog::export_notebook
protected

Definition at line 91 of file export_dialog.h.

boost::scoped_ptr<ExportFileNotebook> ExportDialog::file_notebook
protected

Definition at line 83 of file export_dialog.h.

HandlerPtr ExportDialog::handler
protected

Definition at line 71 of file export_dialog.h.

Gtk::Button ExportDialog::list_files_button
private

Definition at line 124 of file export_dialog.h.

Gtk::HBox ExportDialog::list_files_hbox
private

Definition at line 122 of file export_dialog.h.

Gtk::Label ExportDialog::list_files_label
private

Definition at line 123 of file export_dialog.h.

std::string ExportDialog::list_files_string
private

Definition at line 125 of file export_dialog.h.

boost::scoped_ptr<ExportPresetSelector> ExportDialog::preset_selector
protected

Definition at line 80 of file export_dialog.h.

float ExportDialog::previous_progress
private

Definition at line 135 of file export_dialog.h.

ManagerPtr ExportDialog::profile_manager
protected

Definition at line 72 of file export_dialog.h.

Gtk::ProgressBar ExportDialog::progress_bar
private

Definition at line 132 of file export_dialog.h.

sigc::connection ExportDialog::progress_connection
private

Definition at line 133 of file export_dialog.h.

Gtk::VBox ExportDialog::progress_widget
protected

Definition at line 88 of file export_dialog.h.

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

Definition at line 85 of file export_dialog.h.

StatusPtr ExportDialog::status
private

Definition at line 112 of file export_dialog.h.

boost::scoped_ptr<ExportTimespanSelector> ExportDialog::timespan_selector
protected

Definition at line 81 of file export_dialog.h.

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

Definition at line 70 of file export_dialog.h.

Gtk::HBox ExportDialog::warn_hbox
private

Definition at line 118 of file export_dialog.h.

Gtk::Label ExportDialog::warn_label
private

Definition at line 119 of file export_dialog.h.

std::string ExportDialog::warn_string
private

Definition at line 120 of file export_dialog.h.

Gtk::VBox ExportDialog::warning_widget
protected

Definition at line 87 of file export_dialog.h.


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