Brief information for a 'gather' message. More...
#include <arccore/message_passing/GatherMessageInfo.h>
Public Types | |
| enum class | Mode { Gather , GatherVariable , GatherVariableNeedComputeInfo , Null } |
| Message mode. More... | |
Public Member Functions | |
| GatherMessageInfoBase ()=default | |
| Message for everyone and blocking. | |
| GatherMessageInfoBase (MessageRank dest_rank) | |
| Blocking message having destination rank. | |
| GatherMessageInfoBase (MessageRank dest_rank, eBlockingType blocking_type) | |
| Message having destination dest_rank and blocking mode blocking_type. | |
| void | setBlocking (bool is_blocking) |
| bool | isBlocking () const |
| Indicates if the message is blocking. | |
| MessageRank | destinationRank () const |
| Rank of the message destination. | |
| void | setDestinationRank (MessageRank rank) |
| Sets the rank of the message destination. | |
| Mode | mode () const |
| Message mode. | |
| void | print (std::ostream &o) const |
| Prints the message. | |
| bool | isValid () const |
Protected Member Functions | |
| void | _setType (Mode t) |
Friends | |
| std::ostream & | operator<< (std::ostream &o, const GatherMessageInfoBase &pmessage) |
Brief information for a 'gather' message.
It is better to use the GatherMessageInfo class rather than this class. This class allows using 'Gather', 'GatherVariable', 'AllGather', and 'AllGatherVariable' messages generically.
Definition at line 36 of file GatherMessageInfo.h.
|
strong |
Message mode.
Definition at line 41 of file GatherMessageInfo.h.
|
inlineexplicit |
Blocking message having destination rank.
Definition at line 55 of file GatherMessageInfo.h.
|
inline |
Message having destination dest_rank and blocking mode blocking_type.
Definition at line 60 of file GatherMessageInfo.h.
|
inlineprotected |
Definition at line 108 of file GatherMessageInfo.h.
|
inline |
Rank of the message destination.
Definition at line 75 of file GatherMessageInfo.h.
|
inline |
Indicates if the message is blocking.
Definition at line 72 of file GatherMessageInfo.h.
|
inline |
Definition at line 99 of file GatherMessageInfo.h.
|
inline |
Message mode.
Definition at line 84 of file GatherMessageInfo.h.
| void Arcane::MessagePassing::GatherMessageInfoBase::print | ( | std::ostream & | o | ) | const |
Prints the message.
Definition at line 27 of file GatherMessageInfo.cc.
|
inline |
Definition at line 67 of file GatherMessageInfo.h.
|
inline |
Sets the rank of the message destination.
Definition at line 78 of file GatherMessageInfo.h.
|
friend |
Definition at line 89 of file GatherMessageInfo.h.