Ardour
9.0-pre0-582-g084a23a80d
|
#include <route_group.h>
Public Member Functions | |
RouteGroup (Session &s, const std::string &n) | |
~RouteGroup () | |
bool | is_active () const |
bool | is_relative () const |
bool | is_hidden () const |
bool | is_gain () const |
bool | is_mute () const |
bool | is_solo () const |
bool | is_recenable () const |
bool | is_sursend_enable () const |
bool | is_select () const |
bool | is_route_active () const |
bool | is_color () const |
bool | is_monitoring () const |
int32_t | group_master_number () const |
std::weak_ptr< Route > | subgroup_bus () const |
bool | empty () const |
size_t | size () const |
gain_t | get_max_factor (gain_t factor) |
gain_t | get_min_factor (gain_t factor) |
void | set_active (bool yn, void *src) |
void | set_relative (bool yn, void *src) |
void | set_hidden (bool yn, void *src) |
void | set_gain (bool yn) |
void | set_mute (bool yn) |
void | set_solo (bool yn) |
void | set_recenable (bool yn) |
void | set_sursend_enable (bool yn) |
void | set_select (bool yn) |
void | set_route_active (bool yn) |
void | set_color (bool yn) |
void | set_monitoring (bool yn) |
bool | enabled_property (PBD::PropertyID) |
int | add (std::shared_ptr< Route >) |
int | remove (std::shared_ptr< Route >) |
template<typename Function > | |
void | foreach_route (Function f) |
template<class T > | |
void | apply (void(Track::*func)(T, PBD::Controllable::GroupControlDisposition), T val, PBD::Controllable::GroupControlDisposition) |
void | audio_track_group (std::set< std::shared_ptr< AudioTrack > > &at_set) |
void | clear () |
bool | has_subgroup () const |
bool | can_subgroup (bool, Placement) const |
void | make_subgroup (bool, Placement) |
void | destroy_subgroup () |
std::shared_ptr< RouteList > | route_list () |
XMLNode & | get_state () const |
int | set_state (const XMLNode &, int version) |
void | assign_master (std::shared_ptr< VCA >) |
void | unassign_master (std::shared_ptr< VCA >) |
bool | has_control_master () const |
bool | slaved () const |
uint32_t | rgba () const |
void | set_rgba (uint32_t) |
void | migrate_rgba (uint32_t color) |
Public Member Functions inherited from ARDOUR::SessionObject | |
SessionObject (Session &session, const std::string &name) | |
Session & | session () const |
std::string | name () const |
virtual bool | set_name (const std::string &str) |
Public Member Functions inherited from ARDOUR::SessionHandleRef | |
SessionHandleRef (ARDOUR::Session &s) | |
virtual | ~SessionHandleRef () |
Public Member Functions inherited from PBD::ScopedConnectionList | |
ScopedConnectionList () | |
ScopedConnectionList (const ScopedConnectionList &)=delete | |
ScopedConnectionList & | operator= (const ScopedConnectionList &)=delete |
virtual | ~ScopedConnectionList () |
void | add_connection (const UnscopedConnection &c) |
void | drop_connections () |
Public Member Functions inherited from PBD::Stateful | |
Stateful () | |
virtual | ~Stateful () |
virtual bool | apply_change (PropertyBase const &) |
PropertyChange | apply_changes (PropertyList const &) |
const OwnedPropertyList & | properties () const |
void | add_property (PropertyBase &s) |
void | add_extra_xml (XMLNode &) |
XMLNode * | extra_xml (const std::string &str, bool add_if_missing=false) |
void | save_extra_xml (const XMLNode &) |
const PBD::ID & | id () const |
bool | set_id (const XMLNode &) |
void | set_id (const std::string &) |
void | reset_id () |
void | clear_changes () |
virtual void | clear_owned_changes () |
PropertyList * | get_changes_as_properties (PBD::Command *) const |
virtual void | rdiff (std::vector< PBD::Command * > &) const |
bool | changed () const |
virtual PropertyList * | property_factory (const XMLNode &) const |
virtual void | suspend_property_changes () |
virtual void | resume_property_changes () |
bool | property_changes_suspended () const |
Public Member Functions inherited from PBD::Destructible | |
virtual | ~Destructible () |
virtual void | drop_references () |
Static Public Member Functions | |
static void | make_property_quarks () |
Static Public Member Functions inherited from ARDOUR::SessionObject | |
static void | make_property_quarks () |
Public Attributes | |
PBD::Signal< void(RouteGroup *, std::weak_ptr< ARDOUR::Route >)> | RouteAdded |
PBD::Signal< void(RouteGroup *, std::weak_ptr< ARDOUR::Route >)> | RouteRemoved |
Public Attributes inherited from PBD::Stateful | |
PBD::Signal< void(const PropertyChange &)> | PropertyChanged |
Public Attributes inherited from PBD::Destructible | |
PBD::Signal< void()> | Destroyed |
PBD::Signal< void()> | DropReferences |
Private Member Functions | |
bool | check_subgroup (bool, Placement, DataType &, uint32_t &) const |
void | remove_when_going_away (std::weak_ptr< Route >) |
void | update_surround_sends () |
void | unset_subgroup_bus () |
int | set_state_2X (const XMLNode &, int) |
void | post_set (PBD::PropertyChange const &) |
void | push_to_groups () |
Private Attributes | |
std::shared_ptr< RouteList > | routes |
std::shared_ptr< Route > | _subgroup_bus |
std::weak_ptr< VCA > | group_master |
PBD::Property< bool > | _relative |
PBD::Property< bool > | _active |
PBD::Property< bool > | _hidden |
PBD::Property< bool > | _gain |
PBD::Property< bool > | _mute |
PBD::Property< bool > | _solo |
PBD::Property< bool > | _recenable |
PBD::Property< bool > | _sursend_enable |
PBD::Property< bool > | _select |
PBD::Property< bool > | _route_active |
PBD::Property< bool > | _color |
PBD::Property< bool > | _monitoring |
PBD::Property< int32_t > | _group_master_number |
std::shared_ptr< ControlGroup > | _solo_group |
std::shared_ptr< ControlGroup > | _mute_group |
std::shared_ptr< ControlGroup > | _rec_enable_group |
std::shared_ptr< ControlGroup > | _sursend_enable_group |
std::shared_ptr< ControlGroup > | _gain_group |
std::shared_ptr< ControlGroup > | _monitoring_group |
uint32_t | _rgba |
bool | _used_to_share_gain |
Additional Inherited Members | |
Static Public Attributes inherited from PBD::Stateful | |
static int | current_state_version |
static int | loading_state_version |
Protected Member Functions inherited from ARDOUR::SessionHandleRef | |
virtual void | session_going_away () |
virtual void | insanity_check () |
Protected Member Functions inherited from PBD::Stateful | |
void | add_instant_xml (XMLNode &, const std::string &directory_path) |
XMLNode * | instant_xml (const std::string &str, const std::string &directory_path) |
void | add_properties (XMLNode &) const |
PropertyChange | set_values (XMLNode const &) |
virtual void | send_change (const PropertyChange &) |
virtual void | mid_thaw (const PropertyChange &) |
bool | regenerate_xml_or_string_ids () const |
Protected Attributes inherited from ARDOUR::SessionObject | |
PBD::Property< std::string > | _name |
Protected Attributes inherited from ARDOUR::SessionHandleRef | |
ARDOUR::Session & | _session |
Protected Attributes inherited from PBD::Stateful | |
XMLNode * | _extra_xml |
XMLNode * | _instant_xml |
PBD::PropertyChange | _pending_changed |
Glib::Threads::Mutex | _lock |
std::string | _xml_node_name |
name of node to use for this object in XML More... | |
OwnedPropertyList * | _properties |
A group identifier for routes.
RouteGroups permit to define properties which are shared among all Routes that use the given identifier.
A route can at most be in one group.
Definition at line 72 of file route_group.h.
ARDOUR::RouteGroup::RouteGroup | ( | Session & | s, |
const std::string & | n | ||
) |
ARDOUR::RouteGroup::~RouteGroup | ( | ) |
int ARDOUR::RouteGroup::add | ( | std::shared_ptr< Route > | ) |
void ARDOUR::RouteGroup::apply | ( | void(Track::*)(T, PBD::Controllable::GroupControlDisposition) | func, |
T | val, | ||
PBD::Controllable::GroupControlDisposition | group_override | ||
) |
Definition at line 29 of file route_group_specialized.h.
void ARDOUR::RouteGroup::assign_master | ( | std::shared_ptr< VCA > | ) |
void ARDOUR::RouteGroup::audio_track_group | ( | std::set< std::shared_ptr< AudioTrack > > & | at_set | ) |
bool ARDOUR::RouteGroup::can_subgroup | ( | bool | , |
Placement | |||
) | const |
|
private |
|
inline |
Definition at line 135 of file route_group.h.
void ARDOUR::RouteGroup::destroy_subgroup | ( | ) |
|
inline |
Definition at line 95 of file route_group.h.
bool ARDOUR::RouteGroup::enabled_property | ( | PBD::PropertyID | ) |
|
inline |
Definition at line 121 of file route_group.h.
|
virtual |
Implements PBD::Stateful.
|
inline |
Definition at line 92 of file route_group.h.
bool ARDOUR::RouteGroup::has_control_master | ( | ) | const |
bool ARDOUR::RouteGroup::has_subgroup | ( | ) | const |
|
inline |
Definition at line 80 of file route_group.h.
|
inline |
Definition at line 90 of file route_group.h.
|
inline |
Definition at line 83 of file route_group.h.
|
inline |
Definition at line 82 of file route_group.h.
|
inline |
Definition at line 91 of file route_group.h.
|
inline |
Definition at line 84 of file route_group.h.
|
inline |
Definition at line 86 of file route_group.h.
|
inline |
Definition at line 81 of file route_group.h.
|
inline |
Definition at line 89 of file route_group.h.
|
inline |
Definition at line 88 of file route_group.h.
|
inline |
Definition at line 85 of file route_group.h.
|
inline |
Definition at line 87 of file route_group.h.
|
static |
void ARDOUR::RouteGroup::make_subgroup | ( | bool | , |
Placement | |||
) |
|
inline |
Definition at line 168 of file route_group.h.
|
privatevirtual |
Reimplemented from PBD::Stateful.
|
private |
int ARDOUR::RouteGroup::remove | ( | std::shared_ptr< Route > | ) |
|
private |
|
inline |
Definition at line 161 of file route_group.h.
|
inline |
Definition at line 145 of file route_group.h.
void ARDOUR::RouteGroup::set_active | ( | bool | yn, |
void * | src | ||
) |
void ARDOUR::RouteGroup::set_color | ( | bool | yn | ) |
void ARDOUR::RouteGroup::set_gain | ( | bool | yn | ) |
void ARDOUR::RouteGroup::set_hidden | ( | bool | yn, |
void * | src | ||
) |
void ARDOUR::RouteGroup::set_monitoring | ( | bool | yn | ) |
void ARDOUR::RouteGroup::set_mute | ( | bool | yn | ) |
void ARDOUR::RouteGroup::set_recenable | ( | bool | yn | ) |
void ARDOUR::RouteGroup::set_relative | ( | bool | yn, |
void * | src | ||
) |
void ARDOUR::RouteGroup::set_rgba | ( | uint32_t | ) |
set route-group color and notify UI about change
void ARDOUR::RouteGroup::set_route_active | ( | bool | yn | ) |
void ARDOUR::RouteGroup::set_select | ( | bool | yn | ) |
void ARDOUR::RouteGroup::set_solo | ( | bool | yn | ) |
|
virtual |
Implements PBD::Stateful.
|
private |
void ARDOUR::RouteGroup::set_sursend_enable | ( | bool | yn | ) |
|
inline |
Definition at line 96 of file route_group.h.
bool ARDOUR::RouteGroup::slaved | ( | ) | const |
|
inline |
Definition at line 93 of file route_group.h.
void ARDOUR::RouteGroup::unassign_master | ( | std::shared_ptr< VCA > | ) |
|
private |
|
private |
|
private |
Definition at line 176 of file route_group.h.
|
private |
Definition at line 185 of file route_group.h.
|
private |
Definition at line 178 of file route_group.h.
|
private |
Definition at line 193 of file route_group.h.
|
private |
Definition at line 187 of file route_group.h.
|
private |
Definition at line 177 of file route_group.h.
|
private |
Definition at line 186 of file route_group.h.
|
private |
Definition at line 194 of file route_group.h.
|
private |
Definition at line 179 of file route_group.h.
|
private |
Definition at line 190 of file route_group.h.
|
private |
Definition at line 191 of file route_group.h.
|
private |
Definition at line 181 of file route_group.h.
|
private |
Definition at line 175 of file route_group.h.
|
private |
Definition at line 205 of file route_group.h.
|
private |
Definition at line 184 of file route_group.h.
|
private |
Definition at line 183 of file route_group.h.
|
private |
Definition at line 180 of file route_group.h.
|
private |
Definition at line 189 of file route_group.h.
|
private |
Definition at line 172 of file route_group.h.
|
private |
Definition at line 182 of file route_group.h.
|
private |
Definition at line 192 of file route_group.h.
|
private |
Definition at line 206 of file route_group.h.
|
private |
Definition at line 173 of file route_group.h.
PBD::Signal<void(RouteGroup *, std::weak_ptr<ARDOUR::Route> )> ARDOUR::RouteGroup::RouteAdded |
Emitted when a route has been added to this group
Definition at line 148 of file route_group.h.
PBD::Signal<void(RouteGroup *, std::weak_ptr<ARDOUR::Route> )> ARDOUR::RouteGroup::RouteRemoved |
Emitted when a route has been removed from this group
Definition at line 150 of file route_group.h.
|
private |
Definition at line 171 of file route_group.h.