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

Method Reset

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

* Explicitly reset progress bar. */

Source from the content-addressed store, hash-verified

47 * Explicitly reset progress bar.
48 */
49 void ProgressBar::Reset()
50 {
51 if (!m_Implementations.empty())
52 {
53 ProgressBarImplementationsListIterator iter;
54 for (iter = m_Implementations.begin(); iter != m_Implementations.end(); iter++)
55 {
56 // set steps to do for all ProgressBarImplementations
57 if ((*iter) != nullptr)
58 {
59 (*iter)->Reset();
60 }
61 }
62 }
63 }
64
65 /**
66 * Adds steps to totalSteps.

Callers 6

TestResetMethod · 0.45
TestReset2Method · 0.45
TestReset3Method · 0.45
TestReset4Method · 0.45
OperationEventMethod · 0.45

Calls 3

emptyMethod · 0.45
beginMethod · 0.45
endMethod · 0.45

Tested by 4

TestResetMethod · 0.36
TestReset2Method · 0.36
TestReset3Method · 0.36
TestReset4Method · 0.36