23 #include "openPMD/config.hpp" 24 #include "openPMD/IO/AccessType.hpp" 25 #include "openPMD/IO/Format.hpp" 26 #include "openPMD/IO/IOTask.hpp" 45 : std::runtime_error(what_arg)
54 : std::runtime_error(what_arg)
73 : directory{std::move(path)},
74 accessTypeBackend{at},
75 accessTypeFrontend{at}
79 : directory{std::move(path)},
80 accessTypeBackend{at},
81 accessTypeFrontend{at}
98 virtual std::future< void > flush() = 0;
101 virtual std::string backendName()
const = 0;
103 std::string
const directory;
106 std::queue< IOTask > m_work;
AccessType
File access mode to use during IO.
Definition: AccessType.hpp:28
Self-contained description of a single IO operation.
Definition: IOTask.hpp:468
Definition: AbstractIOHandler.hpp:50
virtual void enqueue(IOTask const &iotask)
Add provided task to queue according to FIFO.
Definition: AbstractIOHandler.hpp:89
Interface for communicating between logical and physically persistent data.
Definition: AbstractIOHandler.hpp:68
Definition: AbstractIOHandler.hpp:41
Public definitions of openPMD-api.
Definition: Date.cpp:28