| 4 | class ProgressDisplay { |
| 5 | public: |
| 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; |
nothing calls this directly
no outgoing calls
no test coverage detected