5#include <vitrio/export.hpp>
6#include <vitrio/image_loader.hpp>
7#include <vitrio/platform.hpp>
47 std::shared_ptr<image_reader_provider> readers,
48 std::shared_ptr<vitrio::executor>
executor
53 std::shared_ptr<completion>
load(
56 std::shared_ptr<const image_transfer_sanitizer> sanitizer
60 VITRIO_STD_MEMBER_INTERFACE
61 std::shared_ptr<image_reader_provider> m_readers;
62 VITRIO_STD_MEMBER_INTERFACE
63 std::shared_ptr<vitrio::executor> m_executor;
A multidimensional array of numbers in host memory.
Definition array.hpp:37
A query-only view of whether one or more units of work have finished.
Definition completion.hpp:18
executor_image_loader(std::shared_ptr< image_reader_provider > readers, std::shared_ptr< vitrio::executor > executor)
Construct a loader over a provider and an executor.
std::shared_ptr< completion > load(array destination, const image_transaction_plan &plan, std::shared_ptr< const image_transfer_sanitizer > sanitizer) const override
Load every region a transaction plan names.
Where a task is handed off to run, now or later.
Definition executor.hpp:26
Interface to serve image_reader given a key.
Definition image_reader_provider.hpp:26
List of regions to transfer between many files and one array.
Definition image_transaction_plan.hpp:33
Decides what becomes of the regions of a plan that do not fit the file or the array they join.
Definition image_transfer_sanitizer.hpp:30