Ardour  9.7-336-gb784ad01ee
ARDOUR::ScaleProvider Class Reference

#include <scale_provider.h>

Inheritance diagram for ARDOUR::ScaleProvider:
[legend]

Public Member Functions

 ScaleProvider (ScaleProvider *parent)
 
virtual ~ScaleProvider ()
 
ScaleProviderparent () const
 
virtual MusicalKey const * key () const
 
virtual MusicalKey const * key_at (Temporal::timepos_t const &) const
 
void set_key (MusicalKey const *)
 
XMLNodeget_state () const
 
int set_state (const XMLNode &, int version)
 
void parent_prop_change (PBD::PropertyChange const &)
 
virtual void set_key_enforcement_policy (KeyEnforcementPolicy kep)
 
KeyEnforcementPolicy key_enforcement_policy () const
 
ScaleProvider const * scale_provider_origin () const
 
bool own_scale () const
 
- 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 Member Functions

static void make_property_quarks ()
 

Private Attributes

ScaleProvider_parent
 
MusicalKey const * _key
 
KeyEnforcementPolicy _key_enforcement_policy
 
PBD::ScopedConnection parent_connection
 

Additional Inherited Members

- Public Attributes inherited from PBD::Stateful
PBD::Signal< void(const PropertyChange &)> PropertyChanged
 
- Static Public Attributes inherited from PBD::Stateful
static int current_state_version
 
static int loading_state_version
 
- 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 PBD::Stateful
XMLNode_extra_xml
 
XMLNode_instant_xml
 
PBD::PropertyChange _pending_changed
 
PBD::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 37 of file scale_provider.h.

Constructor & Destructor Documentation

◆ ScaleProvider()

ARDOUR::ScaleProvider::ScaleProvider ( ScaleProvider parent)

◆ ~ScaleProvider()

virtual ARDOUR::ScaleProvider::~ScaleProvider ( )
virtual

Member Function Documentation

◆ get_state()

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

◆ key()

virtual MusicalKey const* ARDOUR::ScaleProvider::key ( ) const
virtual

◆ key_at()

virtual MusicalKey const* ARDOUR::ScaleProvider::key_at ( Temporal::timepos_t const &  ) const
inlinevirtual

Definition at line 44 of file scale_provider.h.

◆ key_enforcement_policy()

KeyEnforcementPolicy ARDOUR::ScaleProvider::key_enforcement_policy ( ) const

◆ make_property_quarks()

static void ARDOUR::ScaleProvider::make_property_quarks ( )
static

◆ own_scale()

bool ARDOUR::ScaleProvider::own_scale ( ) const
inline

Definition at line 61 of file scale_provider.h.

◆ parent()

ScaleProvider* ARDOUR::ScaleProvider::parent ( ) const
inline

Definition at line 42 of file scale_provider.h.

◆ parent_prop_change()

void ARDOUR::ScaleProvider::parent_prop_change ( PBD::PropertyChange const &  )

◆ scale_provider_origin()

ScaleProvider const* ARDOUR::ScaleProvider::scale_provider_origin ( ) const

◆ set_key()

void ARDOUR::ScaleProvider::set_key ( MusicalKey const *  )

◆ set_key_enforcement_policy()

virtual void ARDOUR::ScaleProvider::set_key_enforcement_policy ( KeyEnforcementPolicy  kep)
virtual

◆ set_state()

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

Member Data Documentation

◆ _key

MusicalKey const* ARDOUR::ScaleProvider::_key
private

Definition at line 65 of file scale_provider.h.

◆ _key_enforcement_policy

KeyEnforcementPolicy ARDOUR::ScaleProvider::_key_enforcement_policy
private

Definition at line 66 of file scale_provider.h.

◆ _parent

ScaleProvider* ARDOUR::ScaleProvider::_parent
private

Definition at line 64 of file scale_provider.h.

◆ parent_connection

PBD::ScopedConnection ARDOUR::ScaleProvider::parent_connection
private

Definition at line 67 of file scale_provider.h.


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