Ardour  9.0-pre0-350-gf17a656217
ARDOUR::MuteMaster Class Reference

#include <mute_master.h>

Inheritance diagram for ARDOUR::MuteMaster:
[legend]

Public Types

enum  MutePoint {
  PreFader = 0x1 , PostFader = 0x2 , Listen = 0x4 , Main = 0x8 ,
  SurroundSend = 0x10
}
 

Public Member Functions

 MuteMaster (Session &s, Muteable &, const std::string &name)
 
 ~MuteMaster ()
 
bool muted_by_self () const
 
bool muted_by_self_at (MutePoint mp) const
 
bool muted_by_others_soloing_at (MutePoint mp) const
 
bool muted_by_masters () const
 
bool muted_by_masters_at (MutePoint mp) const
 
gain_t mute_gain_at (MutePoint) const
 
void set_muted_by_self (bool yn)
 
void mute_at (MutePoint)
 
void unmute_at (MutePoint)
 
void set_mute_points (const std::string &mute_point)
 
void set_mute_points (MutePoint)
 
MutePoint mute_points () const
 
void set_soloed_by_self (bool yn)
 
void set_soloed_by_others (bool yn)
 
void set_muted_by_masters (bool)
 
XMLNodeget_state () const
 
int set_state (const XMLNode &, int version)
 
- 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
 
ScopedConnectionListoperator= (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 OwnedPropertyListproperties () const
 
void add_property (PropertyBase &s)
 
void add_extra_xml (XMLNode &)
 
XMLNodeextra_xml (const std::string &str, bool add_if_missing=false)
 
void save_extra_xml (const XMLNode &)
 
const PBD::IDid () const
 
bool set_id (const XMLNode &)
 
void set_id (const std::string &)
 
void reset_id ()
 
void clear_changes ()
 
virtual void clear_owned_changes ()
 
PropertyListget_changes_as_properties (PBD::Command *) const
 
virtual void rdiff (std::vector< PBD::Command * > &) const
 
bool changed () const
 
virtual PropertyListproperty_factory (const XMLNode &) const
 
virtual void suspend_property_changes ()
 
virtual void resume_property_changes ()
 
bool property_changes_suspended () const
 

Public Attributes

PBD::Signal< void()> MutePointChanged
 
- Public Attributes inherited from PBD::Stateful
PBD::Signal< void(const PropertyChange &)> PropertyChanged
 

Static Public Attributes

static const MutePoint AllPoints
 
static const std::string xml_node_name
 
- Static Public Attributes inherited from PBD::Stateful
static int current_state_version
 
static int loading_state_version
 

Private Attributes

Muteable_muteable
 
MutePoint _mute_point
 
bool _muted_by_self
 
bool _soloed_by_self
 
bool _soloed_by_others
 
bool _muted_by_masters
 

Additional Inherited Members

- 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)
 
XMLNodeinstant_xml (const std::string &str, const std::string &directory_path)
 
void add_properties (XMLNode &) const
 
PropertyChange set_values (XMLNode const &)
 
virtual void post_set (const PropertyChange &)
 
virtual void send_change (const PropertyChange &)
 
virtual void mid_thaw (const PropertyChange &)
 
bool regenerate_xml_or_string_ids () const
 
- 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
 

Detailed Description

Definition at line 39 of file mute_master.h.

Member Enumeration Documentation

◆ MutePoint

deliveries to mute when the channel is "muted"

Enumerator
PreFader 

mute all pre-fader sends

PostFader 

mute all post-fader sends

Listen 

mute listen out

Main 

mute main out

SurroundSend 

mute surround send (if any)

Definition at line 43 of file mute_master.h.

Constructor & Destructor Documentation

◆ MuteMaster()

ARDOUR::MuteMaster::MuteMaster ( Session s,
Muteable ,
const std::string &  name 
)

◆ ~MuteMaster()

ARDOUR::MuteMaster::~MuteMaster ( )
inline

Definition at line 54 of file mute_master.h.

Member Function Documentation

◆ get_state()

XMLNode& ARDOUR::MuteMaster::get_state ( ) const
virtual

Implements PBD::Stateful.

◆ mute_at()

void ARDOUR::MuteMaster::mute_at ( MutePoint  )

◆ mute_gain_at()

gain_t ARDOUR::MuteMaster::mute_gain_at ( MutePoint  ) const

◆ mute_points()

MutePoint ARDOUR::MuteMaster::mute_points ( ) const
inline

Definition at line 71 of file mute_master.h.

◆ muted_by_masters()

bool ARDOUR::MuteMaster::muted_by_masters ( ) const
inline

Definition at line 59 of file mute_master.h.

◆ muted_by_masters_at()

bool ARDOUR::MuteMaster::muted_by_masters_at ( MutePoint  mp) const
inline

Definition at line 60 of file mute_master.h.

◆ muted_by_others_soloing_at()

bool ARDOUR::MuteMaster::muted_by_others_soloing_at ( MutePoint  mp) const

◆ muted_by_self()

bool ARDOUR::MuteMaster::muted_by_self ( ) const
inline

Definition at line 56 of file mute_master.h.

◆ muted_by_self_at()

bool ARDOUR::MuteMaster::muted_by_self_at ( MutePoint  mp) const
inline

Definition at line 57 of file mute_master.h.

◆ set_mute_points() [1/2]

void ARDOUR::MuteMaster::set_mute_points ( const std::string &  mute_point)

◆ set_mute_points() [2/2]

void ARDOUR::MuteMaster::set_mute_points ( MutePoint  )

◆ set_muted_by_masters()

void ARDOUR::MuteMaster::set_muted_by_masters ( bool  )

◆ set_muted_by_self()

void ARDOUR::MuteMaster::set_muted_by_self ( bool  yn)
inline

Definition at line 64 of file mute_master.h.

◆ set_soloed_by_others()

void ARDOUR::MuteMaster::set_soloed_by_others ( bool  yn)
inline

Definition at line 74 of file mute_master.h.

◆ set_soloed_by_self()

void ARDOUR::MuteMaster::set_soloed_by_self ( bool  yn)
inline

Definition at line 73 of file mute_master.h.

◆ set_state()

int ARDOUR::MuteMaster::set_state ( const XMLNode ,
int  version 
)
virtual

Implements PBD::Stateful.

◆ unmute_at()

void ARDOUR::MuteMaster::unmute_at ( MutePoint  )

Member Data Documentation

◆ _mute_point

MutePoint ARDOUR::MuteMaster::_mute_point
private

Definition at line 86 of file mute_master.h.

◆ _muteable

Muteable* ARDOUR::MuteMaster::_muteable
private

Definition at line 85 of file mute_master.h.

◆ _muted_by_masters

bool ARDOUR::MuteMaster::_muted_by_masters
private

Definition at line 90 of file mute_master.h.

◆ _muted_by_self

bool ARDOUR::MuteMaster::_muted_by_self
private

Definition at line 87 of file mute_master.h.

◆ _soloed_by_others

bool ARDOUR::MuteMaster::_soloed_by_others
private

Definition at line 89 of file mute_master.h.

◆ _soloed_by_self

bool ARDOUR::MuteMaster::_soloed_by_self
private

Definition at line 88 of file mute_master.h.

◆ AllPoints

const MutePoint ARDOUR::MuteMaster::AllPoints
static

Definition at line 51 of file mute_master.h.

◆ MutePointChanged

PBD::Signal<void()> ARDOUR::MuteMaster::MutePointChanged

Definition at line 78 of file mute_master.h.

◆ xml_node_name

const std::string ARDOUR::MuteMaster::xml_node_name
static

Definition at line 82 of file mute_master.h.


The documentation for this class was generated from the following file: