Ardour
9.0-pre0-582-g084a23a80d
|
#include <region_factory.h>
Public Types | |
typedef std::map< PBD::ID, std::shared_ptr< Region > > | RegionMap |
typedef std::map< std::shared_ptr< Region >, std::shared_ptr< Region > > | CompoundAssociations |
Static Public Member Functions | |
static std::shared_ptr< Region > | wholefile_region_by_name (const std::string &name) |
static std::shared_ptr< Region > | region_by_id (const PBD::ID &) |
static std::shared_ptr< Region > | region_by_name (const std::string &name) |
static void | clear_map () |
static const RegionMap | all_regions () |
static std::shared_ptr< Region > | create (std::shared_ptr< const Region > other, bool announce, bool fork=false, ThawList *tl=0) |
static std::shared_ptr< Region > | create (std::shared_ptr< Region > other, bool announce, bool fork) |
static std::shared_ptr< Region > | create (std::shared_ptr< Source >, const PBD::PropertyList &, bool announce=true, ThawList *tl=0) |
static std::shared_ptr< Region > | create (const SourceList &, const PBD::PropertyList &, bool announce=true, ThawList *tl=0) |
static std::shared_ptr< Region > | create (std::shared_ptr< Region > other, const PBD::PropertyList &, bool announce=true, ThawList *tl=0) |
static std::shared_ptr< Region > | create (std::shared_ptr< Region > other, timecnt_t const &offset, const PBD::PropertyList &, bool announce=true, ThawList *tl=0) |
static std::shared_ptr< Region > | create (std::shared_ptr< Region > other, const SourceList &srcs, const PBD::PropertyList &, bool announce=true, ThawList *tl=0) |
static std::shared_ptr< Region > | create (Session &, XMLNode &, bool) |
static std::shared_ptr< Region > | create (SourceList &srcs, const XMLNode &) |
static std::shared_ptr< Region > | get_whole_region_for_source (std::shared_ptr< ARDOUR::Source >) |
static void | get_regions_using_source (std::shared_ptr< Source >, std::set< std::shared_ptr< Region > > &) |
static void | remove_regions_using_source (std::shared_ptr< Source >) |
static void | map_remove (std::weak_ptr< Region >) |
static void | delete_all_regions () |
static const RegionMap & | regions () |
static uint32_t | nregions () |
static void | foreach_region (std::function< void(std::shared_ptr< Region >)> f) |
static int | region_name (std::string &, std::string, bool new_level=false) |
static std::string | new_region_name (std::string) |
static std::string | compound_region_name (const std::string &playlist, uint32_t compound_ops, uint32_t depth, bool whole_source) |
static CompoundAssociations & | compound_associations () |
static void | add_compound_association (std::shared_ptr< Region >, std::shared_ptr< Region >) |
static void | map_add (std::shared_ptr< Region >) |
Static Public Attributes | |
static PBD::Signal< void(std::shared_ptr< Region >)> | CheckNewRegion |
Static Private Member Functions | |
static void | region_changed (PBD::PropertyChange const &, std::weak_ptr< Region >) |
static void | add_to_region_name_maps (std::shared_ptr< Region >) |
static void | rename_in_region_name_maps (std::shared_ptr< Region >) |
static void | update_region_name_number_map (std::shared_ptr< Region >) |
static void | remove_from_region_name_map (std::string) |
Static Private Attributes | |
static Glib::Threads::Mutex | region_map_lock |
static RegionMap | region_map |
static Glib::Threads::Mutex | region_name_maps_mutex |
static std::map< std::string, uint32_t > | region_name_number_map |
static std::map< std::string, PBD::ID > | region_name_map |
static PBD::ScopedConnectionList * | region_list_connections |
static CompoundAssociations | _compound_associations |
Friends | |
class | ::RegionNamingTest |
Definition at line 46 of file region_factory.h.
typedef std::map<std::shared_ptr<Region>, std::shared_ptr<Region> > ARDOUR::RegionFactory::CompoundAssociations |
Definition at line 134 of file region_factory.h.
typedef std::map<PBD::ID, std::shared_ptr<Region> > ARDOUR::RegionFactory::RegionMap |
Definition at line 49 of file region_factory.h.
|
static |
|
staticprivate |
|
inlinestatic |
Definition at line 55 of file region_factory.h.
|
static |
|
inlinestatic |
Definition at line 136 of file region_factory.h.
|
static |
|
static |
create a region from a multiple sources
|
static |
create a region with no sources, using XML state
|
static |
create a region with specified sources srcs
and XML state
|
static |
create a "pure copy" of Region other
|
inlinestatic |
Lua binding to create a "pure copy" of Region other
Definition at line 73 of file region_factory.h.
|
static |
create a copy of other
starting at zero within other's
sources
|
static |
create a "copy" of other
but using a different set of sources srcs
|
static |
create a copy of other
starting at offset
within other
|
static |
create a region from a single Source
|
static |
|
inlinestatic |
Definition at line 109 of file region_factory.h.
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
staticprivate |
|
static |
|
inlinestatic |
Definition at line 102 of file region_factory.h.
|
staticprivate |
|
static |
|
staticprivate |
|
staticprivate |
|
static |
|
friend |
Definition at line 151 of file region_factory.h.
|
staticprivate |
Definition at line 169 of file region_factory.h.
|
static |
|
staticprivate |
Definition at line 168 of file region_factory.h.
|
staticprivate |
Definition at line 160 of file region_factory.h.
|
staticprivate |
Definition at line 159 of file region_factory.h.
|
staticprivate |
map of complete region names with their region ID
Definition at line 166 of file region_factory.h.
|
staticprivate |
Definition at line 162 of file region_factory.h.
|
staticprivate |
map of partial region names and suffix numbers
Definition at line 164 of file region_factory.h.