22 #include <glibmm/objectbase.h>
75 DataType type_with_ports = DataType::NIL;
136 for (ARDOUR::Bundle::PortList::const_iterator i = our_ports.begin(); i != our_ports.end(); ++i) {
137 for (ARDOUR::Bundle::PortList::const_iterator j = other_ports.begin(); j != other_ports.end(); ++j) {
160 if (c[0].bundle->nchannels() == ChanCount::ZERO || c[1].
bundle->nchannels() == ChanCount::ZERO) {
167 if (!
_session || our_ports.empty() || other_ports.empty()) {
173 for (ARDOUR::Bundle::PortList::const_iterator i = our_ports.begin(); i != our_ports.end(); ++i) {
174 for (ARDOUR::Bundle::PortList::const_iterator j = other_ports.begin(); j != other_ports.end(); ++j) {
211 return _(
"Disconnect");
222 , _selector (this, session, io)
224 set_name (
"IOSelectorWindow2");
253 Gtk::Window::on_show ();
void resize_window_to_proportion_of_monitor(Gtk::Window *, int, int)
uint32_t n_io_ports() const
the ports are not associated
bool connected_to(std::string const &) const
void gather(ARDOUR::Session *, ARDOUR::DataType, bool, bool, bool)
PortMatrixNode::State get_state(ARDOUR::BundleChannel c[2]) const
std::vector< std::string > PortList
Direction direction() const
boost::shared_ptr< PortGroup > _port_group
IOSelectorWindow(ARDOUR::Session *, boost::shared_ptr< ARDOUR::IO >, bool can_cancel=false)
void add_group(boost::shared_ptr< PortGroup >)
#define ENSURE_GUI_THREAD(obj, method,...)
void io_name_changed(void *src)
bool _find_inputs_for_io_outputs
const ChanCount & n_ports() const
void add_bundle(boost::shared_ptr< ARDOUR::Bundle >, bool allow_dups=false)
boost::shared_ptr< Bundle > bundle()
DataType default_type() const
std::string channel_noun() const
bool find_inputs_for_io_outputs() const
PBD::Signal2< void, IOChange, void * > changed
void set_type(ARDOUR::DataType)
void set_state(ARDOUR::BundleChannel c[2], bool)
bool show_only_bundles() const
bool wm_delete(GdkEventAny *)
ARDOUR::DataType type() const
std::pair< uint32_t, uint32_t > max_size() const
uint32_t get(DataType t) const
int connect(boost::shared_ptr< Port > our_port, std::string other_port, void *src)
boost::shared_ptr< Port > get_port_by_name(const std::string &)
boost::shared_ptr< Bundle > bundle
boost::shared_ptr< ARDOUR::IO > const io()
PBD::ScopedConnection _io_connection
sigc::signal< void, Result > Finished
int disconnect(boost::shared_ptr< Port > our_port, std::string other_port, void *src)
bool list_is_global(int) const
std::string disassociation_verb() const
ARDOUR::Session * _session
IOSelector(Gtk::Window *, ARDOUR::Session *, boost::shared_ptr< ARDOUR::IO >)
boost::shared_ptr< ARDOUR::IO > _io
std::string string_compose(const std::string &fmt, const T1 &o1)