Mercurial > hg > tony
comparison src/Analyser.h @ 163:ec196bd2f068
Use new async transform method in Document to get multiple additional layers from local analysis
author | Chris Cannam |
---|---|
date | Wed, 29 Jan 2014 17:34:28 +0000 |
parents | cc9aa8f4fceb |
children | 62ceae757fe0 |
comparison
equal
deleted
inserted
replaced
162:cc9aa8f4fceb | 163:ec196bd2f068 |
---|---|
17 #define ANALYSER_H | 17 #define ANALYSER_H |
18 | 18 |
19 #include <QObject> | 19 #include <QObject> |
20 | 20 |
21 #include <map> | 21 #include <map> |
22 #include <vector> | |
23 | |
24 #include "framework/Document.h" | |
22 | 25 |
23 class WaveFileModel; | 26 class WaveFileModel; |
24 class Pane; | 27 class Pane; |
25 class PaneStack; | 28 class PaneStack; |
26 class Document; | |
27 class Layer; | 29 class Layer; |
28 class TimeValueLayer; | 30 class TimeValueLayer; |
29 class Layer; | 31 class Layer; |
30 | 32 |
31 class Analyser : public QObject | 33 class Analyser : public QObject, |
34 public Document::LayerCreationHandler | |
32 { | 35 { |
33 Q_OBJECT | 36 Q_OBJECT |
34 | 37 |
35 public: | 38 public: |
36 Analyser(); | 39 Analyser(); |
93 QString addWaveform(); | 96 QString addWaveform(); |
94 QString addAnalyses(); | 97 QString addAnalyses(); |
95 | 98 |
96 QString addTestCandidates(); | 99 QString addTestCandidates(); |
97 | 100 |
101 // Document::LayerCreationHandler method | |
102 void layersCreated(std::vector<Layer *>, std::vector<Layer *>); | |
103 | |
98 void saveState(Component c) const; | 104 void saveState(Component c) const; |
99 void loadState(Component c); | 105 void loadState(Component c); |
100 }; | 106 }; |
101 | 107 |
102 #endif | 108 #endif |