OpenM++ runtime library (libopenm)
openm::MpiRecvPacked Class Reference

non-blocking receive of packed data More...

#include <msgMpiRecv.h>

Inheritance diagram for openm::MpiRecvPacked:
Collaboration diagram for openm::MpiRecvPacked:

Public Member Functions

 MpiRecvPacked (int i_selfRank, int i_recvFrom, IRowBaseVec &io_resultRowVec, const IPackedAdapter &i_adapter)
 create receiver for packed data. More...
 
bool tryReceive (void)
 try to receive and unpack the data, return return true if completed. More...
 
- Public Member Functions inherited from openm::IMsgRecvPacked
virtual ~IMsgRecvPacked (void) noexcept=0
 cleanup message receiver resources.
 
- Public Member Functions inherited from openm::IMsgRecv
virtual ~IMsgRecv (void) noexcept=0
 cleanup message receiver resources.
 
virtual bool tryReceive (void)=0
 try to receive the data, return return true if received. More...
 

Additional Inherited Members

- Static Public Member Functions inherited from openm::IMsgRecvPacked
static IMsgRecvPackedcreate (int i_selfRank, int i_recvFrom, IRowBaseVec &io_resultRowVec, const IPackedAdapter &i_adapter)
 create new receiver for packed data. More...
 

Detailed Description

non-blocking receive of packed data

Constructor & Destructor Documentation

◆ MpiRecvPacked()

openm::MpiRecvPacked::MpiRecvPacked ( int  i_selfRank,
int  i_recvFrom,
IRowBaseVec io_resultRowVec,
const IPackedAdapter i_adapter 
)
inline

create receiver for packed data.

Parameters
[in]i_selfRankreceiver (current process MPI rank)
[in]i_recvFromsender proccess MPI rank
[in,out]io_resultRowVecvector to push back received db rows
[in]i_adapteradapter to unpack db rows

Member Function Documentation

◆ tryReceive()

bool MpiRecvPacked::tryReceive ( void  )
virtual

try to receive and unpack the data, return return true if completed.

Implements openm::IMsgRecv.


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