15 #ifndef STXXL_IO_REQUEST_INTERFACE_HEADER
16 #define STXXL_IO_REQUEST_INTERFACE_HEADER
49 virtual void notify_waiters() = 0;
53 virtual void serve() = 0;
56 virtual void completed() = 0;
60 virtual void wait(
bool measure_time =
true) = 0;
69 virtual bool cancel() = 0;
73 virtual bool poll() = 0;
77 virtual const char * io_type()
const = 0;
80 virtual std::ostream & print(std::ostream& out)
const = 0;
90 #endif // !STXXL_IO_REQUEST_INTERFACE_HEADER
unsigned_type internal_size_type
#define STXXL_BEGIN_NAMESPACE
virtual ~request_interface()
stxxl::internal_size_type size_type
Functional interface of a request.
uint64 external_size_type
stxxl::external_size_type offset_type
#define STXXL_END_NAMESPACE