|
enum | Flags { EditingReloadsEverything = (1 << 0)
} |
|
|
virtual Flags | flags () const noexcept |
|
virtual QString | prettyName () const noexcept=0 |
|
virtual QString | category () const noexcept=0 |
|
virtual QUrl | manual () const noexcept |
|
virtual int | visualPriority () const noexcept |
|
virtual DeviceEnumerators | getEnumerators (const score::DocumentContext &ctx) const |
|
virtual DeviceInterface * | makeDevice (const Device::DeviceSettings &settings, const Explorer::DeviceDocumentPlugin &plugin, const score::DocumentContext &ctx)=0 |
|
virtual ProtocolSettingsWidget * | makeSettingsWidget ()=0 |
|
virtual AddressDialog * | makeAddAddressDialog (const Device::DeviceInterface &dev, const score::DocumentContext &ctx, QWidget *)=0 |
|
virtual AddressDialog * | makeEditAddressDialog (const Device::AddressSettings &, const Device::DeviceInterface &dev, const score::DocumentContext &ctx, QWidget *)=0 |
|
virtual const Device::DeviceSettings & | defaultSettings () const noexcept=0 |
|
virtual void | serializeProtocolSpecificSettings (const QVariant &data, const VisitorVariant &visitor) const =0 |
|
template<typename T > |
void | serializeProtocolSpecificSettings_T (const QVariant &data, const VisitorVariant &visitor) const |
|
virtual QVariant | makeProtocolSpecificSettings (const VisitorVariant &visitor) const =0 |
|
template<typename T > |
QVariant | makeProtocolSpecificSettings_T (const VisitorVariant &vis) const |
|
virtual bool | checkResourcesAvailable (const Device::DeviceSettings &a, const DeviceResourceMap &) const noexcept |
|
virtual bool | checkCompatibility (const Device::DeviceSettings &a, const Device::DeviceSettings &b) const noexcept=0 |
|
virtual InterfaceKey | interfaceKey () const noexcept=0 |
| Identifies an interface uniquely.
|
|
◆ checkResourcesAvailable()
bool Device::ProtocolFactory::checkResourcesAvailable |
( |
const Device::DeviceSettings & |
a, |
|
|
const DeviceResourceMap & |
|
|
) |
| const |
|
virtualnoexcept |
Returns true if the device can be instantiated. e.g. are the necessary ports available at the system level. Second argument is a map of all the used resources by other devices in the score.
◆ visualPriority()
int Device::ProtocolFactory::visualPriority |
( |
| ) |
const |
|
virtualnoexcept |
The one with the highest priority will show up first in the protocol list
The documentation for this class was generated from the following files: