28 #include <boost/thread/mutex.hpp>
29 #include <boost/container/flat_map.hpp>
31 #ifdef PWIZ_READER_SHIMADZU
32 #include "pwiz_aux/msrc/utility/vendor_api/Shimadzu/ShimadzuReader.hpp"
34 #include <boost/thread.hpp>
35 using namespace pwiz::vendor_api::Shimadzu;
36 #endif // PWIZ_READER_SHIMADZU
47 virtual size_t size()
const;
49 virtual size_t find(
const std::string&
id)
const;
50 virtual SpectrumPtr spectrum(
size_t index,
bool getBinaryData)
const;
55 #ifdef PWIZ_READER_SHIMADZU
62 ShimadzuReaderPtr rawfile_;
63 mutable boost::mutex readMutex;
74 mutable std::vector<IndexEntry> index_;
75 mutable std::map<std::string, size_t> idToIndexMap_;
78 mutable boost::mutex spectrum_mutex;
79 mutable size_t spectrumLastIndex_;
82 void createIndex()
const;
83 #endif // PWIZ_READER_SHIMADZU