Ardour  9.0-pre0-822-g12e3bc5c20
ExportTimespanSelector Class Referenceabstract

Timespan Selector base. More...

#include <export_timespan_selector.h>

Inheritance diagram for ExportTimespanSelector:
[legend]

Classes

struct  RangeCols
 
struct  TimeFormatCols
 

Public Member Functions

 ExportTimespanSelector (ARDOUR::Session *session, ProfileManagerPtr manager, bool multi)
 
virtual ~ExportTimespanSelector ()
 
void sync_with_manager ()
 
virtual void allow_realtime_export (bool)
 
- Public Member Functions inherited from ARDOUR::SessionHandlePtr
 SessionHandlePtr (ARDOUR::Session *s)
 
 SessionHandlePtr ()
 
virtual ~SessionHandlePtr ()
 
virtual void set_session (ARDOUR::Session *)
 
virtual ARDOUR::Sessionsession () const
 

Public Attributes

sigc::signal< void > CriticalSelectionChanged
 

Protected Types

typedef std::list< ARDOUR::Location * > LocationList
 
typedef std::shared_ptr< ARDOUR::ExportHandlerHandlerPtr
 
typedef std::shared_ptr< ARDOUR::ExportProfileManagerProfileManagerPtr
 
typedef std::list< ARDOUR::ExportTimespanPtrTimespanList
 
typedef std::shared_ptr< TimespanListTimespanListPtr
 
typedef ARDOUR::ExportProfileManager::TimespanStatePtr TimespanStatePtr
 
typedef ARDOUR::ExportProfileManager::TimeFormat TimeFormat
 

Protected Member Functions

virtual void fill_range_list ()=0
 
virtual void update_timespans ()=0
 
void add_range_to_selection (ARDOUR::Location const *loc, bool rt)
 
void set_time_format_from_state ()
 
void toggle_realtime ()
 
void change_time_format ()
 
std::string construct_label (ARDOUR::Location const *location) const
 
std::string construct_length (ARDOUR::Location const *location) const
 
std::string bbt_str (samplepos_t samples) const
 
std::string timecode_str (samplecnt_t samples) const
 
std::string ms_str (samplecnt_t samples) const
 
void update_range_name (std::string const &path, std::string const &new_text)
 
void set_selection_state_of_all_timespans (bool)
 
int location_sorter (Gtk::TreeModel::iterator a, Gtk::TreeModel::iterator b)
 
- Protected Member Functions inherited from ARDOUR::SessionHandlePtr
virtual void session_going_away ()
 

Protected Attributes

ProfileManagerPtr manager
 
TimespanStatePtr state
 
bool _realtime_available
 
Gtk::HBox option_hbox
 
Gtk::Label time_format_label
 
Gtk::CheckButton realtime_checkbutton
 
TimeFormatCols time_format_cols
 
Glib::RefPtr< Gtk::ListStore > time_format_list
 
Gtk::ComboBox time_format_combo
 
RangeCols range_cols
 
Glib::RefPtr< Gtk::ListStore > range_list
 
Gtk::TreeView range_view
 
Gtk::ScrolledWindow range_scroller
 
- Protected Attributes inherited from ARDOUR::SessionHandlePtr
ARDOUR::Session_session
 
PBD::ScopedConnectionList _session_connections
 

Detailed Description

Timespan Selector base.

Definition at line 61 of file export_timespan_selector.h.

Member Typedef Documentation

◆ HandlerPtr

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

Definition at line 65 of file export_timespan_selector.h.

◆ LocationList

Definition at line 64 of file export_timespan_selector.h.

◆ ProfileManagerPtr

Definition at line 66 of file export_timespan_selector.h.

◆ TimeFormat

◆ TimespanList

Definition at line 68 of file export_timespan_selector.h.

◆ TimespanListPtr

typedef std::shared_ptr<TimespanList> ExportTimespanSelector::TimespanListPtr
protected

Definition at line 69 of file export_timespan_selector.h.

◆ TimespanStatePtr

Constructor & Destructor Documentation

◆ ExportTimespanSelector()

ExportTimespanSelector::ExportTimespanSelector ( ARDOUR::Session session,
ProfileManagerPtr  manager,
bool  multi 
)

◆ ~ExportTimespanSelector()

virtual ExportTimespanSelector::~ExportTimespanSelector ( )
virtual

Member Function Documentation

◆ add_range_to_selection()

void ExportTimespanSelector::add_range_to_selection ( ARDOUR::Location const *  loc,
bool  rt 
)
protected

◆ allow_realtime_export()

virtual void ExportTimespanSelector::allow_realtime_export ( bool  )
virtual

◆ bbt_str()

std::string ExportTimespanSelector::bbt_str ( samplepos_t  samples) const
protected

◆ change_time_format()

void ExportTimespanSelector::change_time_format ( )
protected

◆ construct_label()

std::string ExportTimespanSelector::construct_label ( ARDOUR::Location const *  location) const
protected

◆ construct_length()

std::string ExportTimespanSelector::construct_length ( ARDOUR::Location const *  location) const
protected

◆ fill_range_list()

virtual void ExportTimespanSelector::fill_range_list ( )
protectedpure virtual

◆ location_sorter()

int ExportTimespanSelector::location_sorter ( Gtk::TreeModel::iterator  a,
Gtk::TreeModel::iterator  b 
)
protected

◆ ms_str()

std::string ExportTimespanSelector::ms_str ( samplecnt_t  samples) const
protected

◆ set_selection_state_of_all_timespans()

void ExportTimespanSelector::set_selection_state_of_all_timespans ( bool  )
protected

◆ set_time_format_from_state()

void ExportTimespanSelector::set_time_format_from_state ( )
protected

◆ sync_with_manager()

void ExportTimespanSelector::sync_with_manager ( )

◆ timecode_str()

std::string ExportTimespanSelector::timecode_str ( samplecnt_t  samples) const
protected

◆ toggle_realtime()

void ExportTimespanSelector::toggle_realtime ( )
protected

◆ update_range_name()

void ExportTimespanSelector::update_range_name ( std::string const &  path,
std::string const &  new_text 
)
protected

◆ update_timespans()

virtual void ExportTimespanSelector::update_timespans ( )
protectedpure virtual

Member Data Documentation

◆ _realtime_available

bool ExportTimespanSelector::_realtime_available
protected

Definition at line 85 of file export_timespan_selector.h.

◆ CriticalSelectionChanged

sigc::signal<void> ExportTimespanSelector::CriticalSelectionChanged

Definition at line 80 of file export_timespan_selector.h.

◆ manager

ProfileManagerPtr ExportTimespanSelector::manager
protected

Definition at line 83 of file export_timespan_selector.h.

◆ option_hbox

Gtk::HBox ExportTimespanSelector::option_hbox
protected

Definition at line 109 of file export_timespan_selector.h.

◆ range_cols

RangeCols ExportTimespanSelector::range_cols
protected

Definition at line 161 of file export_timespan_selector.h.

◆ range_list

Glib::RefPtr<Gtk::ListStore> ExportTimespanSelector::range_list
protected

Definition at line 163 of file export_timespan_selector.h.

◆ range_scroller

Gtk::ScrolledWindow ExportTimespanSelector::range_scroller
protected

Definition at line 166 of file export_timespan_selector.h.

◆ range_view

Gtk::TreeView ExportTimespanSelector::range_view
protected

Definition at line 164 of file export_timespan_selector.h.

◆ realtime_checkbutton

Gtk::CheckButton ExportTimespanSelector::realtime_checkbutton
protected

Definition at line 111 of file export_timespan_selector.h.

◆ state

TimespanStatePtr ExportTimespanSelector::state
protected

Definition at line 84 of file export_timespan_selector.h.

◆ time_format_cols

TimeFormatCols ExportTimespanSelector::time_format_cols
protected

Definition at line 128 of file export_timespan_selector.h.

◆ time_format_combo

Gtk::ComboBox ExportTimespanSelector::time_format_combo
protected

Definition at line 130 of file export_timespan_selector.h.

◆ time_format_label

Gtk::Label ExportTimespanSelector::time_format_label
protected

Definition at line 110 of file export_timespan_selector.h.

◆ time_format_list

Glib::RefPtr<Gtk::ListStore> ExportTimespanSelector::time_format_list
protected

Definition at line 129 of file export_timespan_selector.h.


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