OPAL (Object Oriented Parallel Accelerator Library)  2.2.0
OPAL
Public Member Functions | Private Attributes | List of all members
AsyncSendBuffer Class Reference

#include <AsyncSendBuffers.h>

Public Member Functions

 AsyncSendBuffer (std::ostringstream &os)
 
 ~AsyncSendBuffer ()
 
bool hasCompleted ()
 
void send (int recv_rank, int size_tag, int data_tag, MPI_Comm comm)
 

Private Attributes

MPI_Request * size_req
 
MPI_Request * buffer_req
 
char * buffer
 
size_t buf_size
 

Detailed Description

Definition at line 8 of file AsyncSendBuffers.h.

Constructor & Destructor Documentation

AsyncSendBuffer::AsyncSendBuffer ( std::ostringstream &  os)
inline

Definition at line 12 of file AsyncSendBuffers.h.

References buf_size, buffer, buffer_req, and size_req.

AsyncSendBuffer::~AsyncSendBuffer ( )
inline

Definition at line 20 of file AsyncSendBuffers.h.

References buffer, buffer_req, and size_req.

Member Function Documentation

bool AsyncSendBuffer::hasCompleted ( )
inline

Definition at line 26 of file AsyncSendBuffers.h.

References buffer_req.

Referenced by AsyncSendBuffers::cleanup().

void AsyncSendBuffer::send ( int  recv_rank,
int  size_tag,
int  data_tag,
MPI_Comm  comm 
)
inline

Definition at line 39 of file AsyncSendBuffers.h.

References buf_size, buffer, buffer_req, and size_req.

Member Data Documentation

size_t AsyncSendBuffer::buf_size
private

Definition at line 53 of file AsyncSendBuffers.h.

Referenced by AsyncSendBuffer(), and send().

char* AsyncSendBuffer::buffer
private

Definition at line 51 of file AsyncSendBuffers.h.

Referenced by AsyncSendBuffer(), send(), and ~AsyncSendBuffer().

MPI_Request* AsyncSendBuffer::buffer_req
private

Definition at line 50 of file AsyncSendBuffers.h.

Referenced by AsyncSendBuffer(), hasCompleted(), send(), and ~AsyncSendBuffer().

MPI_Request* AsyncSendBuffer::size_req
private

Definition at line 49 of file AsyncSendBuffers.h.

Referenced by AsyncSendBuffer(), send(), and ~AsyncSendBuffer().


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