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

Method ProgressDisplay

core/ProgressDisplay.hpp:6–14  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

4class ProgressDisplay {
5public:
6 explicit ProgressDisplay(unsigned long expected_count_,
7 std::ostream& os = std::cout,
8 const std::string& s1 = "\n", //leading strings
9 const std::string& s2 = "",
10 const std::string& s3 = "")
11 // os is hint; implementation may ignore, particularly in embedded systems
12 : m_os(os), m_s1(s1), m_s2(s2), m_s3(s3) {
13 restart(expected_count_);
14 }
15
16 ProgressDisplay(const ProgressDisplay&) = delete;
17 ProgressDisplay& operator=(const ProgressDisplay&) = delete;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected