diff options
author | Paul Davis <paul@linuxaudiosystems.com> | 2016-05-16 16:43:00 -0400 |
---|---|---|
committer | Paul Davis <paul@linuxaudiosystems.com> | 2016-05-31 15:30:42 -0400 |
commit | 38dde7f81841fc065a580139b256000e73701bdf (patch) | |
tree | b2d4a3c0d346bacbd4d8bbe34a0d8d90dc095675 /libs/ardour/ardour/session.h | |
parent | d7cce2ff7d7469f56753baabefc6cc4eedd1cfe3 (diff) |
add Session::get_stripables()
Diffstat (limited to 'libs/ardour/ardour/session.h')
-rw-r--r-- | libs/ardour/ardour/session.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/libs/ardour/ardour/session.h b/libs/ardour/ardour/session.h index 0dcad54b6c..eee58432f7 100644 --- a/libs/ardour/ardour/session.h +++ b/libs/ardour/ardour/session.h @@ -277,6 +277,14 @@ class LIBARDOUR_API Session : public PBD::StatefulDestructible, public PBD::Scop return routes.reader (); } + /* because the set of Stripables consists of objects managed + * independently, in multiple containers within the Session (or objects + * owned by the session), we fill out a list in-place rather than + * return a pointer to a copy of the (RCU) managed list, as happens + * with get_routes() + */ + + void get_stripables (StripableList&) const; boost::shared_ptr<RouteList> get_tracks() const; boost::shared_ptr<RouteList> get_routes_with_internal_returns() const; boost::shared_ptr<RouteList> get_routes_with_regions_at (framepos_t const) const; |