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

#include <rc_configuration.h>

Inheritance diagram for ARDOUR::RCConfiguration:
[legend]

Public Member Functions

 RCConfiguration ()
 
 ~RCConfiguration ()
 
void map_parameters (std::function< void(std::string)> &)
 
int set_state (XMLNode const &, int version)
 
XMLNodeget_state () const
 
XMLNodeget_variables (std::string const &nodename) const
 
void set_variables (XMLNode const &)
 
int load_state ()
 
int save_state ()
 
void add_instant_xml (XMLNode &)
 
XMLNodeinstant_xml (const std::string &str)
 
XMLNodecontrol_protocol_state ()
 
XMLNodetransport_master_state ()
 
- Public Member Functions inherited from PBD::Configuration
 Configuration ()
 
virtual ~Configuration ()
 
- 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

std::map< std::string, PBD::ConfigVariableBase * > _my_variables
 
- Public Attributes inherited from PBD::Configuration
PBD::Signal< void(std::string)> ParameterChanged
 
- Public Attributes inherited from PBD::Stateful
PBD::Signal< void(const PropertyChange &)> PropertyChanged
 

Private Member Functions

void build_metadata ()
 

Private Attributes

XMLNode_control_protocol_state
 
XMLNode_transport_master_state
 

Additional Inherited Members

- Public Types inherited from PBD::Configuration
typedef std::vector< std::string > Metadata
 
- Static Public Member Functions inherited from PBD::Configuration
static Metadata const * get_metadata (std::string const &)
 
- Static Public Attributes inherited from PBD::Configuration
static std::map< std::string, Metadataall_metadata
 
- 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
 
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 39 of file rc_configuration.h.

Constructor & Destructor Documentation

◆ RCConfiguration()

ARDOUR::RCConfiguration::RCConfiguration ( )

◆ ~RCConfiguration()

ARDOUR::RCConfiguration::~RCConfiguration ( )

Member Function Documentation

◆ add_instant_xml()

void ARDOUR::RCConfiguration::add_instant_xml ( XMLNode )

calls Stateful::*instant_xml methods using ARDOUR::user_config_directory for the directory argument

◆ build_metadata()

void ARDOUR::RCConfiguration::build_metadata ( )
private

◆ control_protocol_state()

XMLNode* ARDOUR::RCConfiguration::control_protocol_state ( )
inline

Definition at line 59 of file rc_configuration.h.

◆ get_state()

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

Implements PBD::Configuration.

◆ get_variables()

XMLNode& ARDOUR::RCConfiguration::get_variables ( std::string const &  nodename) const
virtual

Implements PBD::Configuration.

◆ instant_xml()

XMLNode* ARDOUR::RCConfiguration::instant_xml ( const std::string &  str)

◆ load_state()

int ARDOUR::RCConfiguration::load_state ( )

◆ map_parameters()

void ARDOUR::RCConfiguration::map_parameters ( std::function< void(std::string)> &  )
virtual

Implements PBD::Configuration.

◆ save_state()

int ARDOUR::RCConfiguration::save_state ( )

◆ set_state()

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

Implements PBD::Configuration.

◆ set_variables()

void ARDOUR::RCConfiguration::set_variables ( XMLNode const &  )
virtual

Implements PBD::Configuration.

◆ transport_master_state()

XMLNode* ARDOUR::RCConfiguration::transport_master_state ( )
inline

Definition at line 60 of file rc_configuration.h.

Member Data Documentation

◆ _control_protocol_state

XMLNode* ARDOUR::RCConfiguration::_control_protocol_state
private

Definition at line 90 of file rc_configuration.h.

◆ _my_variables

std::map<std::string,PBD::ConfigVariableBase*> ARDOUR::RCConfiguration::_my_variables

Definition at line 62 of file rc_configuration.h.

◆ _transport_master_state

XMLNode* ARDOUR::RCConfiguration::_transport_master_state
private

Definition at line 91 of file rc_configuration.h.


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