libpappsomspp
Library for mass spectrometry
pappso::MzxmlOutput::Translater Class Reference
Inheritance diagram for pappso::MzxmlOutput::Translater:
pappso::SpectrumCollectionHandlerInterface

Public Member Functions

 Translater (MzxmlOutput *p_mzxml_output)
 
virtual ~Translater ()
 
virtual void setQualifiedMassSpectrum (const QualifiedMassSpectrum &spectrum) override
 
virtual bool needPeakList () const override
 tells if we need the peak list (if we want the binary data) for each spectrum More...
 
- Public Member Functions inherited from pappso::SpectrumCollectionHandlerInterface
virtual bool needMsLevelPeakList (unsigned int ms_level) const final
 tells if we need the peak list (if we want the binary data) for each spectrum, given an MS level More...
 
virtual void setNeedMsLevelPeakList (unsigned int ms_level, bool want_peak_list) final
 tells if we need the peak list given More...
 
virtual bool shouldStop ()
 
virtual void loadingEnded ()
 
virtual void spectrumListHasSize (std::size_t size)
 
virtual void setReadAhead (bool is_read_ahead) final
 use threads to read a spectrum by batch of batch_size More...
 
virtual bool isReadAhead () const
 tells if we want to read ahead spectrum More...
 

Private Attributes

MzxmlOutputmp_output
 

Detailed Description

Definition at line 75 of file mzxmloutput.h.

Constructor & Destructor Documentation

◆ Translater()

MzxmlOutput::Translater::Translater ( MzxmlOutput p_mzxml_output)

Definition at line 52 of file mzxmloutput.cpp.

53 {
54  mp_output = p_mzxml_output;
55 }

References mp_output.

◆ ~Translater()

MzxmlOutput::Translater::~Translater ( )
virtual

Definition at line 56 of file mzxmloutput.cpp.

57 {
58 }

Member Function Documentation

◆ needPeakList()

bool MzxmlOutput::Translater::needPeakList ( ) const
overridevirtual

tells if we need the peak list (if we want the binary data) for each spectrum

Implements pappso::SpectrumCollectionHandlerInterface.

Definition at line 69 of file mzxmloutput.cpp.

70 {
71  return true;
72 }

◆ setQualifiedMassSpectrum()

void MzxmlOutput::Translater::setQualifiedMassSpectrum ( const QualifiedMassSpectrum spectrum)
overridevirtual

Implements pappso::SpectrumCollectionHandlerInterface.

Definition at line 60 of file mzxmloutput.cpp.

62 {
63  qDebug();
66  qDebug();
67 }
UiMonitorInterface & m_monitor
Definition: mzxmloutput.h:90
void writeQualifiedMassSpectrum(const QualifiedMassSpectrum &spectrum)
virtual void count()=0
count steps report when a step is computed in an algorithm

Member Data Documentation

◆ mp_output

MzxmlOutput* pappso::MzxmlOutput::Translater::mp_output
private

Definition at line 85 of file mzxmloutput.h.

Referenced by Translater().


The documentation for this class was generated from the following files: