OpenHantek
modelregistry.h
Go to the documentation of this file.
1 // SPDX-License-Identifier: GPL-2.0+
2 
3 #pragma once
4 
5 #include "dsomodel.h"
6 
7 class ModelRegistry {
8 public:
9  static ModelRegistry *get();
10  void add(DSOModel* model);
11  const std::list<DSOModel*> models() const;
12 private:
13  std::list<DSOModel*> supportedModels;
14 };
void add(DSOModel *model)
Definition: modelregistry.cpp:10
const std::list< DSOModel * > models() const
Definition: modelregistry.cpp:12
std::list< DSOModel * > supportedModels
Definition: modelregistry.h:13
Definition: modelregistry.h:7
Describes a device This is the central class to describe a hantek compatible DSO. It contains all usb...
Definition: dsomodel.h:16