Derecho  0.9
Distributed systems toolkit for RDMA
Public Member Functions | Private Attributes | Friends | List of all members
rdma::completion_queue Class Reference

A C++ wrapper for the libfabric fid_cq struct and its associated functions. More...

#include <lf_helper.hpp>

Collaboration diagram for rdma::completion_queue:
Collaboration graph
[legend]

Public Member Functions

 completion_queue ()
 Constructor Uses the libfabrics API to open a completion queue. More...
 
 completion_queue (bool cross_channel)
 

Private Attributes

std::unique_ptr< fid_cq, std::function< void(fid_cq *)> > cq
 Smart pointer for managing the completion queue. More...
 
std::unique_ptr< ibv_cq, std::function< void(ibv_cq *)> > cq
 

Friends

class managed_endpoint
 
class task
 
class managed_queue_pair
 

Detailed Description

A C++ wrapper for the libfabric fid_cq struct and its associated functions.

Definition at line 115 of file lf_helper.hpp.

Constructor & Destructor Documentation

◆ completion_queue() [1/2]

rdma::completion_queue::completion_queue ( )
explicit

Constructor Uses the libfabrics API to open a completion queue.

Completion queue constructor.

Definition at line 231 of file lf_helper.cpp.

◆ completion_queue() [2/2]

rdma::completion_queue::completion_queue ( bool  cross_channel)
explicit

Definition at line 535 of file verbs_helper.cpp.

Friends And Related Function Documentation

◆ managed_endpoint

friend class managed_endpoint
friend

Definition at line 119 of file lf_helper.hpp.

◆ managed_queue_pair

friend class managed_queue_pair
friend

Definition at line 70 of file verbs_helper.hpp.

◆ task

task
friend

Definition at line 120 of file lf_helper.hpp.

Member Data Documentation

◆ cq [1/2]

std::unique_ptr<ibv_cq, std::function<void(ibv_cq*)> > rdma::completion_queue::cq
private

Definition at line 69 of file verbs_helper.hpp.

◆ cq [2/2]

std::unique_ptr<fid_cq, std::function<void(fid_cq *)> > rdma::completion_queue::cq
private

Smart pointer for managing the completion queue.

Definition at line 117 of file lf_helper.hpp.


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