Medical Imaging Interaction Toolkit  2016.11.0
Medical Imaging Interaction Toolkit
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.
26  {
27  public:
28  //##Documentation
29  //## @brief Constructor
31 
32  //##Documentation
33  //## @brief Destructor
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 */
GUI indepentent Interface for all Gui depentent implementations of a ProgressBar. ...
#define MITKCORE_EXPORT
DataCollection - Class to facilitate loading/accessing structured data.