|
Ardour
9.0-pre0-1950-g391fe97693
|
#include <audio_region_importer.h>
Public Member Functions | |
| AudioRegionImportHandler (XMLTree const &source, Session &session) | |
| std::string | get_info () const |
| void | create_regions_from_children (XMLNode const &node, ElementList &list) |
| bool | check_source (std::string const &filename) const |
| void | add_source (std::string const &filename, std::shared_ptr< Source > const &source) |
| std::shared_ptr< Source > const & | get_source (std::string const &filename) const |
| void | register_id (PBD::ID &old_id, PBD::ID &new_id) |
| PBD::ID const & | get_new_id (PBD::ID &old_id) const |
Public Member Functions inherited from ARDOUR::ElementImportHandler | |
| ElementImportHandler (XMLTree const &source, ARDOUR::Session &session) | |
| virtual | ~ElementImportHandler () |
| bool | check_name (const std::string &name) const |
| void | add_name (std::string name) |
| Adds name to the list of used names. More... | |
| void | remove_name (const std::string &name) |
| Removes name from the list of used names. More... | |
Private Types | |
| typedef std::map< std::string, std::shared_ptr< Source > > | SourceMap |
| typedef std::pair< std::string, std::shared_ptr< Source > > | SourcePair |
| typedef std::map< PBD::ID, PBD::ID > | IdMap |
| typedef std::pair< PBD::ID, PBD::ID > | IdPair |
Private Attributes | |
| SourceMap | sources |
| IdMap | id_map |
Additional Inherited Members | |
Public Types inherited from ARDOUR::ElementImportHandler | |
| typedef std::shared_ptr< ElementImporter > | ElementPtr |
| typedef std::list< ElementPtr > | ElementList |
Static Public Member Functions inherited from ARDOUR::ElementImportHandler | |
| static bool | dirty () |
| Checks wheter or not all elements can be imported cleanly. More... | |
| static void | set_dirty () |
| Sets handler dirty. More... | |
| static bool | errors () |
| Checks wheter or not all elements were imported cleanly. More... | |
| static void | set_errors () |
| Sets handler dirty. More... | |
Public Attributes inherited from ARDOUR::ElementImportHandler | |
| ElementList | elements |
| Elements this handler handles. More... | |
Protected Attributes inherited from ARDOUR::ElementImportHandler | |
| XMLTree const & | source |
| Source session XML tree. More... | |
| ARDOUR::Session & | session |
| Destination session. More... | |
Static Protected Attributes inherited from ARDOUR::ElementImportHandler | |
| static bool | _dirty |
| Session XML readability. More... | |
| static bool | _errors |
| Errors post initialization. More... | |
Definition at line 40 of file audio_region_importer.h.
|
private |
Definition at line 65 of file audio_region_importer.h.
|
private |
Definition at line 66 of file audio_region_importer.h.
|
private |
Definition at line 60 of file audio_region_importer.h.
|
private |
Definition at line 61 of file audio_region_importer.h.
| ARDOUR::AudioRegionImportHandler::AudioRegionImportHandler | ( | XMLTree const & | source, |
| Session & | session | ||
| ) |
| void ARDOUR::AudioRegionImportHandler::add_source | ( | std::string const & | filename, |
| std::shared_ptr< Source > const & | source | ||
| ) |
| bool ARDOUR::AudioRegionImportHandler::check_source | ( | std::string const & | filename | ) | const |
| void ARDOUR::AudioRegionImportHandler::create_regions_from_children | ( | XMLNode const & | node, |
| ElementList & | list | ||
| ) |
|
virtual |
Gets a textual representation of the element type
Implements ARDOUR::ElementImportHandler.
| std::shared_ptr<Source> const& ARDOUR::AudioRegionImportHandler::get_source | ( | std::string const & | filename | ) | const |
|
private |
Definition at line 67 of file audio_region_importer.h.
|
private |
Definition at line 62 of file audio_region_importer.h.