12#ifndef ARCCORE_MESSAGEPASSING_MESSAGEPASSINGMNG_H
13#define ARCCORE_MESSAGEPASSING_MESSAGEPASSINGMNG_H
20#include "arccore/message_passing/IMessagePassingMng.h"
21#include "arccore/message_passing/Communicator.h"
23#include "arccore/trace/TraceGlobal.h"
39class ARCCORE_MESSAGEPASSING_EXPORT MessagePassingMng
48 ~MessagePassingMng()
override;
55 ITimeMetricCollector* timeMetricCollector()
const override;
61 void setTimeMetricCollector(ITimeMetricCollector* c);
67 Int32 m_comm_rank = A_NULL_RANK;
68 Int32 m_comm_size = A_NULL_RANK;
70 ITimeMetricCollector* m_time_metric_collector =
nullptr;
#define ARCCORE_DEFINE_REFERENCE_COUNTED_INCLASS_METHODS()
Macro to define methods managing counters of references.
Management of references to a C++ class.
Communicator for message exchange.
Interface of the dispatcher container.
Interface of the message passing manager.
Int32 commSize() const override
Number of instances in the communicator.
ITraceMng * traceMng() const override
Trace manager associated to this instance.
Int32 commRank() const override
Rank of this instance in the communicator.
Reference to an instance.
Thread-safe implementation of a reference counter.
Declarations of types and methods used by message exchange mechanisms.
std::int32_t Int32
Signed integer type of 32 bits.