20 #ifndef __ardour_route_group_h__
21 #define __ardour_route_group_h__
69 bool is_gain ()
const {
return _gain.val(); }
70 bool is_mute ()
const {
return _mute.val(); }
71 bool is_solo ()
const {
return _solo.val(); }
75 bool is_color ()
const {
return _color.val(); }
78 bool empty()
const {
return routes->empty();}
79 size_t size()
const {
return routes->size();}
84 void set_active (
bool yn,
void *src);
85 void set_relative (
bool yn,
void *src);
86 void set_hidden (
bool yn,
void *src);
88 void set_gain (
bool yn);
89 void set_mute (
bool yn);
90 void set_solo (
bool yn);
91 void set_recenable (
bool yn);
92 void set_select (
bool yn);
93 void set_route_active (
bool yn);
94 void set_color (
bool yn);
95 void set_monitoring (
bool yn);
102 template<
typename Function>
104 for (RouteList::iterator i = routes->begin(); i != routes->end(); ++i) {
111 template<
class T>
void apply (
void (
Track::*func)(T,
void *), T val,
void *src);
122 bool has_subgroup()
const;
124 void destroy_subgroup ();
129 PBD::Signal2<void, RouteGroup *, boost::weak_ptr<ARDOUR::Route> >
RouteAdded;
131 PBD::Signal2<void, RouteGroup *, boost::weak_ptr<ARDOUR::Route> >
RouteRemoved;
135 int set_state (
const XMLNode&,
int version);
154 int set_state_2X (
const XMLNode&,
int);
PBD::Property< bool > _solo
LIBARDOUR_API PBD::PropertyDescriptor< bool > hidden
LIBARDOUR_API PBD::PropertyDescriptor< bool > gain
PBD::Signal2< void, RouteGroup *, boost::weak_ptr< ARDOUR::Route > > RouteRemoved
PBD::Property< bool > _recenable
PBD::Property< bool > _active
PBD::Property< bool > _route_active
PBD::Property< bool > _hidden
boost::shared_ptr< RouteList > routes
LIBARDOUR_API PBD::PropertyDescriptor< bool > recenable
LIBARDOUR_API PBD::PropertyDescriptor< bool > route_active
bool is_route_active() const
PBD::Property< bool > _relative
bool is_recenable() const
PBD::Property< bool > _color
boost::shared_ptr< Route > subgroup_bus
LIBARDOUR_API PBD::PropertyDescriptor< bool > mute
LIBARDOUR_API void make_property_quarks()
PBD::Property< bool > _select
LIBARDOUR_API PBD::PropertyDescriptor< bool > active
bool is_monitoring() const
PBD::Property< bool > _gain
LIBARDOUR_API PBD::PropertyDescriptor< bool > solo
LIBARDOUR_API PBD::PropertyDescriptor< bool > relative
boost::shared_ptr< RouteList > route_list()
PBD::Signal2< void, RouteGroup *, boost::weak_ptr< ARDOUR::Route > > RouteAdded
LIBARDOUR_API PBD::PropertyDescriptor< bool > select
PBD::Property< bool > _mute
void foreach_route(Function f)
PBD::Property< bool > _monitoring
LIBARDOUR_API PBD::PropertyDescriptor< bool > color
LIBARDOUR_API PBD::PropertyDescriptor< bool > monitoring