FOSSredder 0.5.0
Loading...
Searching...
No Matches
ImportStrategySupport.h File Reference

Declares private support types and helpers for the default import strategy. More...

Include dependency graph for ImportStrategySupport.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  core::application::importing::ImportRunTimings
struct  core::application::importing::SchedulerResources

Namespaces

namespace  core
namespace  core::application
namespace  core::application::importing

Typedefs

using core::application::importing::ImportClock = std::chrono::steady_clock

Functions

void core::application::importing::ensureDirectoryExists (const std::filesystem::path &path, core::ports::diagnostics::IErrorReporter *errorReporter, const char *origin)
internal::ProgressReporter core::application::importing::makeProgressReporter (const ImportRequest &req, core::ports::diagnostics::IErrorReporter *errorReporter)
core::ports::pdf_rendering::RenderRequest core::application::importing::makeRenderRequest (const ImportRequest &req)
core::ports::pdf_rendering::ExtractRequest core::application::importing::makeExtractRequest (const core::ports::pdf_rendering::RenderRequest &renderRequest, const ImportRequest &req)
std::vector< internal::PageWork > core::application::importing::collectPageWork (const ImportRequest &req, const core::ports::pdf_rendering::RenderResult &renderResult, const core::ports::pdf_rendering::ExtractResult &extractResult, const std::shared_ptr< core::ports::document_image_processing::IDocumentImageProcessor > &documentImageProcessor, const std::shared_ptr< core::ports::text_recognition::ITextRecognizer > &tesseract, SchedulerResources &resources, const internal::ProgressReporter &report, core::ports::diagnostics::IErrorReporter *errorReporter, ImportResult &out, std::mutex &artifactsMutex)
void core::application::importing::attachMetricsArtifact (ImportResult &out, const ImportRequest &req, const std::vector< internal::PageWork > &pages, size_t totalPages, const internal::FinalizeStats &finalizeStats, const ImportRunTimings &timings, core::ports::diagnostics::IErrorReporter *errorReporter)

Detailed Description

Declares private support types and helpers for the default import strategy.

Definition in file ImportStrategySupport.h.