#include <background_scanner.hpp>
◆ BackgroundScanner() [1/2]
| pulp::host::BackgroundScanner::BackgroundScanner |
( |
| ) |
|
|
default |
◆ ~BackgroundScanner()
| pulp::host::BackgroundScanner::~BackgroundScanner |
( |
| ) |
|
|
inline |
◆ BackgroundScanner() [2/2]
| pulp::host::BackgroundScanner::BackgroundScanner |
( |
const BackgroundScanner & | | ) |
|
|
delete |
◆ cancel()
| void pulp::host::BackgroundScanner::cancel |
( |
| ) |
|
Request the running scan cancel.
No-op if nothing is running. The completion callback still fires (with cancelled = true).
◆ is_running()
| bool pulp::host::BackgroundScanner::is_running |
( |
| ) |
const |
|
inline |
True while the worker thread is active.
◆ join()
| void pulp::host::BackgroundScanner::join |
( |
| ) |
|
Block until the worker thread finishes. Safe to call when idle.
◆ operator=()
◆ start()
Start a scan. Returns false if a scan is already running.
The documentation for this class was generated from the following file: