DABC (Data Acquisition Backbone Core)  2.9.9
Public Member Functions | Static Public Member Functions | Protected Attributes
verbs::ComplQueue Class Reference

Wrapper for IB VERBS completion queue
More...

#include <verbs/ComplQueue.h>

Public Member Functions

void AcknoledgeEvents ()
 
uint64_t arg () const
 
struct ibv_comp_channel * channel () const
 
 ComplQueue (ContextRef ctx, int size, struct ibv_comp_channel *channel, bool use_own_channel=false)
 
struct ibv_cq * cq () const
 
int Poll ()
 
int Wait (double timeout, double fasttm=0.)
 
virtual ~ComplQueue ()
 

Static Public Member Functions

static const char * GetStrError (int err)
 

Protected Attributes

struct ibv_comp_channel * f_channel
 
struct ibv_cq * f_cq
 
bool f_ownchannel
 
struct ibv_wc f_wc
 
ContextRef fContext
 
ComplQueueContext fCQContext
 

Detailed Description

Wrapper for IB VERBS completion queue

Definition at line 35 of file ComplQueue.h.

Constructor & Destructor Documentation

◆ ComplQueue()

verbs::ComplQueue::ComplQueue ( ContextRef  ctx,
int  size,
struct ibv_comp_channel *  channel,
bool  use_own_channel = false 
)

Definition at line 23 of file ComplQueue.cxx.

◆ ~ComplQueue()

verbs::ComplQueue::~ComplQueue ( )
virtual

Definition at line 52 of file ComplQueue.cxx.

Member Function Documentation

◆ channel()

struct ibv_comp_channel* verbs::ComplQueue::channel ( ) const
inline

Definition at line 55 of file ComplQueue.h.

◆ cq()

struct ibv_cq* verbs::ComplQueue::cq ( ) const
inline

Definition at line 56 of file ComplQueue.h.

◆ arg()

uint64_t verbs::ComplQueue::arg ( ) const
inline

Definition at line 57 of file ComplQueue.h.

◆ Poll()

int verbs::ComplQueue::Poll ( )

Definition at line 66 of file ComplQueue.cxx.

◆ Wait()

int verbs::ComplQueue::Wait ( double  timeout,
double  fasttm = 0. 
)

Definition at line 91 of file ComplQueue.cxx.

◆ AcknoledgeEvents()

void verbs::ComplQueue::AcknoledgeEvents ( )

Definition at line 199 of file ComplQueue.cxx.

◆ GetStrError()

const char * verbs::ComplQueue::GetStrError ( int  err)
static

Definition at line 207 of file ComplQueue.cxx.

Field Documentation

◆ fContext

ContextRef verbs::ComplQueue::fContext
protected

Definition at line 38 of file ComplQueue.h.

◆ f_cq

struct ibv_cq* verbs::ComplQueue::f_cq
protected

Definition at line 40 of file ComplQueue.h.

◆ f_channel

struct ibv_comp_channel* verbs::ComplQueue::f_channel
protected

Definition at line 41 of file ComplQueue.h.

◆ f_ownchannel

bool verbs::ComplQueue::f_ownchannel
protected

Definition at line 42 of file ComplQueue.h.

◆ fCQContext

ComplQueueContext verbs::ComplQueue::fCQContext
protected

Definition at line 44 of file ComplQueue.h.

◆ f_wc

struct ibv_wc verbs::ComplQueue::f_wc
protected

Definition at line 44 of file ComplQueue.h.


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