ProteoWizard
SpectrumWorkerThreads.hpp
Go to the documentation of this file.
1 //
2 // $Id: SpectrumWorkerThreads.hpp 6585 2014-08-07 22:49:28Z chambm $
3 //
4 //
5 // Original author: William French <william.r.frenchwr .@. vanderbilt.edu>
6 //
7 // Copyright 2014 Vanderbilt University - Nashville, TN 37232
8 //
9 // Licensed under the Apache License, Version 2.0 (the "License");
10 // you may not use this file except in compliance with the License.
11 // You may obtain a copy of the License at
12 //
13 // http://www.apache.org/licenses/LICENSE-2.0
14 //
15 // Unless required by applicable law or agreed to in writing, software
16 // distributed under the License is distributed on an "AS IS" BASIS,
17 // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
18 // See the License for the specific language governing permissions and
19 // limitations under the License.
20 //
21 
22 
23 #ifndef _SPECTRUMWORKERTHREADS_HPP_
24 #define _SPECTRUMWORKERTHREADS_HPP_
25 
27 #include <boost/smart_ptr.hpp>
28 
29 
30 namespace pwiz {
31 namespace msdata {
32 
33 
35 {
36  public:
37 
40  SpectrumPtr processBatch(size_t index, bool getBinaryData = true);
41 
42  private:
43  class Impl;
44  boost::scoped_ptr<Impl> impl_;
45 };
46 
47 
48 } // namespace msdata
49 } // namespace pwiz
50 
51 
52 #endif // _SPECTRUMWORKERTHREADS_HPP_
53 
boost::shared_ptr< Spectrum > SpectrumPtr
Definition: MSData.hpp:569
Interface for accessing spectra, which may be stored in memory or backed by a data file (RAW...
Definition: MSData.hpp:656
SpectrumWorkerThreads(const SpectrumList &sl)
SpectrumPtr processBatch(size_t index, bool getBinaryData=true)