GlobalDeviceEnumerator Class Reference
Inheritance diagram for GlobalDeviceEnumerator:

Public Member Functions

 GlobalDeviceEnumerator ()
 
void setContext (const score::DocumentContext *doc)
 
void deviceAdded (Device::ProtocolFactory *factory, const QString &name, Device::DeviceSettings settings)
 
void deviceRemoved (Device::ProtocolFactory *factory, const QString &name)
 
QQmlListProperty< JS::DeviceIdentifierdevices ()
 
bbbbbool enumerate ()
 
void setEnumerate (bool b)
 
void enumerateChanged (bool b)
 

Public Attributes

ppppprivate __pad0__: void reprocess()
 
const score::DocumentContextdoc {}
 
std::unordered_map< Device::ProtocolFactory *, std::vector< std::pair< QString, Device::DeviceSettings > > > m_known_devices
 
std::unordered_map< Device::ProtocolFactory *, Device::DeviceEnumerators > m_current_enums
 
std::vector< DeviceIdentifier * > m_raw_list
 
bool m_enumerate {}
 

Friends

constexpr friend auto w_state (w_internal::Index< w_internal::stateCount< __COUNTER__, w_internal::PropertyStateTag, W_ThisType ** >>, w_internal::PropertyStateTag, W_ThisType **) -> decltype((w_internal::makeMetaPropertyInfo< QQmlListProperty< JS::DeviceIdentifier > >(w_internal::viewLiteral("devices"), w_internal::viewLiteral("QQmlListProperty<JS::DeviceIdentifier>"), &W_ThisType::devices)))
 
constexpr friend auto w_state (w_internal::Index< w_internal::stateCount< __COUNTER__, w_internal::PropertyStateTag, W_ThisType ** >>, w_internal::PropertyStateTag, W_ThisType **) -> decltype((w_internal::makeMetaPropertyInfo< bool >(w_internal::viewLiteral("enumerate"), w_internal::viewLiteral("bool"), &W_ThisType::enumerate, &W_ThisType::setEnumerate, W_Notify, &W_ThisType::enumerateChanged)))
 

Constructor & Destructor Documentation

◆ GlobalDeviceEnumerator()

GlobalDeviceEnumerator::GlobalDeviceEnumerator ( )
explicit

var e = Score.enumerateDevices(); e.enumerate = true; console.log(e.devices);


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