CycloBranch
|
The class representing a thread for generating a theoretical spectrum (MS1 level). More...
#include <cSpectrumGeneratorThreadMS1.h>
Public Member Functions | |
void | initialize (cMainThread *mainthread, cParameters *parameters, int sequencestart, int sequencestop, cTheoreticalSpectrum *poolspectrum, bool *terminatecomputation) |
Initialize the spectrum generator. More... | |
Protected Member Functions | |
void | run () |
The main method of the thread. | |
The class representing a thread for generating a theoretical spectrum (MS1 level).
void cSpectrumGeneratorThreadMS1::initialize | ( | cMainThread * | mainthread, |
cParameters * | parameters, | ||
int | sequencestart, | ||
int | sequencestop, | ||
cTheoreticalSpectrum * | poolspectrum, | ||
bool * | terminatecomputation | ||
) |
Initialize the spectrum generator.
mainthread | pointer to the main thread |
parameters | pointer to program parameters |
sequencestart | index of the first item to be processed |
sequencestop | index of the last item to be processed (excluding the last item) |
poolspectrum | output pool of theoretical peaks |
terminatecomputation | pointer to a variable determining that the thread must be stopped |