5#include <vitrio/export.hpp>
6#include <vitrio/image_reader.hpp>
21class VITRIO_API synchronous_image_reader
25 synchronous_image_reader()
noexcept;
26 ~synchronous_image_reader()
override;
36 std::shared_ptr<completion_notifier> done
A reference to a multidimensional array that does not keep it alive.
Definition array_ref.hpp:32
A multidimensional array of numbers in host memory.
Definition array.hpp:37
The regions to transfer between one file and one array.
Definition image_transfer_plan.hpp:34
void read_async(array destination, image_transfer_plan regions, std::shared_ptr< completion_notifier > done) const final
Start reading a set of hyperrectangles of the file into one array.
virtual void read(array_ref destination, const image_transfer_plan ®ions) const =0
Read a set of hyperrectangles of the file into one array, all before returning.