MCPcopy Create free account
hub / github.com/computationalpathologygroup/ASAP / setProgress

Method setProgress

core/ProgressMonitor.cpp:13–20  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

11}
12
13void ProgressMonitor::setProgress(const unsigned int& progress) {
14 if (progress > _maxProgress) {
15 _progress = _maxProgress;
16 }
17 else {
18 _progress = progress;
19 }
20}
21
22void ProgressMonitor::setStatus(const std::string& status) {
23 _status = status;

Callers 4

writeImageInformationMethod · 0.45
writePyramidToDiskMethod · 0.45
incorporatePyramidMethod · 0.45
updateProgressMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected