Ardour
9.0-pre0-582-g084a23a80d
|
#include <tempo_map_importer.h>
Public Member Functions | |
TempoMapImporter (XMLTree const &source, Session &session, XMLNode const &node) | |
virtual std::string | get_info () const |
Public Member Functions inherited from ARDOUR::ElementImporter | |
ElementImporter (XMLTree const &source, ARDOUR::Session &session) | |
virtual | ~ElementImporter () |
virtual std::string | get_name () const |
virtual ImportStatus * | get_import_status () |
bool | prepare_move () |
void | cancel_move () |
void | move () |
Moves the element to the taget session. More... | |
bool | broken () |
Check if element is broken. Cannot be moved if broken. More... | |
Protected Member Functions | |
bool | _prepare_move () |
void | _cancel_move () |
Cancel move. More... | |
void | _move () |
Protected Member Functions inherited from ARDOUR::ElementImporter | |
bool | queued () |
Ture if the element has been prepared and queued for importing. More... | |
std::string | timecode_to_string (Timecode::Time &time) const |
Converts timecode time to a string. More... | |
samplecnt_t | rate_convert_samples (samplecnt_t samples) const |
Converts samples so that times match the sessions sample rate. More... | |
std::string | rate_convert_samples (std::string const &samples) const |
Converts samples so that times match the sessions sample rate (for straight use in XML) More... | |
void | set_broken () |
Set element broken. More... | |
Private Types | |
typedef std::shared_ptr< XMLNode > | XMLNodePtr |
Private Attributes | |
XMLNode | xml_tempo_map |
Additional Inherited Members | |
Static Public Attributes inherited from ARDOUR::ElementImporter | |
static PBD::Signal< std::pair< bool, std::string >std::string, std::string)> | Rename |
Signal that requests for anew name. More... | |
static PBD::Signal< bool(std::string)> | Prompt |
Signal for ok/cancel prompting. More... | |
Protected Attributes inherited from ARDOUR::ElementImporter | |
XMLTree const & | source |
Source XML-tree. More... | |
ARDOUR::Session & | session |
Target session. More... | |
std::string | name |
Name of element. More... | |
samplecnt_t | sample_rate |
The sample rate of the session from which we are importing. More... | |
Definition at line 40 of file tempo_map_importer.h.
|
private |
Definition at line 43 of file tempo_map_importer.h.
ARDOUR::TempoMapImporter::TempoMapImporter | ( | XMLTree const & | source, |
Session & | session, | ||
XMLNode const & | node | ||
) |
|
protectedvirtual |
Cancel move.
Implements ARDOUR::ElementImporter.
|
protectedvirtual |
Moves the element to the taget session In addition to actually adding the element to the session changing ids, renaming files etc. should be taken care of.
Implements ARDOUR::ElementImporter.
|
protectedvirtual |
Should take care of all tasks that need to be done before moving the element. This includes prompting the user for more information if necessary.
Implements ARDOUR::ElementImporter.
|
virtual |
Gets a textual representation of the element
Implements ARDOUR::ElementImporter.
|
private |
Definition at line 55 of file tempo_map_importer.h.