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

#include <speakers.h>

Inheritance diagram for ARDOUR::Speakers:
[legend]

Public Member Functions

 Speakers ()
 
 Speakers (const Speakers &)
 
virtual ~Speakers ()
 
Speakersoperator= (const Speakers &)
 
virtual int add_speaker (const PBD::AngularVector &)
 
virtual void remove_speaker (int id)
 
virtual void move_speaker (int id, const PBD::AngularVector &new_position)
 
virtual void clear_speakers ()
 
uint32_t size () const
 
void setup_default_speakers (uint32_t nspeakers)
 
std::vector< Speaker > & speakers ()
 
void dump_speakers (std::ostream &)
 
XMLNodeget_state () const
 
int set_state (const XMLNode &, int version)
 
- 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()> Changed
 
- Public Attributes inherited from PBD::Stateful
PBD::Signal< void(const PropertyChange &)> PropertyChanged
 

Protected Member Functions

virtual void update ()
 
- 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

std::vector< Speaker_speakers
 
- 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
 

Additional Inherited Members

- Static Public Attributes inherited from PBD::Stateful
static int current_state_version
 
static int loading_state_version
 

Detailed Description

Definition at line 34 of file speakers.h.

Constructor & Destructor Documentation

◆ Speakers() [1/2]

ARDOUR::Speakers::Speakers ( )

◆ Speakers() [2/2]

ARDOUR::Speakers::Speakers ( const Speakers )

◆ ~Speakers()

virtual ARDOUR::Speakers::~Speakers ( )
virtual

Member Function Documentation

◆ add_speaker()

virtual int ARDOUR::Speakers::add_speaker ( const PBD::AngularVector )
virtual

◆ clear_speakers()

virtual void ARDOUR::Speakers::clear_speakers ( )
virtual

◆ dump_speakers()

void ARDOUR::Speakers::dump_speakers ( std::ostream &  )

◆ get_state()

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

Implements PBD::Stateful.

◆ move_speaker()

virtual void ARDOUR::Speakers::move_speaker ( int  id,
const PBD::AngularVector new_position 
)
virtual

◆ operator=()

Speakers& ARDOUR::Speakers::operator= ( const Speakers )

◆ remove_speaker()

virtual void ARDOUR::Speakers::remove_speaker ( int  id)
virtual

◆ set_state()

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

Implements PBD::Stateful.

◆ setup_default_speakers()

void ARDOUR::Speakers::setup_default_speakers ( uint32_t  nspeakers)

◆ size()

uint32_t ARDOUR::Speakers::size ( ) const
inline

Definition at line 46 of file speakers.h.

◆ speakers()

std::vector<Speaker>& ARDOUR::Speakers::speakers ( )
inline

Definition at line 50 of file speakers.h.

◆ update()

virtual void ARDOUR::Speakers::update ( )
inlineprotectedvirtual

Definition at line 62 of file speakers.h.

Member Data Documentation

◆ _speakers

std::vector<Speaker> ARDOUR::Speakers::_speakers
protected

Definition at line 60 of file speakers.h.

◆ Changed

PBD::Signal<void()> ARDOUR::Speakers::Changed

Definition at line 57 of file speakers.h.


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