5#include <vitrio/export.hpp>
6#include <vitrio/image_saver.hpp>
7#include <vitrio/platform.hpp>
48 std::shared_ptr<image_writer_provider> writers,
49 std::shared_ptr<vitrio::executor>
executor
54 std::shared_ptr<completion>
save(
57 std::shared_ptr<const image_transfer_sanitizer> sanitizer
61 VITRIO_STD_MEMBER_INTERFACE
62 std::shared_ptr<image_writer_provider> m_writers;
63 VITRIO_STD_MEMBER_INTERFACE
64 std::shared_ptr<vitrio::executor> m_executor;
A query-only view of whether one or more units of work have finished.
Definition completion.hpp:18
A multidimensional array of numbers that cannot be written through.
Definition const_array.hpp:29
executor_image_saver(std::shared_ptr< image_writer_provider > writers, std::shared_ptr< vitrio::executor > executor)
Construct a saver over a provider and an executor.
std::shared_ptr< completion > save(const_array source, const image_transaction_plan &plan, std::shared_ptr< const image_transfer_sanitizer > sanitizer) const override
Save every region a transaction plan names.
Where a task is handed off to run, now or later.
Definition executor.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
Interface to serve image_writer given a key.
Definition image_writer_provider.hpp:25