MCPcopy Create free account
hub / github.com/KTH-RPL/dufomap / set_progress

Method set_progress

src/indicators.hpp:2843–2847  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2841
2842 template <size_t index>
2843 typename std::enable_if<(index >= 0 && index < count), void>::type set_progress(size_t value) {
2844 if (!bars_[index].get().is_completed())
2845 bars_[index].get().set_progress(value);
2846 print_progress();
2847 }
2848
2849 template <size_t index>
2850 typename std::enable_if<(index >= 0 && index < count), void>::type set_progress(float value) {

Callers

nothing calls this directly

Calls 2

is_completedMethod · 0.45
set_progressMethod · 0.45

Tested by

no test coverage detected