libpappsomspp
Library for mass spectrometry
Toggle main menu visibility
Loading...
Searching...
No Matches
uimonitorvoid.h
Go to the documentation of this file.
1
/**
2
* \file pappsomspp/processing/uimonitor/uimonitorvoid.h
3
* \date 14/5/2021
4
* \author Olivier Langella
5
* \brief simle monitor that does nothing
6
**/
7
8
/*******************************************************************************
9
* Copyright (c) 2021 Olivier Langella
10
*<Olivier.Langella@universite-paris-saclay.fr>.
11
*
12
* This file is part of the PAPPSOms++ library.
13
*
14
* PAPPSOms++ is free software: you can redistribute it and/or modify
15
* it under the terms of the GNU General Public License as published by
16
* the Free Software Foundation, either version 3 of the License, or
17
* (at your option) any later version.
18
*
19
* PAPPSOms++ is distributed in the hope that it will be useful,
20
* but WITHOUT ANY WARRANTY; without even the implied warranty of
21
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
22
* GNU General Public License for more details.
23
*
24
* You should have received a copy of the GNU General Public License
25
* along with PAPPSOms++. If not, see <http://www.gnu.org/licenses/>.
26
*
27
******************************************************************************/
28
29
#pragma once
30
31
#include "
uimonitorinterface.h
"
32
#include <QTextStream>
33
34
namespace
pappso
35
{
36
37
38
/**
39
* @todo nothing monitor to save CPU and memory if needed
40
*/
41
class
PMSPP_LIB_DECL
UiMonitorVoid
:
public
UiMonitorInterface
42
{
43
public
:
44
virtual
bool
45
shouldIstop
()
override
46
{
47
return
false
;
48
};
49
50
virtual
void
setTotalSteps
(std::size_t total_number_of_steps
51
[[maybe_unused]])
override
{};
52
virtual
void
count
()
override
{};
53
virtual
void
setTitle
(
const
QString &title [[maybe_unused]])
override
{};
54
virtual
void
setStatus
(
const
QString &status [[maybe_unused]])
override
{};
55
virtual
void
appendText
(
const
QString &text [[maybe_unused]])
override
{};
56
};
57
}
// namespace pappso
pappso::UiMonitorInterface
Definition
uimonitorinterface.h:50
pappso::UiMonitorVoid
Definition
uimonitorvoid.h:42
pappso::UiMonitorVoid::shouldIstop
virtual bool shouldIstop() override
should the procces be stopped ? If true, then cancel process Use this function at strategic point of ...
Definition
uimonitorvoid.h:45
pappso::UiMonitorVoid::count
virtual void count() override
count steps report when a step is computed in an algorithm
Definition
uimonitorvoid.h:52
pappso::UiMonitorVoid::appendText
virtual void appendText(const QString &text) override
append a text to a long report
Definition
uimonitorvoid.h:55
pappso::UiMonitorVoid::setTotalSteps
virtual void setTotalSteps(std::size_t total_number_of_steps) override
use it if the number of steps is known in an algorithm the total number of steps is usefull to report...
Definition
uimonitorvoid.h:50
pappso::UiMonitorVoid::setTitle
virtual void setTitle(const QString &title) override
current kind of process running
Definition
uimonitorvoid.h:53
pappso::UiMonitorVoid::setStatus
virtual void setStatus(const QString &status) override
current status of the process
Definition
uimonitorvoid.h:54
PMSPP_LIB_DECL
#define PMSPP_LIB_DECL
Definition
export-import-config.h:14
pappso
tries to keep as much as possible monoisotopes, removing any possible C13 peaks and changes multichar...
Definition
aa.cpp:39
uimonitorinterface.h
pappsomspp
core
processing
uimonitor
uimonitorvoid.h
Generated on
for libpappsomspp by
1.17.0