CycloBranch
cSpectrumGeneratorThreadMS1.h
Go to the documentation of this file.
1
7#ifndef _CSPECTRUMGENERATORTHREADMS1_H
8#define _CSPECTRUMGENERATORTHREADMS1_H
9
10#include <QRunnable>
11#include <QObject>
12
14
15
16class cMainThread;
17
18
22class cSpectrumGeneratorThreadMS1 : public QObject, public QRunnable {
23
24 Q_OBJECT
25
26private:
27
28 cMainThread* mainthread;
29 cParameters* parameters;
30 int sequencestart;
31 int sequencestop;
32 cTheoreticalSpectrum* poolspectrum;
33 bool* terminatecomputation;
34
35
36public:
37
38
48 void initialize(cMainThread* mainthread, cParameters* parameters, int sequencestart, int sequencestop, cTheoreticalSpectrum* poolspectrum, bool* terminatecomputation);
49
50
51protected:
52
53
57 void run();
58
59};
60
61
62#endif
63
The representation of a theoretical mass spectrum.
The class representing a thread launched by the command 'Search->Run'.
Definition: cMainThread.h:34
The class storing parameters of the application.
Definition: cParameters.h:82
The class representing a thread for generating a theoretical spectrum (MS1 level).
Definition: cSpectrumGeneratorThreadMS1.h:22
void initialize(cMainThread *mainthread, cParameters *parameters, int sequencestart, int sequencestop, cTheoreticalSpectrum *poolspectrum, bool *terminatecomputation)
Initialize the spectrum generator.
Definition: cSpectrumGeneratorThreadMS1.cpp:6
void run()
The main method of the thread.
Definition: cSpectrumGeneratorThreadMS1.cpp:16
The class representing a theoretical mass spectrum.
Definition: cTheoreticalSpectrum.h:106