Ardour  9.0-pre0-582-g084a23a80d
PBD::Configuration Class Referenceabstract

#include <configuration.h>

Inheritance diagram for PBD::Configuration:
[legend]

Public Types

typedef std::vector< std::string > Metadata
 

Public Member Functions

 Configuration ()
 
virtual ~Configuration ()
 
virtual void map_parameters (std::function< void(std::string)> &)=0
 
virtual int set_state (XMLNode const &, int)=0
 
virtual XMLNodeget_state () const =0
 
virtual XMLNodeget_variables (std::string const &nodename) const =0
 
virtual void set_variables (XMLNode const &)=0
 
- 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 Metadata const * get_metadata (std::string const &)
 

Public Attributes

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

Static Public Attributes

static std::map< std::string, Metadataall_metadata
 
- Static Public Attributes inherited from PBD::Stateful
static int current_state_version
 
static int loading_state_version
 

Additional Inherited Members

- 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
 
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 34 of file configuration.h.

Member Typedef Documentation

◆ Metadata

typedef std::vector<std::string> PBD::Configuration::Metadata

Definition at line 48 of file configuration.h.

Constructor & Destructor Documentation

◆ Configuration()

PBD::Configuration::Configuration ( )
inline

Definition at line 37 of file configuration.h.

◆ ~Configuration()

virtual PBD::Configuration::~Configuration ( )
inlinevirtual

Definition at line 38 of file configuration.h.

Member Function Documentation

◆ get_metadata()

static Metadata const* PBD::Configuration::get_metadata ( std::string const &  )
static

◆ get_state()

virtual XMLNode& PBD::Configuration::get_state ( ) const
pure virtual

◆ get_variables()

virtual XMLNode& PBD::Configuration::get_variables ( std::string const &  nodename) const
pure virtual

◆ map_parameters()

virtual void PBD::Configuration::map_parameters ( std::function< void(std::string)> &  )
pure virtual

◆ set_state()

virtual int PBD::Configuration::set_state ( XMLNode const &  ,
int   
)
pure virtual

◆ set_variables()

virtual void PBD::Configuration::set_variables ( XMLNode const &  )
pure virtual

Member Data Documentation

◆ all_metadata

std::map<std::string,Metadata> PBD::Configuration::all_metadata
static

Definition at line 51 of file configuration.h.

◆ ParameterChanged

PBD::Signal<void(std::string)> PBD::Configuration::ParameterChanged

Definition at line 46 of file configuration.h.


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