Arcane  4.1.12.0
User documentation
Loading...
Searching...
No Matches
Arcane::Parallel::MessageSourceInfo Class Reference

Information about the source of a message. More...

#include <arccore/message_passing/MessageSourceInfo.h>

Public Member Functions

 MessageSourceInfo ()=default
 Creates a source corresponding to no message (isValid()==false).
 MessageSourceInfo (MessageRank rank, MessageTag tag, Int64 size)
 Creates a source corresponding to rank rank and tag tag.
MessageRank rank () const
 Source rank.
void setRank (MessageRank rank)
 Sets the source rank.
MessageTag tag () const
 Message tag.
void setTag (MessageTag tag)
 Sets the message tag.
Int64 size () const
 Message size.
void setSize (Int64 size)
 Sets the message size.
bool isValid () const
 Indicates if the source is valid.

Detailed Description

Information about the source of a message.

This information is used to retrieve message information following a call to mpProbe() or mpLegacyProbe(). The returned instance can be used to perform a reception via mpReceive().

Definition at line 36 of file MessageSourceInfo.h.

Constructor & Destructor Documentation

◆ MessageSourceInfo()

Creates a source corresponding to rank rank and tag tag.

If rank.isNull() or tag.isNull(), then isValid() will be false.

Definition at line 48 of file MessageSourceInfo.h.

Member Function Documentation

◆ isValid()

Indicates if the source is valid.

Definition at line 75 of file MessageSourceInfo.h.

◆ rank()

Source rank.

Definition at line 57 of file MessageSourceInfo.h.

◆ setRank()

Sets the source rank.

Definition at line 60 of file MessageSourceInfo.h.

◆ setSize()

Sets the message size.

Definition at line 72 of file MessageSourceInfo.h.

◆ setTag()

Sets the message tag.

Definition at line 66 of file MessageSourceInfo.h.

◆ size()

Message size.

Definition at line 69 of file MessageSourceInfo.h.

◆ tag()

Message tag.

Definition at line 63 of file MessageSourceInfo.h.


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