Virtual interface class for element importers.
More...
#include <element_importer.h>
Virtual interface class for element importers.
Definition at line 38 of file element_importer.h.
◆ ElementImporter()
◆ ~ElementImporter()
virtual ARDOUR::ElementImporter::~ElementImporter |
( |
| ) |
|
|
virtual |
◆ _cancel_move()
virtual void ARDOUR::ElementImporter::_cancel_move |
( |
| ) |
|
|
protectedpure virtual |
◆ _move()
virtual void ARDOUR::ElementImporter::_move |
( |
| ) |
|
|
protectedpure virtual |
◆ _prepare_move()
virtual bool ARDOUR::ElementImporter::_prepare_move |
( |
| ) |
|
|
protectedpure virtual |
◆ broken()
bool ARDOUR::ElementImporter::broken |
( |
| ) |
|
|
inline |
Check if element is broken. Cannot be moved if broken.
Definition at line 73 of file element_importer.h.
◆ cancel_move()
void ARDOUR::ElementImporter::cancel_move |
( |
| ) |
|
Cancels moving of element If the element has been set to be moved, this cancels the move.
◆ get_import_status()
virtual ImportStatus* ARDOUR::ElementImporter::get_import_status |
( |
| ) |
|
|
inlinevirtual |
◆ get_info()
virtual std::string ARDOUR::ElementImporter::get_info |
( |
| ) |
const |
|
pure virtual |
◆ get_name()
virtual std::string ARDOUR::ElementImporter::get_name |
( |
| ) |
const |
|
inlinevirtual |
Returns the element name
- Returns
- the name of the element
Definition at line 48 of file element_importer.h.
◆ move()
void ARDOUR::ElementImporter::move |
( |
| ) |
|
Moves the element to the taget session.
◆ prepare_move()
bool ARDOUR::ElementImporter::prepare_move |
( |
| ) |
|
Prepares to move element
- Returns
- whther or not the element could be prepared for moving
◆ queued()
bool ARDOUR::ElementImporter::queued |
( |
| ) |
|
|
inlineprotected |
Ture if the element has been prepared and queued for importing.
Definition at line 107 of file element_importer.h.
◆ rate_convert_samples() [1/2]
Converts samples so that times match the sessions sample rate.
◆ rate_convert_samples() [2/2]
std::string ARDOUR::ElementImporter::rate_convert_samples |
( |
std::string const & |
samples | ) |
const |
|
protected |
Converts samples so that times match the sessions sample rate (for straight use in XML)
◆ set_broken()
void ARDOUR::ElementImporter::set_broken |
( |
| ) |
|
|
inlineprotected |
◆ timecode_to_string()
std::string ARDOUR::ElementImporter::timecode_to_string |
( |
Timecode::Time & |
time | ) |
const |
|
protected |
Converts timecode time to a string.
◆ _broken
bool ARDOUR::ElementImporter::_broken |
|
private |
◆ _queued
bool ARDOUR::ElementImporter::_queued |
|
private |
◆ name
std::string ARDOUR::ElementImporter::name |
|
protected |
◆ Prompt
PBD::Signal<bool(std::string)> ARDOUR::ElementImporter::Prompt |
|
static |
◆ Rename
PBD::Signal<std::pair<bool, std::string>std::string, std::string)> ARDOUR::ElementImporter::Rename |
|
static |
◆ sample_rate
The sample rate of the session from which we are importing.
Definition at line 113 of file element_importer.h.
◆ session
◆ source
XMLTree const& ARDOUR::ElementImporter::source |
|
protected |
The documentation for this class was generated from the following file: