OpenHantek
Loading...
Searching...
No Matches
dsosamples.h
1// SPDX-License-Identifier: GPL-2.0+
2
3#pragma once
4
5#include <QReadLocker>
6#include <QReadWriteLock>
7#include <QWriteLocker>
8#include <vector>
9
10struct DSOsamples {
11 std::vector<std::vector<double>> data;
12 double samplerate = 0.0;
13 bool append = false;
14 mutable QReadWriteLock lock;
15};
Definition dsosamples.h:10
std::vector< std::vector< double > > data
Pointer to input data from device.
Definition dsosamples.h:11
double samplerate
The samplerate of the input data.
Definition dsosamples.h:12
bool append
true, if waiting data should be appended
Definition dsosamples.h:13