24#ifndef _MSDATACACHE_HPP_
25#define _MSDATACACHE_HPP_
37using namespace msdata;
84 Config(
size_t cacheSize = 1) : binaryDataCacheSize(cacheSize) {}
97 return MSDataAnalyzer::UpdateRequest_Ok;
Interface for MSData analyzers.
simple memory cache for common MSData info
virtual void open(const DataInfo &dataInfo)
start analysis of the data
boost::shared_ptr< Impl > impl_
MSDataCache(const Config &config=Config())
const SpectrumInfo & spectrumInfo(size_t index, bool getBinaryData=false)
access to SpectrumInfo with automatic update (open() must be called first)
MSDataCache(MSDataCache &)
MSDataCache & operator=(MSDataCache &)
virtual void update(const DataInfo &dataInfo, const Spectrum &spectrum)
analyze a single spectrum
virtual UpdateRequest updateRequested(const DataInfo &dataInfo, const SpectrumIdentity &spectrumIdentity) const
ask analyzer if it wants an update
information about the data to be analyzed
MSDataCache configuration.
Config(size_t cacheSize=1)
size_t binaryDataCacheSize
The structure that captures the generation of a peak list (including the underlying acquisitions)
Identifying information for a spectrum.
simple structure for holding Spectrum info