ardour
|
#include <session_playlists.h>
Public Member Functions | |
~SessionPlaylists () | |
boost::shared_ptr< Playlist > | by_name (std::string name) |
boost::shared_ptr< Playlist > | by_id (const PBD::ID &) |
uint32_t | source_use_count (boost::shared_ptr< const Source > src) const |
uint32_t | region_use_count (boost::shared_ptr< Region > region) const |
template<class T > | |
void | foreach (T *obj, void(T::*func)(boost::shared_ptr< Playlist >)) |
void | get (std::vector< boost::shared_ptr< Playlist > > &) const |
void | unassigned (std::list< boost::shared_ptr< Playlist > > &list) |
void | destroy_region (boost::shared_ptr< Region >) |
boost::shared_ptr< Crossfade > | find_crossfade (const PBD::ID &) |
void | sync_all_regions_with_regions () |
std::vector< boost::shared_ptr < Playlist > > | playlists_for_track (boost::shared_ptr< Track >) const |
Public Member Functions inherited from PBD::ScopedConnectionList | |
ScopedConnectionList () | |
virtual | ~ScopedConnectionList () |
void | add_connection (const UnscopedConnection &c) |
void | drop_connections () |
Private Types | |
typedef std::set < boost::shared_ptr< Playlist > > | List |
Private Member Functions | |
bool | add (boost::shared_ptr< Playlist >) |
void | remove (boost::shared_ptr< Playlist >) |
void | remove_weak (boost::weak_ptr< Playlist >) |
void | track (bool, boost::weak_ptr< Playlist >) |
uint32_t | n_playlists () const |
void | find_equivalent_playlist_regions (boost::shared_ptr< Region >, std::vector< boost::shared_ptr< Region > > &result) |
void | update_after_tempo_map_change () |
void | add_state (XMLNode *, bool) |
bool | maybe_delete_unused (boost::function< int(boost::shared_ptr< Playlist >)>) |
int | load (Session &, const XMLNode &) |
int | load_unused (Session &, const XMLNode &) |
boost::shared_ptr< Playlist > | XMLPlaylistFactory (Session &, const XMLNode &) |
Private Attributes | |
Glib::Threads::Mutex | lock |
List | playlists |
List | unused_playlists |
Friends | |
class | Session |
Definition at line 47 of file session_playlists.h.
|
private |
Definition at line 82 of file session_playlists.h.
SessionPlaylists::~SessionPlaylists | ( | ) |
Definition at line 34 of file session_playlists.cc.
|
private |
Definition at line 70 of file session_playlists.cc.
|
private |
Definition at line 303 of file session_playlists.cc.
boost::shared_ptr< Playlist > SessionPlaylists::by_id | ( | const PBD::ID & | id | ) |
Definition at line 182 of file session_playlists.cc.
boost::shared_ptr< Playlist > SessionPlaylists::by_name | ( | std::string | name | ) |
Definition at line 162 of file session_playlists.cc.
void SessionPlaylists::destroy_region | ( | boost::shared_ptr< Region > | r | ) |
Definition at line 234 of file session_playlists.cc.
boost::shared_ptr< Crossfade > SessionPlaylists::find_crossfade | ( | const PBD::ID & | id | ) |
Definition at line 422 of file session_playlists.cc.
|
private |
Definition at line 249 of file session_playlists.cc.
void ARDOUR::SessionPlaylists::foreach | ( | T * | obj, |
void(T::*)(boost::shared_ptr< Playlist >) | func | ||
) |
Definition at line 30 of file session_playlist.h.
void SessionPlaylists::get | ( | std::vector< boost::shared_ptr< Playlist > > & | s | ) | const |
Definition at line 220 of file session_playlists.cc.
Definition at line 367 of file session_playlists.cc.
Definition at line 386 of file session_playlists.cc.
|
private |
Definition at line 332 of file session_playlists.cc.
|
private |
Definition at line 155 of file session_playlists.cc.
vector< boost::shared_ptr< Playlist > > SessionPlaylists::playlists_for_track | ( | boost::shared_ptr< Track > | tr | ) | const |
Definition at line 464 of file session_playlists.cc.
uint32_t SessionPlaylists::region_use_count | ( | boost::shared_ptr< Region > | region | ) | const |
Definition at line 446 of file session_playlists.cc.
|
private |
Definition at line 97 of file session_playlists.cc.
|
private |
Definition at line 88 of file session_playlists.cc.
uint32_t SessionPlaylists::source_use_count | ( | boost::shared_ptr< const Source > | src | ) | const |
Return the number of playlists (not regions) that contain src Important: this counts usage in both used and not-used playlists.
Definition at line 259 of file session_playlists.cc.
void SessionPlaylists::sync_all_regions_with_regions | ( | ) |
Definition at line 281 of file session_playlists.cc.
|
private |
Definition at line 116 of file session_playlists.cc.
void SessionPlaylists::unassigned | ( | std::list< boost::shared_ptr< Playlist > > & | list | ) |
Definition at line 202 of file session_playlists.cc.
|
private |
Definition at line 291 of file session_playlists.cc.
|
private |
Definition at line 410 of file session_playlists.cc.
|
friend |
Definition at line 65 of file session_playlists.h.
|
mutableprivate |
Definition at line 81 of file session_playlists.h.
|
private |
Definition at line 83 of file session_playlists.h.
|
private |
Definition at line 84 of file session_playlists.h.