Thrill  0.1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
request_queue Class Referenceabstract

Detailed Description

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

Definition at line 27 of file request_queue.hpp.

+ Inheritance diagram for request_queue:

#include <request_queue.hpp>

Public Types

enum  priority_op { READ, WRITE, NONE }
 

Public Member Functions

 request_queue ()=default
 
 request_queue (const request_queue &)=delete
 non-copyable: delete copy-constructor More...
 
 request_queue (request_queue &&)=default
 move-constructor: default More...
 
virtual ~request_queue ()
 
virtual void add_request (request_ptr &req)=0
 
virtual bool cancel_request (request_ptr &req)=0
 
request_queueoperator= (const request_queue &)=delete
 non-copyable: delete assignment operator More...
 
request_queueoperator= (request_queue &&)=default
 move-assignment operator: default More...
 
virtual void set_priority_op (const priority_op &p)
 

Member Enumeration Documentation

Enumerator
READ 
WRITE 
NONE 

Definition at line 30 of file request_queue.hpp.

Constructor & Destructor Documentation

request_queue ( )
default
request_queue ( const request_queue )
delete

non-copyable: delete copy-constructor

request_queue ( request_queue &&  )
default

move-constructor: default

virtual ~request_queue ( )
inlinevirtual

Definition at line 47 of file request_queue.hpp.

Member Function Documentation

virtual void add_request ( request_ptr req)
pure virtual
virtual bool cancel_request ( request_ptr req)
pure virtual
request_queue& operator= ( const request_queue )
delete

non-copyable: delete assignment operator

request_queue& operator= ( request_queue &&  )
default

move-assignment operator: default

virtual void set_priority_op ( const priority_op p)
inlinevirtual

Reimplemented in request_queue_impl_qwqr.

Definition at line 48 of file request_queue.hpp.

References tlx::unused().


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