Derecho  0.9
Distributed systems toolkit for RDMA
Classes | Public Member Functions | Protected Attributes | List of all members
rdma::task Class Reference

#include <lf_helper.hpp>

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

Classes

struct  task_impl
 

Public Member Functions

 task (std::shared_ptr< manager_endpoint > manager_ep)
 
virtual ~task ()
 
void append_wait (const completion_queue &cq, int count, bool signaled, bool last, uint64_t wr_id, const message_type &type)
 
void append_enable_send (const managed_endpoint &ep, int count)
 
void append_send (const managed_endpoint &ep, const memory_region &mr, size_t offset, size_t length, uint32_t immediate)
 
void append_recv (const managed_endpoint &ep, const memory_region &mr, size_t offset, size_t length)
 
bool post () __attribute__((warn_unused_result))
 
 task (std::shared_ptr< manager_queue_pair > manager_qp)
 
virtual ~task ()
 
void append_wait (const completion_queue &cq, int count, bool signaled, bool last, uint64_t wr_id, const message_type &type)
 
void append_enable_send (const managed_queue_pair &qp, int count)
 
void append_send (const managed_queue_pair &qp, const memory_region &mr, size_t offset, size_t length, uint32_t immediate)
 
void append_recv (const managed_queue_pair &qp, const memory_region &mr, size_t offset, size_t length)
 
bool post () __attribute__((warn_unused_result))
 

Protected Attributes

std::unique_ptr< task_implimpl
 
std::shared_ptr< manager_endpointmep
 
std::shared_ptr< manager_queue_pairmqp
 

Detailed Description

Definition at line 272 of file lf_helper.hpp.


Class Documentation

◆ rdma::task::task_impl

struct rdma::task::task_impl

Definition at line 533 of file lf_helper.cpp.

Class Members
int dummy

Constructor & Destructor Documentation

◆ task() [1/2]

rdma::task::task ( std::shared_ptr< manager_endpoint manager_ep)

Definition at line 537 of file lf_helper.cpp.

◆ ~task() [1/2]

rdma::task::~task ( )
virtual

Definition at line 541 of file lf_helper.cpp.

◆ task() [2/2]

rdma::task::task ( std::shared_ptr< manager_queue_pair manager_qp)

Definition at line 1041 of file verbs_helper.cpp.

◆ ~task() [2/2]

virtual rdma::task::~task ( )
virtual

Member Function Documentation

◆ append_enable_send() [1/2]

void rdma::task::append_enable_send ( const managed_queue_pair qp,
int  count 
)

Definition at line 1048 of file verbs_helper.cpp.

◆ append_enable_send() [2/2]

void rdma::task::append_enable_send ( const managed_endpoint ep,
int  count 
)

Definition at line 548 of file lf_helper.cpp.

◆ append_recv() [1/2]

void rdma::task::append_recv ( const managed_queue_pair qp,
const memory_region mr,
size_t  offset,
size_t  length 
)

Definition at line 1055 of file verbs_helper.cpp.

◆ append_recv() [2/2]

void rdma::task::append_recv ( const managed_endpoint ep,
const memory_region mr,
size_t  offset,
size_t  length 
)

Definition at line 556 of file lf_helper.cpp.

◆ append_send() [1/2]

void rdma::task::append_send ( const managed_queue_pair qp,
const memory_region mr,
size_t  offset,
size_t  length,
uint32_t  immediate 
)

Definition at line 1051 of file verbs_helper.cpp.

◆ append_send() [2/2]

void rdma::task::append_send ( const managed_endpoint ep,
const memory_region mr,
size_t  offset,
size_t  length,
uint32_t  immediate 
)

Definition at line 552 of file lf_helper.cpp.

◆ append_wait() [1/2]

void rdma::task::append_wait ( const completion_queue cq,
int  count,
bool  signaled,
bool  last,
uint64_t  wr_id,
const message_type type 
)

◆ append_wait() [2/2]

void rdma::task::append_wait ( const completion_queue cq,
int  count,
bool  signaled,
bool  last,
uint64_t  wr_id,
const message_type type 
)

Definition at line 543 of file lf_helper.cpp.

◆ post() [1/2]

bool rdma::task::post ( )

◆ post() [2/2]

bool rdma::task::post ( )

Definition at line 561 of file lf_helper.cpp.

Member Data Documentation

◆ impl

std::unique_ptr< task_impl > rdma::task::impl
protected

Definition at line 274 of file lf_helper.hpp.

◆ mep

std::shared_ptr<manager_endpoint> rdma::task::mep
protected

Definition at line 276 of file lf_helper.hpp.

◆ mqp

std::shared_ptr<manager_queue_pair> rdma::task::mqp
protected

Definition at line 151 of file verbs_helper.hpp.


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