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

#include <auto_bundle.h>

Inheritance diagram for ARDOUR::AutoBundle:
[legend]

Public Member Functions

 AutoBundle (bool i=true)
 
 AutoBundle (std::string const &, bool i=true)
 
ChanCount nchannels () const
 
const PortListchannel_ports (uint32_t) const
 
void set_channels (uint32_t)
 
void set_port (uint32_t, std::string 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 ()
 

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
 
- Protected Attributes inherited from ARDOUR::Bundle
Glib::Threads::Mutex _channel_mutex
 
std::vector< Channel_channel
 

Detailed Description

Definition at line 28 of file auto_bundle.h.

Constructor & Destructor Documentation

◆ AutoBundle() [1/2]

ARDOUR::AutoBundle::AutoBundle ( bool  i = true)

◆ AutoBundle() [2/2]

ARDOUR::AutoBundle::AutoBundle ( std::string const &  ,
bool  i = true 
)

Member Function Documentation

◆ channel_ports()

const PortList& ARDOUR::AutoBundle::channel_ports ( uint32_t  ) const

◆ nchannels()

ChanCount ARDOUR::AutoBundle::nchannels ( ) const

◆ set_channels()

void ARDOUR::AutoBundle::set_channels ( uint32_t  )

◆ set_port()

void ARDOUR::AutoBundle::set_port ( uint32_t  ,
std::string const &   
)

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