libpappsomspp
Library for mass spectrometry
grpgroupingmonitor.h
Go to the documentation of this file.
1 /*******************************************************************************
2  * Copyright (c) 2015 Olivier Langella <Olivier.Langella@moulon.inra.fr>.
3  *
4  * This file is part of the PAPPSOms++ library.
5  *
6  * PAPPSOms++ is free software: you can redistribute it and/or modify
7  * it under the terms of the GNU General Public License as published by
8  * the Free Software Foundation, either version 3 of the License, or
9  * (at your option) any later version.
10  *
11  * PAPPSOms++ is distributed in the hope that it will be useful,
12  * but WITHOUT ANY WARRANTY; without even the implied warranty of
13  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14  * GNU General Public License for more details.
15  *
16  * You should have received a copy of the GNU General Public License
17  * along with PAPPSOms++. If not, see <http://www.gnu.org/licenses/>.
18  *
19  * Contributors:
20  * Olivier Langella <Olivier.Langella@moulon.inra.fr> - initial API and
21  *implementation
22  ******************************************************************************/
23 
24 #pragma once
25 
26 #include <QTextStream>
27 #include "../exportinmportconfig.h"
28 
29 namespace pappso
30 {
31 
33 {
34  public:
35  virtual ~GrpGroupingMonitorInterface();
36  virtual void startGrouping(std::size_t total_number_protein,
37  std::size_t total_number_peptide) = 0;
38  virtual void groupingProtein() = 0;
40  std::size_t total_number_group) = 0;
42  std::size_t total_number_group) = 0;
44  virtual void startNumberingAllGroups(std::size_t total_number_group) = 0;
45  virtual void stopGrouping() = 0;
46 };
47 
49 {
50  private:
51  QTextStream *mp_outStream;
52  std::size_t m_totalNumberProtein;
53  std::size_t m_totalNumberPeptide;
54  std::size_t m_currentProtein;
55 
56  public:
58  virtual ~GrpGroupingMonitor();
59  virtual void startGrouping(std::size_t total_number_protein,
60  std::size_t total_number_peptide);
61  virtual void groupingProtein();
62  virtual void startRemovingNonInformativeSubGroupsInAllGroups(
63  std::size_t total_number_group);
64  virtual void stopRemovingNonInformativeSubGroupsInAllGroups(
65  std::size_t total_number_group);
66  virtual void removingNonInformativeSubGroupsInGroup();
67  virtual void startNumberingAllGroups(std::size_t total_number_group);
68  virtual void stopGrouping();
69 };
70 
71 } // namespace pappso
virtual void removingNonInformativeSubGroupsInGroup()=0
virtual void startNumberingAllGroups(std::size_t total_number_group)=0
virtual void startRemovingNonInformativeSubGroupsInAllGroups(std::size_t total_number_group)=0
virtual void startGrouping(std::size_t total_number_protein, std::size_t total_number_peptide)=0
virtual void stopRemovingNonInformativeSubGroupsInAllGroups(std::size_t total_number_group)=0
#define PMSPP_LIB_DECL
tries to keep as much as possible monoisotopes, removing any possible C13 peaks and changes multichar...
Definition: aa.cpp:39