28 serving_request::serving_request(
37 #ifdef STXXL_CHECK_BLOCK_ALIGNING
49 "[" << static_cast<void*>(
this) <<
"] serving_request::serve(): " <<
52 std::hex << std::setfill(
'0') << std::setw(8) <<
72 STXXL_VERBOSE2(
"[" << static_cast<void*>(
this) <<
"] serving_request::completed()");
virtual void serve(const request *req)=0
void set_to(const value_type &new_state)
Completion handler class (Loki-style).
state< request_state > _state
Request with completion state.
#define STXXL_VERBOSE2(x)
const char * io_type() const
Identifies the type of I/O implementation.
Defines interface of file.
void check_nref(bool after=false)
void check_alignment() const
virtual const char * io_type() const
Identifies the type of I/O implementation.
#define STXXL_BEGIN_NAMESPACE
stxxl::internal_size_type size_type
virtual int get_allocator_id() const =0
Returns the file's allocator.
stxxl::external_size_type offset_type
void error_occured(const char *msg)
Inform the request object that an error occurred during the I/O execution.
#define STXXL_END_NAMESPACE