OpenMS
Loading...
Searching...
No Matches
NoopMSDataConsumer.h
Go to the documentation of this file.
1// Copyright (c) 2002-present, OpenMS Inc. -- EKU Tuebingen, ETH Zurich, and FU Berlin
2// SPDX-License-Identifier: BSD-3-Clause
3//
4// --------------------------------------------------------------------------
5// $Maintainer: Hannes Roest $
6// $Authors: Hannes Roest $
7// --------------------------------------------------------------------------
8
9#pragma once
10
12
13namespace OpenMS
14{
15
24 class OPENMS_DLLAPI NoopMSDataConsumer :
26 {
27 public:
28
31 void setExpectedSize(Size, Size) override {}
32 void consumeSpectrum(SpectrumType &) override {}
34 };
35} //end namespace OpenMS
36
37
Description of the experimental settings.
Definition ExperimentalSettings.h:36
The interface of a consumer of spectra and chromatograms.
Definition IMSDataConsumer.h:46
The representation of a chromatogram.
Definition MSChromatogram.h:30
The representation of a 1D spectrum.
Definition MSSpectrum.h:44
Consumer class that performs no operation.
Definition NoopMSDataConsumer.h:26
void consumeChromatogram(ChromatogramType &) override
Consume a chromatogram.
Definition NoopMSDataConsumer.h:33
NoopMSDataConsumer()
Definition NoopMSDataConsumer.h:29
void setExperimentalSettings(const ExperimentalSettings &) override
Set experimental settings (meta-data) of the data to be consumed.
Definition NoopMSDataConsumer.h:30
void setExpectedSize(Size, Size) override
Set expected size of spectra and chromatograms to be consumed.
Definition NoopMSDataConsumer.h:31
void consumeSpectrum(SpectrumType &) override
Consume a spectrum.
Definition NoopMSDataConsumer.h:32
size_t Size
Size type e.g. used as variable which can hold result of size()
Definition Types.h:97
Main OpenMS namespace.
Definition openswathalgo/include/OpenMS/OPENSWATHALGO/DATAACCESS/ISpectrumAccess.h:19