OpenHantek
Loading...
Searching...
No Matches
ModelDEMO Struct Reference

#include <modelDEMO.h>

Inheritance diagram for ModelDEMO:
DSOModel

Public Member Functions

 ModelDEMO ()
void applyRequirements (HantekDsoControl *dsoControl) const override
 This model may need to modify the HantekDsoControl class to work correctly.
Public Member Functions inherited from DSOModel
 DSOModel (int id, unsigned vendorID, unsigned productID, unsigned vendorIDnoFirmware, unsigned productIDnoFirmware, unsigned firmwareVersion, const QString &firmwareToken, const QString &name, const Dso::ControlSpecification &&specification)
virtual ~DSOModel ()=default
const Dso::ControlSpecificationspec () const
 Return the device specifications.

Static Public Attributes

static const int ID = DemoDeviceID

Additional Inherited Members

Data Fields inherited from DSOModel
const int ID
const unsigned vendorID
 The USB vendor ID.
const unsigned productID
 The USB product ID.
const unsigned vendorIDnoFirmware
 The USB vendor ID if no firmware is uploaded yet.
const unsigned productIDnoFirmware
 The USB product ID if no firmware is uploaded yet.
const unsigned firmwareVersion
const QString firmwareToken
const QString name
 User visible name. Does not need internationalisation/translation.
Protected Attributes inherited from DSOModel
Dso::ControlSpecification specification

Constructor & Destructor Documentation

◆ ModelDEMO()

ModelDEMO::ModelDEMO ( )

Member Function Documentation

◆ applyRequirements()

void ModelDEMO::applyRequirements ( HantekDsoControl * dsoControl) const
overridevirtual

This model may need to modify the HantekDsoControl class to work correctly.

Implements DSOModel.

Field Documentation

◆ ID

const int ModelDEMO::ID = DemoDeviceID
static

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