STXXL  1.4-dev
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
stxxl::request_queue Class Referenceabstract

Detailed Description

Interface of a request_queue to which requests can be added and canceled.

Definition at line 26 of file request_queue.h.

+ Inheritance diagram for stxxl::request_queue:
+ Collaboration diagram for stxxl::request_queue:

Public Types

enum  priority_op { READ, WRITE, NONE }
 

Public Member Functions

virtual ~request_queue () noexcept(false)
 
virtual void add_request (request_ptr &req)=0
 
virtual bool cancel_request (request_ptr &req)=0
 
virtual void set_priority_op (priority_op p)
 

Additional Inherited Members

- Private Member Functions inherited from stxxl::noncopyable
 noncopyable ()
 

Member Enumeration Documentation

Enumerator
READ 
WRITE 
NONE 

Definition at line 29 of file request_queue.h.

Constructor & Destructor Documentation

virtual stxxl::request_queue::~request_queue ( )
inlinevirtualnoexcept

Definition at line 34 of file request_queue.h.

Member Function Documentation

virtual void stxxl::request_queue::add_request ( request_ptr req)
pure virtual
virtual bool stxxl::request_queue::cancel_request ( request_ptr req)
pure virtual
virtual void stxxl::request_queue::set_priority_op ( priority_op  p)
inlinevirtual

Reimplemented in stxxl::request_queue_impl_1q.

Definition at line 35 of file request_queue.h.

References stxxl::STXXL_UNUSED().


The documentation for this class was generated from the following file: