21namespace Arccore::MessagePassing::internal
28_toP2PType(eMessageType mtype)
31 case MT_Send:
return MsgSend;
32 case MT_Recv:
return MsgReceive;
33 case MT_Broadcast:
return MsgSend;
35 ARCCORE_FATAL(
"Unsupported value '{0}'",mtype);
41ISerializeMessage::eMessageType BasicSerializeMessage::
45 case MsgSend:
return MT_Send;
46 case MsgReceive:
return MT_Recv;
48 ARCCORE_FATAL(
"Unsupported value '{0}'",type);
54BasicSerializeMessage::
58: m_orig_rank(orig_rank)
59, m_dest_rank(dest_rank)
61, m_old_message_type(_toMessageType(type))
72BasicSerializeMessage::
83BasicSerializeMessage::
86: m_orig_rank(orig_rank)
89, m_old_message_type(MT_Recv)
90, m_message_type(MsgReceive)
93, m_message_id(message_id)
101BasicSerializeMessage::
111BasicSerializeMessage::
121BasicSerializeMessage::
122~BasicSerializeMessage()
130void BasicSerializeMessage::
133 switch(m_old_message_type){
151 ARCCORE_FATAL(
"Can not change strategy if isProcessed() is true");
158Ref<ISerializeMessage> BasicSerializeMessage::
169Ref<ISerializeMessage> BasicSerializeMessage::
179Ref<ISerializeMessage> BasicSerializeMessage::
180create(MessageRank source,MessageId message_id)