![]() |
Zivid C++ API 2.19.0+b5c53d0f-1
|
Classes | |
| class | Builder |
Configures a support bundle: a compressed archive (.tar.zst) of SDK logs, frames and camera information to send to Zivid customer support. More... | |
| class | Future |
| A support bundle being collected in the background, returned by Builder::create. More... | |
| struct | LogFileInfo |
| The time span and size of one log file, returned from logFiles. More... | |
| class | Progress |
| A view of a support bundle collection's progress, from Future::progress. More... | |
| struct | SizeEstimate |
| An estimate of the size of a support bundle, in bytes, split by content. More... | |
Functions | |
| ZIVID_CORE_EXPORT Builder | builder (const std::filesystem::path &destinationFolder) |
| Starts configuring a support bundle that will be written to the given folder. | |
| ZIVID_CORE_EXPORT std::vector< LogFileInfo > | logFiles () |
| Returns information about the log files that a support bundle can include. | |
| ZIVID_CORE_EXPORT Builder Zivid::Experimental::SupportBundle::builder | ( | const std::filesystem::path & | destinationFolder | ) |
Starts configuring a support bundle that will be written to the given folder.
The folder must already exist, otherwise this function throws. The bundle gets a unique, generated file name in the folder, and an existing file is never overwritten.
| ZIVID_CORE_EXPORT std::vector< LogFileInfo > Zivid::Experimental::SupportBundle::logFiles | ( | ) |
Returns information about the log files that a support bundle can include.
Builder::filterLogs includes a file when the time span from its creation to its last modification overlaps the filter. Use the returned time spans to choose a filter that includes the files you want. The vector is sorted with the oldest being first.
This function will not throw if the log directory is missing, in that case it returns an empty vector. If a file is deleted while this function is running, it is skipped and not included in the result.