2 #include <Device/Protocol/DeviceInterface.hpp>
3 #include <Device/Protocol/DeviceSettings.hpp>
4 #include <Device/Protocol/ProtocolFactoryInterface.hpp>
5 #include <Device/Protocol/ProtocolSettingsWidget.hpp>
7 #include <ossia/network/generic/generic_device.hpp>
9 #include <score_plugin_audio_export.h>
22 SCORE_CONCRETE(
"2835e6da-9b55-4029-9802-e1c817acbdc1")
23 QString prettyName()
const noexcept
override;
24 QString category()
const noexcept
override;
25 QUrl manual()
const noexcept
override;
26 Device::DeviceEnumerators
31 const Explorer::DeviceDocumentPlugin& plugin,
36 QWidget* parent)
override;
43 QVariant makeProtocolSpecificSettings(
const VisitorVariant& visitor)
const override;
45 void serializeProtocolSpecificSettings(
46 const QVariant& data,
const VisitorVariant& visitor)
const override;
48 bool checkCompatibility(
65 bool reconnect()
override;
67 const std::shared_ptr<ossia::net::generic_device>& sharedDevice()
const noexcept
71 ossia::net::device_base* getDevice()
const override {
return m_dev.get(); }
72 ossia::audio_protocol* getProtocol()
const {
return m_protocol; }
74 void changed() E_SIGNAL(SCORE_PLUGIN_AUDIO_EXPORT, changed)
77 using Device::DeviceInterface::refresh;
78 void setupNode(ossia::net::node_base&,
const ossia::extended_attributes& attr);
80 void disconnect()
override;
81 ossia::audio_protocol* m_protocol{};
82 std::shared_ptr<ossia::net::generic_device> m_dev;
96 QLineEdit* m_deviceNameEdit{};
Definition: AudioDevice.hpp:54
Definition: AudioDevice.hpp:21
Definition: ProtocolSettingsWidget.hpp:41
Definition: DeviceInterface.hpp:66
Definition: ProtocolFactoryInterface.hpp:47
Definition: AddressSettings.hpp:49
Definition: DeviceSettings.hpp:20
Definition: AddressSettings.hpp:62
The Address struct.
Definition: Address.hpp:58
The VisitorVariant struct.
Definition: VisitorInterface.hpp:26
Definition: DocumentContext.hpp:18