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