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

#include <user_bundle.h>

Inheritance diagram for ARDOUR::UserBundle:
[legend]

Public Member Functions

 UserBundle (std::string const &)
 
 UserBundle (XMLNode const &, bool)
 
XMLNodeget_state () const
 
- Public Member Functions inherited from ARDOUR::Bundle
 Bundle (bool i=true)
 
 Bundle (std::string const &, bool i=true)
 
 Bundle (std::shared_ptr< Bundle >)
 
virtual ~Bundle ()
 
ChanCount nchannels () const
 
uint32_t n_total () const
 
PortList const & channel_ports (uint32_t c) const
 
void add_channel (std::string const &, DataType)
 
void add_channel (std::string const &, DataType, std::string const &)
 
void add_channel (std::string const &, DataType, PortList)
 
std::string channel_name (uint32_t) const
 
DataType channel_type (uint32_t) const
 
void set_channel_name (uint32_t, std::string const &)
 
void add_port_to_channel (uint32_t, std::string)
 
void set_port (uint32_t, std::string)
 
void remove_port_from_channel (uint32_t, std::string)
 
void remove_ports_from_channel (uint32_t)
 
void remove_ports_from_channels ()
 
bool port_attached_to_channel (uint32_t, std::string)
 
bool offers_port (std::string) const
 
bool offers_port_alone (std::string) const
 
void remove_channel (uint32_t)
 
void remove_channels ()
 
void add_channels_from_bundle (std::shared_ptr< Bundle >)
 
void connect (std::shared_ptr< Bundle >, AudioEngine &, bool allow_partial=false)
 
void disconnect (std::shared_ptr< Bundle >, AudioEngine &)
 
bool connected_to (std::shared_ptr< Bundle >, AudioEngine &, DataType type=DataType::NIL, bool exclusive=false)
 
bool connected_to_anything (AudioEngine &)
 
bool has_same_ports (std::shared_ptr< Bundle >) const
 
uint32_t type_channel_to_overall (DataType, uint32_t) const
 
uint32_t overall_channel_to_type (DataType, uint32_t) const
 
void set_name (std::string const &)
 
std::string name () const
 
void set_ports_are_inputs ()
 
void set_ports_are_outputs ()
 
bool ports_are_inputs () const
 
bool ports_are_outputs () const
 
void suspend_signals ()
 
void resume_signals ()
 
bool operator== (Bundle const &other)
 
- Public Member Functions inherited from PBD::ScopedConnectionList
 ScopedConnectionList ()
 
 ScopedConnectionList (const ScopedConnectionList &)=delete
 
ScopedConnectionListoperator= (const ScopedConnectionList &)=delete
 
virtual ~ScopedConnectionList ()
 
void add_connection (const UnscopedConnection &c)
 
void drop_connections ()
 
- 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
 

Private Member Functions

int set_state (XMLNode const &, int version)
 

Additional Inherited Members

- Public Types inherited from ARDOUR::Bundle
enum  Change {
  NameChanged = 0x1 , ConfigurationChanged = 0x2 , PortsChanged = 0x4 , TypeChanged = 0x8 ,
  DirectionChanged = 0x10
}
 
typedef std::vector< std::string > PortList
 
- Public Attributes inherited from ARDOUR::Bundle
PBD::Signal< void(Change)> Changed
 
- 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 ARDOUR::Bundle
Glib::Threads::Mutex _channel_mutex
 
std::vector< Channel_channel
 
- 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 31 of file user_bundle.h.

Constructor & Destructor Documentation

◆ UserBundle() [1/2]

ARDOUR::UserBundle::UserBundle ( std::string const &  )

◆ UserBundle() [2/2]

ARDOUR::UserBundle::UserBundle ( XMLNode const &  ,
bool   
)

Member Function Documentation

◆ get_state()

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

Implements PBD::Stateful.

◆ set_state()

int ARDOUR::UserBundle::set_state ( XMLNode const &  ,
int  version 
)
privatevirtual

Implements PBD::Stateful.


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