![]() |
Zivid C++ API 2.19.0+b5c53d0f-1
|
A view of a support bundle collection's progress, from Future::progress. More...
#include <Zivid/Experimental/SupportBundle.h>
Classes | |
| struct | Update |
| A snapshot of how far collection has come. More... | |
Public Member Functions | |
| ZIVID_CORE_EXPORT Update | latest () const |
| Returns the newest update without blocking. | |
| ZIVID_CORE_EXPORT Detail::ProgressIterator | begin () const |
| Returns an iterator at the newest update. Used by range-based for loops. | |
Static Public Member Functions | |
| static ZIVID_CORE_EXPORT Detail::ProgressSentinel | end () |
| Returns the end of the range, reached when collection has finished or failed. | |
A view of a support bundle collection's progress, from Future::progress.
It can be used in two ways, which can be mixed:
Iteration starts at the newest update and skips updates that arrive while the loop body runs. The last update is 100 percent when collection succeeds. Errors are not reported here; call Future::get to get them.
| ZIVID_CORE_EXPORT Detail::ProgressIterator Zivid::Experimental::SupportBundle::Progress::begin | ( | ) | const |
Returns an iterator at the newest update. Used by range-based for loops.
|
static |
Returns the end of the range, reached when collection has finished or failed.
| ZIVID_CORE_EXPORT Update Zivid::Experimental::SupportBundle::Progress::latest | ( | ) | const |
Returns the newest update without blocking.