MCPcopy Create free account
hub / github.com/MITK/MITK / Progress

Method Progress

Modules/Core/src/Controllers/mitkProgressBar.cpp:30–44  ·  view source on GitHub ↗

* Sets the current amount of progress to current progress + steps. * @param steps the number of steps done since last Progress(int steps) call. */

Source from the content-addressed store, hash-verified

28 * @param steps the number of steps done since last Progress(int steps) call.
29 */
30 void ProgressBar::Progress(unsigned int steps)
31 {
32 if (!m_Implementations.empty())
33 {
34 ProgressBarImplementationsListIterator iter;
35 for (iter = m_Implementations.begin(); iter != m_Implementations.end(); iter++)
36 {
37 // update progress for all ProgressBarImplementations
38 if ((*iter) != nullptr)
39 {
40 (*iter)->Progress(steps);
41 }
42 }
43 }
44 }
45
46 /**
47 * Explicitly reset progress bar.

Callers 4

LoadMethod · 0.45
SaveMethod · 0.45
CreateSurfaceMethod · 0.45
GenerateDataMethod · 0.45

Calls 3

emptyMethod · 0.45
beginMethod · 0.45
endMethod · 0.45

Tested by

no test coverage detected