OpenHantek
bulkcommand.h
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 BulkCode : uint8_t;
10 }
11 
12 class BulkCommand : public std::vector<uint8_t> {
13 protected:
14  BulkCommand(Hantek::BulkCode code, unsigned size);
15 public:
16  Hantek::BulkCode code;
17  bool pending = false;
18  BulkCommand* next = nullptr;
19 };
Definition: bulkcommand.h:12
Definition: controlsettings.h:8