+ .beginClass <PortEngine> ("PortEngine")
+ .endClass()
+
+ .beginClass <PortManager> ("PortManager")
+ .addFunction ("port_engine", &PortManager::port_engine)
+ .addFunction ("connected", &PortManager::connected)
+ .addFunction ("connect", &PortManager::connect)
+ .addFunction ("physically_connected", &PortManager::physically_connected)
+ .addFunction ("disconnect", (int (PortManager::*)(const std::string&, const std::string&))&PortManager::disconnect)
+ .addFunction ("disconnect_port", (int (PortManager::*)(boost::shared_ptr<Port>))&PortManager::disconnect)
+ .addFunction ("get_port_by_name", &PortManager::get_port_by_name)
+ .addFunction ("get_pretty_name_by_name", &PortManager::get_pretty_name_by_name)
+ .addFunction ("port_is_physical", &PortManager::port_is_physical)
+ .addFunction ("get_physical_outputs", &PortManager::get_physical_outputs)
+ .addFunction ("get_physical_inputs", &PortManager::get_physical_inputs)
+ .addFunction ("n_physical_outputs", &PortManager::n_physical_outputs)
+ .addFunction ("n_physical_inputs", &PortManager::n_physical_inputs)
+ .addRefFunction ("get_connections", &PortManager::get_connections)
+ .addRefFunction ("get_ports", (int (PortManager::*)(DataType, PortManager::PortList&))&PortManager::get_ports)
+ .addRefFunction ("get_backend_ports", (int (PortManager::*)(const std::string&, DataType, PortFlags, std::vector<std::string>&))&PortManager::get_ports)
+ .endClass()
+
+ .deriveClass <AudioEngine, PortManager> ("AudioEngine")