28 #include <glibmm/threads.h>
74 Bundle (std::string
const &,
bool i =
true);
106 bool allow_partial =
false);
110 bool exclusive =
false);
119 std::string
name ()
const {
return _name; }
134 ConfigurationChanged = 0x2,
137 DirectionChanged = 0x10
167 : bundle (b), channel (c) {}
std::ostream & operator<<(std::ostream &o, ARDOUR::Bundle const &)
int channel
channel index, or -1 for "all"
std::shared_ptr< Bundle > bundle
BundleChannel(std::shared_ptr< Bundle > b, int c)
std::string channel_name(uint32_t) const
ChanCount nchannels() const
void add_port_to_channel(uint32_t, std::string)
void remove_ports_from_channel(uint32_t)
void add_channels_from_bundle(std::shared_ptr< Bundle >)
void set_channel_name(uint32_t, std::string const &)
void disconnect(std::shared_ptr< Bundle >, AudioEngine &)
bool offers_port(std::string) const
bool ports_are_inputs() const
bool has_same_ports(std::shared_ptr< Bundle >) const
void add_channel(std::string const &, DataType, PortList)
void set_port(uint32_t, std::string)
std::vector< Channel > _channel
bool offers_port_alone(std::string) const
int set_channels(std::string const &)
bool ports_are_outputs() const
bool port_attached_to_channel(uint32_t, std::string)
Bundle(std::shared_ptr< Bundle >)
uint32_t type_channel_to_overall(DataType, uint32_t) const
Glib::Threads::Mutex _channel_mutex
PortList const & channel_ports(uint32_t c) const
void add_channel(std::string const &, DataType, std::string const &)
void remove_channel(uint32_t)
void emit_changed(Change)
Bundle(std::string const &, bool i=true)
void add_channel(std::string const &, DataType)
std::vector< std::string > PortList
void remove_ports_from_channels()
void set_ports_are_inputs()
void set_ports_are_outputs()
void connect(std::shared_ptr< Bundle >, AudioEngine &, bool allow_partial=false)
void set_name(std::string const &)
void remove_port_from_channel(uint32_t, std::string)
PBD::Signal< void(Change)> Changed
bool connected_to(std::shared_ptr< Bundle >, AudioEngine &, DataType type=DataType::NIL, bool exclusive=false)
uint32_t overall_channel_to_type(DataType, uint32_t) const
DataType channel_type(uint32_t) const
bool connected_to_anything(AudioEngine &)
int parse_io_string(std::string const &, std::vector< std::string > &)
GtkImageIconNameData name
bool operator==(const ProcessorSelection &a, const ProcessorSelection &b)
Channel(std::string n, DataType t, std::string const &p)
Channel(std::string n, DataType t, PortList p)
Channel(std::string n, DataType t)