Thrill  0.1

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

◆ priority_op

Enumerator
READ 
WRITE 
NONE 

Definition at line 30 of file request_queue.hpp.

Constructor & Destructor Documentation

◆ request_queue() [1/3]

request_queue ( )
default

◆ request_queue() [2/3]

request_queue ( const request_queue )
delete

non-copyable: delete copy-constructor

◆ request_queue() [3/3]

request_queue ( request_queue &&  )
default

move-constructor: default

◆ ~request_queue()

virtual ~request_queue ( )
inlinevirtual

Definition at line 47 of file request_queue.hpp.

Member Function Documentation

◆ add_request()

virtual void add_request ( request_ptr req)
pure virtual

◆ cancel_request()

virtual bool cancel_request ( request_ptr req)
pure virtual

◆ operator=() [1/2]

request_queue& operator= ( const request_queue )
delete

non-copyable: delete assignment operator

◆ operator=() [2/2]

request_queue& operator= ( request_queue &&  )
default

move-assignment operator: default

◆ set_priority_op()

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: