Ardour  9.0-pre0-582-g084a23a80d
ARDOUR::MixerScene Class Reference

#include <mixer_scene.h>

Inheritance diagram for ARDOUR::MixerScene:
[legend]

Public Member Functions

 MixerScene (Session &)
 
 ~MixerScene ()
 
void snapshot ()
 
bool apply () const
 
bool apply (PBD::ControllableSet const &, AutomationTypeSet const &ts=AutomationTypeSet()) const
 
void clear ()
 
bool empty () const
 
std::string name () const
 
bool set_name (std::string const &name)
 
XMLNodeget_state () const
 
int set_state (XMLNode const &, 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
 

Static Public Attributes

static PBD::Signal< void()> Change
 
- Static Public Attributes inherited from PBD::Stateful
static int current_state_version
 
static int loading_state_version
 

Private Types

typedef std::map< PBD::ID, double > ControllableValueMap
 

Private Member Functions

bool recurse_to_master (std::shared_ptr< PBD::Controllable >, std::set< PBD::ID > &, AutomationTypeSet const &) const
 

Private Attributes

ControllableValueMap _ctrl_map
 
std::string _name
 

Additional Inherited Members

- Public Attributes inherited from PBD::Stateful
PBD::Signal< void(const PropertyChange &)> PropertyChanged
 
- 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 31 of file mixer_scene.h.

Member Typedef Documentation

◆ ControllableValueMap

typedef std::map<PBD::ID, double> ARDOUR::MixerScene::ControllableValueMap
private

Definition at line 52 of file mixer_scene.h.

Constructor & Destructor Documentation

◆ MixerScene()

ARDOUR::MixerScene::MixerScene ( Session )

◆ ~MixerScene()

ARDOUR::MixerScene::~MixerScene ( )

Member Function Documentation

◆ apply() [1/2]

bool ARDOUR::MixerScene::apply ( ) const

◆ apply() [2/2]

bool ARDOUR::MixerScene::apply ( PBD::ControllableSet const &  ,
AutomationTypeSet const &  ts = AutomationTypeSet() 
) const

◆ clear()

void ARDOUR::MixerScene::clear ( )

◆ empty()

bool ARDOUR::MixerScene::empty ( ) const
inline

Definition at line 41 of file mixer_scene.h.

◆ get_state()

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

Implements PBD::Stateful.

◆ name()

std::string ARDOUR::MixerScene::name ( ) const
inline

Definition at line 43 of file mixer_scene.h.

◆ recurse_to_master()

bool ARDOUR::MixerScene::recurse_to_master ( std::shared_ptr< PBD::Controllable ,
std::set< PBD::ID > &  ,
AutomationTypeSet const &   
) const
private

◆ set_name()

bool ARDOUR::MixerScene::set_name ( std::string const &  name)

◆ set_state()

int ARDOUR::MixerScene::set_state ( XMLNode const &  ,
int  version 
)
virtual

Implements PBD::Stateful.

◆ snapshot()

void ARDOUR::MixerScene::snapshot ( )

Member Data Documentation

◆ _ctrl_map

ControllableValueMap ARDOUR::MixerScene::_ctrl_map
private

Definition at line 56 of file mixer_scene.h.

◆ _name

std::string ARDOUR::MixerScene::_name
private

Definition at line 57 of file mixer_scene.h.

◆ Change

PBD::Signal<void()> ARDOUR::MixerScene::Change
static

Definition at line 49 of file mixer_scene.h.


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