OpenHantek
Toggle main menu visibility
Loading...
Searching...
No Matches
modelregistry.h
Go to the documentation of this file.
1
// SPDX-License-Identifier: GPL-2.0-or-later
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
13
private
:
14
std::list< DSOModel * >
supportedModels
;
15
};
DSOModel
Describes a device This is the central class to describe a hantek compatible DSO. It contains all usb...
Definition
dsomodel.h:17
ModelRegistry
Definition
modelregistry.h:7
ModelRegistry::models
const std::list< DSOModel * > models() const
Definition
modelregistry.cpp:12
ModelRegistry::add
void add(DSOModel *model)
Definition
modelregistry.cpp:10
ModelRegistry::get
static ModelRegistry * get()
Definition
modelregistry.cpp:5
ModelRegistry::supportedModels
std::list< DSOModel * > supportedModels
Definition
modelregistry.h:14
dsomodel.h
hantekdso
modelregistry.h
Generated by
1.17.0