Protocols::LibraryDeviceEnumerator Class Reference
Inheritance diagram for Protocols::LibraryDeviceEnumerator:
Device::DeviceEnumerator

Public Member Functions

 LibraryDeviceEnumerator (std::string pattern, QStringList extension, Device::ProtocolFactory::ConcreteKey k, std::function< QVariant(QByteArray)> createDev, const score::DocumentContext &ctx)
 
void next (std::string_view path)
 
void enumerate (std::function< void(const QString &, const Device::DeviceSettings &)> onDevice) const override
 
- Public Member Functions inherited from Device::DeviceEnumerator
virtual void enumerate (std::function< void(const QString &, const Device::DeviceSettings &)>) const =0
 
void deviceAdded (const QString &n, const Device::DeviceSettings &s)
 
void deviceRemoved (const QString &s)
 

Public Attributes

std::string m_pattern
 
Device::ProtocolFactory::ConcreteKey m_key
 
std::function< QVariant(QByteArray)> m_createDeviceSettings
 
score::RecursiveWatch m_watch
 

The documentation for this class was generated from the following files: