28 on_complete(on_compl),
58 if (
bytes % BLOCK_ALIGN != 0)
60 BLOCK_ALIGN <<
", = " <<
bytes % BLOCK_ALIGN);
70 STXXL_ERRMSG(
"WARNING: serious error, reference to the request is lost " <<
71 (after ?
"after " :
"before") <<
" serve" <<
77 " type=" << ((
type ==
READ) ?
"READ" :
"WRITE") <<
85 out <<
"File object address: " <<
static_cast<void*
>(
get_file());
86 out <<
" Buffer address: " <<
static_cast<void*
>(
get_buffer());
88 out <<
" Transfer size: " <<
get_size() <<
" bytes";
89 out <<
" Type of transfer: " << ((
get_type() ==
READ) ?
"READ" :
"WRITE");
static const int bytes
number of bytes in uint_pair
Completion handler class (Loki-style).
offset_type get_offset() const
Defines interface of file.
void check_nref_failed(bool after)
#define STXXL_VERBOSE3(x)
virtual const char * io_type() const =0
Identifies the type of I/O implementation.
void check_alignment() const
#define STXXL_BEGIN_NAMESPACE
completion_handler on_complete
size_type get_size() const
stxxl::internal_size_type size_type
request_type get_type() const
choose_int_types< my_pointer_size >::unsigned_type unsigned_type
std::ostream & print(std::ostream &out) const
Dumps properties of a request.
void * get_buffer() const
stxxl::external_size_type offset_type
unsigned_type get_reference_count() const
Return the number of references to this object (for debugging)
void delete_request_ref()
#define STXXL_END_NAMESPACE
virtual void notify_waiters()=0