Information about the source of a message. More...
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. | |
Private Attributes | |
| MessageRank | m_rank |
| MessageTag | m_tag |
| Int64 | m_size = 0 |
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.
|
inline |
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.
|
inline |
Indicates if the source is valid.
Definition at line 75 of file MessageSourceInfo.h.
|
inline |
Source rank.
Definition at line 57 of file MessageSourceInfo.h.
|
inline |
Sets the source rank.
Definition at line 60 of file MessageSourceInfo.h.
|
inline |
Sets the message size.
Definition at line 72 of file MessageSourceInfo.h.
|
inline |
Sets the message tag.
Definition at line 66 of file MessageSourceInfo.h.
|
inline |
Message size.
Definition at line 69 of file MessageSourceInfo.h.
|
inline |
Message tag.
Definition at line 63 of file MessageSourceInfo.h.
|
private |
Definition at line 79 of file MessageSourceInfo.h.
|
private |
Definition at line 81 of file MessageSourceInfo.h.
|
private |
Definition at line 80 of file MessageSourceInfo.h.