Medical Imaging Interaction Toolkit
2016.11.0
Medical Imaging Interaction Toolkit
Home
Manual
API Reference
Download
Bugzilla
Groups
Namespace List
Class List
File List
Examples
File List
File Members
mitkProgressBarImplementation.h
Go to the documentation of this file.
1
/*===================================================================
2
3
The Medical Imaging Interaction Toolkit (MITK)
4
5
Copyright (c) German Cancer Research Center,
6
Division of Medical and Biological Informatics.
7
All rights reserved.
8
9
This software is distributed WITHOUT ANY WARRANTY; without
10
even the implied warranty of MERCHANTABILITY or FITNESS FOR
11
A PARTICULAR PURPOSE.
12
13
See LICENSE.txt or http://www.mitk.org for details.
14
15
===================================================================*/
16
17
#ifndef MITKPROGRESSBARIMPLEMENTATION_H
18
#define MITKPROGRESSBARIMPLEMENTATION_H
19
#include <
MitkCoreExports.h
>
20
21
namespace
mitk
22
{
23
//##Documentation
24
//## @brief GUI indepentent Interface for all Gui depentent implementations of a ProgressBar.
25
class
MITKCORE_EXPORT
ProgressBarImplementation
26
{
27
public
:
28
//##Documentation
29
//## @brief Constructor
30
ProgressBarImplementation
(){};
31
32
//##Documentation
33
//## @brief Destructor
34
virtual
~ProgressBarImplementation
(){};
35
36
//##Documentation
37
//## @brief Sets whether the current progress value is displayed.
38
virtual
void
SetPercentageVisible(
bool
visible) = 0;
39
40
//##Documentation
41
//## @brief Explicitly reset progress bar.
42
virtual
void
Reset() = 0;
43
44
//##Documentation
45
//## @brief Adds steps to totalSteps.
46
virtual
void
AddStepsToDo(
unsigned
int
steps) = 0;
47
48
//##Documentation
49
//## @brief Sets the current amount of progress to current progress + steps.
50
//## @param steps the number of steps done since last Progress(int steps) call.
51
virtual
void
Progress(
unsigned
int
steps) = 0;
52
};
53
54
}
// end namespace mitk
55
56
#endif
/* define MITKPROGRESSBARIMPLEMENTATION_H */
mitk::ProgressBarImplementation::~ProgressBarImplementation
virtual ~ProgressBarImplementation()
Destructor.
Definition:
mitkProgressBarImplementation.h:34
mitk::ProgressBarImplementation
GUI indepentent Interface for all Gui depentent implementations of a ProgressBar. ...
Definition:
mitkProgressBarImplementation.h:25
MITKCORE_EXPORT
#define MITKCORE_EXPORT
Definition:
MitkCoreExports.h:15
MitkCoreExports.h
mitk
DataCollection - Class to facilitate loading/accessing structured data.
Definition:
GeometryOverview.dox:1
mitk::ProgressBarImplementation::ProgressBarImplementation
ProgressBarImplementation()
Constructor.
Definition:
mitkProgressBarImplementation.h:30
git
MITK
Modules
Core
include
mitkProgressBarImplementation.h
Generated on Fri Feb 3 2017 20:52:06 for Medical Imaging Interaction Toolkit by
1.8.9.1