15 #ifndef STXXL_IO_REQUEST_INTERFACE_HEADER
16 #define STXXL_IO_REQUEST_INTERFACE_HEADER
48 virtual void notify_waiters() = 0;
51 virtual void completed(
bool canceled) = 0;
55 virtual void wait(
bool measure_time =
true) = 0;
64 virtual bool cancel() = 0;
68 virtual bool poll() = 0;
72 virtual const char * io_type()
const = 0;
75 virtual std::ostream & print(std::ostream& out)
const = 0;
85 #endif // !STXXL_IO_REQUEST_INTERFACE_HEADER
unsigned_type internal_size_type
#define STXXL_BEGIN_NAMESPACE
stxxl::internal_size_type size_type
Functional interface of a request.
uint64 external_size_type
virtual ~request_interface() noexcept(false)
stxxl::external_size_type offset_type
#define STXXL_END_NAMESPACE