Ardour  9.0-pre0-582-g084a23a80d
ARDOUR::AudioPlaylistImportHandler Class Reference

#include <audio_playlist_importer.h>

Inheritance diagram for ARDOUR::AudioPlaylistImportHandler:
[legend]

Public Types

typedef std::shared_ptr< AudioPlaylistImporterPlaylistPtr
 
typedef std::list< PlaylistPtrPlaylistList
 
- Public Types inherited from ARDOUR::ElementImportHandler
typedef std::shared_ptr< ElementImporterElementPtr
 
typedef std::list< ElementPtrElementList
 

Public Member Functions

 AudioPlaylistImportHandler (XMLTree const &source, Session &session, AudioRegionImportHandler &region_handler, const char *nodename="Playlists")
 
virtual ~AudioPlaylistImportHandler ()
 
virtual std::string get_info () const
 
void get_regions (XMLNode const &node, ElementList &list) const
 
void update_region_id (XMLProperty *id_prop)
 
void playlists_by_diskstream (PBD::ID const &id, PlaylistList &list) 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...
 

Protected Attributes

AudioRegionImportHandlerregion_handler
 
- Protected Attributes inherited from ARDOUR::ElementImportHandler
XMLTree const & source
 Source session XML tree. More...
 
ARDOUR::Sessionsession
 Destination session. More...
 

Additional Inherited Members

- 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...
 
- Static Protected Attributes inherited from ARDOUR::ElementImportHandler
static bool _dirty
 Session XML readability. More...
 
static bool _errors
 Errors post initialization. More...
 

Detailed Description

Definition at line 39 of file audio_playlist_importer.h.

Member Typedef Documentation

◆ PlaylistList

◆ PlaylistPtr

Constructor & Destructor Documentation

◆ AudioPlaylistImportHandler()

ARDOUR::AudioPlaylistImportHandler::AudioPlaylistImportHandler ( XMLTree const &  source,
Session session,
AudioRegionImportHandler region_handler,
const char *  nodename = "Playlists" 
)

◆ ~AudioPlaylistImportHandler()

virtual ARDOUR::AudioPlaylistImportHandler::~AudioPlaylistImportHandler ( )
inlinevirtual

Definition at line 46 of file audio_playlist_importer.h.

Member Function Documentation

◆ get_info()

virtual std::string ARDOUR::AudioPlaylistImportHandler::get_info ( ) const
virtual

Gets a textual representation of the element type

Returns
textual representation of element type

Implements ARDOUR::ElementImportHandler.

Reimplemented in ARDOUR::UnusedAudioPlaylistImportHandler.

◆ get_regions()

void ARDOUR::AudioPlaylistImportHandler::get_regions ( XMLNode const &  node,
ElementList list 
) const

◆ playlists_by_diskstream()

void ARDOUR::AudioPlaylistImportHandler::playlists_by_diskstream ( PBD::ID const &  id,
PlaylistList list 
) const

◆ update_region_id()

void ARDOUR::AudioPlaylistImportHandler::update_region_id ( XMLProperty id_prop)

Member Data Documentation

◆ region_handler

AudioRegionImportHandler& ARDOUR::AudioPlaylistImportHandler::region_handler
protected

Definition at line 55 of file audio_playlist_importer.h.


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