Consumer class that perform no operation. More...
#include <OpenMS/FORMAT/DATAACCESS/NoopMSDataConsumer.h>
Public Member Functions | |
NoopMSDataConsumer () | |
void | setExperimentalSettings (const ExperimentalSettings &) |
Set experimental settings (meta-data) of the data to be consumed. More... | |
void | setExpectedSize (Size, Size) |
Set expected size of spectra and chromatograms to be consumed. More... | |
void | consumeSpectrum (SpectrumType &) |
Consume a spectrum. More... | |
void | consumeChromatogram (ChromatogramType &) |
Consume a chromatogram. More... | |
![]() | |
virtual | ~IMSDataConsumer () |
Additional Inherited Members | |
![]() | |
typedef MSExperiment<>::SpectrumType | SpectrumType |
typedef MSExperiment<>::ChromatogramType | ChromatogramType |
Consumer class that perform no operation.
This is sometimes necessary to fulfill the requirement of passing an valid Interfaces::IMSDataConsumer<> object or pointer but no operation is required.
|
inline |
|
inlinevirtual |
Consume a chromatogram.
The chromatogram will be consumed by the implementation and possibly modified.
s | The chromatogram to be consumed |
Implements IMSDataConsumer< MSExperiment<> >.
|
inlinevirtual |
Consume a spectrum.
The spectrum will be consumed by the implementation and possibly modified.
s | The spectrum to be consumed |
Implements IMSDataConsumer< MSExperiment<> >.
Set expected size of spectra and chromatograms to be consumed.
Some implementations might care about the number of spectra and chromatograms to be consumed and need to be informed about this (usually before consuming starts).
expectedSpectra | Number of spectra expected |
expectedChromatograms | Number of chromatograms expected |
Implements IMSDataConsumer< MSExperiment<> >.
|
inlinevirtual |
Set experimental settings (meta-data) of the data to be consumed.
Some implementations might need to know about the meta-data (or the context) of the spectra and chromatograms to be consumed. This method allows them learn this.
exp | Experimental settings meta data for the data to be consumed |
Implements IMSDataConsumer< MSExperiment<> >.
OpenMS / TOPP release 2.0.0 | Documentation generated on Thu Aug 20 2015 01:44:38 using doxygen 1.8.9.1 |