OpenHantek
controlcommand.h
Go to the documentation of this file.
1
// SPDX-License-Identifier: GPL-2.0+
2
3
#pragma once
4
5
#include <inttypes.h>
6
#include <vector>
7
8
namespace
Hantek
{
9
enum class
ControlCode
: uint8_t;
10
}
11
12
class
ControlCommand
:
public
std::vector<uint8_t> {
13
protected
:
14
ControlCommand
(
Hantek::ControlCode
code
,
unsigned
size);
15
public
:
16
bool
pending =
false
;
17
uint8_t
code
;
18
uint8_t value = 0;
19
ControlCommand
* next =
nullptr
;
20
};
fa::code
Definition:
QtAwesome.h:192
Hantek::ControlCode
ControlCode
All supported control commands.
Definition:
controlcode.h:44
ControlCommand
Definition:
controlcommand.h:12
Hantek
Definition:
controlsettings.h:9
ControlCommand::code
uint8_t code
Definition:
controlcommand.h:17
hantekprotocol
controlcommand.h
Generated by
1.8.14