Medical Imaging Interaction Toolkit  2018.4.99-12ad79a3
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 (DKFZ)
6 All rights reserved.
7 
8 Use of this source code is governed by a 3-clause BSD license that can be
9 found in the LICENSE file.
10 
11 ============================================================================*/
12 
13 #ifndef MITKPROGRESSBARIMPLEMENTATION_H
14 #define MITKPROGRESSBARIMPLEMENTATION_H
15 #include <MitkCoreExports.h>
16 
17 namespace mitk
18 {
19  //##Documentation
20  //## @brief GUI indepentent Interface for all Gui depentent implementations of a ProgressBar.
22  {
23  public:
24  //##Documentation
25  //## @brief Constructor
27 
28  //##Documentation
29  //## @brief Destructor
31 
32  //##Documentation
33  //## @brief Sets whether the current progress value is displayed.
34  virtual void SetPercentageVisible(bool visible) = 0;
35 
36  //##Documentation
37  //## @brief Explicitly reset progress bar.
38  virtual void Reset() = 0;
39 
40  //##Documentation
41  //## @brief Adds steps to totalSteps.
42  virtual void AddStepsToDo(unsigned int steps) = 0;
43 
44  //##Documentation
45  //## @brief Sets the current amount of progress to current progress + steps.
46  //## @param steps the number of steps done since last Progress(int steps) call.
47  virtual void Progress(unsigned int steps) = 0;
48  };
49 
50 } // end namespace mitk
51 
52 #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.