Stxxl  1.4.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
Public Member Functions | Protected Member Functions
stxxl::serving_request Class Reference

Request which serves an I/O by calling the synchronous routine of the file. More...

#include <serving_request.h>

Inheritance diagram for stxxl::serving_request:
Inheritance graph
[legend]
Collaboration diagram for stxxl::serving_request:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 serving_request (const completion_handler &on_cmpl, file *f, void *buf, offset_type off, size_type b, request_type t)
const char * io_type () const
 Identifies the type of I/O implementation.

Protected Member Functions

void serve ()
void completed ()

Detailed Description

Request which serves an I/O by calling the synchronous routine of the file.

Definition at line 26 of file serving_request.h.


Constructor & Destructor Documentation

stxxl::serving_request::serving_request ( const completion_handler on_cmpl,
file f,
void *  buf,
offset_type  off,
size_type  b,
request_type  t 
)

Definition at line 22 of file serving_request.cpp.

References stxxl::request::check_alignment().


Member Function Documentation

void stxxl::serving_request::completed ( ) [protected, virtual]
const char * stxxl::serving_request::io_type ( ) const [virtual]

Identifies the type of I/O implementation.

Returns:
pointer to null terminated string of characters, containing the name of I/O implementation

Implements stxxl::request_interface.

Definition at line 72 of file serving_request.cpp.

References stxxl::request::file_, and stxxl::file::io_type().

void stxxl::serving_request::serve ( ) [protected, virtual]

The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines