53 int i_selfRank,
int i_sendTo,
MsgTag i_msgTag,
const type_info & i_type,
size_t i_size,
void * i_valueArr
106 int i_selfRank,
int i_recvFrom,
MsgTag i_msgTag,
const type_info & i_type,
size_t i_size,
void * io_valueArr
141 #error No message passing providers defined
public interface to receive value array
Definition: msgCommon.h:90
static IMsgRecvArray * create(int i_selfRank, int i_recvFrom, MsgTag i_msgTag, const type_info &i_type, size_t i_size, void *io_valueArr)
create new receiver for value array.
Definition: msgCommon.cpp:68
virtual ~IMsgRecvArray(void) noexcept=0
cleanup value array receiver resources.
Definition: msgCommon.cpp:23
public interface for message receiver
Definition: msgCommon.h:79
virtual bool tryReceive(void)=0
try to receive the data, return return true if received.
virtual ~IMsgRecv(void) noexcept=0
cleanup message receiver resources.
Definition: msgCommon.cpp:22
public interface to receive packed data
Definition: msgCommon.h:112
static IMsgRecvPacked * create(int i_selfRank, int i_recvFrom, IRowBaseVec &io_resultRowVec, const IPackedAdapter &i_adapter)
create new receiver for packed data.
Definition: msgCommon.cpp:77
virtual ~IMsgRecvPacked(void) noexcept=0
cleanup message receiver resources.
Definition: msgCommon.cpp:24
public interface to send value array
Definition: msgCommon.h:37
virtual ~IMsgSendArray(void) noexcept=0
cleanup message sender resources.
Definition: msgCommon.cpp:18
static IMsgSendArray * create(int i_selfRank, int i_sendTo, MsgTag i_msgTag, const type_info &i_type, size_t i_size, void *i_valueArr)
create new value array sender.
Definition: msgCommon.cpp:50
public interface for message sender
Definition: msgCommon.h:26
virtual ~IMsgSend(void) noexcept=0
cleanup message sender resources.
Definition: msgCommon.cpp:17
virtual bool isCompleted(void)=0
check is send completed.
public interface to send packed data.
Definition: msgCommon.h:59
virtual ~IMsgSendPacked(void) noexcept=0
cleanup message sender resources.
Definition: msgCommon.cpp:19
static IMsgSendPacked * create(int i_selfRank, int i_sendTo, const IRowBaseVec &i_rowVec, const IPackedAdapter &i_adapter)
create new sender for packed data.
Definition: msgCommon.cpp:59
OpenM++ common helper utilities.
OpenM++: message passing library public interface.
OpenM++: empty implementation of message passing library.
OpenM++: message passing library common classes and interfaces.
openM++ namespace
Definition: log.h:32
MsgTag
tag to identify message content
Definition: msg.h:29
std::vector< IRowBaseUptr > IRowBaseVec
db rows: vector of unique pointers to db row
Definition: omHelper.h:239
public interface to pack and unpack rows of metadata db-table
Definition: msg.h:99