Interface of the message passing manager. More...
#include <arccore/message_passing/IMessagePassingMng.h>
Public Member Functions | |
| virtual Int32 | commRank () const =0 |
| Rank of this instance in the communicator. | |
| virtual Int32 | commSize () const =0 |
| Number of instances in the communicator. | |
| virtual ITimeMetricCollector * | timeMetricCollector () const =0 |
| Interface for collecting execution times (can be null). | |
| virtual Communicator | communicator () const |
| MPI communicator associated with this instance. | |
| virtual IDispatchers * | dispatchers ()=0 |
Friends | |
| void | mpDelete (IMessagePassingMng *p) |
| Destroys the instance p. | |
Interface of the message passing manager.
This manager does not do much itself and merely delegates operations via the IDispatchers interface.
Instances of these classes must be destroyed via the method mpDelete().
Definition at line 48 of file IMessagePassingMng.h.
|
pure virtual |
Rank of this instance in the communicator.
Implemented in Arcane::MessagePassing::MessagePassingMng, and Arccore::MessagePassing::MessagePassingMng.
Referenced by Arcane::MessagePassing::mpCreateSerializeMessage(), and Arcane::MessagePassing::mpCreateSerializeMessage().
|
pure virtual |
Number of instances in the communicator.
Implemented in Arcane::MessagePassing::MessagePassingMng, and Arccore::MessagePassing::MessagePassingMng.
|
virtual |
MPI communicator associated with this instance.
The communicator is only valid if the instance is associated with an MPI implementation.
Reimplemented in Arcane::MessagePassing::MessagePassingMng, and Arccore::MessagePassing::MessagePassingMng.
Definition at line 89 of file MessagePassingMng.cc.
Referenced by timeMetricCollector().
|
pure virtual |
Interface for collecting execution times (can be null).
Implemented in Arcane::MessagePassing::MessagePassingMng, and Arccore::MessagePassing::MessagePassingMng.
References communicator().
|
friend |
Destroys the instance p.
The instance p must not be used after this call
Definition at line 81 of file MessagePassingMng.cc.
References mpDelete.
Referenced by mpDelete.