22 #include <glibmm/objectbase.h>
114 for (ARDOUR::Bundle::PortList::const_iterator i = our_ports.begin(); i != our_ports.end(); ++i) {
115 for (ARDOUR::Bundle::PortList::const_iterator j = other_ports.begin(); j != other_ports.end(); ++j) {
138 if (c[0].bundle->nchannels() == ChanCount::ZERO || c[1].
bundle->nchannels() == ChanCount::ZERO) {
145 if (!
_session || our_ports.empty() || other_ports.empty()) {
151 for (ARDOUR::Bundle::PortList::const_iterator i = our_ports.begin(); i != our_ports.end(); ++i) {
152 for (ARDOUR::Bundle::PortList::const_iterator j = other_ports.begin(); j != other_ports.end(); ++j) {
189 return _(
"Disconnect");
200 , _selector (this, session, io)
202 set_name (
"IOSelectorWindow2");
231 Gtk::Window::on_show ();
void resize_window_to_proportion_of_monitor(Gtk::Window *, int, int)
void io_name_changed(void *src)
the ports are not associated
bool connected_to(std::string const &) const
void gather(ARDOUR::Session *, ARDOUR::DataType, bool, bool, bool)
boost::shared_ptr< ARDOUR::IO > const io()
std::vector< std::string > PortList
Direction direction() const
void add_group(boost::shared_ptr< PortGroup >)
#define ENSURE_GUI_THREAD(obj, method,...)
std::string channel_noun() const
const ChanCount & n_ports() const
PBD::ScopedConnection _io_connection
boost::shared_ptr< PortGroup > _port_group
void add_bundle(boost::shared_ptr< ARDOUR::Bundle >, bool allow_dups=false)
boost::shared_ptr< Bundle > bundle()
DataType default_type() const
PBD::Signal2< void, IOChange, void * > changed
MonitorSelectorWindow(ARDOUR::Session *, boost::shared_ptr< ARDOUR::IO >, bool can_cancel=false)
bool list_is_global(int) const
bool _find_inputs_for_io_outputs
void set_type(ARDOUR::DataType)
uint32_t n_io_ports() const
boost::shared_ptr< ARDOUR::IO > _io
bool show_only_bundles() const
ARDOUR::DataType type() const
PortMatrixNode::State get_state(ARDOUR::BundleChannel c[2]) 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
MonitorSelector _selector
sigc::signal< void, Result > Finished
bool wm_delete(GdkEventAny *)
int disconnect(boost::shared_ptr< Port > our_port, std::string other_port, void *src)
std::string disassociation_verb() const
void set_state(ARDOUR::BundleChannel c[2], bool)
MonitorSelector(Gtk::Window *, ARDOUR::Session *, boost::shared_ptr< ARDOUR::IO >)
ARDOUR::Session * _session
std::string string_compose(const std::string &fmt, const T1 &o1)
bool find_inputs_for_io_outputs() const