OpenHantek
graphgenerator.h
Go to the documentation of this file.
1 // SPDX-License-Identifier: GPL-2.0+
2 
3 #pragma once
4 
5 #include <deque>
6 
7 #include <QObject>
8 #include <QVector3D>
9 
10 #include "hantekdso/enums.h"
11 #include "hantekprotocol/types.h"
12 #include "processor.h"
13 
14 struct DsoSettingsScope;
15 struct DsoSettingsView;
16 class PPresult;
17 namespace Dso {
18 struct ControlSpecification;
19 }
20 
22 class GraphGenerator : public QObject, public Processor {
23  Q_OBJECT
24 
25  public:
27 
28  private:
29  void generateGraphsTYvoltage(PPresult *result);
30  void generateGraphsTYspectrum(PPresult *result);
31  void generateGraphsXY(PPresult *result);
32 
33  bool ready = false;
35  // Processor interface
36  void process(PPresult *data) override;
37 };
void generateGraphsTYspectrum(PPresult *result)
Definition: graphgenerator.cpp:132
bool ready
Definition: graphgenerator.h:33
Generates ready to be used vertex arrays.
Definition: graphgenerator.h:22
GraphGenerator(const DsoSettingsScope *scope)
Definition: graphgenerator.cpp:33
const DsoSettingsScope * scope
Definition: graphgenerator.h:34
void generateGraphsXY(PPresult *result)
Definition: graphgenerator.cpp:169
void process(PPresult *data) override
Definition: graphgenerator.cpp:38
Definition: processor.h:7
Holds all view settings.
Definition: viewsettings.h:30
Holds the settings for the oscilloscope.
Definition: scopesettings.h:75
Post processing results.
Definition: ppresult.h:36
Definition: TriggerDock.h:15
void generateGraphsTYvoltage(PPresult *result)
Definition: graphgenerator.cpp:49