ardour
Public Member Functions | Public Attributes | Protected Member Functions | Protected Attributes | List of all members
ARDOUR::Speakers Class Reference

#include <speakers.h>

Inheritance diagram for ARDOUR::Speakers:
PBD::Stateful

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 ()
 
int set_state (const XMLNode &, int version)
 
- Public Member Functions inherited from PBD::Stateful
 Stateful ()
 
virtual ~Stateful ()
 
virtual bool apply_changes (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 (Command *) const
 
virtual void rdiff (std::vector< 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::Signal0< void > Changed
 
- Public Attributes inherited from PBD::Stateful
PBD::Signal1< 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 &)
 
PropertyChange set_values (XMLNode const &)
 
virtual void post_set (const PropertyChange &)
 
virtual void send_change (const PropertyChange &)
 
virtual void mid_thaw (const PropertyChange &)
 

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 = 0
 
static int loading_state_version = 0
 

Detailed Description

Definition at line 34 of file speakers.h.

Constructor & Destructor Documentation

Speakers::Speakers ( )

Definition at line 69 of file speakers.cc.

Speakers::Speakers ( const Speakers s)

Definition at line 73 of file speakers.cc.

Speakers::~Speakers ( )
virtual

Definition at line 79 of file speakers.cc.

Member Function Documentation

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

Definition at line 113 of file speakers.cc.

void Speakers::clear_speakers ( )
virtual

Definition at line 106 of file speakers.cc.

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

Definition at line 93 of file speakers.cc.

XMLNode & Speakers::get_state ( void  )
virtual

Implements PBD::Stateful.

Definition at line 244 of file speakers.cc.

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

Definition at line 138 of file speakers.cc.

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

Definition at line 84 of file speakers.cc.

void Speakers::remove_speaker ( int  id)
virtual

Definition at line 126 of file speakers.cc.

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

Implements PBD::Stateful.

Definition at line 267 of file speakers.cc.

void Speakers::setup_default_speakers ( uint32_t  nspeakers)

Definition at line 150 of file speakers.cc.

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

Definition at line 46 of file speakers.h.

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

Definition at line 50 of file speakers.h.

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

Definition at line 62 of file speakers.h.

Member Data Documentation

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

Definition at line 60 of file speakers.h.

PBD::Signal0<void> ARDOUR::Speakers::Changed

Definition at line 57 of file speakers.h.


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