Functions | |
| void | emit_progress (const ScannerEngine::ProgressCallback &cb, const std::string &stage, const std::string &detail, uint64_t processed, uint64_t total, double fraction) |
| bool | check_cancel (const std::function< bool()> &cancel_cb) |
| bool anonymous_namespace{scanner_engine.cpp}::check_cancel | ( | const std::function< bool()> & | cancel_cb | ) |
Definition at line 32 of file scanner_engine.cpp.
References check_cancel().
Referenced by check_cancel().
| void anonymous_namespace{scanner_engine.cpp}::emit_progress | ( | const ScannerEngine::ProgressCallback & | cb, |
| const std::string & | stage, | ||
| const std::string & | detail, | ||
| uint64_t | processed, | ||
| uint64_t | total, | ||
| double | fraction ) |
Definition at line 13 of file scanner_engine.cpp.
References ScanProgress::bytes_processed, ScanProgress::bytes_total, ScanProgress::detail, emit_progress(), ScanProgress::fraction, and ScanProgress::stage.
Referenced by emit_progress().