ardour
Public Member Functions | Private Member Functions | List of all members
ARDOUR::UserBundle Class Reference

#include <user_bundle.h>

Inheritance diagram for ARDOUR::UserBundle:
ARDOUR::Bundle PBD::Stateful PBD::ScopedConnectionList

Public Member Functions

 UserBundle (std::string const &)
 
 UserBundle (XMLNode const &, bool)
 
XMLNodeget_state ()
 
- Public Member Functions inherited from ARDOUR::Bundle
 Bundle (bool i=true)
 
 Bundle (std::string const &, bool i=true)
 
 Bundle (boost::shared_ptr< Bundle >)
 
virtual ~Bundle ()
 
ChanCount nchannels () const
 
PortList const & channel_ports (uint32_t) 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 (boost::shared_ptr< Bundle >)
 
void connect (boost::shared_ptr< Bundle >, AudioEngine &)
 
void disconnect (boost::shared_ptr< Bundle >, AudioEngine &)
 
bool connected_to (boost::shared_ptr< Bundle >, AudioEngine &)
 
bool connected_to_anything (AudioEngine &)
 
bool has_same_ports (boost::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 ()
 
virtual ~ScopedConnectionList ()
 
void add_connection (const UnscopedConnection &c)
 
void drop_connections ()
 
- 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
 

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::Signal1< void, ChangeChanged
 
- Public Attributes inherited from PBD::Stateful
PBD::Signal1< void, const
PropertyChange & > 
PropertyChanged
 
- Static Public Attributes inherited from PBD::Stateful
static int current_state_version = 0
 
static int loading_state_version = 0
 
- 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 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 32 of file user_bundle.h.

Constructor & Destructor Documentation

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

Definition at line 27 of file user_bundle.cc.

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

Definition at line 33 of file user_bundle.cc.

Member Function Documentation

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

Implements PBD::Stateful.

Definition at line 99 of file user_bundle.cc.

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

Implements PBD::Stateful.

Definition at line 42 of file user_bundle.cc.


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