5#include <vitrio/export.hpp>
6#include <vitrio/image_loader.hpp>
7#include <vitrio/platform.hpp>
18class image_reader_provider;
19class image_transaction_plan;
20class image_transfer_sanitizer;
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
Performs reads described by a transaction plan on an executor.
Definition executor_image_loader.hpp:36
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
Loads the regions of a transaction plan into one array.
Definition image_loader.hpp:31
List of regions to transfer between many files and one array.
Definition image_transaction_plan.hpp:33